Lines Matching defs:ring
5 package ring
13 func dump(r *Ring) {
26 func verify(t *testing.T, r *Ring, N int, sum int) {
46 t.Errorf("forward ring sum = %d; expected %d", s, sum)
55 var p *Ring // previous element
99 r0 *Ring
100 r1 Ring
118 func makeN(n int) *Ring {
142 var r1b Ring
161 var r0 *Ring
162 r1a := &Ring{Value: 42}
163 r1b := &Ring{Value: 77}
180 var r Ring
222 // Test that calling Move() on an empty Ring initializes it.
224 var r Ring