MCPcopy Create free account
hub / github.com/codeaashu/claude-code / cleanupMemory

Method cleanupMemory

src/server/web/public/terminal.js:4162–4168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4160 return this.length = e3, 4 * i3 * 2 < this._data.buffer.byteLength;
4161 }
4162 cleanupMemory() {
4163 if (4 * this._data.length * 2 < this._data.buffer.byteLength) {
4164 const e3 = new Uint32Array(this._data.length);
4165 return e3.set(this._data), this._data = e3, 1;
4166 }
4167 return 0;
4168 }
4169 fill(e3, t3 = false) {
4170 if (t3) for (let t4 = 0; t4 < this.length; ++t4) this.isProtected(t4) || this.setCell(t4, e3);
4171 else {

Callers 1

_batchedMemoryCleanupMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected