Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 84 for slash (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          apply {
            push(pathSegment, 0, pathSegment.length, addTrailingSlash = false, alreadyEncoded = false)
          }
    
        /**
         * Adds a set of path segments separated by a slash (either `\` or `/`). If `pathSegments`
         * starts with a slash, the resulting URL will have empty path segment.
         */
        fun addPathSegments(pathSegments: String): Builder = addPathSegments(pathSegments, false)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    		{"../../abc", "../../abc"},
    		{"/abc", "/abc"},
    		{"/abc/def", "/abc/def"},
    		{"/", "/"},
    
    		// Remove trailing slash
    		{"abc/", "abc"},
    		{"abc/def/", "abc/def"},
    		{"a/b/c/", "a/b/c"},
    		{"./", "."},
    		{"../", ".."},
    		{"../../", "../.."},
    		{"/abc/", "/abc"},
    
    		// Remove doubled slash
    		{"abc//def//ghi", "abc/def/ghi"},
    		{"//abc", "/abc"},
    		{"///abc", "/abc"},
    		{"//abc//", "/abc"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    type ObjectNameInvalid GenericError
    
    // ObjectNameTooLong - object name too long.
    type ObjectNameTooLong GenericError
    
    // ObjectNamePrefixAsSlash - object name has a slash as prefix.
    type ObjectNamePrefixAsSlash GenericError
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameInvalid) Error() string {
    	return "Object name invalid: " + e.Bucket + "/" + e.Object
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // Add a string with zero slashes: resulting URL gains one slash.
        assertThat(base.newBuilder().addPathSegments("").build().encodedPath)
          .isEqualTo("/a/b/c/")
        assertThat(base.newBuilder().addPathSegments("d").build().encodedPath)
          .isEqualTo("/a/b/c/d")
    
        // Add a string with one slash: resulting URL gains two slashes.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/os_unix.go

    				continue
    			}
    
    			typ = fi.Mode() & os.ModeType
    		}
    
    		var nameStr string
    		if typ.IsRegular() {
    			nameStr = string(name)
    		} else if typ.IsDir() {
    			// Use temp buffer to append a slash to avoid string concat.
    			tmp = tmp[:len(name)+1]
    			copy(tmp, name)
    			tmp[len(tmp)-1] = '/' // SlashSeparator
    			nameStr = string(tmp)
    		}
    
    		count--
    		entries = append(entries, nameStr)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. doc/asm.html

    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    Instead, the assembler allows the middle dot character U+00B7
    and the division slash U+2215 in identifiers and rewrites them to
    plain period and slash.
    Within an assembler source file, the symbols above are written as
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

         * <tt>SmbResource</tt> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <tt>SmbResource</tt>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>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (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
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top