Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 376 for readn (1.71 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                } catch (final Exception e) {
                    throw new IOException("Failed to create MinioClient.", e);
                }
            }
    
            /**
             * Gets an input stream to read from the storage object.
             *
             * @return An input stream for reading the object content
             * @throws IOException If the object cannot be accessed
             */
            @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
    
            try {
                mimeMap = new MimeMap();
                is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/http/ne.css");
                while ((n = is.read(buf)) != -1) {
                    sb.append(new String(buf, 0, n, "ISO8859_1"));
                }
                style = sb.toString();
            } catch (final IOException ioe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import jcifs.ntlmssp.Type2Message;
    import jcifs.ntlmssp.Type3Message;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication
     * services.
     *
     * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>.
     *
     * Warning: Do not use this if there is a chance that you might have multiple connections (even plain
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Override init to capture parameter calls
            networkExplorer = new NetworkExplorer() {
                @Override
                public void init(ServletConfig config) throws ServletException {
                    // Read the parameters to trigger verification
                    config.getInitParameter("jcifs.smb.client.domain");
                    config.getInitParameter("jcifs.http.enableBasic");
    
                    // Set required fields
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            // Full lease for read/write/handle operations
            if (hasWriteAccess || hasDeleteAccess) {
                return Smb2LeaseState.SMB2_LEASE_FULL; // Read + Write + Handle
            }
            // Read + Handle for read operations
            else if (hasReadAccess) {
                return Smb2LeaseState.SMB2_LEASE_READ_HANDLE; // Read + Handle
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            try (final InputStream in = new FileInputStream(tempFile)) {
                configParser.parse(new InputSource(in));
            } catch (final IOException e) {
                logger.warn("Failed to read GSA XML file: fileName={}, error={}", fileName, e.getMessage(), e);
                deleteTempFile(tempFile);
                return;
            }
    
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            int dstIndex = 8;
    
            // When
            int bytesEncoded = info.encode(buffer, dstIndex);
    
            // Then
            assertEquals(40, bytesEncoded); // Should encode 40 bytes
            // Use SMBUtil to read times back properly
            assertEquals(TEST_CREATE_TIME, SMBUtil.readTime(buffer, dstIndex));
            assertEquals(TEST_LAST_ACCESS_TIME, SMBUtil.readTime(buffer, dstIndex + 8));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            bis.mark(preloadSize);
    
            final byte[] bytes = new byte[preloadSize];
            try {
                if (bis.read(bytes) == -1) {
                    return false;
                }
    
                final String preloadDate = new String(bytes, Constants.UTF_8);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

        }
        
        // Simulate network disconnection
        file.getTree().getSession().getTransport().disconnect();
        
        // Try to read - should trigger reconnection
        try (InputStream is = file.getInputStream()) {
            byte[] buffer = new byte[9];
            is.read(buffer);
            assertEquals("test data", new String(buffer));
        }
    }
    
    @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                }
    
                return robotsTxt;
            } catch (final java.io.IOException e) {
                // Only throw exception for fatal I/O errors
                throw new RobotsTxtException("Failed to read robots.txt due to I/O error.", e);
            } catch (final Exception e) {
                // Catch any other fatal errors (e.g., encoding issues)
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top