代码搜索:runtime
找到约 10,000 项符合「runtime」的源代码
代码结果 10,000
www.eeworm.com/read/273660/4202558
py external_runtime.py
#!/usr/bin/env python
#
# external_runtime.py: Generate external runtime files for SWIG
#
import sys, os, re, fileinput
if __name__ == "__main__":
parent_dir = os.path.dirname(os.path.abspath(os.p
www.eeworm.com/read/442744/1754230
opt fast_runtime.opt
FLOWTYPE = FPGA;
###############################################################
## Filename: fast_runtime.opt
##
## Option File For Xilinx FPGA Implementation Flow for Fast
## Runtime.
##
## Version
www.eeworm.com/read/438925/1821192
js bugs.runtime.js
// test fix for bug where
// if (true)
// a = test2->()
// was compiling out the assignment
function test() {
var a;
if (true)
a = test2->();
trace(a);
}
function test2(coro) {
if (coro.
www.eeworm.com/read/438925/1821193
js branch.runtime.js
var en = EventNotifier();
function comeback(frame) {
return en.wait->();
}
(function() {
while(true) {
trace("while1:1");
comeback->();
break;
trace("while1:2");
}
trace("while1:3");
})()
www.eeworm.com/read/438925/1821196
js spawn.runtime.js
var en = new EventNotifier();
function waiter() {
en.wait->();
trace("running");
en.wait->();
return "done";
}
var future = spawn(waiter());
future.onResume = function() {
trace("resume");
}
fu
www.eeworm.com/read/438925/1821204
js exceptions.runtime.js
function doThrow(c) {
if (!c)
assert(false, "ERROR: no context passed to doThrow");
throw "ex";
}
function doReturn(c) {
if (!c)
assert(false, "ERROR: no context passed to doReturn");
retur
www.eeworm.com/read/438925/1821208
js scope.runtime.js
function foo() {
var x = "foo";
var y = "foo";
var z = "foo";
function bar() {
var x = "bar";
var y = "bar";
function baz() {
var x = "baz";
trace(x);
trace(y);
trace(z);
www.eeworm.com/read/438925/1821215
js switch.runtime.js
var obj = {
ptr: 7
};
var coro;
function go(arg, frame) {
if (frame.isResuming()) {
coro = null;
return frame.commence();
}
trace(arg);
coro = frame;
return frame.suspend();
}
function
www.eeworm.com/read/438925/1821216
js constructor.runtime.js
function foo() {
trace(1);
this.x = bar->();
trace(2);
this.toString = function() {
return "foo instance";
}
}
function bar(frame) {
if (frame.isResuming())
return frame.commence();
setTi
www.eeworm.com/read/438925/1821217
js loop.runtime.js
// test bug found by Christer Forslund,
// which cause bad compilation
function global_setup() {
// don't use i, because global value conlicts with test runner
for(xyz = 0; xyz < 10; xyz++) {
foo-