Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for maxKey (0.17 sec)

  1. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "", "", "", 10, resultCases[0], nil, true},
    		// Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19).
    		{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
    		// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20).
    		{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    }
    
    // return URL for listing objects in the bucket with V1 legacy API.
    func getListObjectsV1URL(endPoint, bucketName, prefix, maxKeys, encodingType string) string {
    	queryValue := url.Values{}
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    	if encodingType != "" {
    		queryValue.Set("encoding-type", encodingType)
    	}
    	return makeTestTargetURL(endPoint, bucketName, prefix, queryValue)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    		switch fieldTag {
    		case zip64ExtraID:
    			f.zip64 = true
    
    			// update directory values from the zip64 extra block.
    			// They should only be consulted if the sizes read earlier
    			// are maxed out.
    			// See golang.org/issue/13367.
    			if needUSize {
    				needUSize = false
    				if len(fieldBuf) < 8 {
    					return ErrFormat
    				}
    				f.UncompressedSize64 = fieldBuf.uint64()
    			}
    			if needCSize {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	data.EncodingType = encodingType
    	data.Prefix = s3EncodeName(prefix, encodingType)
    	data.KeyMarker = s3EncodeName(marker, encodingType)
    	data.Delimiter = s3EncodeName(delimiter, encodingType)
    	data.MaxKeys = maxKeys
    
    	data.NextKeyMarker = s3EncodeName(resp.NextMarker, encodingType)
    	data.NextVersionIDMarker = resp.NextVersionIDMarker
    	data.VersionIDMarker = versionIDMarker
    	data.IsTruncated = resp.IsTruncated
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. cmd/erasure-server-pool.go

    	}
    	return loi, nil
    }
    
    func maxKeysPlusOne(maxKeys int, addOne bool) int {
    	if maxKeys < 0 || maxKeys > maxObjectList {
    		maxKeys = maxObjectList
    	}
    	if addOne {
    		maxKeys++
    	}
    	return maxKeys
    }
    
    func (z *erasureServerPools) listObjectsGeneric(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int, v1 bool) (ListObjectsInfo, error) {
    	var loi ListObjectsInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    		// MaxKeys set to values lesser than the number of entries in the MultipartInfo.
    		// IsTruncated is expected to be true.
    		{bucketNames[1], "", "", "", "", 2, listMultipartResults[18], nil, true},
    		{bucketNames[1], "", "", "", "", 1, listMultipartResults[19], nil, true},
    		// MaxKeys set to the value which is equal to no of entries in the MultipartInfo (Test number 33).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    	} else {
    		p.registerListARM(a)
    	}
    }
    
    func (p *Parser) registerListARM(a *obj.Addr) {
    	// One range per loop.
    	var maxReg int
    	var bits uint16
    	var arrangement int64
    	switch p.arch.Family {
    	case sys.ARM:
    		maxReg = 16
    	case sys.ARM64:
    		maxReg = 32
    	default:
    		p.errorf("unexpected register list")
    	}
    	firstReg := -1
    	nextReg := -1
    	regCnt := 0
    ListLoop:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    			// r is 2 to 4 bytes
    			if len(chars) == width {
    				if chars == string(r) {
    					return i
    				}
    				continue
    			}
    			// Use bytealg.IndexString for performance if available.
    			if bytealg.MaxLen >= width {
    				if bytealg.IndexString(chars, string(r)) >= 0 {
    					return i
    				}
    				continue
    			}
    		}
    		for _, ch := range chars {
    			if r == ch {
    				return i
    			}
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	c.Assert(err, nil)
    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// validating the error response.
    	verifyError(c, response, "InvalidArgument", "Argument maxKeys must be an integer between 0 and 2147483647", http.StatusBadRequest)
    
    	// create listObjectsV2 request with invalid value of max-keys parameter. max-keys is set to -2.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		Description:    "Argument max-uploads must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxKeys: {
    		Code:           "InvalidArgument",
    		Description:    "Argument maxKeys must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidEncodingMethod: {
    		Code:           "InvalidArgument",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
Back to top