- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for large (0.13 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
} } } /** * Used to delay string formatting until actually required, as it otherwise shows up in the test * execution profile when running an extremely large numbers of tests. */ private String reportContext(List<E> expected) { return Platform.format( "expected collection %s; actual collection %s", expected, this.collection); }
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-tests/test/com/google/common/base/EquivalenceTest.java
.addEqualityGroup(isNull) .addEqualityGroup(Equivalence.identity().equivalentTo("1")) .testEquals(); } /* * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteStreams.java
* userspace buffer (byte[] or ByteBuffer), then copies them from that buffer into the * destination channel. * </ol> * * This value is intended to be large enough to make the overhead of system calls negligible, * without being so large that it causes problems for systems with atypical memory management if * approaches 2 or 3 are used. */ private static final int ZERO_COPY_CHUNK_SIZE = 512 * 1024;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
} public void testFindLast_refStream() { assertThat(findLast(Stream.of())).isEmpty(); assertThat(findLast(Stream.of("a", "b", "c", "d"))).hasValue("d"); // test with a large, not-subsized Spliterator List<Integer> list = IntStream.rangeClosed(0, 10000).boxed().collect(Collectors.toCollection(LinkedList::new)); assertThat(findLast(list.stream())).hasValue(10000);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* <p>Note that this function is necessarily well-defined for any discrete type. * * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if * the distance is too small or too large, respectively. */ public abstract long distance(C start, C end); /** * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
* method is resilient to overflow. * * @since 14.0 */ public static long mean(long x, long y) { // Efficient method for computing the arithmetic mean. // The alternative (x + y) / 2 fails for large values. // The alternative (x + y) >>> 1 fails for negative values. return (x & y) + ((x ^ y) >> 1); } /* * This bitmask is used as an optimization for cheaply testing for divisibility by 2, 3, or 5.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 44.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CartesianList.java
axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size()); } } catch (ArithmeticException e) { throw new IllegalArgumentException( "Cartesian product too large; must have size at most Integer.MAX_VALUE"); } this.axesSizeProduct = axesSizeProduct; } private int getAxisIndexForProductIndex(int index, int axis) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
/** Test an empty collection. */ ZERO(0), /** Test a one-element collection. */ ONE(1), /** Test a three-element collection. */ SEVERAL(3), /* * TODO: add VERY_LARGE, noting that we currently assume that the fourth * sample element is not in any collection */ ANY(ZERO, ONE, SEVERAL); private final Set<Feature<? super Collection>> implied;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
} } } /** * Used to delay string formatting until actually required, as it otherwise shows up in the test * execution profile when running an extremely large numbers of tests. */ private String reportContext(List<E> expected) { return Platform.format( "expected collection %s; actual collection %s", expected, this.collection); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
/** Test an empty collection. */ ZERO(0), /** Test a one-element collection. */ ONE(1), /** Test a three-element collection. */ SEVERAL(3), /* * TODO: add VERY_LARGE, noting that we currently assume that the fourth * sample element is not in any collection */ ANY(ZERO, ONE, SEVERAL); private final Set<Feature<? super Collection>> implied;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 3.4K bytes - Viewed (0)