Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for bots (0.19 sec)

  1. src/archive/zip/struct.go

    See the [ZIP specification] for details.
    
    This package does not support disk spanning.
    
    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. cmd/site-replication-utils_gen.go

    		case "v":
    			z.Version, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "ss":
    			bts, err = z.Status.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Status")
    				return
    			}
    		case "did":
    			z.DeplID, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "DeplID")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 14 15:16:40 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  3. istioctl/pkg/clioptions/central.go

    func (o *CentralControlPlaneOptions) ValidateControlPlaneFlags() error {
    	if o.Xds != "" && o.XdsPodLabel != "" {
    		return fmt.Errorf("either --xds-address or --xds-label, not both")
    	}
    	if o.Plaintext && o.CertDir != "" {
    		return fmt.Errorf("either --plaintext or --cert-dir, not both")
    	}
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    	{"aaa", "a", 0},
    	{"abc", "xyz", -1},
    	{"abc", "xcz", 2},
    	{"ab☺c", "x☺yz", 2},
    	{"a☺b☻c☹d", "cx", len("a☺b☻")},
    	{"a☺b☻c☹d", "uvw☻xyz", len("a☺b")},
    	{"aRegExp*", ".(|)*+?^$[]", 7},
    	{dots + dots + dots, " ", -1},
    	{"012abcba210", "\xffb", 4},
    	{"012\x80bcb\x80210", "\xffb", 3},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    var lastIndexAnyTests = []BinOpTest{
    	{"", "", -1},
    	{"", "a", -1},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. cmd/api-router.go

    // via reflection.
    //
    // When **no** flags are passed, the behavior is to trace both headers and body,
    // gzip the response and throttle the handler via `maxClients`. Each of these
    // can be disabled via the corresponding `s3HFlag`.
    //
    // CAUTION: for requests involving large req/resp bodies ensure to pass the
    // `traceHdrsS3HFlag`, otherwise both headers and body will be traced, causing
    // high memory usage!
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/warm-backend-minio.go

    }
    
    func newWarmBackendMinIO(conf madmin.TierMinIO, tier string) (*warmBackendMinIO, error) {
    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. internal/config/certs.go

    	}
    	cert, err := tls.X509KeyPair(certPEMBlock, keyPEMBlock)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msg(err.Error())
    	}
    	return cert, nil
    }
    
    // EnsureCertAndKey checks if both client certificate and key paths are provided
    func EnsureCertAndKey(clientCert, clientKey string) error {
    	if (clientCert != "" && clientKey == "") ||
    		(clientCert == "" && clientKey != "") {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint_test.go

    				makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
    				makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true),
    			},
    			expectedOutFile: "all-gateway",
    		},
    		{
    			name: "have both managed and unmanaged gateways",
    			args: strings.Split("list -A", " "),
    			gateways: []*gateway.Gateway{
    				makeGateway("bookinfo", "default", false, true),
    				makeGateway("bookinfo-invalid", "fake", true, false),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/transition.go

    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    // IsDateNull returns true if date field is null
    func (t Transition) IsDateNull() bool {
    	return t.Date.Time.IsZero()
    }
    
    // IsNull returns true if both date and days fields are null
    func (t Transition) IsNull() bool {
    	return t.StorageClass == ""
    }
    
    // NextDue returns upcoming transition date for obj and true if applicable,
    // returns false otherwise.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
Back to top