- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for growMemory (0.09 sec)
-
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) -
src/cmd/internal/obj/wasm/wasmobj.go
} if p.From.Offset > math.MaxUint32 { ctxt.Diag("bad offset in %v", p) } writeUleb128(w, align(p.As)) writeUleb128(w, uint64(p.To.Offset)) case ACurrentMemory, AGrowMemory, AMemoryFill: w.WriteByte(0x00) case AMemoryCopy: w.WriteByte(0x00) w.WriteByte(0x00) } } w.WriteByte(0x0b) // end s.P = w.Bytes() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 34.6K bytes - Viewed (0)