Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 309 for Trailing (0.05 sec)

  1. 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;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    		default:
    			return nil, ErrUnsignedHeaders
    		}
    	}
    	return extractedSignedHeaders, ErrNone
    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/maven/bin/mvn.cmd

        if errorlevel 1 (
            rem Handle end-of-line comments by taking everything before #
            for /f "tokens=1* delims=#" %%i in ("!line!") do set "line=%%i"
    
            rem Trim leading/trailing spaces while preserving spaces in quotes
            set "trimmed=!line!"
            for /f "tokens=* delims= " %%i in ("!trimmed!") do set "trimmed=%%i"
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 9.6K bytes
    - Viewed (3)
  4. cmd/os_unix.go

    		if strings.HasPrefix(baseDir, dirPath) {
    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/Utf8Test.java

       */
      public void testIsWellFormed_4BytesSamples() {
        // Valid 4 byte.
        assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2);
        // Bad trailing bytes
        assertNotWellFormed(0xF0, 0xA4, 0xAD, 0x7F);
        assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0);
        // Special cases for byte2
        assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. cmd/metacache-stream.go

    //
    // 1 Integer, metacacheStreamVersion of the writer.
    // This can be used for managing breaking changes.
    //
    // For each element:
    // 1. Bool. If false at end of stream.
    // 2. String. Name of object. Directories contains a trailing slash.
    // 3. Binary. Blob of metadata. Length 0 on directories.
    // ... Next element.
    //
    // Streams can be assumed to be sorted in ascending order.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. 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:]
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        void testGetNameVariants() {
            // file name from deep path
            SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt");
            assertEquals("file.txt", a.getName());
    
            // share name with trailing slash when only share present
            SmbResourceLocatorImpl b = locator("smb://server/share/");
            assertEquals("share/", b.getName());
    
            // host when no path/share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    			Objects: []ObjectInfo{
    				{Name: "temporary/0/"},
    			},
    		},
    		// ListObjectsResult-34:
    		//    * Listing with marker > last object should return empty
    		//    * Listing an object with a trailing slash and '/' delimiter
    		34: {
    			IsTruncated: false,
    			Objects:     []ObjectInfo{},
    		},
    		// ListObjectsResult-35 list with custom uncommon delimiter
    		35: {
    			IsTruncated: false,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        @Override
        public void setPath(String path) {
            if (path.length() > 0 && path.charAt(0) == '\\') {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top