- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for wasmWrite (0.32 sec)
-
src/runtime/os_js.go
) func exit(code int32) func write1(fd uintptr, p unsafe.Pointer, n int32) int32 { if fd > 2 { throw("runtime.write to fd > 2 is unsupported") } wasmWrite(fd, p, n) return n } //go:wasmimport gojs runtime.wasmWrite //go:noescape func wasmWrite(fd uintptr, p unsafe.Pointer, n int32) func usleep(usec uint32) { // TODO(neelance): implement usleep } //go:wasmimport gojs runtime.getRandomData
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 767 bytes - Viewed (0) -
misc/wasm/wasm_exec.js
delete this._values; delete this._goRefCounts; delete this._ids; delete this._idPool; this.exit(code); }, // func wasmWrite(fd uintptr, p unsafe.Pointer, n int32) "runtime.wasmWrite": (sp) => { sp >>>= 0; const fd = getInt64(sp + 8); const p = getInt64(sp + 16); const n = this.mem.getInt32(sp + 24, true);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 17:47:47 UTC 2023 - 16.3K bytes - Viewed (0)