Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ lookup
Method
lookup
deps/undici/src/lib/core/tree.js:145–147 ·
view source on GitHub ↗
* @param {Uint8Array} key * @returns {any}
(key)
Source
from the content-addressed store, hash-verified
143
* @returns {any}
144
*/
145
lookup (key) {
146
return
this.node?.search(key)?.value ?? null
147
}
148
}
149
150
const
tree =
new
TernarySearchTree()
Callers
3
runLookup
Method · 0.45
headerNameToString
Function · 0.45
bufferToLowerCasedHeaderName
Function · 0.45
Calls
1
search
Method · 0.45
Tested by
no test coverage detected