MCPcopy Create free account
hub / github.com/continuedev/continue / replace

Method replace

core/llm/llamaTokenizer.mjs:60–65  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

58 return poppedValue;
59 }
60 replace(value) {
61 const replacedValue = this.peek();
62 this._heap[0] = value;
63 this._siftDown();
64 return replacedValue;
65 }
66 _parent(i) {
67 return ((i + 1) >>> 1) - 1;
68 }

Callers 2

hexToUtf8ByteFunction · 0.45
addToMergeQueueMethod · 0.45

Calls 2

peekMethod · 0.95
_siftDownMethod · 0.95

Tested by

no test coverage detected