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

Method findFirst

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

Source from the content-addressed store, hash-verified

194 }
195
196 findFirst(time, offset = 0) {
197 return this._find(this._values, each => each.time - time, offset);
198 }
199
200 // Return the last index with element.time <= time.
201 findLast(time, offset = 0) {

Callers 3

findMethod · 0.95
findLastMethod · 0.95
timeline.mjsFile · 0.80

Calls 1

_findMethod · 0.95

Tested by

no test coverage detected