MCPcopy Index your code
hub / github.com/nodejs/node / bucketFromKind

Function bucketFromKind

deps/v8/tools/profview/profview.js:402–412  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

400}
401
402function bucketFromKind(kind) {
403 for (let i = 0; i < bucketDescriptors.length; i++) {
404 let bucket = bucketDescriptors[i];
405 for (let j = 0; j < bucket.kinds.length; j++) {
406 if (bucket.kinds[j] === kind) {
407 return bucket;
408 }
409 }
410 }
411 return null;
412}
413
414function codeTypeToText(type) {
415 switch (type) {

Callers 1

expandTreeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected