- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 152 for calculations (0.99 sec)
-
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
return dataset[positionFloor] + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]); } } }, /** * Uses quickselect. When calculating multiple quantiles, each quickselect starts from scratch. */ QUICKSELECT { @Override double singleQuantile(int index, int scale, double[] dataset) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
return; } xStats.addAll(values.xStats()); if (yStats.count() == 0) { sumOfProductsOfDeltas = values.sumOfProductsOfDeltas(); } else { // This is a generalized version of the calculation in add(double, double) above. Note that // non-finite inputs will have sumOfProductsOfDeltas = NaN, so non-finite values will result // in NaN naturally. sumOfProductsOfDeltas +=Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * Calculates the wire format length of a string * @param str string to measure * @param offset current buffer offset for alignment calculation * @return string length */ public int stringWireLength(final String str, final int offset) { int len = str.length() + 1; if (this.useUnicode) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
bucketsThrottle map[BucketOptions]*bucketThrottle bucketsMeasurement map[BucketOptions]*bucketMeasurement // Buckets with objects in flight bucketMovingAvgTicker *time.Ticker // Ticker for calculating moving averages ctx context.Context // Context for generate NodeCount uint64 } // NewMonitor returns a monitor with defaults.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (0) -
cmd/bitrot.go
var bitrotAlgorithms = map[BitrotAlgorithm]string{ SHA256: "sha256", BLAKE2b512: "blake2b", HighwayHash256: "highwayhash256", HighwayHash256S: "highwayhash256S", } // New returns a new hash.Hash calculating the given bitrot algorithm. func (a BitrotAlgorithm) New() hash.Hash { switch a { case SHA256: return sha256.New() case BLAKE2b512: b2, _ := blake2b.New512(nil) // New512 never returns an error if the key is nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
for (int i = 0; i < cipherCount; i++) { assertEquals(i + 1, context.getCiphers()[i]); } } } @Nested @DisplayName("Size Calculation Tests") class SizeCalculationTests { @Test @DisplayName("Should calculate size for null ciphers") void testSizeWithNullCiphers() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} } } @Nested @DisplayName("Usage Pattern Tests") class UsagePatternTests { @Test @DisplayName("Should support percentage calculation pattern") void shouldSupportPercentageCalculationPattern() { // Given TestAllocInfo allocInfo = new TestAllocInfo(1000L, 250L); // When - calculate percentage freeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
private static final long BASE_POLL_INTERVAL = 1000; private static final long BASE_ERROR_DELAY = 1000; private static final int MAX_FAILURE_LIMIT = 5; // Limit failures for backoff calculation private final InetAddress witnessServer; private final int port; private final CIFSContext context; private final ConcurrentHashMap<String, WitnessRegistration> registrations;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
cmd/site-replication-metrics.go
// Total Replica received ReplicaCount int64 `json:"replicaCount"` M map[string]*SRStatus `json:"srStatusMap"` movingAvgTicker *time.Ticker // Ticker for calculating moving averages lock sync.RWMutex // mutex for srStats } // SRStatus has replication stats at deployment level type SRStatus struct { ReplicatedSize int64 `json:"completedReplicationSize"`
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
}); assertTrue(exception.getMessage().contains("Security buffer extends beyond available data")); } /** * Test integer overflow protection in security buffer offset calculation. */ @Test public void testSecurityBufferIntegerOverflow() { byte[] buffer = createBasicNegotiateResponseBuffer();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0)