- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for r2b (0.01 sec)
-
src/container/ring/ring_test.go
r2a := r1a.Link(&r1b) verify(t, r2a, 2, 1) if r2a != r1a { t.Errorf("a) 2-element link failed") } r2b := r2a.Link(r2a.Next()) verify(t, r2b, 2, 1) if r2b != r2a.Next() { t.Errorf("b) 2-element link failed") } r1c := r2b.Link(r2b) verify(t, r1c, 1, 1) verify(t, r2b, 1, 0) } func TestLink2(t *testing.T) { var r0 *Ring r1a := &Ring{Value: 42} r1b := &Ring{Value: 77}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 3.8K bytes - Viewed (0) -
cmd/erasure-decode.go
stashBuffer []byte } // newParallelReader returns parallelReader. func newParallelReader(readers []io.ReaderAt, e Erasure, offset, totalLength int64) *parallelReader { r2b := make([]int, len(readers)) for i := range r2b { r2b[i] = i } bufs := make([][]byte, len(readers)) // Fill buffers b := globalBytePoolCap.Load().Get() shardSize := int(e.ShardSize()) if cap(b) < len(readers)*shardSize {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 21 14:36:21 UTC 2024 - 9.4K bytes - Viewed (0)