Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetCompressedOffsets (0.17 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top