Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for fullpath (0.54 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                try (Stream<Path> stream = Files.list(logDirPath)) {
                    stream.filter(entry -> isLogFilename(entry.getFileName().toString())).sorted().forEach(filePath -> {
                        final Map<String, Object> map = new HashMap<>();
                        final String name = filePath.getFileName().toString();
                        map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8)));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            }
            try {
                final Path filePath = Paths.get(path).normalize();
                final String normalizedPath = filePath.toString();
                if (normalizedPath.contains("..")) {
                    throw new IllegalArgumentException("Invalid file path");
                }
                final File file = filePath.toFile();
                final String canonicalPath = file.getCanonicalPath();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @DisplayName("Should handle partial data buffer correctly")
            void testPartialDataBuffer() {
                byte[] fullData = new byte[200];
                new Random().nextBytes(fullData);
    
                int offset = 50;
                int length = 100;
                request.setData(fullData, offset, length);
    
                byte[] buffer = new byte[512];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                throw new CrawlerSystemException("Storage URI is empty. Please provide a valid storage URI (storage://...).");
            }
    
            String filePath = uri;
            if (!filePath.startsWith("storage:")) {
                filePath = "storage://" + filePath;
            }
    
            return filePath;
        }
    
        /**
         * Returns the character set used for content encoding.
         * @return the charset
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20K bytes
    - Viewed (2)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                if (settings.getAsBoolean("dynamic_reload", false)) {
                    final String filePath = settings.get("synonyms_path", null);
    
                    if (filePath == null) {
                        throw new IllegalArgumentException("synonyms_path is not found.");
                    }
    
                    final Path path = env.configDir().resolve(filePath);
    
                    try {
                        final File file = path.toFile();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         */
    
        @Override
        public String getName() {
            final String urlpath = getURLPath();
            final String shr = getShare();
            if (urlpath.length() > 1) {
                int i = urlpath.length() - 2;
                while (urlpath.charAt(i) != '/') {
                    i--;
                }
                return urlpath.substring(i + 1);
            }
            if (shr != null) {
                return shr + '/';
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    stream.filter(entry -> isLogFilename(entry.getFileName().toString())).forEach(filePath -> {
                        final ZipEntry entry = new ZipEntry(id + "/" + filePath.getFileName().toString());
                        try {
                            zos.putNextEntry(entry);
                            final long len = Files.copy(filePath, zos);
                            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          url: HttpUrl,
          path: String,
        ): Boolean {
          val urlPath = url.encodedPath
    
          if (urlPath == path) {
            return true // As in '/foo' matching '/foo'.
          }
    
          if (urlPath.startsWith(path)) {
            if (path.endsWith("/")) return true // As in '/' matching '/foo'.
            if (urlPath[path.length] == '/') return true // As in '/foo' matching '/foo/bar'.
          }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                        final String filePath = fileMap.get("path") != null ? fileMap.get("path").toString() : "unknown";
                        final String fileTimestamp = fileMap.get("@timestamp") != null ? fileMap.get("@timestamp").toString() : "unknown";
                        logger.warn("Failed to load dictionary file: path={}, timestamp={}, error={}", filePath, fileTimestamp, e.getMessage(),
                                e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            return sb.toString();
          }
        },
        // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING.  But it just isn't
        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top