- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for n2 (0.11 sec)
-
cmd/bucket-replication-metrics.go
Peak: peak, Curr: curr, measure: rx.measure, N: rx.N + o.N, } } func calcAvg(x, y float64, n1, n2 int64) float64 { if n1+n2 == 0 { return 0 } avg := (x*float64(n1) + y*float64(n2)) / float64(n1+n2) return avg } // Add a new transfer func (rx *XferStats) addSize(sz int64, t time.Duration) { if rx.measure == nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 14.2K bytes - Viewed (0) -
src/archive/tar/reader_test.go
wantErr: ErrHeader, }, { inputData: padInput("1\n2\n3\n"), inputHdrs: map[string]string{paxGNUSparseMajor: "1", paxGNUSparseMinor: "0"}, wantMap: sparseDatas{{2, 3}}, }, { inputData: padInput("1\n2\n"), inputHdrs: map[string]string{paxGNUSparseMajor: "1", paxGNUSparseMinor: "0"}, wantErr: io.ErrUnexpectedEOF, }, { inputData: padInput("1\n2\n\n"),
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0)