MCPcopy
hub / github.com/codeaashu/claude-code / set

Method set

src/server/web/public/terminal.js:2381–2383  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

2379 return this._array[this._getCyclicIndex(e3)];
2380 }
2381 set(e3, t3) {
2382 this._array[this._getCyclicIndex(e3)] = t3;
2383 }
2384 push(e3) {
2385 this._array[this._getCyclicIndex(this._length)] = e3, this._length === this._maxLength ? (this._startIndex = ++this._startIndex % this._maxLength, this.onTrimEmitter.fire(1)) : this._length++;
2386 }

Callers 2

shiftElementsMethod · 0.95
constructorMethod · 0.95

Calls 3

_getCyclicIndexMethod · 0.95
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected