Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHashedSet (0.04 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)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top