Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,028 for totalHV (0.12 sec)

  1. src/image/jpeg/scan.go

    			return FormatError("bad Ta value")
    		}
    	}
    	// Section B.2.3 states that if there is more than one component then the
    	// total H*V values in a scan must be <= 10.
    	if d.nComp > 1 && totalHV > 10 {
    		return FormatError("total sampling factors too large")
    	}
    
    	// zigStart and zigEnd are the spectral selection bounds.
    	// ah and al are the successive approximation high and low values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/last-minute_gen.go

    								return
    							}
    						case "Size":
    							z[za0001].Totals[za0002].Size, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "Size")
    								return
    							}
    						case "N":
    							z[za0001].Totals[za0002].N, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "N")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  3. cmd/last-minute.go

    		merged.LastSec = l.LastSec
    	} else {
    		l.forwardTo(o.LastSec)
    		merged.LastSec = o.LastSec
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    			Total: l.Totals[i].Total + o.Totals[i].Total,
    			N:     l.Totals[i].N + o.Totals[i].N,
    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *lastMinuteLatency) add(t time.Duration) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. cmd/bucket-stats.go

    		merged.Totals[i] = AccElem{
    			Total: l.Totals[i].Total + o.Totals[i].Total,
    			N:     l.Totals[i].N + o.Totals[i].N,
    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *ReplicationLastHour) addsize(sz int64) {
    	min := time.Now().Unix() / 60
    	l.forwardTo(min)
    	winIdx := min % 60
    	l.Totals[winIdx].merge(AccElem{Total: min, Size: sz, N: 1})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_test.go

    		iter = 10000
    	}
    	inc := uintptr(100)
    	total := uintptr(0)
    	runParallel(N, iter, func() {
    		atomic.Xadduintptr(&total, inc)
    	})
    	if want := uintptr(N*iter) * inc; want != total {
    		t.Fatalf("xadduintpr error, want %d, got %d", want, total)
    	}
    	total = 0
    	runParallel(N, iter, func() {
    		atomic.Xadduintptr(&total, inc)
    		atomic.Xadduintptr(&total, uintptr(-int64(inc)))
    	})
    	if total != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. cmd/metrics-v3-bucket-replication.go

    		"Total number of bytes failed at least once to replicate in the last hour on a bucket",
    		bucketL)
    	bucketReplLastHrFailedCountMD = NewGaugeMD(bucketReplLastHrFailedCount,
    		"Total number of objects which failed replication in the last hour on a bucket",
    		bucketL)
    	bucketReplLastMinFailedBytesMD = NewGaugeMD(bucketReplLastMinFailedBytes,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. pkg/controller/endpointslicemirroring/reconciler.go

    		totals = totalChanges(existingSlices[0], desiredSet)
    		if totals.added == 0 && totals.updated == 0 && totals.removed == 0 &&
    			apiequality.Semantic.DeepEqual(endpoints.Labels, compareLabels) &&
    			apiequality.Semantic.DeepEqual(compareAnnotations, existingSlices[0].Annotations) {
    			return slices, totals
    		}
    	}
    
    	// generate a new slice with the desired endpoints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. cmd/site-replication-metrics.go

    	}
    	for k, v := range o.ErrCounts {
    		n.ErrCounts[k] += v
    	}
    	return n
    }
    
    // SRStats has replication stats at site level
    type SRStats struct {
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    	// Total Replica received
    	ReplicaCount int64                `json:"replicaCount"`
    	M            map[string]*SRStatus `json:"srStatusMap"`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    }
    
    // totalsByAction includes total numbers for added and removed.
    type totalsByAction struct {
    	added, updated, removed int
    }
    
    // add adds totals from another totalsByAction struct.
    func (t *totalsByAction) add(totals totalsByAction) {
    	t.added += totals.added
    	t.updated += totals.updated
    	t.removed += totals.removed
    }
    
    // newDesiredCalc initializes and returns a new desiredCalc.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    		}
    		if cpu.total <= 0 {
    			t.Errorf("found no total CPU time passed")
    		}
    		if cpu.user <= 0 {
    			t.Errorf("found no user time passed")
    		}
    		if total := cpu.gcTotal + cpu.scavengeTotal + cpu.user + cpu.idle; !withinEpsilon(cpu.total, total, 0.001) {
    			t.Errorf("calculated total CPU not within %%0.1 of total: %f vs. %f", total, cpu.total)
    		}
    	}
    	if totalVirtual.got != totalVirtual.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top