Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sortsBefore (0.15 sec)

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

    func (x xlMetaV2VersionHeader) hasEC() bool {
    	return x.EcM > 0 && x.EcN > 0
    }
    
    // sortsBefore can be used as a tiebreaker for stable sorting/selecting.
    // Returns false on ties.
    func (x xlMetaV2VersionHeader) sortsBefore(o xlMetaV2VersionHeader) bool {
    	if x == o {
    		return false
    	}
    	// Prefer newest modtime.
    	if x.ModTime != o.ModTime {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. cmd/metacache-entries.go

    			}
    			if !strict && eVer.header.matchesNotStrict(oVer.header) {
    				if prefer == nil {
    					if eVer.header.sortsBefore(oVer.header) {
    						prefer = e
    					} else {
    						prefer = other
    					}
    				}
    				continue
    			}
    			if prefer != nil {
    				return prefer, false
    			}
    
    			if eVer.header.sortsBefore(oVer.header) {
    				return e, false
    			}
    			return other, false
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_test.go

    		}
    		if len(xl.versions) != 3 {
    			t.Fatal("Got wrong number of versions, want 3, got", len(xl.versions))
    		}
    		if !sort.SliceIsSorted(xl.versions, func(i, j int) bool {
    			return xl.versions[i].header.sortsBefore(xl.versions[j].header)
    		}) {
    			t.Errorf("Got unsorted result")
    		}
    	}
    }
    
    func TestXMinIOHealingSkip(t *testing.T) {
    	xl := xlMetaV2{}
    	failOnErr := func(err error) {
    		t.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. src/main/webapp/css/font-awesome.min.css

    ore{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 14 21:22:25 UTC 2019
    - 55.8K bytes
    - Viewed (1)
  5. src/main/webapp/css/admin/font-awesome.min.css

    ore{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 14 21:22:25 UTC 2019
    - 55.8K bytes
    - Viewed (0)
Back to top