Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Exactly (0.16 sec)

  1. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrPOSTFileRequired: {
    		Code:           "InvalidArgument",
    		Description:    "POST requires exactly one file upload per request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSignatureVersionNotSupported: {
    		Code:           "InvalidRequest",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/iam-store.go

    	if len(toMerge) == 0 {
    		return policy.Policy{}, errNoSuchPolicy
    	}
    	return policy.MergePolicies(toMerge...), nil
    }
    
    // GetPolicyDoc - gets the policy doc which has the policy and some metadata.
    // Exactly one policy must be specified here.
    func (store *IAMStoreSys) GetPolicyDoc(name string) (r PolicyDoc, err error) {
    	name = strings.TrimSpace(name)
    	if name == "" {
    		return r, errInvalidArgument
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/xl-storage.go

    	if err = checkPathLength(filePath); err != nil {
    		return nil, err
    	}
    
    	buf, _, err = s.readAllData(ctx, volume, volumeDir, filePath, false)
    	return buf, err
    }
    
    // ReadFile reads exactly len(buf) bytes into buf. It returns the
    // number of bytes copied. The error is EOF only if no bytes were
    // read. On return, n == len(buf) if and only if err == nil. n == 0
    // for io.EOF.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    			// v1.1 does not have CRC.
    			if minor < 2 {
    				if err := readMore(want); err != nil {
    					return nil, err
    				}
    				return buf[:want], nil
    			}
    
    			// CRC is variable length, so we need to truncate exactly that.
    			wantMax := want + msgp.Uint32Size
    			if wantMax > size {
    				wantMax = size
    			}
    			if err := readMore(wantMax); err != nil {
    				return nil, err
    			}
    
    			if int64(len(buf)) < want {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top