- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 342 for READ (0.32 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024); byte[] buffer = new byte[100]; int read = trans2FindFirst2.readSetupWireFormat(buffer, 0, 100); assertEquals(0, read); } @Test @DisplayName("Test readParametersWireFormat returns 0") void testReadParametersWireFormat() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java
@Override public int read() throws IOException { return originalStream.read(); } @Override public int read(byte[] b) throws IOException { return originalStream.read(b); } @Override public int read(byte[] b, int off, int len) throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
// Create a stream that will cause an error during reading final InputStream errorStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Simulated read error"); } }; final String customEncoding = "ISO-8859-1"; textExtractor.setEncoding(customEncoding); try {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaAccess.java
* These flags control what operations can be performed on a memory region. */ public enum RdmaAccess { /** * Local read access to the memory region */ LOCAL_READ, /** * Local write access to the memory region */ LOCAL_WRITE, /** * Remote read access to the memory region */ REMOTE_READ, /** * Remote write access to the memory region */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} // Read partial content try (InputStream in = file.getInputStream()) { byte[] buffer = new byte[10]; int bytesRead = in.read(buffer); assertEquals(10, bytesRead, "Should read requested bytes"); assertEquals("0123456789", new String(buffer, 0, bytesRead, "UTF-8")); // Read next chunk bytesRead = in.read(buffer);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> { // Mock the read method to return simple content byte[] includeContent = "192.168.1.200 INCLUDEHOST\n".getBytes(); int[] index = { 0 }; when(mock.read()).thenAnswer(inv -> { if (index[0] < includeContent.length) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
byte[] expectedFileId = createTestData(16); System.arraycopy(expectedFileId, 0, buffer, bufferIndex, 16); // Read the buffer int bytesRead = notification.readBytesWireFormat(buffer, 0); // Verify the bytes read assertEquals(24, bytesRead); // Verify the fields were set correctly using reflection
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); entry.markComplete(); // Break lease with loss of read cache int newState = Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING; // Lost read cache directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, newState); // Cache should be invalidated assertFalse(entry.isComplete());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; /** * SMB2 Read response message. * * This response contains the data that was read from the file * along with information about the read operation. * * @author mbechler */ public class Smb2ReadResponse extends ServerMessageBlock2Response { /** * Protocol overhead size for SMB2 read response */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0)