MCPcopy Create free account
hub / github.com/apitable/apitable / addHeapObject

Function addHeapObject

packages/databus-wasm-nodejs/databus_wasm.js:121–128  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

119}
120
121function addHeapObject(obj) {
122 if (heap_next === heap.length) heap.push(heap.length + 1);
123 const idx = heap_next;
124 heap_next = heap[idx];
125
126 heap[idx] = obj;
127 return idx;
128}
129
130function debugString(val) {
131 // primitive types

Callers 5

__wbg_adapter_22Function · 0.70
__wbg_adapter_25Function · 0.70
handleErrorFunction · 0.70
__wbg_adapter_127Function · 0.70
databus_wasm.jsFile · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected