Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 509 for what (0.15 sec)

  1. cmd/storage-errors.go

    // errLessData - returned when less data available than what was requested.
    var errLessData = StorageErr("less data available than what was requested")
    
    // errMoreData = returned when more data was sent by the caller than what it was supposed to.
    var errMoreData = StorageErr("more data was sent than what was advertised")
    
    // indicates readDirFn to return without further applying the fn()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    func (e ObjectTooLarge) Error() string {
    	return "size of the object greater than what is allowed(5G)"
    }
    
    // ObjectTooSmall error returned when the size of the object < what is expected.
    type ObjectTooSmall GenericError
    
    func (e ObjectTooSmall) Error() string {
    	return "size of the object less than what is expected"
    }
    
    // OperationTimedOut - a timeout occurred.
    type OperationTimedOut struct{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    			// Expect header is always of form:
    			//
    			//   Expect       =  "Expect" ":" 1#expectation
    			//   expectation  =  "100-continue" | expectation-extension
    			//
    			// So it safe to assume that '100-continue' is what would
    			// be sent, for the time being keep this work around.
    			// Adding a *TODO* to remove this later when Golang server
    			// doesn't filter out the 'Expect' header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_test.go

    			for _, sz := range test.sizes {
    				h.add(sz)
    			}
    			got := h.toMap()
    			exp := test.want
    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    					t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k])
    				}
    			}
    			// what is absent in exp is absent in got too
    			for k := range got {
    				if _, ok := exp[k]; !ok && got[k] > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		Description:    "The provided 'x-amz-content-sha256' header does not match what was computed.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrContentChecksumMismatch: {
    		Code:           "XAmzContentChecksumMismatch",
    		Description:    "The provided 'x-amz-checksum' header does not match what was computed.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	// MinIO extensions.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  6. cmd/object-handlers.go

    				ot = tags
    				w.Header()[xhttp.MinIOTaggingProxied] = []string{"true"} // indicate that the request was proxied.
    			} else {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		} else {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	// Set this such that authorization policies can be applied on the object tags.
    	if tags := ot.String(); tags != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	// execute the request.
    	response, err = s.client.Do(req)
    	c.Assert(err, nil)
    	if s.signer == signerV4 {
    		verifyError(c, response, "XAmzContentSHA256Mismatch", "The provided 'x-amz-content-sha256' header does not match what was computed.", http.StatusBadRequest)
    	}
    }
    
    // Test deletes multiple objects and verifies server response.
    func (s *TestSuiteCommon) TestDeleteMultipleObjects(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses.go

    		}
    	}
    	s.endpoints = endpoints
    	return endpoints
    }
    
    // Get returns the sets representation of the endpoints
    // this function also intelligently decides on what will
    // be the right set size etc.
    func (s endpointSet) Get() (sets [][]string) {
    	k := uint64(0)
    	endpoints := s.getEndpoints()
    	for i := range s.setIndexes {
    		for j := range s.setIndexes[i] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/typed-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    )
    
    // errInvalidArgument means that input argument is invalid.
    var errInvalidArgument = errors.New("Invalid arguments specified")
    
    // errMethodNotAllowed means that method is not allowed.
    var errMethodNotAllowed = errors.New("Method not allowed")
    
    // errSignatureMismatch means signature did not match.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	disks := er.getDisks()
    	// Assume (N/2 + 1) quorum for Delete()
    	// this is a theoretical assumption such that
    	// for delete's we do not need to honor storage
    	// class for objects that have reduced quorum
    	// due to storage class - this only needs to be honored
    	// for Read() requests alone that we already do.
    	writeQuorum := len(disks)/2 + 1
    
    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
Back to top