MCPcopy Index your code
hub / github.com/apache/tvm / allocPtrArray

Method allocPtrArray

web/src/memory.ts:385–387  ·  view source on GitHub ↗

* Allocate space for pointers. * @param count Number of pointers. * @returns The allocated pointer array.

(count: number)

Source from the content-addressed store, hash-verified

383 * @returns The allocated pointer array.
384 */
385 allocPtrArray(count: number): PtrOffset {
386 return this.allocRawBytes(this.memory.sizeofPtr() * count);
387 }
388
389 /**
390 * Get the real pointer from offset values.

Callers 3

getGlobalFuncInternalMethod · 0.80
typeKey2IndexMethod · 0.80

Calls 2

allocRawBytesMethod · 0.95
sizeofPtrMethod · 0.45

Tested by

no test coverage detected