Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for if (0.11 sec)

  1. misc/wasm/wasm_exec.js

    				const f = this.mem.getFloat64(addr, true);
    				if (f === 0) {
    					return undefined;
    				}
    				if (!isNaN(f)) {
    					return f;
    				}
    
    				const id = this.mem.getUint32(addr, true);
    				return this._values[id];
    			}
    
    			const storeValue = (addr, v) => {
    				const nanHead = 0x7FF80000;
    
    				if (typeof v === "number" && v !== 0) {
    					if (isNaN(v)) {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  2. misc/wasm/wasm_exec_node.js

    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top