Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for IsTruncated (0.06 seconds)

  1. cmd/object-api-multipart_test.go

    			}
    			// Asserting IsTruncated.
    			if actualResult.IsTruncated != testCase.expectedResult.IsTruncated {
    				t.Errorf("Test %d: %s: Expected IsTruncated to be \"%v\", but found it to \"%v\"", i+1, instanceType, expectedResult.IsTruncated, actualResult.IsTruncated)
    			}
    			// Asserting the number of Parts.
    			if len(expectedResult.Parts) != len(actualResult.Parts) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  2. cmd/api-response.go

    	data.MaxKeys = maxKeys
    
    	data.NextKeyMarker = s3EncodeName(resp.NextMarker, encodingType)
    	data.NextVersionIDMarker = resp.NextVersionIDMarker
    	data.VersionIDMarker = versionIDMarker
    	data.IsTruncated = resp.IsTruncated
    
    	prefixes := make([]CommonPrefix, 0, len(resp.Prefixes))
    	for _, prefix := range resp.Prefixes {
    		prefixItem := CommonPrefix{}
    		prefixItem.Prefix = s3EncodeName(prefix, encodingType)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  3. cmd/object-api-datatypes.go

    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of objects exceeds the limit allowed or specified
    	// by max keys.
    	IsTruncated bool
    
    	// When response is truncated (the IsTruncated element value in the response is true),
    	// you can use the key name in this field as marker in the subsequent
    	// request to get next set of objects.
    	//
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. cmd/object-api-listobjects_test.go

    					}
    
    					if testCase.resultL.IsTruncated != resultL.IsTruncated {
    						// Allow an extra continuation token.
    						if !resultL.IsTruncated || len(resultL.Objects) == 0 {
    							t.Errorf("Test %d: %s: Expected IsTruncated flag to be %v, but instead found it to be %v", i+1, instanceType, testCase.resultL.IsTruncated, resultL.IsTruncated)
    						}
    					}
    
    					if testCase.resultL.IsTruncated && resultL.NextMarker == "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  5. cmd/object_api_suite_test.go

    	}
    	if len(result.Objects) != 0 {
    		t.Errorf("%s: Number of objects in the result different from expected value.", instanceType)
    	}
    	if result.IsTruncated {
    		t.Errorf("%s: Expected IsTruncated to be `false`, but instead found it to be `%v`", instanceType, result.IsTruncated)
    	}
    
    	uploadContent := "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed."
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  6. cmd/object-api-datatypes_gen.go

    			z.MaxUploads, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "MaxUploads")
    				return
    			}
    		case "IsTruncated":
    			z.IsTruncated, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "IsTruncated")
    				return
    			}
    		case "Uploads":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 71.7K bytes
    - Click Count (0)
  7. cmd/server_test.go

    			},
    			"",
    		},
    
    		{
    			getListObjectsV2URL(s.endPoint, bucketName, "pfx2/c", "2", "true", "", "/"),
    			[]string{
    				"<Prefix>pfx2/c</Prefix><KeyCount>1</KeyCount><MaxKeys>2</MaxKeys><Delimiter>/</Delimiter><IsTruncated>false</IsTruncated>",
    				"<CommonPrefixes><Prefix>pfx2/c/</Prefix>",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  8. cmd/s3-zip-handlers.go

    				Name:    objName,
    				Size:    int64(file.UncompressedSize64),
    				ModTime: zipObjInfo.ModTime,
    			})
    			count++
    		}
    	next:
    		nextToken = objName
    	}
    
    	if isTruncated {
    		listObjectsInfo.IsTruncated = true
    		listObjectsInfo.NextContinuationToken = nextToken
    	}
    
    	return listObjectsInfo, nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. cmd/config.go

    					continue
    				}
    
    				cfgEntry.Data = string(data)
    			}
    			configHistory = append(configHistory, cfgEntry)
    			count--
    			if count == 0 {
    				break
    			}
    		}
    		if !res.IsTruncated {
    			// We are done here
    			break
    		}
    		marker = res.NextMarker
    	}
    	sort.Slice(configHistory, func(i, j int) bool {
    		return configHistory[i].CreateTime.Before(configHistory[j].CreateTime)
    	})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. cmd/erasure-multipart.go

    		result.NextUploadIDMarker = uploads[uploadIndex].UploadID
    		uploadIndex++
    		if len(result.Uploads) == maxUploads {
    			break
    		}
    	}
    
    	result.IsTruncated = uploadIndex < len(uploads)
    
    	if !result.IsTruncated {
    		result.NextKeyMarker = ""
    		result.NextUploadIDMarker = ""
    	}
    
    	return result, nil
    }
    
    // newMultipartUpload - wrapper for initializing a new multipart
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
Back to Top