- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 448 for 1L (0.01 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
try { val upstreamBytesRead = upstream!!.read(upstreamBuffer, bufferMaxSize) // If we've exhausted upstream, we're done. if (upstreamBytesRead == -1L) { commit(upstreamPos) return -1L } // Update this source and prepare this call's result. val bytesRead = minOf(upstreamBytesRead, byteCount) upstreamBuffer.copyTo(sink, 0, bytesRead)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
*/ @Test fun pinRootNotPresentInChain() { // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703 val rootCa = HeldCertificate .Builder() .serialNumber(1L) .certificateAuthority(1) .commonName("root") .build() val intermediateCa = HeldCertificate .Builder() .signedBy(rootCa) .certificateAuthority(0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt
}, ).hasMessage("timeout too small") assertThat( assertThrows<IllegalArgumentException> { checkDuration( "timeout", 1L + Int.MAX_VALUE.toLong(), TimeUnit.MILLISECONDS, ) }, ).hasMessage("timeout too large") } @Test fun testDurationDuration() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
originalFessConfig = ComponentUtil.getFessConfig(); // Set up test FessConfig ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getCookieDefaultPath() { return "/test/path"; } @Override public Integer getCookieDefaultExpireAsInteger() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
} /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE }) public void testEncodeWithVariousValues(long val) throws NdrException { NdrHyper hyper = new NdrHyper(val); // Create buffer with extra space for alignment
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
} ?: return } } catch (thrown: Throwable) { // A task failed. Update execution state and re-throw the exception. withLock { afterRun(task, -1L, false) } if (thrown is InterruptedException) { Thread.currentThread().interrupt() } else { throw thrown } } finally {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
@ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L }) void testWriteReadInt4RoundTrip(long input) { byte[] buffer = new byte[8]; SMBUtil.writeInt4(input, buffer, 0); int result = SMBUtil.readInt4(buffer, 0); assertEquals((int) (input & 0xFFFFFFFFL), result); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} assertCastFails(GREATEST + 1L); assertCastFails(LEAST - 1L); assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); } public void testSaturatedCast() { for (byte value : VALUES) { assertThat(SignedBytes.saturatedCast((long) value)).isEqualTo(value); } assertThat(SignedBytes.saturatedCast(GREATEST + 1L)).isEqualTo(GREATEST);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
// ========== /** The serial version UID for object serialization. (Default) */ private static final long serialVersionUID = 1L; private final FessUser user; // =================================================================================== // Attribute
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
*/ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0)