Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ parseMemory
Function
parseMemory
bidengine/shellscript.go:59–61 ·
view source on GitHub ↗
(res *rtypes.Memory)
Source
from the content-addressed store, hash-verified
57
}
58
59
func
parseMemory(res *rtypes.Memory) uint64 {
60
return
res.Quantity.Val.Uint64()
61
}
62
63
func
parseGPU(resource *rtypes.GPU) gpuElement {
64
res := gpuElement{
Callers
1
newDataForScript
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected