Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for distributionAlgo (0.11 sec)

  1. cmd/erasure-sets_test.go

    func TestHashedLayer(t *testing.T) {
    	// Test distribution with 16 sets.
    	var objs [16]*erasureObjects
    	for i := range objs {
    		objs[i] = &erasureObjects{}
    	}
    
    	sets := &erasureSets{sets: objs[:], distributionAlgo: "CRCMOD"}
    
    	testCases := []struct {
    		objectName  string
    		expectedObj *erasureObjects
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", objs[12]},
    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