Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ newIntPool
Function
newIntPool
core/vm/intpool.go:34–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
}
33
34
func
newIntPool() *intPool {
35
return
&intPool{pool: newstack()}
36
}
37
38
// get retrieves a big int from the pool, allocating one if the pool is empty.
39
// Note, the returned int's value is arbitrary and will not be zeroed!
Callers
1
get
Method · 0.85
Calls
1
newstack
Function · 0.85
Tested by
no test coverage detected