Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CRC (0.37 sec)

  1. cmd/erasure-sets_test.go

    	}
    
    	if sipHashElement := hashKey("UNKNOWN", "This will fail", 0, testUUID); sipHashElement != -1 {
    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    }
    
    // TestCrcHashMod - test crc hash.
    func TestCrcHashMod(t *testing.T) {
    	testCases := []struct {
    		objectName string
    		crcHash    int
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", 28},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top