MCPcopy Create free account
hub / github.com/nodejs/node / findChunk

Method findChunk

deps/v8/tools/system-analyzer/timeline.mjs:322–330  ·  view source on GitHub ↗
(chunks, delta)

Source from the content-addressed store, hash-verified

320 }
321
322 findChunk(chunks, delta) {
323 let i = this.index + delta;
324 let chunk = chunks[i];
325 while (chunk && chunk.size() === 0) {
326 i += delta;
327 chunk = chunks[i];
328 }
329 return chunk;
330 }
331
332 getBreakdown(keyFunction) {
333 return groupBy(this.items, keyFunction);

Callers 2

nextMethod · 0.95
prevMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected