- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 265 for 0L (0.01 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
} internal const val USER_AGENT: String = "okhttp/${CONST_VERSION}" internal fun checkOffsetAndCount( arrayLength: Long, offset: Long, count: Long, ) { if (offset or count < 0L || offset > arrayLength || arrayLength - offset < count) { throw ArrayIndexOutOfBoundsException("length=$arrayLength, offset=$offset, count=$offset") } } internal fun <T> interleave( a: Iterable<T>,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
* @param dstIndex * The starting index in the destination array */ public static void writeUTime(final Configuration cfg, long t, final byte[] dst, final int dstIndex) { if (t == 0L || t == 0xFFFFFFFFFFFFFFFFL) { SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex); return; } if (cfg.getLocalTimezone().inDaylightTime(new Date())) { // in DST
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertNull(session.getExpiration()); setField(session, "expiration", 123L); assertEquals(123L, session.getExpiration()); setField(session, "expiration", 0L); assertNull(session.getExpiration()); } @Test @DisplayName("connection and failure status delegate to transport") void testConnectionAndFailureStatus() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
while (true) { val success = webSocket.send(message) if (!success) break messageCount++ val queueSize = webSocket.queueSize() assertThat(queueSize).isBetween(0L, messageCount * message.size) // Expect to fail before enqueueing 32 MiB. assertThat(messageCount).isLessThan(32L) } // Confirm all sent messages were received, followed by a client-initiated close.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
connection.okHttpSettings[Settings.INITIAL_WINDOW_SIZE] = windowSize val stream = connection.newStream(headerEntries("b", "banana"), false) assertThat(stream.readBytes.acknowledged).isEqualTo(0L) assertThat(stream.readBytes.total).isEqualTo(0L) assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android")) val source = stream.source val buffer = Buffer() buffer.writeAll(source)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
@DisplayName("skipBytes(): advances file pointer for positive values") void skipBytes_advancesFP() throws Exception { SmbRandomAccessFile raf = newInstance("r", false, false, false); assertEquals(0L, raf.getFilePointer()); int skipped = raf.skipBytes(5); assertEquals(5, skipped); assertEquals(5L, raf.getFilePointer()); assertEquals(0, raf.skipBytes(-3)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
// Add multiple children entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L); entry.updateChild("dir1", 0L, 3000L, true, 0x10, 700L, 1000L); List<DirectoryCacheEntry.FileInfo> children = entry.getChildren(); assertEquals(3, children.size()); // Verify all children are present
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
) val heldCertificate = HeldCertificate .Builder() .keyPair(publicKey, privateKey) .commonName("cash.app") .validityInterval(0L, 1000L) .rsa2048() .build() assertThat( """ |-----BEGIN CERTIFICATE----- |MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDDAhjYXNo
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
try { fp = file.length(); } catch (final SmbAuthException sae) { throw sae; } catch (final SmbException se) { fp = 0L; } } if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) { file.unc = file.unc.substring(5);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0)