Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCrcHashMod (0.18 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},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top