Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for Goff (0.19 sec)

  1. src/archive/zip/zip_test.go

    	}
    	buf := make([]byte, ss.Size())
    	for off := int64(0); off < ss.Size(); off++ {
    		for size := 1; size <= int(ss.Size()-off); size++ {
    			readBuf := buf[:size]
    			n, err := ss.ReadAt(readBuf, off)
    			if off < ss.Size()-keep {
    				if err != errDiscardedBytes {
    					t.Errorf("off %d, size %d = %v, %v (%q); want errDiscardedBytes", off, size, n, err, readBuf[:n])
    				}
    				continue
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. src/bytes/reader.go

    	return
    }
    
    // ReadAt implements the [io.ReaderAt] interface.
    func (r *Reader) ReadAt(b []byte, off int64) (n int, err error) {
    	// cannot modify state - see io.ReaderAt
    	if off < 0 {
    		return 0, errors.New("bytes.Reader.ReadAt: negative offset")
    	}
    	if off >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	n = copy(b, r.s[off:])
    	if n < len(b) {
    		err = io.EOF
    	}
    	return
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. internal/config/identity/openid/openid.go

    			if kvsrc.Key != madmin.EnableKey {
    				continue
    			}
    			// for EnableKey we set an explicit on/off from live configuration
    			// if it is present.
    			if _, ok := r.ProviderCfgs[cfgName]; !ok {
    				// No live config is present
    				continue
    			}
    			if r.Enabled {
    				kvsrc.Value = "on"
    			} else {
    				kvsrc.Value = "off"
    			}
    		}
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   kvsrc.Key,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  4. internal/config/heal/help.go

    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Bitrot,
    			Description: `perform bitrot scan on drives when checking objects during scanner` + defaultHelpPostfix(Bitrot),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         Sleep,
    			Description: `maximum sleep duration between objects to slow down heal operation` + defaultHelpPostfix(Sleep),
    			Optional:    true,
    			Type:        "duration",
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. internal/crypto/auto-encryption.go

    	// SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled,
    	// requires a valid KMS configuration and turns any non-SSE-C
    	// request into an SSE-S3 request.
    	// If present EnvAutoEncryption must be either "on" or "off".
    	EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION"
    )
    
    // LookupAutoEncryption returns true if and only if
    // the MINIO_KMS_AUTO_ENCRYPTION env. variable is
    // set to "on".
    func LookupAutoEncryption() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    // TrimLeftFunc treats s as UTF-8-encoded bytes and returns a subslice of s by slicing off
    // 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).
    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)
  7. internal/config/api/help.go

    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiRootAccess,
    			Description: "turn 'off' root credential access for all API calls including s3, admin operations" + defaultHelpPostfix(apiRootAccess),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiSyncEvents,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns.go

    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    	// cgroup name. It assumes that any ".scope" suffix has been trimmed off
    	// beforehand.  CAUTION: we used to verify that the pod and container id were
    	// descendants of a kubepods directory, however, as of Kubernetes 1.21, cgroups
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	ErrorLevel:    "error",
    	CriticalLevel: "critical",
    	OffLevel:      "off",
    }
    
    var stringToLevel = map[string]Level{
    	"trace":    TraceLevel,
    	"debug":    DebugLevel,
    	"info":     InfoLevel,
    	"warning":  WarningLevel,
    	"warn":     WarningLevel,
    	"error":    ErrorLevel,
    	"critical": CriticalLevel,
    	"off":      OffLevel,
    }
    
    var (
    	loggerLevelString = ""
    	reset             = false
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/context.go

    }
    
    func newKubeClientWithRevision(kubeconfig, configContext, revision string) (kube.CLIClient, error) {
    	rc, err := kube.DefaultRestConfig(kubeconfig, configContext, func(config *rest.Config) {
    		// We are running a one-off command locally, so we don't need to worry too much about rate limiting
    		// Bumping this up greatly decreases install time
    		config.QPS = 50
    		config.Burst = 100
    	})
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top