Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAllBitrotAlgorithms (0.25 sec)

  1. cmd/bitrot_test.go

    		t.Fatal(err)
    	}
    	if _, err = reader.ReadAt(b[:5], 30); err != nil {
    		t.Fatal(err)
    	}
    	if br, ok := reader.(io.Closer); ok {
    		br.Close()
    	}
    }
    
    func TestAllBitrotAlgorithms(t *testing.T) {
    	for bitrotAlgo := range bitrotAlgorithms {
    		testBitrotReaderWriterAlgo(t, bitrotAlgo)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top