Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 364 for readn (0.04 sec)

  1. src/main/java/jcifs/SmbConstants.java

        /**
         * Lock and read operation is supported capability.
         */
        int CAP_LOCK_AND_READ = 0x0100;
        /**
         * NT find operations are supported capability.
         */
        int CAP_NT_FIND = 0x0200;
        /**
         * DFS operations are supported capability.
         */
        int CAP_DFS = 0x1000;
        /**
         * Large read operations are supported capability.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(2, buffer[2]); // Padding
                assertEquals(0x01, buffer[3]); // Read flags
                assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length
                assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset
                assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

        /**
         * Type of RDMA work request
         */
        public enum RequestType {
            /** Send operation */
            SEND,
            /** Receive operation */
            RECEIVE,
            /** RDMA read operation */
            READ,
            /** RDMA write operation */
            WRITE
        }
    
        private final long requestId;
        private final RequestType type;
        private final RdmaMemoryRegion memoryRegion;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // Simulate RDMA read operation
                log.debug("DiSNI RDMA read request: {} bytes from remote address 0x{}", bytesToRead, Long.toHexString(remoteAddress));
    
                return bytesToRead;
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("DiSNI RDMA read failed", e);
            }
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.writeParametersWireFormat(buffer, 0));
            assertEquals(0, response.writeDataWireFormat(buffer, 0));
        }
    
        @Test
        @DisplayName("All read methods should consistently return 0")
        void testAllReadMethodsReturnZero() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

            assertNotNull(tempFile);
            assertTrue(tempFile.exists());
    
            // Read and verify content
            try (FileInputStream fis = new FileInputStream(tempFile)) {
                byte[] buffer = new byte[1024];
                int bytesRead = fis.read(buffer);
                String content = new String(buffer, 0, bytesRead);
                assertEquals("Test response body", content);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            assertEquals("/path/to/document.pdf", result.getContent());
        }
    
        /**
         * Test that input stream content is not read (only validated).
         */
        public void test_getText_doesNotReadInputStream() throws Exception {
            final byte[] testData = "This data should not be read".getBytes();
            final InputStream in = new ByteArrayInputStream(testData);
            final Map<String, String> params = new HashMap<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ACETest.java

                // Read & Execute
                int readExecute = ACE.FILE_READ_DATA | ACE.FILE_READ_ATTRIBUTES | ACE.FILE_EXECUTE | ACE.READ_CONTROL;
                assertTrue((readExecute & ACE.FILE_READ_DATA) != 0, "Read & Execute should include FILE_READ_DATA");
                assertTrue((readExecute & ACE.FILE_EXECUTE) != 0, "Read & Execute should include FILE_EXECUTE");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

             * @return True if the process was terminated, false otherwise.
             */
            public boolean isTeminated() {
                return teminated;
            }
        }
    
        /**
         * Thread that reads input stream data and buffers it for later retrieval.
         * Captures output from command execution with configurable line buffering.
         */
        protected static class InputStreamThread extends Thread {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. README.md

    #### 2. Start Fess Server
    
        $ unzip target/releases/fess-*.zip
        $ ./fess-*/bin/fess &
    
    Wait for Fess to be ready (this may take up to 60 seconds):
    
        $ curl -s "http://localhost:8080/api/v1/health"
    
    You should see a JSON response when Fess is ready.
    
    #### 3. Clone Test Data
    
    Required for SearchApiTests:
    
        $ git clone https://github.com/codelibs/fess-testdata.git /tmp/fess-testdata
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 00:28:33 UTC 2025
    - 7.8K bytes
    - Viewed (2)
Back to top