Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dylibso/chicory
/ push
Method
push
runtime/src/main/java/com/dylibso/chicory/runtime/MStack.java:27–34 ·
view source on GitHub ↗
(long v)
Source
from the content-addressed store, hash-verified
25
}
26
27
public
void
push(long v) {
28
elements[count] = v;
29
count++;
30
31
if
(count == elements.length) {
32
increaseCapacity();
33
}
34
}
35
36
public
long pop() {
37
count--;
Callers
15
parseCodeSection
Method · 0.45
validateConstantExpression
Method · 0.45
add
Method · 0.45
doControlTransfer
Method · 0.45
call
Method · 0.45
eval
Method · 0.45
I32_GE_U
Method · 0.45
I64_GT_U
Method · 0.45
I32_GE_S
Method · 0.45
I64_GE_U
Method · 0.45
I64_GE_S
Method · 0.45
I32_LE_S
Method · 0.45
Calls
1
increaseCapacity
Method · 0.95
Tested by
1
add
Method · 0.36