- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for WHAT (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* #iterator()} method after the first, and whose iterator is always unmodifiable. * * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a * second invocation, so implementors have made various choices, including: * * <ul> * <li>returning the same iterator again * <li>throwing an exception of some kind
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AndroidIncompatible.java
* other tests. We want to exclude the other tests (which Android can't handle) while * continuing to run {@code FooTest} itself. This is exactly what happens with {@code * AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code * suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
} /** * Returns the {@link Method} instance for {@link #testAddAll_unsupportedNonePresent()} so that * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we * figure out what to do with <a href="http://goo.gl/qJBruX">{@code ConcurrentHashMap} support for * {@code entrySet().add()}</a>. */ @J2ktIncompatible @GwtIncompatible // reflection
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
* {@inheritDoc} * * <p>The {@code AbstractListTester} implementation overrides {@link * AbstractCollectionTester#expectContents(Collection)} to verify that the order of the elements * in the list under test matches what is expected. */ @Override protected void expectContents(Collection<E> expectedCollection) { List<E> expectedList = Helpers.copyToList(expectedCollection);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClusterException.java
* for (ThingToRun thingToRun : thingsToRun) { * thingToRun.run(); // say this may throw an exception, but you want to * // always run all thingsToRun * } * } * </pre> * * <p>This is what the code would become: * * <pre> * void runManyThings({@literal List<ThingToRun>} thingsToRun) { * {@literal List<Exception>} exceptions = Lists.newArrayList(); * for (ThingToRun thingToRun : thingsToRun) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; import java.util.List; import java.util.Set; import junit.framework.TestCase; /** * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens * when maximumSize is reached, etc. * * @author mike nonemacher */ public class CacheEvictionTest extends TestCase { static final int MAX_SIZE = 100;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
String data = "Hi There"; checkSha1("b617318655057264e28bc0b6fb378c8ef146be00", key, data); } public void testRfc2202_hmacSha1_case2() { byte[] key = "Jefe".getBytes(UTF_8); String data = "what do ya want for nothing?"; checkSha1("effcdf6ae5eb2fa2d27416d5f184df9c259a7c79", key, data); } public void testRfc2202_hmacSha1_case3() { byte[] key = fillByteArray(20, 0xaa);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
int joinerWithCharacterDelimiter(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy ^= JOINER_ON_CHARACTER.join(components).length(); } return dummy; } /** * Mimics what the {@link Joiner} class does internally when no extra options like ignoring {@code * null} values are used. */ @Benchmark int joinerInlined(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertEvents( "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1 "U4.50", // #2 "R0.00, R1.38, R1.13", // #3, after that the rate changes "R0.88", // #4, this is what the throttling would be with the old rate "R0.34, R0.28, R0.25, R0.25", // #5 "U4.25", // #6 "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AndroidIncompatible.java
* other tests. We want to exclude the other tests (which Android can't handle) while * continuing to run {@code FooTest} itself. This is exactly what happens with {@code * AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code * suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Viewed (0)