Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for subdirs (0.04 seconds)

  1. cmd/data-scanner.go

    			wait() // wait to proceed to next entry.
    
    			return nil
    		})
    		if err != nil {
    			return err
    		}
    
    		if foundObjects && globalIsErasure {
    			// If we found an object in erasure mode, we skip subdirs (only datadirs)...
    			break
    		}
    
    		// If we have many subfolders, compact ourself.
    		shouldCompact := f.newCache.Info.Name != folder.name &&
    			len(existingFolders)+len(newFolders) >= dataScannerCompactAtFolders ||
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

         */
        @Test
        public void testIsPathSafe_PathInsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path subDir = Files.createDirectory(baseDir.resolve("subdir"));
            final Path file = Files.createFile(subDir.resolve("test.txt"));
    
            assertTrue("Path inside base should be allowed", FileUtil.isPathSafe(file, baseDir));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. misc/go_android_exec/main.go

    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    	for {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            // Create test directory structure with subdirectory
            File baseDir = new File(tempDir.toFile(), "images");
            File subDir = new File(baseDir, "icons");
            subDir.mkdirs();
            File validFile = new File(subDir, "icon.png");
    
            Boolean result = invokeIsValidUploadPath(validFile, baseDir);
            assertTrue("Valid path in subdirectory should be allowed", result);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java

        private FileCollection classpath;
        private final SetProperty<File> srcDirs;
        private final SetProperty<String> ignoreClasses;
        private final RegularFileProperty markerFile;
    
        @Inject
        public SplitPackagesAuditTask(WorkerExecutor workerExecutor, ObjectFactory objectFactory) {
            this.workerExecutor = workerExecutor;
            this.srcDirs = objectFactory.setProperty(File.class);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

        }
    
        @Test
        public void test_isLogFilename_withPathSeparators() {
            // isLogFilename only checks the file extension, not path components
            assertTrue(AdminLogAction.isLogFilename("subdir/fess.log"));
            assertTrue(AdminLogAction.isLogFilename("../fess.log"));
        }
    
        // ==================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            final FessAdminAction action = createAction();
            System.setProperty("fess.var.path", varDir.toString());
            assertThrows(IllegalArgumentException.class, () -> action.validateFilePath(varDir.toString() + "/subdir/../../.."));
        }
    
        // ===================================================================================
        //                                                              fess.var.path Tests
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            try {
                val versionToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
                val repositoryRoot = parameters.repositoryRoot.get().asFile.toPath()
                parameters.srcDirs.forEach { srcDir ->
                    if (srcDir.exists()) {
                        val collector = CompositeVersionsToIncubatingCollector(
                            listOf(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertFalse(it.hasNext(), "Iterator exhausted after valid entries");
            verify(tree, times(1)).release(); // closed after exhaustion
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "file.txt", "subdir" })
        @DisplayName("Name filter interaction: accept calls and rejections")
        void nameFilterAccepts(String acceptedName) throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        allTasks.add(setFutureCompleteExceptionallyRunnable);
        allTasks.add(setFutureCancelRunnable);
        for (int k = 0; k < 50; k++) {
          // For each listener we add a task that submits it to the executor directly for the blocking
          // get use case and another task that adds it as a listener to the future to exercise both
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
Back to Top