Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHashedSet (0.14 sec)

  1. cmd/erasure-sets_test.go

    		{"a/b/c/", objs[1]},
    		{"/a/b/c", objs[4]},
    		{string([]byte{0xff, 0xfe, 0xfd}), objs[13]},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		gotObj := sets.getHashedSet(testCase.objectName)
    		if gotObj != testCase.expectedObj {
    			t.Errorf("Test case %d: Expected \"%#v\" but failed \"%#v\"", i+1, testCase.expectedObj, gotObj)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top