Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for IsTruncated (0.2 sec)

  1. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. 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) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (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.
    	//
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. 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."
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. 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>",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    	loi, err := z.listObjectsGeneric(ctx, bucket, prefix, marker, delimiter, maxKeys, false)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	listObjectsV2Info := ListObjectsV2Info{
    		IsTruncated:           loi.IsTruncated,
    		ContinuationToken:     continuationToken,
    		NextContinuationToken: loi.NextMarker,
    		Objects:               loi.Objects,
    		Prefixes:              loi.Prefixes,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  10. cmd/bucket-listobjects-handlers.go

    		return
    	}
    
    	response := generateListObjectsV2Response(ctx, bucket, prefix, token, listObjectsV2Info.NextContinuationToken, startAfter,
    		delimiter, encodingType, fetchOwner, listObjectsV2Info.IsTruncated,
    		maxKeys, listObjectsV2Info.Objects, listObjectsV2Info.Prefixes, checkObjMeta)
    
    	// Write success response.
    	writeSuccessResponseXML(w, encodeResponseList(response))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top