MCPcopy 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
7func (s *Stack) Size() int {
8 return len(s.array)
9}
10
11func (s *Stack) Empty() bool {
12 return len(s.array) == 0

Callers 15

VerifyScriptFunction · 0.95
EvalScriptFunction · 0.95
TestStackFunction · 0.95
SwapMethod · 0.95
RemoveAtMethod · 0.95
EraseMethod · 0.95
InsertMethod · 0.95
TopMethod · 0.95
SetTopMethod · 0.95
CopyMethod · 0.95
EqualMethod · 0.95
mainFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestStackFunction · 0.76
TestCTORAndSortByFeeFunction · 0.36
TestSimpleOrphanChainFunction · 0.36
checkFileSizeFunction · 0.36