Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/expr-lang/expr
/ memGrow
Method
memGrow
vm/vm.go:687–692 ·
view source on GitHub ↗
(size uint)
Source
from the content-addressed store, hash-verified
685
}
686
687
func
(vm *VM) memGrow(size uint) {
688
vm.memory += size
689
if
vm.memory >= vm.MemoryBudget {
690
panic(
"memory budget exceeded"
)
691
}
692
}
693
694
func
(vm *VM) scope() *Scope {
695
return
vm.Scopes[len(vm.Scopes)-1]
Callers
1
Run
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected