Search Options

Results per page
Sort
Preferred Languages
Advance

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