Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ pop
Method
pop
core/vm/stack.go:50–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
func
(st *Stack) pop() (ret *big.Int) {
51
ret = st.data[len(st.data)-1]
52
st.data = st.data[:len(st.data)-1]
53
return
54
}
55
56
func
(st *Stack) len() int {
57
return
len(st.data)
Callers
15
get
Method · 0.80
getZero
Method · 0.80
opAdd
Function · 0.80
opSub
Function · 0.80
opMul
Function · 0.80
opDiv
Function · 0.80
opSdiv
Function · 0.80
opMod
Function · 0.80
opSmod
Function · 0.80
opExp
Function · 0.80
opSignExtend
Function · 0.80
opLt
Function · 0.80
Calls
no outgoing calls
Tested by
3
testTwoOperandOp
Function · 0.64
TestByteOp
Function · 0.64
opBenchmark
Function · 0.64