Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 153 for expvar (0.55 sec)

  1. src/net/mptcpsock_linux_test.go

    	syscall.Close(fd)
    	return true
    }
    
    func testMultiPathTCP(t *testing.T, envVar bool) {
    	if envVar {
    		t.Log("Test with GODEBUG=multipathtcp=1")
    		t.Setenv("GODEBUG", "multipathtcp=1")
    	} else {
    		t.Log("Test with GODEBUG=multipathtcp=0")
    		t.Setenv("GODEBUG", "multipathtcp=0")
    	}
    
    	ln := newLocalListenerMPTCP(t, envVar)
    
    	// similar to tcpsock_test:TestIPv6LinkLocalUnicastTCP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 00:36:57 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op syntax.Operator) {
    	var y operand
    
    	check.expr(nil, x, lhs)
    	check.expr(nil, &y, rhs)
    
    	if x.mode == invalid {
    		return
    	}
    	if y.mode == invalid {
    		x.mode = invalid
    		x.expr = y.expr
    		return
    	}
    
    	if isShift(op) {
    		check.shift(x, &y, e, op)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/expr.go

    	}
    	return n
    }
    
    // tcSlice typechecks an OSLICE or OSLICE3 node.
    func tcSlice(n *ir.SliceExpr) ir.Node {
    	n.X = DefaultLit(Expr(n.X), nil)
    	n.Low = indexlit(Expr(n.Low))
    	n.High = indexlit(Expr(n.High))
    	n.Max = indexlit(Expr(n.Max))
    	hasmax := n.Op().IsSlice3()
    	l := n.X
    	if l.Type() == nil {
    		n.SetType(nil)
    		return n
    	}
    	if l.Type().IsArray() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/policy_static_test.go

    		containerName:   spt.containerName,
    		stAssignments:   spt.stAssignments.Clone(),
    		stDefaultCPUSet: spt.stDefaultCPUSet.Clone(),
    		pod:             spt.pod, // accessed in read-only
    		expErr:          spt.expErr,
    		expCPUAlloc:     spt.expCPUAlloc,
    		expCSet:         spt.expCSet.Clone(),
    	}
    }
    
    func TestStaticPolicyName(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. src/net/http/h2_bundle.go

    	NewWriteScheduler func() http2WriteScheduler
    
    	// CountError, if non-nil, is called on HTTP/2 server errors.
    	// It's intended to increment a metric for monitoring, such
    	// as an expvar or Prometheus metric.
    	// The errType consists of only ASCII word characters.
    	CountError func(errType string)
    
    	// Internal state. This is a pointer (rather than embedded directly)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/envcmd/env.go

    	}
    	ar, arChanged := cfg.EnvOrAndChanged("AR", "ar")
    	env = append(env, cfg.EnvVar{Name: "AR", Value: ar, Changed: arChanged})
    	env = append(env, cfg.EnvVar{Name: "CC", Value: cc, Changed: ccChanged})
    	env = append(env, cfg.EnvVar{Name: "CXX", Value: cxx, Changed: cxxChanged})
    
    	if cfg.BuildContext.CgoEnabled {
    		env = append(env, cfg.EnvVar{Name: "CGO_ENABLED", Value: "1", Changed: cfg.CGOChanged})
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils_test.go

    	dsc    string
    	expDsc ReplicateDecision
    	expErr error
    }{
    	{ // 1.
    		name: "empty string",
    		dsc:  "",
    		expDsc: ReplicateDecision{
    			targetsMap: map[string]replicateTargetDecision{},
    		},
    		expErr: nil,
    	},
    
    	{ // 2.
    		name:   "replicate decision for one target",
    		dsc:    "arn:minio:replication::id:bucket=true;false;arn:minio:replication::id:bucket;id",
    		expErr: nil,
    		expDsc: ReplicateDecision{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. cmd/encryption-v1_test.go

    		}
    	}
    }
    
    var decryptObjectMetaTests = []struct {
    	info    ObjectInfo
    	request *http.Request
    	expErr  error
    }{
    	{
    		info:    ObjectInfo{Size: 100},
    		request: &http.Request{Header: http.Header{}},
    		expErr:  nil,
    	},
    	{
    		info:    ObjectInfo{Size: 100, UserDefined: map[string]string{crypto.MetaAlgorithm: crypto.InsecureSealAlgorithm}},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_dryrun_test.go

    	tests := []struct {
    		name        string
    		annotations map[string]string
    		proxyEnv    []corev1.EnvVar
    		customUID   *int64
    		customGID   *int64
    		golden      string
    	}{
    		{
    			name:        "basic",
    			annotations: map[string]string{annotation.SidecarStatus.Name: "true"},
    			proxyEnv:    []corev1.EnvVar{},
    			golden:      filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/basic.txt.golden"),
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. pkg/ctrlz/topics/env.go

    func (envTopic) Prefix() string {
    	return "env"
    }
    
    type envVar struct {
    	Name  string `json:"name"`
    	Value string `json:"value"`
    }
    
    func getVars() []envVar {
    	env := os.Environ()
    	sort.Strings(env)
    
    	result := []envVar{}
    	for _, v := range env {
    		eq := strings.Index(v, "=")
    		name := v[:eq] //nolint
    		value := v[eq+1:]
    		result = append(result, envVar{Name: name, Value: value})
    	}
    
    	return result
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top