Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for finalizeRef (0.1 sec)

  1. lib/wasm/wasm_exec.js

    					},
    
    					// func getRandomData(r []byte)
    					"runtime.getRandomData": (sp) => {
    						sp >>>= 0;
    						crypto.getRandomValues(loadSlice(sp + 8));
    					},
    
    					// func finalizeRef(v ref)
    					"syscall/js.finalizeRef": (sp) => {
    						sp >>>= 0;
    						const id = this.mem.getUint32(sp + 8, true);
    						this._goRefCounts[id]--;
    						if (this._goRefCounts[id] === 0) {
    							const v = this._values[id];
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top