Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for toStats (0.09 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/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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/data-scanner.go

    //
    // The leaves are "compacted" based on a number of properties.
    // A compacted leaf contains the totals of all files beneath it.
    //
    // A leaf is only scanned once every dataUsageUpdateDirCycles,
    // rarer if the bloom filter for the path is clean and no lifecycles are applied.
    // Skipped leaves have their totals transferred from the previous cycle.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. cmd/background-newdisks-heal-ops.go

    		if a != b {
    			return a
    		}
    		return buckets[i].Created.After(buckets[j].Created)
    	})
    
    	// Load bucket totals
    	cache := dataUsageCache{}
    	if err := cache.load(ctx, z.serverPools[poolIdx].sets[setIdx], dataUsageCacheName); err == nil {
    		dataUsageInfo := cache.dui(dataUsageRoot, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	diskMetric.TotalErrorsTimeout = p.totalErrsTimeout.Load()
    	diskMetric.TotalErrorsAvailability = p.totalErrsAvailability.Load()
    
    	return diskMetric
    }
    
    // lockedLastMinuteLatency accumulates totals lockless for each second.
    type lockedLastMinuteLatency struct {
    	cachedSec int64
    	cached    atomic.Pointer[AccElem]
    	mu        sync.Mutex
    	init      sync.Once
    	lastMinuteLatency
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top