Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ alloc
Method
alloc
lib/internal/freelist.js:15–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
alloc() {
16
return
this.list.length > 0 ?
17
this.list.pop() :
18
ReflectApply(this.ctor, this, arguments);
19
}
20
21
free(obj) {
22
if
(this.list.length < this.max) {
Callers
15
main
Function · 0.95
tickOnSocket
Function · 0.80
Buffer
Function · 0.80
read
Function · 0.80
StringDecoder
Function · 0.80
connectionListenerInternal
Function · 0.80
onParserExecuteCommon
Function · 0.80
encodeFrameHybi17
Function · 0.80
constructor
Method · 0.80
writeSync
Method · 0.80
writeFileSync
Method · 0.80
truncateSync
Method · 0.80
Calls
1
pop
Method · 0.80
Tested by
3
test
Function · 0.64
test
Function · 0.64
test
Function · 0.64