Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 376 for readn (1.38 sec)

  1. src/main/java/org/codelibs/core/io/InputStreamUtil.java

        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link FileInputStream}.
         *
         * @param file the file (must not be {@literal null})
         * @return a {@link FileInputStream} to read from the file
         * @see FileInputStream#FileInputStream(File)
         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            // SmbComSeekResponse has no additional data to read beyond header
            return 0;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public boolean signaturesRequired;
        /**
         * Maximum number of virtual circuits.
         */
        public int maxNumberVcs;
        /**
         * Maximum raw buffer size for raw read/write operations.
         */
        public int maxRawSize;
        /**
         * Server's system time.
         */
        public long serverTime;
        /**
         * Server's time zone offset in minutes from UTC.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlResponseTest.java

            response.setContentCache(cache);
    
            try (InputStream stream = response.getContentAsStream()) {
                assertNotNull(stream);
                byte[] buffer = new byte[1024];
                int bytesRead = stream.read(buffer);
                assertEquals(data.length, bytesRead);
                assertArrayEquals(data, Arrays.copyOf(buffer, bytesRead));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithoutCache() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            response.setupResponse(resp);
    
            // Then - nothing should happen (empty implementation)
            verifyNoInteractions(resp);
        }
    
        @Test
        @DisplayName("Should read valid negotiate response from wire format")
        void testReadBytesWireFormatValid() throws Exception {
            // Given
            byte[] buffer = createValidNegotiateResponseBuffer();
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            System.arraycopy(commentBytes, 0, buffer, commentOffset, commentBytes.length);
            buffer[commentOffset + commentBytes.length] = 0; // null terminator
    
            // Read the data
            int bytesRead = response.readDataWireFormat(buffer, start, buffer.length);
    
            // Verify results
            assertTrue(bytesRead > 0);
            FileEntry[] results = getResults(response);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

         * Creates a new EditForm instance.
         */
        public EditForm() {
            // Default constructor
        }
    
        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public int crudMode;
    
        /**
         * The unique identifier of the job log entry being edited.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DosError.java

                "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
                "Not enough storage is available to process this command.", "The media is write protected.", "The device is not ready.",
                "A device attached to the system is not functioning.", "A device attached to the system is not functioning.",
                "The process cannot access the file because it is being used by another process.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DosError.java

                "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
                "Not enough storage is available to process this command.", "The media is write protected.", "The device is not ready.",
                "A device attached to the system is not functioning.", "A device attached to the system is not functioning.",
                "The process cannot access the file because it is being used by another process.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } catch (final ClientAbortException e) {
                    logger.debug("Client aborts this request.", e);
                } catch (final IOException e) {
                    logger.error("Failed to read file: path={}, filePath={}", path, filePath);
                    throw new WebApiException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e);
                }
            } else {
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top