- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 341 for READ (0.4 sec)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Read first message assertEquals(1, sis.read()); assertEquals(2, sis.read()); // Read second message assertEquals(3, sis.read()); assertEquals(4, sis.read()); assertEquals(5, sis.read()); // After all data is consumed, next read throws IOException assertThrows(IOException.class, () -> sis.read()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
} bufferIndex += 4; // Read signature System.arraycopy(buffer, bufferIndex, header.signature, 0, 16); bufferIndex += 16; // Read nonce System.arraycopy(buffer, bufferIndex, header.nonce, 0, 16); bufferIndex += 16; // Read original message size header.originalMessageSize = SMBUtil.readInt4(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
// Read some data assertEquals('T', stream.read()); // Close should be ignored stream.close(); // Should still be able to read assertEquals('e', stream.read()); assertEquals('s', stream.read()); assertEquals('t', stream.read()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access"); assertFalse(region.hasAccess(RdmaAccess.REMOTE_READ), "Should not have remote read access"); // Test cleanup region.close();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[10]; int read = response.readSetupWireFormat(buffer, 0, 10); assertEquals(0, read); } @Test void testReadParametersWireFormat() { // Test readParametersWireFormat returns 0
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
} // Read from TemporaryFileInputStream try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) { assertEquals('T', stream.read()); assertEquals('e', stream.read()); assertEquals('s', stream.read()); assertEquals('t', stream.read()); assertEquals(' ', stream.read()); assertEquals('d', stream.read());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
byte[] buf = new byte[16]; // Skip advances internal file pointer; next read should use this offset in.skip(2); // Act int n = in.readDirect(buf, 0, 5); // Assert assertEquals(3, n, "Should report bytes read from SMB2 response"); // Verify the request offset equals the skip value (2)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
type = TYPE_NAMED_PIPE; } /** * Return the <code>InputStream</code> used to read information * from this pipe instance. Presumably data would first be written * to the <code>OutputStream</code> associated with this Named * Pipe instance although this is not a requirement (e.g. a * read-only named pipe would write data to this stream onRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
/** * Reads exactly len bytes from the input stream into the buffer. * * @param in the input stream to read from * @param b the buffer to read into * @param off the offset in the buffer to start writing * @param len the number of bytes to read * @return the number of bytes actually read * @throws IOException if an I/O error occurs */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0)