- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for totalRead (5.78 sec)
-
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Read all data byte[] buffer = new byte[size]; int totalRead = 0; while (totalRead < size) { int read = sis.read(buffer, totalRead, size - totalRead); if (read == -1) break; totalRead += read; } assertEquals(size, totalRead); assertArrayEquals(data, buffer); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
data[1] = 0x00; data[2] = 0x00; data[3] = 0x0A; // Length = 10 ByteArrayInputStream bais = new ByteArrayInputStream(data); int totalRead = packet.readWireFormat(bais, data, 0); assertEquals(14, totalRead); // 4 header + 10 trailer assertEquals(0x85, packet.type); assertEquals(10, packet.length); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)