Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for linkpath (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

                longPathBuilder.append("a");
            }
            String longPath = longPathBuilder.toString();
    
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath);
            byte[] buffer = new byte[4096];
    
            // When
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = longPath.getBytes(StandardCharsets.UTF_16LE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            // Create a very long filename
            StringBuilder longPath = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longPath.append("verylongpath/");
            }
            longPath.append("file.txt");
    
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, longPath.toString(), TEST_INFO_LEVEL);
    
            byte[] buffer = new byte[8192]; // Large buffer for long path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    		}
    	}
    
    	// create xlStorage test setup
    	xlStorageDeletedStorage, diskPath, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    	// removing the disk, used to recreate disk not found error.
    	err = os.RemoveAll(diskPath)
    	if err != nil {
    		t.Fatalf("Unable to remoe xlStorage diskpath, %s", err)
    	}
    
    	// TestXLStorage for delete on an removed disk.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testPathTooLong() throws Exception {
            StringBuilder longPath = new StringBuilder("\\share");
            for (int i = 0; i < 100; i++) {
                longPath.append("\\verylongfoldername");
            }
            assertThrows(SmbException.class, () -> {
                validator.validatePath(longPath.toString());
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                StringBuilder longPath = new StringBuilder("\\server\\share");
                for (int i = 0; i < 100; i++) {
                    longPath.append("\\subfolder").append(i);
                }
    
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
                when(mockReferral.getNode()).thenReturn(longPath.toString());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat with long path")
        void testWriteBytesWireFormatLongPath() {
            String longPath = "very\\long\\path\\to\\some\\deeply\\nested\\file\\in\\directory\\structure.txt";
            request = new Smb2CreateRequest(mockConfig, longPath);
    
            byte[] buffer = new byte[2048];
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
        public void testPathTooLong() throws Exception {
            String longPath = "\\share" + "\\folder".repeat(5000);
            assertThrows(SmbException.class, () -> {
                validator.validatePath(longPath);
            });
        }
    
        @Test
        public void testPathWithTraversal() throws Exception {
            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)
  8. cmd/metacache-set.go

    	return newDisks
    }
    
    // Will return io.EOF if continuing would not yield more results.
    func (er *erasureObjects) listPath(ctx context.Context, o listPathOptions, results chan<- metaCacheEntry) (err error) {
    	defer xioutil.SafeClose(results)
    	o.debugf(color.Green("listPath:")+" with options: %#v", o)
    
    	// get prioritized non-healing disks for listing
    	disks, infos, _ := er.getOnlineDisksWithHealingAndInfo(true)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    	if isVeeamClient(ctx) && strings.HasSuffix(prefix, ".blk") {
    		opts.BaseDir = prefix
    		opts.Transient = true
    	}
    
    	// set bucket metadata in opts
    	opts.setBucketMeta(ctx)
    
    	merged, err := z.listPath(ctx, &opts)
    	if err != nil && err != io.EOF {
    		if !isErrBucketNotFound(err) {
    			storageLogOnceIf(ctx, err, "erasure-list-objects-path-"+bucket)
    		}
    		return loi, toObjectErr(err, bucket)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
Back to top