Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestObjectPartIndex (0.23 sec)

  1. cmd/erasure-metadata_test.go

    		}
    	}
    }
    
    // Test objectPartIndex(). generates a sample FileInfo data and asserts
    // the output of objectPartIndex() with the expected value.
    func TestObjectPartIndex(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{2, 1},
    		{1, 0},
    		{5, 3},
    		{4, 2},
    		{7, 4},
    	}
    
    	// Setup.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top