Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteStorage/FlyDB
/ max
Method
max
structure/zset.go:998–1003 ·
view source on GitHub ↗
(a, b int)
Source
from the content-addressed store, hash-verified
996
}
997
998
func
(fzs *FZSet) max(a, b int) int {
999
if
a > b {
1000
return
a
1001
}
1002
return
b
1003
}
1004
1005
// RemoveNode is a method for FZSet structure.
1006
// This method aims to delete a node from both
Callers
2
TestFZSetMinMax
Function · 0.95
adjustMinMax
Method · 0.45
Calls
no outgoing calls
Tested by
1
TestFZSetMinMax
Function · 0.76