- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 418 for computes (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/hash/BloomFilter.java
// // 1) Optimal k = b * ln2 // 2) p = (1 - e ^ (-kn/m))^k // 3) For optimal k: p = 2 ^ (-k) ~= 0.6185^b // 4) For optimal k: m = -nlnp / ((ln2) ^ 2) /** * Computes the optimal number of hash functions (k) for a given false positive probability (p). * * <p>See http://en.wikipedia.org/wiki/File:Bloom_filter_fp_probability.svg for the formula. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 19:23:59 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
put(range, value); return; } Range<K> coalescedRange = coalescedRange(range, checkNotNull(value)); put(coalescedRange, value); } /** Computes the coalesced range for the given range+value - does not mutate the map. */ private Range<K> coalescedRange(Range<K> range, V value) { Range<K> coalescedRange = range; Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertThrows(SmbUnsupportedOperationException.class, () -> transport.calculatePreauthHash(new byte[] { 1, 2, 3 }, 0, 3, null)); } @Test @DisplayName("calculatePreauthHash computes SHA-512 chain for SMB 3.1.1") void preauthHash_happyPath() throws Exception { setField(transport, "smb2", true); Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
internal/rest/client.go
} // LastError returns previous error func (c *Client) LastError() error { c.RLock() defer c.RUnlock() return fmt.Errorf("[%s] %w", c.lastErrTime.Format(time.RFC3339), c.lastErr) } // computes the exponential backoff duration according to // https://www.awsarchitectureblog.com/2015/03/backoff.html func exponentialBackoffWait(r *rand.Rand, unit, maxSleep time.Duration) func(uint) time.Duration { if unit > time.Hour {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
internal/s3select/message.go
// Records message payloads can contain a single record, partial records, or multiple records. func newRecordsMessage(payload []byte) []byte { return genMessage(recordsHeader, payload) } // payloadLenForMsgLen computes the length of the payload in a record // message given the total length of the message. func payloadLenForMsgLen(messageLength int) int { headerLength := len(recordsHeader)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 15.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
// This work was already done by calling lruEntries.get(). } else -> throw IOException("unexpected journal line: $line") } } /** * Computes the initial size and collects garbage as a part of opening the cache. Dirty entries * are assumed to be inconsistent and will be deleted. */ @Throws(IOException::class) private fun processJournal() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 34.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
assertEquals(expectedMean, IntMath.mean(x, y)); assertEquals( "The mean of x and y should equal the mean of y and x", expectedMean, IntMath.mean(y, x)); } /** * Computes the mean in a way that is obvious and resilient to overflow by using BigInteger * arithmetic. */ private static int computeMeanSafely(int x, int y) { BigInteger bigX = BigInteger.valueOf(x);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
put(range, value); return; } Range<K> coalescedRange = coalescedRange(range, checkNotNull(value)); put(coalescedRange, value); } /** Computes the coalesced range for the given range+value - does not mutate the map. */ private Range<K> coalescedRange(Range<K> range, V value) { Range<K> coalescedRange = range; Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 26.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
default Map<String, String> getEffectiveProperties() { return getEffectiveProperties(null); } /** * Each invocation computes a new map of effective properties. To be used in interpolation. * <p> * Effective properties are computed from system, user and optionally project properties, layered with * defined precedence onto each other to achieve proper precedence. Precedence is defined as:
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
*/ public static <K extends @Nullable Object, V extends @Nullable Object> IdentityHashMap<K, V> newIdentityHashMap() { return new IdentityHashMap<>(); } /** * Computes the difference between two maps. This difference is an immutable snapshot of the state * of the maps at the time this method is called. It will never change, even if the maps change at * a later time. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 163.5K bytes - Click Count (0)