- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for too (0.01 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int { check(!duration.isNegative()) { "$name < 0" } val millis = duration.inWholeMilliseconds require(millis <= Integer.MAX_VALUE) { "$name too large" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
assertFalse(validator.determineValid("too many fields here * * * * * * *")); assertFalse(validator.determineValid("* * * *")); } public void test_isValid_basicInvalidCronExpression() { final ConstraintValidatorContext context = null; assertFalse(validator.isValid("invalid cron", context)); assertFalse(validator.isValid("too many fields * * * * * * *", context));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertFalse(violations.isEmpty()); assertEquals(1, violations.size()); // Test too many fields bean.setCronExpression("* * * * * * * *"); violations = validator.validate(bean); assertFalse(violations.isEmpty()); // Test too few fields bean.setCronExpression("* * *"); violations = validator.validate(bean);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
assertThat(unsignedValue.toString()).isEqualTo(unsignedValue.bigIntegerValue().toString()); } } @J2ktIncompatible @GwtIncompatible // too slow public void testToStringRadix() { for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { for (int l : TEST_INTS) { UnsignedInteger value = UnsignedInteger.fromIntBits(l);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.6K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
// Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod // mode. static int listListIteratorTesterNumIterations() { // TODO(hhchan): It's 4 in java. Figure out why even 3 is too slow in prod mode. return 2; } // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod // mode. static int collectionIteratorTesterNumIterations() { return 3;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number * of values that will be added, if that knowledge is readily available. It is better to guess a * value slightly too high than slightly too low. If the value is not exact, the {@link * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary; * to trim memory usage, build using {@code builder.build().trimmed()}.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number * of values that will be added, if that knowledge is readily available. It is better to guess a * value slightly too high than slightly too low. If the value is not exact, the {@link * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary; * to trim memory usage, build using {@code builder.build().trimmed()}.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0) -
cycle_suppress_list.txt
FIELD com.google.common.util.concurrent.AbstractFuture.Listener.executor com.google.common.util.concurrent.ExecutionSequencer.TaskNonReentrantExecutor # ***** FALSE POSITIVES ***** # The Runnable type is so generic that it produces too many false positives. TYPE java.lang.Runnable FIELD com.google.common.base.Converter.reverse
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 24 01:59:49 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
listener.shouldClose = true // Large headers are a likely reason the servers would cut off the connection before it completes sending // request headers. // 431 "Request Header Fields Too Large" val largeHeaders = Headers .Builder() .apply { repeat(32) { add("name-$it", "value-$it-" + "0".repeat(1024)) } }.build() val call2 =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// that it will almost certainly fail because the proxy has sent unexpected data. if (!socket.source.buffer.exhausted() || !socket.sink.buffer.exhausted()) { throw IOException("TLS tunnel buffered too many bytes!") } user.secureConnectStart() // Create the wrapper over the connected socket. val sslSocket = route.address.sslSocketFactory.createSocket(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0)