Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,016 for bhat (0.19 sec)

  1. internal/hash/errors.go

    )
    
    // SHA256Mismatch - when content sha256 does not match with what was sent from client.
    type SHA256Mismatch struct {
    	ExpectedSHA256   string
    	CalculatedSHA256 string
    }
    
    func (e SHA256Mismatch) Error() string {
    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    	ExpectedMD5   string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    // all leading UTF-8-encoded code points c that satisfy f(c).
    func TrimLeftFunc(s []byte, f func(r rune) bool) []byte {
    	i := indexFunc(s, f, false)
    	if i == -1 {
    		return nil
    	}
    	return s[i:]
    }
    
    // TrimRightFunc returns a subslice of s by slicing off all trailing
    // UTF-8-encoded code points c that satisfy f(c).
    func TrimRightFunc(s []byte, f func(r rune) bool) []byte {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. 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)
  4. cmd/signature-v4-utils.go

    	"golang.org/x/exp/slices"
    )
    
    // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the
    // client did not calculate sha256 of the payload.
    const unsignedPayload = "UNSIGNED-PAYLOAD"
    
    // http Header "x-amz-content-sha256" == "STREAMING-UNSIGNED-PAYLOAD-TRAILER" indicates that the
    // client did not calculate sha256 of the payload and there is a trailer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"sort"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. 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)
  7. internal/jwt/parser.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  8. internal/crypto/error.go

    var (
    	// ErrInvalidEncryptionMethod indicates that the specified SSE encryption method
    	// is not supported.
    	ErrInvalidEncryptionMethod = Errorf("The encryption method is not supported")
    
    	// ErrInvalidCustomerAlgorithm indicates that the specified SSE-C algorithm
    	// is not supported.
    	ErrInvalidCustomerAlgorithm = Errorf("The SSE-C algorithm is not supported")
    
    	// ErrMissingCustomerKey indicates that the HTTP headers contains no SSE-C client key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. 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)
  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