Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for folder (0.31 sec)

  1. cmd/data-scanner.go

    				into.addChild(h)
    				// We scanned a folder, optionally send update.
    				f.updateCache.deleteRecursive(h)
    				f.updateCache.copyWithChildren(&f.newCache, h, folder.parent)
    				f.sendUpdate()
    			}
    		}
    
    		// Transfer existing
    		if !into.Compacted {
    			for _, folder := range existingFolders {
    				h := hashPath(folder.name)
    				f.updateCache.copyWithChildren(&f.oldCache, h, folder.parent)
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            String path = "\\share\\folder\\file.txt";
            String normalized = validator.validatePath(path);
            assertEquals("\\share\\folder\\file.txt", normalized);
        }
    
        @Test
        public void testNormalizePath() throws Exception {
            // Test forward slash normalization
            assertEquals("\\share\\folder", validator.validatePath("/share/folder"));
    
            // Test duplicate slash removal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if got.root() == nil {
    		t.Log("cached folders:")
    		for folder := range got.Cache {
    			t.Log("folder:", folder)
    		}
    		t.Fatal("got nil root.")
    	}
    
    	// Test dirs
    	want := []struct {
    		path       string
    		isNil      bool
    		size, objs int
    		oSizes     sizeHistogram
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. .teamcity/scripts/configure_build_env_on_ec2.sh

    # In case of running on EC2
    # - we add a TeamCity tag to the build with an instance type of the EC2 instance.
    # - we set GRADLE_RO_DEP_CACHE to '/opt/gradle-cache' if the folder exists.
    
    curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
    IS_EC2_INSTANCE=$?
    if [ $IS_EC2_INSTANCE -ne 0 ]; then
      echo "Not running on an EC2 instance, skipping the configuration"
      exit 0
    fi
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Aug 27 08:28:30 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator.validatePath("\\share\\folder\\file.txt");
            validator.validatePath("C:\\Windows\\System32");
            validator.validatePath(null); // Null should be allowed
            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
        public void testPathTooLong() throws Exception {
            String longPath = "\\share" + "\\folder".repeat(5000);
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    		name            string
    		content         string
    		meta            map[string]string
    		addDeleteMarker bool
    	}{
    		{testBuckets[0], "unique/folder/", "", nil, true},
    		{testBuckets[0], "unique/folder/1.txt", "content", nil, false},
    		{testBuckets[1], "unique/folder/1.txt", "content", nil, true},
    	}
    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/InputValidatorTest.java

        void testPathTraversal(String path) {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateSmbPath(path));
        }
    
        @ParameterizedTest
        @DisplayName("Test valid SMB paths")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. cmd/data-scanner-metric.go

    	// END realtime metrics:
    	scannerMetricLastRealtime
    
    	// Trace only metrics:
    	scannerMetricScanFolder      // Scan a folder on disk, recursively.
    	scannerMetricScanCycle       // Full cycle, cluster global
    	scannerMetricScanBucketDrive // Single bucket on one drive
    	scannerMetricCompactFolder   // Folder compacted.
    
    	// Must be last:
    	scannerMetricLast
    )
    
    // log scanner action.
    // Use for s > scannerMetricStartTrace
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

            when(file1.length()).thenReturn(2048L);
            when(file1.lastModified()).thenReturn(System.currentTimeMillis());
    
            SmbFile dir1 = mock(SmbFile.class);
            when(dir1.getName()).thenReturn("folder/");
            when(dir1.isDirectory()).thenReturn(true);
    
            when(smbFile.listFiles()).thenReturn(new SmbFile[] { file1, dir1 });
            when(smbFile.getLocator()).thenReturn(locator);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	var dataDir string
    	for _, folder := range dataDirs {
    		if strings.HasSuffix(folder, SlashSeparator) {
    			dataDir = folder
    			break
    		}
    	}
    
    	toDel := (len(erasureDisks) / 2) + 1
    	for _, disk := range erasureDisks[:toDel] {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
Back to top