MCPcopy Create free account
hub / github.com/apache/tvm / loadUSize

Method loadUSize

web/src/memory.ts:114–123  ·  view source on GitHub ↗
(ptr: Pointer)

Source from the content-addressed store, hash-verified

112 }
113 }
114 loadUSize(ptr: Pointer): Pointer {
115 if (this.buffer != this.memory.buffer) {
116 this.updateViews();
117 }
118 if (this.wasm32) {
119 return this.loadU32(ptr);
120 } else {
121 return this.loadI64(ptr);
122 }
123 }
124 sizeofPtr(): number {
125 return this.wasm32 ? SizeOf.I32 : SizeOf.I64;
126 }

Callers 2

loadByteArrayAsStringMethod · 0.95
loadByteArrayAsBytesMethod · 0.95

Calls 3

updateViewsMethod · 0.95
loadU32Method · 0.95
loadI64Method · 0.95

Tested by

no test coverage detected