Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/copernet/copernicus
/ Size
Method
Size
util/stack.go:7–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
}
6
7
func
(s *Stack) Size() int {
8
return
len(s.array)
9
}
10
11
func
(s *Stack) Empty() bool {
12
return
len(s.array) == 0
Callers
15
VerifyScript
Function · 0.95
EvalScript
Function · 0.95
TestStack
Function · 0.95
Swap
Method · 0.95
RemoveAt
Method · 0.95
Erase
Method · 0.95
Insert
Method · 0.95
Top
Method · 0.95
SetTop
Method · 0.95
Copy
Method · 0.95
Equal
Method · 0.95
main
Function · 0.45
Calls
no outgoing calls
Tested by
5
TestStack
Function · 0.76
TestCTORAndSortByFee
Function · 0.36
TestCreateNewBlockByFeeRate
Function · 0.36
TestSimpleOrphanChain
Function · 0.36
checkFileSize
Function · 0.36