Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Group (0.2 sec)

  1. cmd/erasure-healing-common.go

    func commonTimeAndOccurrence(times []time.Time, group time.Duration) (maxTime time.Time, maxima int) {
    	timeOccurrenceMap := make(map[int64]int, len(times))
    	groupNano := group.Nanoseconds()
    	// Ignore the uuid sentinel and count the rest.
    	for _, t := range times {
    		if t.Equal(timeSentinel) || t.IsZero() {
    			continue
    		}
    		nano := t.UnixNano()
    		if group > 0 {
    			for k := range timeOccurrenceMap {
    				if k == nano {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top