Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 196 for because (0.16 sec)

  1. internal/grid/README.md

    and furthermore provides reuse of the structs used for the request and response.
    
    Note that Responses sent for serialization are automatically reused for similar requests.
    If the response contains shared data it will cause issues, since each unique response is reused.
    To disable this behavior, use `(SingleHandler).WithSharedResponse()` to disable it.
    
    ## Streaming Requests
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. update-credits.sh

          other entities that control, are controlled by, or are under common
          control with that entity. For the purposes of this definition,
          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  3. cmd/admin-handler-utils.go

    		}
    	case AdminError:
    		apiErr = APIError{
    			Code:           e.Code,
    			Description:    e.Message,
    			HTTPStatusCode: e.StatusCode,
    		}
    	case SRError:
    		apiErr = errorCodes.ToAPIErrWithErr(e.Code, e.Cause)
    	case decomError:
    		apiErr = APIError{
    			Code:           "XMinioDecommissionNotAllowed",
    			Description:    e.Err,
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	default:
    		switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    	} else {
    		z.updateRebalanceStats(ctx)
    	}
    	z.rebalMu.Unlock()
    
    	return nil
    }
    
    // updates rebalance.bin from let's say 2 pool setup in the middle
    // of a rebalance, was expanded can cause z.rebalMeta to be outdated
    // due to a missing new pool. This function tries to handle this
    // scenario, albeit rare it seems to have occurred in the wild.
    //
    // since we do not explicitly disallow it, but it is okay for them
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    			},
    			region:   "",
    			expected: ErrUnsignedHeaders,
    		},
    	}
    
    	// Run each test case individually.
    	for i, testCase := range testCases {
    		// Turn the map[string]string into map[string][]string, because Go.
    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    
    		// Create a request to use.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  6. internal/rest/client.go

    			logger.LogOnceIf(ctx, logSubsys, err, c.url.Host)
    			c.MarkOffline(err)
    		}
    		defer xhttp.DrainBody(resp.Body)
    		// Limit the ReadAll(), just in case, because of a bug, the server responds with large data.
    		b, err := io.ReadAll(io.LimitReader(resp.Body, c.MaxErrResponseSize))
    		if err != nil {
    			if xnet.IsNetworkOrHostDown(err, expectTimeouts) {
    				if !c.NoMetrics {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    			partStart = i
    			break
    		}
    		cumulativeSum += size
    		encPartSize, _ := sio.EncryptedSize(uint64(size))
    		encCumulativeSum += int64(encPartSize)
    	}
    	// partStart is always found in the loop above,
    	// because off is validated.
    
    	sseDAREEncPackageBlockSize := int64(SSEDAREPackageBlockSize + SSEDAREPackageMetaSize)
    	startPkgNum := (off - cumulativeSum) / SSEDAREPackageBlockSize
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  8. internal/config/storageclass/storage-class.go

    		}
    	} else {
    		cfg.RRS.Parity = defaultRRSParity
    		if setDriveCount == 1 {
    			cfg.RRS.Parity = 0
    		}
    	}
    
    	// Validation is done after parsing both the storage classes. This is needed because we need one
    	// storage class value to deduce the correct value of the other storage class.
    	if err = validateParity(cfg.Standard.Parity, cfg.RRS.Parity, setDriveCount); err != nil {
    		return Config{}, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    // string.
    //
    // See:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
    //
    // You should avoid the following characters in a key name because of
    // significant special handling for consistency across all
    // applications.
    //
    // Rejects strings with following characters.
    //
    // - Backslash ("\")
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  10. cmd/signature-v4-utils_test.go

    	}
    
    	inputQuery := r.URL.Query()
    	// case where some headers need to get from request query
    	signedHeaders = append(signedHeaders, "x-amz-server-side-encryption")
    	// expect to fail with `ErrUnsignedHeaders` because couldn't find some header
    	_, errCode = extractSignedHeaders(signedHeaders, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
Back to top