Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for require (0.19 sec)

  1. cmd/object-api-datatypes_gen.go

    import (
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/tinylib/msgp/msgp"
    )
    
    // MarshalMsg implements msgp.Marshaler
    func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendInt(o, int(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BackendType) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_gen.go

    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BucketReplicationResyncStatus) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "v"
    	o = append(o, 0x84, 0xa1, 0x76)
    	o = msgp.AppendInt(o, z.Version)
    	// string "brs"
    	o = append(o, 0xa3, 0x62, 0x72, 0x73)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen.go

    		err = msgp.WrapError(err, "FailedCount")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BucketReplicationStat) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 14
    	// string "ReplicatedSize"
    	o = append(o, 0x8e, 0xae, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65)
    	o = msgp.AppendInt64(o, z.ReplicatedSize)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z ChecksumAlgo) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *ChecksumAlgo) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 uint8
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	// the 'null' version. We add a free-version to track its tiered
    	// content for asynchronous deletion.
    	//
    	// Note: RestoreObject and HealObject requests don't end up replacing the
    	// null version and therefore don't require the free-version to track
    	// anything
    	if fi.VersionID == "" && !fi.IsRestoreObjReq() && !fi.Healing() {
    		// Note: Restore object request reuses PutObject/Multipart
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    // gccErrors runs gcc over the C program stdin and returns
    // the errors that gcc prints. That is, this function expects
    // gcc to fail.
    func (p *Package) gccErrors(stdin []byte, extraArgs ...string) string {
    	// TODO(rsc): require failure
    	args := p.gccCmd()
    
    	// Optimization options can confuse the error messages; remove them.
    	nargs := make([]string, 0, len(args)+len(extraArgs))
    	for _, arg := range args {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    	hip.bucket = vars[mgmtBucket]
    	hip.objPrefix = vars[mgmtPrefix]
    
    	if hip.bucket == "" {
    		if hip.objPrefix != "" {
    			// Bucket is required if object-prefix is given
    			err = ErrHealMissingBucket
    			return
    		}
    	} else if isReservedOrInvalidBucket(hip.bucket, false) {
    		err = ErrInvalidBucketName
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  8. istioctl/pkg/describe/describe.go

    	if !labels.HasCanonicalServiceName(pod.Labels) {
    		fmt.Fprintf(writer, "Suggestion: add required service name label for Istio telemetry. "+
    			"See %s.\n", url.DeploymentRequirements)
    	}
    	if !labels.HasCanonicalServiceRevision(pod.Labels) {
    		fmt.Fprintf(writer, "Suggestion: add required service revision label for Istio telemetry. "+
    			"See %s.\n", url.DeploymentRequirements)
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    		return
    	}
    
    	// Content-Md5 is required should be set
    	// http://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html
    	if _, ok := r.Header[xhttp.ContentMD5]; !ok {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentMD5), r.URL)
    		return
    	}
    
    	// Content-Length is required and should be non-zero
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    				Modified: time.Date(2011, 12, 8, 10, 6, 8, 0, timeZone(0)),
    				Mode:     0444,
    			},
    		},
    	},
    	{
    		// created by Go, before we wrote the "optional" data
    		// descriptor signatures (which are required by macOS).
    		// Use obscured file to avoid Appleā€™s notarization service
    		// rejecting the toolchain due to an inability to unzip this archive.
    		// See golang.org/issue/34986
    		Name:     "go-no-datadesc-sig.zip.base64",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top