MCPcopy
hub / github.com/google/gvisor / prevSibling

Method prevSibling

pkg/segment/set.go:1116–1121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1114}
1115
1116func (n *node) prevSibling() *node {
1117 if n.parent == nil || n.parentIndex == 0 {
1118 return nil
1119 }
1120 return n.parent.children[n.parentIndex-1]
1121}
1122
1123func (n *node) nextSibling() *node {
1124 if n.parent == nil || n.parentIndex == n.parent.nrSegments {

Callers 1

rebalanceAfterRemoveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected