- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 378 for Trailing (0.04 sec)
-
cmd/object-handlers-common.go
// use mtime < t+1s instead of mtime <= t to check for unmodified. return !objTime.Before(givenTime.Add(1 * time.Second)) } // canonicalizeETag returns ETag with leading and trailing double-quotes removed, // if any present func canonicalizeETag(etag string) string { return etagRegex.ReplaceAllString(etag, "$1") } // isETagEqual return true if the canonical representations of two ETag strings
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 23 12:36:06 UTC 2025 - 15.2K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
if cr.debug { fmt.Printf("prefix, want prefix %q, got %q", "x-amz-trailer-signature:", string(sig)) } return errMalformedEncoding } // TODO: It seems like we may have to be prepared to rewrite and sort trailing headers: // https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html // Any value must end with a newline. // Not all clients send that. trailerRaw := valueBuffer.Bytes()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/object-api-putobject_test.go
// Put an empty object with a trailing slash 30: {bucketName: bucket, objName: "emptydir/", inputData: []byte{}, expectedMd5: getMD5Hash([]byte{})}, // Put an object inside the empty directory 31: {bucketName: bucket, objName: "emptydir/" + object, inputData: data, inputDataSize: int64(len(data)), expectedMd5: getMD5Hash(data)}, // Put the empty object with a trailing slash again (refer to Test case 30), this needs to succeed
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 25.8K bytes - Viewed (0) -
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--; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
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 {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
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) -
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) -
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) -
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
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
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)