- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 824 for from (0.64 sec)
-
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
* * @author Louis Wasserman */ public class OutsideEventBusTest extends TestCase { /* * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior. * That is, even if exactly the same method works from inside the common.eventbus package tests, * it can fail here. */ public void testAnonymous() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* {@link #acquire()} blocks if necessary until a permit is available, and then takes it. Once * acquired, permits need not be released. * * <p>{@code RateLimiter} is safe for concurrent use: It will restrict the total rate of calls from * all threads. Note, however, that it does not guarantee fairness. * * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 18.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} private static final long serialVersionUID = 0; } /** * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.3K bytes - Viewed (0) -
guava/src/com/google/common/base/SmallCharMatcher.java
this.filter = filter; this.containsZero = containsZero; } private static final int C1 = 0xcc9e2d51; private static final int C2 = 0x1b873593; /* * This method was rewritten in Java from an intermediate step of the Murmur hash function in * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the * following header: *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
* constructed based on an existing {@code Network} using {@link #from(Network)}. * @param <E> The most general edge type this builder will support. This is normally {@code Object} * unless it is constrained by using a method like {@link #edgeOrder}, or the builder is * constructed based on an existing {@code Network} using {@link #from(Network)}. * @since 20.0 */ @Beta @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Jun 03 01:21:31 GMT 2022 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* and {@code scheduleWithFixedDelay} are not supported by this class and will throw an * UnsupportedOperationException. * * <p>The implementation deviates from the {@code ExecutorService} specification with regards to * the {@code shutdownNow} method. First, "best-effort" with regards to canceling running tasks is
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 26 22:04:00 GMT 2023 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalCause.java
* * @author Charles Fry * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public enum RemovalCause { /** * The entry was manually removed by the user. This can result from the user invoking {@link * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link * Map#remove}, {@link ConcurrentMap#remove}, or {@link Iterator#remove}. */ EXPLICIT {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ConverterTest.java
Converter<String, String> composedConverter = converterA.andThen(reverseConverter); SerializableTester.reserializeAndAssert(composedConverter); } public void testSerialization_from() { Converter<String, String> dumb = Converter.from(toStringFunction(), toStringFunction()); SerializableTester.reserializeAndAssert(dumb); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:02:33 GMT 2023 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
import static com.google.common.base.Charsets.UTF_8; import java.util.Arrays; import java.util.Random; import junit.framework.TestCase; /** * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4. * * @author Patrick Costello * @author Kurt Alfred Kluever */ public class Crc32cHashFunctionTest extends TestCase { public void testEmpty() { assertCrc(0, new byte[0]); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 23 18:30:33 GMT 2020 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* * - Under Java 9+, createTempDir() succeeds because it can look up the *real* username, rather * than relying on the one from the system property. * * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the * system property. */ String save = System.getProperty("user.name");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0)