Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 381 for readn (2.57 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                        logger.debug("BOM: {}", bomIn.getBOMCharsetName());
                    }
                    return bomIn.getBOMCharsetName();
                }
                final int c = bomIn.read(b);
    
                if (c == -1) {
                    return encoding;
                }
    
                final String head = new String(b, 0, c, encoding);
                if (StringUtil.isBlank(head)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

            int maxCount = buf.dec_ndr_long();
            int offset = buf.dec_ndr_long();
            int actualCount = buf.dec_ndr_long();
    
            if (actualCount <= 0) {
                return "";
            }
    
            // Read wide string data (UTF-16LE)
            int byteCount = (actualCount - 1) * 2; // Exclude null terminator
            byte[] wideBytes = new byte[byteCount];
            buf.readOctetArray(wideBytes, 0, byteCount);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode ignores length parameter")
        void testDecodeIgnoresLengthParameter() throws SMBProtocolDecodingException {
            // The decode method should always read exactly 8 bytes regardless of len parameter
            byte[] buffer = new byte[20];
            long expectedIndexNumber = 0xCAFEBABEDEADBEEFL;
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. 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)
  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/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)
  8. 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)
  9. 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)
  10. 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)
Back to top