Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for slash (0.05 sec)

  1. src/archive/tar/reader.go

    			}
    			if gnuLongLink != "" {
    				hdr.Linkname = gnuLongLink
    			}
    			if hdr.Typeflag == TypeRegA {
    				if strings.HasSuffix(hdr.Name, "/") {
    					hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories
    				} else {
    					hdr.Typeflag = TypeReg
    				}
    			}
    
    			// The extended headers may have updated the size.
    			// Thus, setup the regFileReader again after merging PAX headers.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    		objects = objects[:maxKeys]
    		loi.IsTruncated = true
    	}
    	for _, obj := range objects {
    		if obj.IsDir && obj.ModTime.IsZero() && delimiter != "" {
    			// Only add each once.
    			// With slash delimiter we only get the directory once.
    			found := false
    			if delimiter != slashSeparator {
    				for _, p := range loi.Prefixes {
    					if found {
    						break
    					}
    					found = p == obj.Name
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    				"GNU.sparse.major":    "1",
    				"GNU.sparse.minor":    "0",
    				"GNU.sparse.realsize": "1000",
    				"GNU.sparse.name":     "sparse.db",
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		file: "testdata/trailing-slash.tar",
    		headers: []*Header{{
    			Typeflag: TypeDir,
    			Name:     strings.Repeat("123456789/", 30),
    			ModTime:  time.Unix(0, 0),
    			PAXRecords: map[string]string{
    				"path": strings.Repeat("123456789/", 30),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                log.debug("Resolving DFS path " + path);
            }
    
            if ( path.length() >= 2 && path.charAt(0) == '\\' && path.charAt(1) == '\\' ) {
                throw new SmbException("Path must not start with double slash: " + path);
            }
    
            try ( SmbSessionImpl sess = getSmbSession(ctx, targetHost, targetDomain);
                  SmbTransportImpl transport = sess.getTransport();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    	// Test the response when object name ends with a slash.
    	// This is a special case with size as '0' and object ends with
    	// a slash separator, we treat it like a valid operation and
    	// return success.
    	// The response Etag headers should contain Md5Sum of empty string.
    	objectName = "objectwith/"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectNamePrefixSlash: {
    		Code:           "XMinioInvalidObjectName",
    		Description:    "Object name contains a leading slash.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidResourceName: {
    		Code:           "XMinioInvalidResourceName",
    		Description:    "Resource name contains bad components such as \"..\" or \".\".",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    		Policies: []string{"readwrite"},
    	}
    
    	cases := []struct {
    		username string
    		dn       string
    		group    string
    	}{
    		{
    			username: "slashuser",
    			dn:       "uid=slash/user,ou=people,ou=swengg,dc=min,dc=io",
    		},
    		{
    			username: "dillon",
    			dn:       "uid=dillon,ou=people,ou=swengg,dc=min,dc=io",
    			group:    "cn=project/d,ou=groups,ou=swengg,dc=min,dc=io",
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  8. fastapi/applications.py

                    async def read_items():
                        return [{"item_id": "Foo"}]
                    ```
    
                    With this app, if a client goes to `/items` (without a trailing slash),
                    they will be automatically redirected with an HTTP status code of 307
                    to `/items/`.
                    """
                ),
            ] = True,
            docs_url: Annotated[
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 5.
    		// Test case with new object name is same as object to be copied.
    		// But source copy is without leading slash
    		5: {
    			bucketName:       bucketName,
    			newObjectName:    objectName,
    			copySourceSame:   true,
    			copySourceHeader: url.QueryEscape(bucketName + SlashSeparator + objectName),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/mime.map

    application/vnd.ms-excel       xls              # Microsoft Excel
    application/font-tdpfr         pfr              # TrueDoc Portable Font Resource
    application/futuresplash       spl              # Macromedia Flash
    application/hep                hep              # Hummingbird Host Explorer Profiles
    application/lotus-123          wks              # Lotus 123
    application/mac-binhex40       hqx              # Macintosh binhexed archives
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.9K bytes
    - Viewed (0)
Back to top