Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for invalidVersionType (0.14 sec)

  1. cmd/xl-storage-format-v2_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    	_ = x[lastVersionType-4]
    }
    
    const _VersionType_name = "invalidVersionTypeObjectTypeDeleteTypeLegacyTypelastVersionType"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 02 19:29:16 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_test.go

    			merged := mergeXLV2Versions(i, false, 0, vers...)
    			if len(merged) == 0 {
    				t.Error("Did not get any results")
    				return
    			}
    			for _, ver := range merged {
    				if ver.header.Type == invalidVersionType {
    					t.Errorf("Invalid result returned: %v", ver.header)
    				}
    			}
    		})
    		t.Run(fmt.Sprintf("strict-q%d", i), func(t *testing.T) {
    			merged := mergeXLV2Versions(i, true, 0, vers...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    type VersionType uint8
    
    // List of different types of journal type
    const (
    	invalidVersionType VersionType = 0
    	ObjectType         VersionType = 1
    	DeleteType         VersionType = 2
    	LegacyType         VersionType = 3
    	lastVersionType    VersionType = 4
    )
    
    func (e VersionType) valid() bool {
    	return e > invalidVersionType && e < lastVersionType
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top