Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRingBuffer_BlockingBig (0.33 sec)

  1. internal/ringbuffer/ring_buffer_test.go

    	}
    	if readHash.Sum32() != wroteHash.Sum32() {
    		t.Fatalf("expect read hash 0x%08x but got 0x%08x", readHash.Sum32(), wroteHash.Sum32())
    	}
    }
    
    func TestRingBuffer_BlockingBig(t *testing.T) {
    	// Typical runtime is ~5-10s.
    	defer timeout(60 * time.Second)()
    	const debug = false
    
    	var readBytes int
    	var wroteBytes int
    	readHash := crc32.NewIEEE()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top