Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for IsTruncated (0.11 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-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 == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (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."
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

            }
    
            return new String(
                "nameTrnId=" + this.nameTrnId + ",isResponse=" + this.isResponse + ",opCode=" + opCodeString + ",isAuthAnswer=" + this.isAuthAnswer
                        + ",isTruncated=" + this.isTruncated + ",isRecurAvailable=" + this.isRecurAvailable + ",isRecurDesired=" + this.isRecurDesired
                        + ",isBroadcast=" + this.isBroadcast + ",resultCode=" + resultCodeString + ",questionCount=" + this.questionCount
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    "nameTrnId=" + nameTrnId +
                    ",isResponse=" + isResponse +
                    ",opCode=" + opCodeString +
                    ",isAuthAnswer=" + isAuthAnswer +
                    ",isTruncated=" + isTruncated +
                    ",isRecurAvailable=" + isRecurAvailable +
                    ",isRecurDesired=" + isRecurDesired +
                    ",isBroadcast=" + isBroadcast +
                    ",resultCode=" + resultCode +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top