- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for totalRead (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.8K bytes - Click Count (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); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0)