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

Method find

deps/v8/tools/system-analyzer/timeline.mjs:192–194  ·  view source on GitHub ↗
(time, offset = 0)

Source from the content-addressed store, hash-verified

190
191 // Return the first index with element.time >= time.
192 find(time, offset = 0) {
193 return this.findFirst(time, offset);
194 }
195
196 findFirst(time, offset = 0) {
197 return this._find(this._values, each => each.time - time, offset);

Callers 2

pushMethod · 0.95
rangeMethod · 0.95

Calls 1

findFirstMethod · 0.95

Tested by

no test coverage detected