MCPcopy 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
998func (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

TestFZSetMinMaxFunction · 0.95
adjustMinMaxMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestFZSetMinMaxFunction · 0.76