- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for initEnv (0.11 sec)
-
src/cmd/go/internal/cache/cache_test.go
} } } func TestVerifyPanic(t *testing.T) { os.Setenv("GODEBUG", "gocacheverify=1") initEnv() defer func() { os.Unsetenv("GODEBUG") verify = false }() if !verify { t.Fatal("initEnv did not set verify") } dir, err := os.MkdirTemp("", "cachetest-") if err != nil { t.Fatal(err) } defer os.RemoveAll(dir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:49:37 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/cache/cache.go
// DebugTest is set when GODEBUG=gocachetest=1 is in the environment. var DebugTest = false func init() { initEnv() } var ( gocacheverify = godebug.New("gocacheverify") gocachehash = godebug.New("gocachehash") gocachetest = godebug.New("gocachetest") ) func initEnv() { if gocacheverify.Value() == "1" { gocacheverify.IncNonDefault() verify = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
if ir.FuncName(fn) == "init" { cnames.InitFn = fn break } } if cnames.InitFn == nil { panic("unexpected (no init func for -cover build)") } hashv, len := metaHashAndLen() if cnames.CounterMode != coverage.CtrModeTestMain { registerMeta(cnames, hashv, len) } if base.Ctxt.Pkgpath == "main" { addInitHookCall(cnames.InitFn, cnames.CounterMode) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
pkg/dns/client/dns_test.go
dnsProto "istio.io/istio/pkg/dns/proto" "istio.io/istio/pkg/test" "istio.io/istio/pkg/util/sets" ) func TestDNSForwardParallel(t *testing.T) { d := initDNS(t, true) testDNS(t, d) } func TestDNS(t *testing.T) { d := initDNS(t, false) testDNS(t, d) } func TestBuildAlternateHosts(t *testing.T) { // Create the server instance without starting it, as it's unnecessary for this test
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
var ssaDumpInlined []*ir.Func func DumpInline(fn *ir.Func) { if ssaDump != "" && ssaDump == ir.FuncName(fn) { ssaDumpInlined = append(ssaDumpInlined, fn) } } func InitEnv() { ssaDump = os.Getenv("GOSSAFUNC") ssaDir = os.Getenv("GOSSADIR") if ssaDump != "" { if strings.HasSuffix(ssaDump, "+") { ssaDump = ssaDump[:len(ssaDump)-1] ssaDumpStdout = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go
t := &asyncIDTokenVerifier{} sync := make(chan struct{}) // Polls indefinitely in an attempt to initialize the distributed claims // verifier, or until context canceled. initFn := func(ctx context.Context) (done bool, err error) { klog.V(4).Infof("oidc authenticator: attempting init: iss=%v", iss) v, err := initVerifier(ctx, c, iss, audiences) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 37.9K bytes - Viewed (0)