- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for Sum32 (0.01 seconds)
-
internal/ringbuffer/ring_buffer_test.go
} t.Fatalf("expect read %d bytes but got %d", wroteBytes, readBytes) } 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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/archive/zip/reader.go
} else { err = err1 } } else if r.hash.Sum32() != r.f.CRC32 { err = ErrChecksum } } else { // If there's not a data descriptor, we still compare // the CRC32 of what we've read against the file header // or TOC's CRC32, if it seems like it was set. if r.f.CRC32 != 0 && r.hash.Sum32() != r.f.CRC32 { err = ErrChecksum } } } r.err = errCreated: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0)