- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for stroke (0.17 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
observed.add(object); } assertTrue("All stripes observed", observed.size() == striped.size()); // this uses #get(key), makes sure an already observed stripe is returned for (int i = 0; i < striped.size() * 100; i++) { assertTrue(observed.contains(striped.get(new Object()))); } try { striped.getAt(-1); fail();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
private final MapMaker mapMaker = new MapMaker(); private boolean strong = true; private InternerBuilder() {} /** * Instructs the {@link InternerBuilder} to build a strong interner. * * @see Interners#newStrongInterner() */ public InternerBuilder strong() { this.strong = true; return this; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 5.9K bytes - Viewed (1) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
*/ package com.google.common.collect.testing; import java.util.Arrays; /** * Minimal GWT emulation of {@code com.google.common.collect.testing.Platform}. * * <p><strong>This .java file should never be consumed by javac.</strong> * * @author Hayward Chan */ final class Platform { // Class.cast is not supported in GWT. static void checkCast(Class<?> clazz, Object obj) {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
| ((source[offset + 3] & 0xFF) << 24); } /** * Indicates that the loading of Unsafe was successful and the load and store operations will be * very efficient. May be useful for calling code to fall back on an alternative implementation * that is slower than Unsafe.get/store but faster than the pure-Java mask-and-shift. */ static boolean usingUnsafe() { return (byteArray instanceof UnsafeByteArray); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalNotification.java
* A notification of the removal of a single entry. The key and/or value may be null if they were * already garbage collected. * * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds * strong references to the key and value, regardless of the type of references the cache may be * using. * * @author Charles Fry * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Feb 01 20:46:24 GMT 2022 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java
} // Helper to assert common properties of xml escapers. static void assertBasicXmlEscaper( CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) { // Simple examples (smoke tests) assertEquals("xxx", xmlEscaper.escape("xxx")); assertEquals("test & test & test", xmlEscaper.escape("test & test & test")); assertEquals("test << 1", xmlEscaper.escape("test << 1"));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
// fall back to copying URLs to files in the testDir == null block below } } if (testDir == null) { // testdata resources aren't file:// urls, so create a directory to store them in and then // copy the resources to the filesystem as needed testDir = createTempDir(); } return testDir; } /** Returns the file with the given name under the testdata directory. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
@GwtIncompatible @ElementTypesAreNonnullByDefault final class CompactHashing { private CompactHashing() {} /** Indicates blank table entries. */ static final byte UNSET = 0; /** Number of bits used to store the numbers of hash table bits (max 30). */ private static final int HASH_TABLE_BITS_MAX_BITS = 5; /** Use high bits of metadata for modification count. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
@GwtIncompatible @ElementTypesAreNonnullByDefault final class CompactHashing { private CompactHashing() {} /** Indicates blank table entries. */ static final byte UNSET = 0; /** Number of bits used to store the numbers of hash table bits (max 30). */ private static final int HASH_TABLE_BITS_MAX_BITS = 5; /** Use high bits of metadata for modification count. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} }; private CacheBuilderFactory factoryWithAllKeyStrengths() { return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK)) .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); } private Iterable<LoadingCache<Key, String>> caches() { CacheBuilderFactory factory = factoryWithAllKeyStrengths();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 6.1K bytes - Viewed (0)