Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mergeXLV2Versions (0.13 sec)

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

    		b.ResetTimer()
    		b.SetBytes(855) // number of versions...
    		for i := 0; i < b.N; i++ {
    			mergeXLV2Versions(8, false, 0, vers...)
    		}
    	})
    
    	b.Run("requested-v1", func(b *testing.B) {
    		b.ReportAllocs()
    		b.ResetTimer()
    		b.SetBytes(855) // number of versions...
    		for i := 0; i < b.N; i++ {
    			mergeXLV2Versions(8, false, 1, vers...)
    		}
    	})
    
    	b.Run("requested-v2", func(b *testing.B) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. cmd/metacache-entries.go

    	// Create a new merged result.
    	selected = &metaCacheEntry{
    		name:     selected.name,
    		reusable: true,
    		cached:   &xlMetaV2{metaV: selected.cached.metaV},
    	}
    	selected.cached.versions = mergeXLV2Versions(r.objQuorum, r.strict, r.requestedVersions, r.candidates...)
    	if len(selected.cached.versions) == 0 {
    		return nil, false
    	}
    
    	// Reserialize
    	var err error
    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