- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 295 for constants (0.24 sec)
-
android/guava/src/com/google/common/base/Enums.java
Class<T> enumClass) { synchronized (enumConstantCache) { Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass); if (constants == null) { constants = populateCache(enumClass); } return constants; } } /** * Returns a serializable converter that converts between strings and {@code enum} values of type
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 26 11:56:44 GMT 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Resources.java
* * @param url the URL to read from * @param charset the charset used to decode the input stream; see {@link Charsets} for helpful * predefined constants * @return a string containing all the characters from the URL * @throws IOException if an I/O error occurs. */ public static String toString(URL url, Charset charset) throws IOException {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
import java.util.concurrent.atomic.AtomicReference; import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as * well as a simple framework for helping to make sure that assertions failing in generated threads * cause the associated test that generated them to itself fail (which JUnit does not otherwise
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
Class<T> enumClass) { synchronized (enumConstantCache) { Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass); if (constants == null) { constants = populateCache(enumClass); } return constants; } } /** * Returns a serializable converter that converts between strings and {@code enum} values of type
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 26 11:56:44 GMT 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 33.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* because the null check on the theUnsafe object remains inside the loop and * BYTE_ARRAY_BASE_OFFSET doesn't get constant-folded. * * The compiler can treat static final fields as compile-time constants and can constant-fold * them while (final or not) local variables are run time values. */ static final Unsafe theUnsafe = getUnsafe();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
import java.util.concurrent.atomic.AtomicReference; import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as * well as a simple framework for helping to make sure that assertions failing in generated threads * cause the associated test that generated them to itself fail (which JUnit does not otherwise
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertThat(read).isEqualTo(bf); assertThat(read.expectedFpp()).isGreaterThan(0); } /** * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only * appending a new constant is allowed. */ public void testBloomFilterStrategies() { assertThat(BloomFilterStrategies.values()).hasLength(2);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
} } public void testToString() { for (String inputName : SOMEWHERE_UNDER_PS) { InternetDomainName domain = InternetDomainName.from(inputName); /* * We would ordinarily use constants for the expected results, but * doing it by derivation allows us to reuse the test case definitions * used in other tests. */ String expectedName = Ascii.toLowerCase(inputName);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 05 13:16:00 GMT 2024 - 17.3K bytes - Viewed (0)