Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sortie (0.17 sec)

  1. cmd/erasure-server-pool.go

    			poolObjInfos[i] = pinfo
    		}(i, pool, poolOpts[i])
    	}
    	wg.Wait()
    
    	// Sort the objInfos such that we always serve latest
    	// this is a defensive change to handle any duplicate
    	// content that may have been created, we always serve
    	// the latest object.
    	sort.Slice(poolObjInfos, func(i, j int) bool {
    		mtime1 := poolObjInfos[i].ObjInfo.ModTime
    		mtime2 := poolObjInfos[j].ObjInfo.ModTime
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    		// Marker being set to a value which is greater than and all object names when sorted (36).
    		// Expected to send an empty response in this case.
    		{"test-bucket-list-object", "", "zen", "", 10, ListObjectsInfo{}, nil, true},
    		// Marker being set to a value which is lesser than and all object names when sorted (37).
    		// Expected to send all the objects in the bucket in this case.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    }
    
    // sortByModTime will sort versions by modtime in descending order,
    // meaning index 0 will be latest version.
    func (x *xlMetaV2) sortByModTime() {
    	// Quick check
    	if len(x.versions) <= 1 || sort.SliceIsSorted(x.versions, func(i, j int) bool {
    		return x.versions[i].header.sortsBefore(x.versions[j].header)
    	}) {
    		return
    	}
    
    	// We should sort.
    	sort.Slice(x.versions, func(i, j int) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top