Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for fullpath (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            }
    
            String filePath = uri;
            if (!filePath.startsWith("file:")) {
                filePath = "file://" + filePath;
            }
    
            final StringBuilder buf = new StringBuilder(filePath.length() + 100);
            try {
                for (final char c : filePath.toCharArray()) {
                    if (c == ' ') {
                        buf.append("%20");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            // Full ResponseData
            ResponseData fullData = new ResponseData();
            fullData.setUrl("http://example.com/page");
            fullData.setMimeType("text/html");
            fullData.setHttpStatusCode(200);
            fullData.setCharSet("UTF-8");
            fullData.setContentLength(1024L);
            assertTrue(rule.match(fullData));
        }
    
        /**
         * Test concurrent rule matching
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            byte[] eolData = createEolData();
    
            byte[] fullData = new byte[avPairData.length + eolData.length];
            System.arraycopy(avPairData, 0, fullData, 0, avPairData.length);
            System.arraycopy(eolData, 0, fullData, avPairData.length, eolData.length);
    
            List<AvPair> pairs = AvPairs.decode(fullData);
    
            assertNotNull(pairs, "Decoded pairs should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

        assertOnPath(content) {
          FileInputStream(filePath.toFile()).use { fis ->
            fn(fis.fd)
          }
        }
    
      private inline fun <T> assertOnPath(
        content: String? = null,
        fn: (okio.Path) -> T,
      ): T {
        FileSystem.SYSTEM.write(filePath) {
          if (content != null) {
            writeUtf8(content)
          }
        }
    
        return fn(filePath)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:29 UTC 2025
    - 3.8K bytes
    - Viewed (1)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        void readSingleByteHappyPath() throws IOException {
            // Create a simple message with 3 bytes of data
            byte[] data = new byte[] { 1, 2, 3 };
            byte[] fullData = concat(messageHeader(3), data);
            InputStream in = new ByteArrayInputStream(fullData);
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read the three data bytes
            assertEquals(1, sis.read());
            assertEquals(2, sis.read());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            String filePath = directoryPath;
            if (!filePath.endsWith("/")) {
                filePath += "/";
            }
            filePath += fileInfo.getName();
    
            // Ensure proper SMB URL format
            if (!filePath.startsWith("smb://")) {
                if (filePath.startsWith("/")) {
                    filePath = "smb://localhost" + filePath;
                } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            responseData.setMethod(Constants.GET_METHOD);
            final String filePath = preprocessUri(uri);
            responseData.setUrl(filePath);
    
            SmbFile file = null;
            final SmbAuthentication smbAuthentication = smbAuthenticationHolder.get(filePath);
            if (logger.isDebugEnabled()) {
                logger.debug("Creating SmbFile: {}", filePath);
            }
            try {
                if (smbAuthentication == null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

            final String encoding = accessResultData.getEncoding();
            String filePath;
            try {
                filePath = new String(data, encoding == null ? Constants.UTF_8 : encoding);
            } catch (final UnsupportedEncodingException e) {
                filePath = new String(data, Constants.UTF_8_CHARSET);
            }
            return new File(baseDir, filePath);
        }
    
        /**
         * Gets the base path for storing files.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                                final String filePath = f.getAbsolutePath();
                                filePathMap.put(s, filePath);
                                if (logger.isDebugEnabled()) {
                                    logger.debug("generator path: {}", filePath);
                                }
                                return filePath;
                            }
                        }
                    }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                }
            }
    
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
                try (InputStream in = Files.newInputStream(filePath); ServletOutputStream out = response.getOutputStream()) {
    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