Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 144 for expvar (0.31 sec)

  1. src/cmd/compile/internal/test/mergelocals_test.go

    			},
    			experr: true,
    		},
    	}
    
    	for k, testcase := range testcases {
    		mls, err := liveness.MakeMergeLocalsState(testcase.partition, testcase.vars)
    		t.Logf("tc %d err is %v\n", k, err)
    		if testcase.experr && err == nil {
    			t.Fatalf("tc:%d missing error mls %v", k, mls)
    		} else if !testcase.experr && err != nil {
    			t.Fatalf("tc:%d unexpected error mls %v", k, err)
    		}
    		if mls != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. src/go/build/constraint/expr.go

    	return andArg(x.X) + " && " + andArg(x.Y)
    }
    
    func andArg(x Expr) string {
    	s := x.String()
    	if _, ok := x.(*OrExpr); ok {
    		s = "(" + s + ")"
    	}
    	return s
    }
    
    func and(x, y Expr) Expr {
    	return &AndExpr{x, y}
    }
    
    // An OrExpr represents the expression X || Y.
    type OrExpr struct {
    	X, Y Expr
    }
    
    func (x *OrExpr) isExpr() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    func (check *Checker) binary(x *operand, e ast.Expr, lhs, rhs ast.Expr, op token.Token, opPos token.Pos) {
    	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
    - 49.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top