- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for expvar (0.2 sec)
-
src/expvar/expvar_test.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package expvar import ( "bytes" "crypto/sha1" "encoding/json" "fmt" "net" "net/http/httptest" "reflect" "runtime" "strconv" "sync" "sync/atomic" "testing" ) // RemoveAll removes all exported variables. // This is for tests only.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:46:19 UTC 2024 - 13.4K bytes - Viewed (0) -
src/go/build/deps_test.go
net/http/internal, net/http/internal/ascii, net/http/internal/testcert, net/http/httptrace, mime/multipart, log < net/http; # HTTP-aware packages encoding/json, net/http < expvar; net/http, net/http/internal/ascii < net/http/cookiejar, net/http/httputil; net/http, flag < net/http/httptest; net/http, regexp < net/http/cgi < net/http/fcgi; # Profiling
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
return n } a := ir.Copy(n).(*ir.UnaryExpr) a.X = l return walkExpr(typecheck.Expr(a), init) case ir.ODOT, ir.ODOTPTR: n := n.(*ir.SelectorExpr) l := safeExpr(n.X, init) if l == n.X { return n } a := ir.Copy(n).(*ir.SelectorExpr) a.X = l return walkExpr(typecheck.Expr(a), init) case ir.ODEREF: n := n.(*ir.StarExpr) l := safeExpr(n.X, init) if l == n.X {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/net/http/fcgi/fcgi_test.go
r *http.Request, ) { env := ProcessEnv(r) if _, ok := env[tt.envVar]; ok && tt.expectedFilteredOut { t.Errorf("Expected environment variable %s to not be set, but set to %s", tt.envVar, env[tt.envVar]) } else if env[tt.envVar] != tt.expectedVal { t.Errorf("Expected %s, got %s", tt.expectedVal, env[tt.envVar]) } close(done) })) c.serve() <-done } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
name string container *v1.Container envs []EnvVar expectedCommand []string expectedArgs []string }{ { name: "none", container: &v1.Container{}, }, { name: "command expanded", container: &v1.Container{ Command: []string{"foo", "$(VAR_TEST)", "$(VAR_TEST2)"}, }, envs: []EnvVar{ { Name: "VAR_TEST", Value: "zoo", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0)