- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GrowMemory (0.56 sec)
-
src/runtime/mem_wasm.go
package runtime import "unsafe" func sbrk(n uintptr) unsafe.Pointer { grow := divRoundUp(n, physPageSize) size := growMemory(int32(grow)) if size < 0 { return nil } resetMemoryDataView() return unsafe.Pointer(uintptr(size) * physPageSize) } // Implemented in src/runtime/sys_wasm.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:48:24 UTC 2023 - 488 bytes - Viewed (0) -
src/runtime/sys_wasm.s
I64TruncF64U Return TEXT runtime·exitThread(SB), NOSPLIT, $0-0 UNDEF TEXT runtime·osyield(SB), NOSPLIT, $0-0 UNDEF TEXT runtime·growMemory(SB), NOSPLIT, $0 Get SP I32Load pages+0(FP) GrowMemory I32Store ret+8(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:48:24 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/internal/obj/wasm/anames.go
"I64Load16U", "I64Load32S", "I64Load32U", "I32Store", "I64Store", "F32Store", "F64Store", "I32Store8", "I32Store16", "I64Store8", "I64Store16", "I64Store32", "CurrentMemory", "GrowMemory", "I32Const", "I64Const", "F32Const", "F64Const", "I32Eqz", "I32Eq", "I32Ne", "I32LtS", "I32LtU", "I32GtS", "I32GtU", "I32LeS", "I32LeU", "I32GeS", "I32GeU",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 05:28:55 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
} // writeMemorySec writes the section that declares linear memories. Currently one linear memory is being used. // Linear memory always starts at address zero. More memory can be requested with the GrowMemory instruction. func writeMemorySec(ctxt *ld.Link, ldr *loader.Loader) { sizeOffset := writeSecHeader(ctxt, sectionMemory) dataSection := ldr.SymSect(ldr.Lookup("runtime.data", 0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0)