MCPcopy Create free account
hub / github.com/copernet/copernicus / Push

Method Push

util/stack.go:15–17  ·  view source on GitHub ↗
(value interface{})

Source from the content-addressed store, hash-verified

13}
14
15func (s *Stack) Push(value interface{}) {
16 s.array = append(s.array, value)
17}
18
19func (s *Stack) Swap(i int, j int) bool {
20 if i > s.Size()-1 || i < 0 {

Callers 4

EvalScriptFunction · 0.95
TestStackCountBoolFunction · 0.95
TestStackFunction · 0.95
TestSwapStackFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestStackCountBoolFunction · 0.76
TestStackFunction · 0.76
TestSwapStackFunction · 0.76