Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for distributionAlgo (0.2 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]},
    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