MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _search

Method _search

src/server/web/public/terminal.js:3615–3630  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

3613 return [...this._array].values();
3614 }
3615 _search(e3) {
3616 let t3 = 0, i3 = this._array.length - 1;
3617 for (; i3 >= t3; ) {
3618 let s2 = t3 + i3 >> 1;
3619 const r = this._getKey(this._array[s2]);
3620 if (r > e3) i3 = s2 - 1;
3621 else {
3622 if (!(r < e3)) {
3623 for (; s2 > 0 && this._getKey(this._array[s2 - 1]) === e3; ) s2--;
3624 return s2;
3625 }
3626 t3 = s2 + 1;
3627 }
3628 }
3629 return t3;
3630 }
3631 };
3632 }, 7226: (e2, t2, i2) => {
3633 Object.defineProperty(t2, "__esModule", { value: true }), t2.DebouncedIdleTask = t2.IdleTaskQueue = t2.PriorityTaskQueue = void 0;

Callers 4

insertMethod · 0.80
deleteMethod · 0.80
getKeyIteratorMethod · 0.80
forEachByKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected