- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 341 for READ (0.95 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
buffer[7] = 0x00; // lastNameOffset (2 bytes) buffer[8] = 0x10; buffer[9] = 0x00; int result = response.readParametersWireFormat(buffer, 0, 10); // Should read 10 bytes assertEquals(10, result); // Check the values were parsed correctly assertEquals(1, response.getSid()); assertEquals(5, response.getNumEntries());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
assertEquals("Expected structureSize = 17", exception.getMessage()); } @Test @DisplayName("Should read valid structure with minimal test") void testReadBytesWireFormatBasicStructure() throws Exception { // Given - Create a complete SMB2 message with header byte[] buffer = new byte[512];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readBytesWireFormat(buffer, offset); }); } @DisplayName("Should read at different offsets correctly") @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
/** Maximum number of lines to keep in the buffer */ private final int bufferSize; /** Callback function to process each line as it's read */ private final Consumer<String> outputCallback; /** * Creates a new input stream thread. * * @param is the input stream to read from * @param charset the character encoding to use for readingRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java
* * <p>Note: The input stream is validated for consistency with the Extractor interface, * but is not actually read. Only the resource name from the parameters is used.</p> * * @param in The input stream (validated but not read) * @param params The parameters map, expected to contain ExtractData.RESOURCE_NAME_KEYRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogReader.java
/** * The {@code QueryLogReader} interface provides methods to read query logs and close the reader. * It extends the {@code Closeable} interface, ensuring that resources can be released when no longer needed. */ public interface QueryLogReader extends Closeable { /** * Reads a query log. * @return The query log. */ QueryLog read(); @Override void close();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
} } /** * Performs RDMA read operation. * * @param buffer the buffer to read into * @param remoteAddress remote memory address * @param remoteKey remote access key * @param length number of bytes to read * @return number of bytes read * @throws IOException if operation fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEndOfFileException.java
*/ package jcifs.smb; /** * Exception thrown when reaching the end of an SMB file. * * This exception is thrown during read operations when * attempting to read beyond the end of a file. * * @author mbechler */ public class SmbEndOfFileException extends SmbException { /** * */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
writeInt4(500, buffer, 12); // free writeInt2(512, buffer, 16); // bytesPerSect int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(20, bytesRead, "Should read 20 bytes"); assertNotNull(response.info, "Info object should not be null"); assertTrue(response.info instanceof Trans2QueryFSInformationResponse.SmbInfoAllocation, "Info should be of type SmbInfoAllocation");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0)