Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxResults (0.07 sec)

  1. cmd/warm-backend-azure.go

    	return azureToObjectError(err, az.Bucket, az.getDest(object))
    }
    
    func (az *warmBackendAzure) InUse(ctx context.Context) (bool, error) {
    	maxResults := int32(1)
    	pager := az.clnt.NewListBlobsFlatPager(az.Bucket, &azblob.ListBlobsFlatOptions{
    		Prefix:     &az.Prefix,
    		MaxResults: &maxResults,
    	})
    	if !pager.More() {
    		return false, nil
    	}
    
    	resp, err := pager.NextPage(ctx)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

         * one byte left to read.
         */
        private fun currentPartBytesRemaining(maxResult: Long): Long {
          source.require(crlfDashDashBoundary.size.toLong())
    
          return when (val delimiterIndex = source.buffer.indexOf(crlfDashDashBoundary)) {
            -1L -> minOf(maxResult, source.buffer.size - crlfDashDashBoundary.size + 1)
            else -> minOf(maxResult, delimiterIndex)
          }
        }
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top