Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetCompressedOffsets (0.45 sec)

  1. cmd/object-api-utils_test.go

    		got, _ := test.objInfo.GetActualSize()
    		if got != test.result {
    			t.Errorf("Test %d - expected %d but received %d",
    				i+1, test.result, got)
    		}
    	}
    }
    
    func TestGetCompressedOffsets(t *testing.T) {
    	testCases := []struct {
    		objInfo           ObjectInfo
    		offset            int64
    		startOffset       int64
    		snappyStartOffset int64
    		firstPart         int
    	}{
    		0: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top