Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for toStats (0.07 sec)

  1. guava/src/com/google/common/math/Stats.java

       * consumed by this method.
       *
       * <p>If you have a {@code Stream<Double>} rather than a {@code DoubleStream}, you should collect
       * the values using {@link #toStats()} instead.
       *
       * @param values a series of values
       * @since 28.2 (but only since 33.4.0 in the Android flavor)
       */
      public static Stats of(DoubleStream values) {
        return values
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.Stats.toStats;
    import static com.google.common.math.StatsTesting.ALLOWED_ERROR;
    import static com.google.common.math.StatsTesting.ALL_MANY_VALUES;
    import static com.google.common.math.StatsTesting.ALL_STATS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    	}
    }
    
    func getDriveIOStatMetrics(ioStats madmin.DiskIOStats, duration time.Duration) (m driveIOStatMetrics) {
    	durationSecs := duration.Seconds()
    
    	m.readsPerSec = float64(ioStats.ReadIOs) / durationSecs
    	m.readsKBPerSec = float64(ioStats.ReadSectors) * float64(sectorSize) / kib / durationSecs
    	if ioStats.ReadIOs > 0 {
    		m.readsAwait = float64(ioStats.ReadTicks) / float64(ioStats.ReadIOs)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. internal/disk/stat_test.go

    				t.Fatalf("unexpected err; %v", err)
    			}
    			if testCase.expectErr && err == nil {
    				t.Fatal("expected to fail but err is nil")
    			}
    			if !reflect.DeepEqual(iostats, testCase.expectedIOStats) {
    				t.Fatalf("expected iostats: %v but got %v", testCase.expectedIOStats, iostats)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-drive.go

    func (m *MetricValues) setDriveIOStatMetrics(ioStats driveIOStatMetrics, labels []string) {
    	m.Set(driveReadsPerSec, ioStats.readsPerSec, labels...)
    	m.Set(driveReadsKBPerSec, ioStats.readsKBPerSec, labels...)
    	if ioStats.readsPerSec > 0 {
    		m.Set(driveReadsAwait, ioStats.readsAwait, labels...)
    	}
    
    	m.Set(driveWritesPerSec, ioStats.writesPerSec, labels...)
    	m.Set(driveWritesKBPerSec, ioStats.writesKBPerSec, labels...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. cmd/bucket-stats.go

    		merged.LastMin = l.LastMin
    	} else {
    		l.forwardTo(o.LastMin)
    		merged.LastMin = o.LastMin
    	}
    
    	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 *ReplicationLastHour) addsize(sz int64) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. cmd/metrics-resource.go

    	for d, dm := range m.ByDisk {
    		labels := map[string]string{"drive": d}
    		latestStats, ok := latestDriveStats[d]
    		if !ok {
    			latestDriveStats[d] = dm.IOStats
    			continue
    		}
    		updateDriveIOStats(dm.IOStats, latestStats, labels)
    		latestDriveStats[d] = dm.IOStats
    	}
    	lastDriveStatsRefresh = time.Now().UTC()
    	latestDriveStatsMu.Unlock()
    
    	globalLocalDrivesMu.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. cmd/metrics-v3-bucket-replication.go

    					m.Set(bucketReplSentCount, float64(stat.ReplicatedCount), labels...)
    					m.Set(bucketReplTotalFailedBytes, float64(stat.Failed.Totals.Bytes), labels...)
    					m.Set(bucketReplTotalFailedCount, float64(stat.Failed.Totals.Count), labels...)
    					m.Set(bucketReplProxiedDeleteTaggingRequestsFailures, float64(s.ProxyStats.RmvTagFailedTotal), labels...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/extra-data-types.md

    * `datetime.timedelta`:
        * O `datetime.timedelta` do Python.
        * Em requisições e respostas será representado como um `float` de segundos totais.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. cmd/erasure.go

    					removeAll(pathJoin(drivePath, minioMetaTmpDeletedBucket, ddir))
    					wait()
    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // nsScanner will start scanning buckets and send updated totals as they are traversed.
    // Updates are sent on a regular basis and the caller *must* consume them.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top