- Sort Score
- Result 10 results
- Languages All
Results 2661 - 2670 of 3,016 for jest (0.02 sec)
-
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
ByteSource source = out.asByteSource(); int chunk1 = min(dataSize, fileThreshold); int chunk2 = dataSize - chunk1; // Write just enough to not trip the threshold if (chunk1 > 0) { write(out, data, 0, chunk1, singleByte); assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); } File file = out.getFile();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
UnicodeEscaper e = new PercentEscaper("%", false); assertEquals("foo%7Cbar", e.escape("foo|bar")); assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ public void testBadArguments_null() { assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false)); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MoreCollectors.java
return (Collector) ONLY_ELEMENT; } /** * This atrocity is here to let us report several of the elements in the stream if there were more * than one, not just two. */ @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types private static final class ToOptionalState { static final int MAX_EXTRAS = 4; @Nullable Object element;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: EitherRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.sh
# new generation if [ "x$FESS_HEAP_NEWSIZE" != "x" ]; then FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Xmn${FESS_HEAP_NEWSIZE}" fi # set to headless, just in case FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djava.awt.headless=true" # maximum # keep-alive connections to maintain at once FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dhttp.maxConnections=20" # Force the JVM to use IPv4 stack
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 4.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan() require(nextPlanIndex < plans.size) { "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up" } val result = plans[nextPlanIndex++] events += "take plan ${result.id}" if (result.yieldBeforePlanReturns) { taskFaker.yield() }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
* https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470 * https://github.com/google/guava/blob/4f12c5891a7adedbaa1d99fc9f77d8cc4e9da206/guava-tests/test/com/google/common/reflect/TypeResolverTest.java#L201 */ info.getName().contains("TypeResolverTest") /* * And at least one of the classes inside TypeTokenTest ends up with a null value inRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MutableGraph.java
* @since 20.0 */ @Beta public interface MutableGraph<N> extends Graph<N> { /** * Adds {@code node} if it is not already present. * * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null. * * @return {@code true} if the graph was modified as a result of this call */ @CanIgnoreReturnValue boolean addNode(N node); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* to the provided {@code standardEquals} method. * * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equals} to test * equality for both keys and values. This may not be the desired behavior for map implementations * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whoseRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Primitives.java
Class<?> value) { forward.put(key, value); backward.put(value, key); } /** * Returns an immutable set of all nine primitive types (including {@code void}). Note that a * simpler way to test whether a {@code Class} instance is a member of this set is to call {@link * Class#isPrimitive}. * * @since 3.0 */ public static Set<Class<?>> allPrimitiveTypes() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.8K bytes - Viewed (0)