Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 177 for Draining (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/iam-object-store.go

    // parent directory retains the trailing slash.
    func splitPath(s string, secondIndex bool) (string, string) {
    	var i int
    	if secondIndex {
    		i = findSecondIndex(s, "/")
    	} else {
    		i = strings.Index(s, "/")
    	}
    	if i == -1 {
    		return s, ""
    	}
    	// Include the trailing slash in the parent directory.
    	return s[:i+1], s[i+1:]
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
            while (ki > 1 && key.charAt(ki - 1) == '\\') {
                ki--;
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/InputValidator.java

            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
            return path;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/PathValidatorTest.java

            // Test duplicate slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder"));
    
            // Test trailing slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\"));
        }
    
        @Test
        public void testDirectoryTraversal() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    ### Background Tasks and Dependencies with `yield`, Technical Details { #background-tasks-and-dependencies-with-yield-technical-details }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/config/DelegatingConfigurationTest.java

                configWithBaseDelegate.isUseUnicode();
                configWithBaseDelegate.getOemEncoding();
            }, "Should work with BaseConfiguration delegate");
    
            // Test chaining delegates
            DelegatingConfiguration chainedConfig = new DelegatingConfiguration(configWithBaseDelegate);
            assertDoesNotThrow(() -> {
                chainedConfig.getResponseTimeout();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  7. generics.go

    	CreateInterface[T]
    }
    
    type CreateInterface[T any] interface {
    	ExecInterface[T]
    	// chain methods available at start; Select/Omit keep CreateInterface to allow Create chaining
    	Scopes(scopes ...func(db *Statement)) ChainInterface[T]
    	Where(query interface{}, args ...interface{}) ChainInterface[T]
    	Not(query interface{}, args ...interface{}) ChainInterface[T]
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  8. src/archive/tar/common.go

    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    	// depending on the presence of a trailing slash in Name.
    	Typeflag byte
    
    	Name     string // Name of file entry
    	Linkname string // Target name of link (valid for TypeLink or TypeSymlink)
    
    	Size  int64  // Logical file size in bytes
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/SmbResource.java

         * <code>SmbResource</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <code>SmbResource</code>s will maintain the trailing slash requirement.
         *
         * @return The last component of the URL associated with this SMB
         *         resource or <code>smb://</code> if the resource is <code>smb://</code>
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  10. src/archive/zip/struct.go

    type FileHeader struct {
    	// Name is the name of the file.
    	//
    	// It must be a relative path, not start with a drive letter (such as "C:"),
    	// and must use forward slashes instead of back slashes. A trailing slash
    	// indicates that this file is a directory and should have no data.
    	Name string
    
    	// Comment is any arbitrary user-defined string shorter than 64KiB.
    	Comment string
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue May 28 21:41:09 GMT 2024
    - 12.1K bytes
    - Click Count (0)
Back to Top