- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Buresh (0.22 sec)
-
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
List<Object> equalArgs = Lists.newArrayList(args); for (int i = 0; i < args.size(); i++) { Parameter param = params.get(i); Object arg = args.get(i); // Use new fresh value generator because 'args' were populated with new fresh generator each. // Two newFreshValueGenerator() instances should normally generate equal value sequence. Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
Object instance = ArbitraryInstances.get(mutableClass); assertNotNull("Expected to return non-null for: " + mutableClass, instance); assertNotSame( "Expected to return fresh instance for: " + mutableClass, instance, ArbitraryInstances.get(mutableClass)); } } private enum EmptyEnum {} private enum Direction { UP, DOWN }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
datasets[i] = new double[datasetSize]; for (int j = 0; j < datasetSize; j++) { datasets[i][j] = rng.nextDouble(); } } } private double[] dataset(int i) { // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a // dataset which is already sorted or partially sorted is cheating. return datasets[i & 0xFF].clone(); } @Benchmark double median(int reps) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
} } private enum LinkedListSupplier implements Supplier<List<?>> { INSTANCE; public static <V extends @Nullable Object> Supplier<List<V>> instance() { // Each call generates a fresh LinkedList, which can serve as a List<V> for any V. @SuppressWarnings({"rawtypes", "unchecked"}) Supplier<List<V>> result = (Supplier) INSTANCE; return result; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 17.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator * without changing its state, so the tester needs a steady supply of fresh Iterators. * * <p>If your iterator supports modification through {@code remove()}, you may wish to override the * verify() method, which is called after each sequence and is guaranteed to be called
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
} } resizeMeMaybe(newSize); insertEntry(newEntryIndex, object, hash, mask); this.size = newSize; incrementModCount(); return true; } /** * Creates a fresh entry with the specified object at the specified position in the entry arrays. */ void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
return this; } public <E> Interner<E> build() { if (!strong) { mapMaker.weakKeys(); } return new InternerImpl<>(mapMaker); } } /** Returns a fresh {@link InternerBuilder} instance. */ public static InternerBuilder newBuilder() { return new InternerBuilder(); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
return new JavaIoCreator(); } /** * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even * if previous calls have initialized the {@code PermissionSupplier} fields. * * <p>This lets us test the effects of different values of the {@code user.name} system property
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import java.util.concurrent.atomic.AtomicInteger; import java.util.regex.Pattern; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Generates fresh instances of types that are different from each other (if possible). * * @author Ben Yu */ @GwtIncompatible @J2ktIncompatible class FreshValueGenerator {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
} } resizeMeMaybe(newSize); insertEntry(newEntryIndex, key, value, hash, mask); this.size = newSize; incrementModCount(); return null; } /** * Creates a fresh entry with the specified object at the specified position in the entry arrays. */ void insertEntry( int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 39.8K bytes - Viewed (0)