- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 205 for powers (0.03 sec)
-
android/guava/src/com/google/common/collect/CompactHashMap.java
*/ private static final int MAX_HASH_BUCKET_LENGTH = 9; // The way the `table`, `entries`, `keys`, and `values` arrays work together is as follows. // // The `table` array always has a size that is a power of 2. The hashcode of a key in the map // is masked in order to correspond to the current table size. For example, if the table size // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing * utilities. * * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect}, * {@code java.io}, {@code java.nio}, {@code java.math}, {@code java.util}, {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 21.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
} } /** Builds a configured certificate pinner. */ class Builder { val pins = mutableListOf<Pin>() /** * Pins certificates for `pattern`. * * @param pattern lower-case host name or wildcard pattern such as `*.example.com`. * @param pins SHA-256 or SHA-1 hashes. Each pin is a hash of a certificate's Subject Public KeyRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
/** * Tests for {@link Quantiles}. * * @author Pete Gillin */ @NullUnmarked public class QuantilesTest extends TestCase { /* * Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in * the computation of one or more quantiles (or in an error) rather than individual methods. The * tests are divided into three sections:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
/** * Tests for {@link Quantiles}. * * @author Pete Gillin */ @NullUnmarked public class QuantilesTest extends TestCase { /* * Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in * the computation of one or more quantiles (or in an error) rather than individual methods. The * tests are divided into three sections:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0; // Estimate compression ratio based on entropy // Lower entropy = better compression return 0.3 + (entropy * 0.6); // Range from 30% to 90% } @Override public int getMinCompressionSize() { return MIN_COMPRESSION_SIZE; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
if (oldCapacity >= MAXIMUM_CAPACITY) { return; } /* * Reclassify nodes in each list to new Map. Because we are using power-of-two expansion, the * elements from each bin must either stay at same index, or move with a power of two offset. * We eliminate unnecessary node creation by catching cases where old nodes can be reused
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 19:35:11 UTC 2025 - 148.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
import org.codelibs.fess.crawler.container.StandardCrawlerContainer; import org.dbflute.utflute.core.PlainTestCase; /** * Test class for {@link Handler} and its inner class {@link Handler.StorageURLConnection}. * This test covers URL parsing, connection state management, and thread-safety. */ public class HandlerTest extends PlainTestCase { @Override protected void setUp() throws Exception { super.setUp();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Mock transports SmbTransportImpl trans1 = mock(SmbTransportImpl.class); SmbTransportImpl trans2 = mock(SmbTransportImpl.class); // trans2 fails first (lower fail count, tried first), trans1 succeeds when(trans2.unwrap(SmbTransportImpl.class)).thenReturn(trans2); when(trans2.ensureConnected()).thenThrow(new IOException("Connection failed"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* array. This hashing API accepts an arbitrary sequence of byte and multibyte values (via * {@link Hasher}), but this is merely a convenience; these are always translated into raw * byte sequences under the covers. * <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length * (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0)