Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for getPaths (1.73 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

        if (directoryLeaseManager != null && 
            directoryLeaseManager.canCacheDirectoryListing(getPath())) {
            
            List<SmbFile> cachedFiles = directoryLeaseManager.getCachedDirectoryListing(getPath());
            if (cachedFiles != null) {
                log.debug("Using cached directory listing for: {}", getPath());
                return cachedFiles.toArray(new SmbFile[0]);
            }
        }
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                protwordsService.getProtwordsFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadProtwordsFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/FileUtilTest.java

            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        /**
         * Test isPathSafe with safe path
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_SafePath() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertEquals("\\test\\path\\", trans2FindFirst2.getPath());
        }
    
        @Test
        @DisplayName("Test constructor with root path")
        void testConstructorWithRootPath() {
            // Test root path
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\", "*.*", 0x16, 15, 4096);
    
            assertEquals("\\", trans2FindFirst2.getPath());
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                stopwordsService.getStopwordsFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadStopwordsFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testConstructorWithConfig() {
                testBlock = new TestServerMessageBlock(mockConfig);
    
                assertEquals(0, testBlock.getCommand());
                assertNull(testBlock.getPath());
                assertEquals(12345, testBlock.getPid());
                assertEquals(SmbConstants.FLAGS_PATH_NAMES_CASELESS | SmbConstants.FLAGS_PATH_NAMES_CANONICALIZED, testBlock.getFlags());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

            final ListBody body = new ListBody();
            body.id = dictionaryFile.getId();
            body.type = dictionaryFile.getType();
            body.path = dictionaryFile.getPath();
            body.timestamp = dictionaryFile.getTimestamp();
            return body;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/RequestWithPath.java

     */
    public interface RequestWithPath extends CommonServerMessageBlock {
    
        /**
         * Gets the path to the resource.
         *
         * @return the path to the resource (below share)
         */
        String getPath();
    
        /**
         * Gets the server name.
         *
         * @return the server name
         */
        String getServer();
    
        /**
         * Gets the domain name.
         *
         * @return the domain name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertNotNull(key);
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(requestedState, entry.getLeaseState());
            assertEquals(path, entry.getPath());
            assertEquals(1, entry.getEpoch());
            assertFalse(entry.isBreaking());
        }
    
        @Test
        @DisplayName("Should reuse existing lease for same path")
        void testReuseExistingLease() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                });
            }).renderWith(data -> {
                stemmerOverrideService.getStemmerOverrideFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadStemmeroverrideFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top