Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for t0 (0.12 sec)

  1. src/cmd/compile/internal/types2/infer.go

    		for _, index := range dirty {
    			t0 := inferred[index]
    			if t1 := check.subst(nopos, t0, smap, nil, check.context()); t1 != t0 {
    				// t0 was simplified to t1.
    				// If t0 was a generic function, but the simplified signature t1 does
    				// not contain any type parameters anymore, the function is not generic
    				// anymore. Remove it's type parameters. (go.dev/issue/59953)
    				// Note that if t0 was a signature, t1 must be a signature, and t1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/fake.go

    		if err := tmpl.Execute(&buf, opts.ConfigTemplateInput); err != nil {
    			t.Fatalf("failed to execute template: %v", err)
    		}
    		configStr = buf.String()
    	}
    	cfgs := opts.Configs
    	if configStr != "" {
    		t0 := time.Now()
    		configs, _, err := crd.ParseInputs(configStr)
    		if err != nil {
    			t.Fatalf("failed to read config: %v: %v", err, configStr)
    		}
    		// setup default namespace if not defined
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/net/http/cookiejar/jar_test.go

    			"f=6; max-age=100",
    		},
    		"a=1 b=2 c=3 d=4 e=5 f=6", // executed at t0 + 1001 ms
    		[]query{
    			{"http://www.host.test", "a=1 b=2 c=3 d=4 e=5 f=6"}, // t0 + 2002 ms
    			{"http://www.host.test", "a=1 d=4 e=5 f=6"},         // t0 + 3003 ms
    			{"http://www.host.test", "a=1 d=4 e=5 f=6"},         // t0 + 4004 ms
    			{"http://www.host.test", "a=1 f=6"},                 // t0 + 5005 ms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. pilot/pkg/model/typed_xds_cache.go

    		// may be delayed
    		t0 := time.Now()
    		// This operation is really slow, which makes tests fail for unrelated reasons, so we process it async.
    		go func() {
    			if !cmp.Equal(existing, replacement, protocmp.Transform()) {
    				warning := fmt.Errorf("assertion failed at %v, cache entry changed but not cleared for key %v: %v\n%v\n%v",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check.go

    	if a[0].mode == invalid {
    		return
    	}
    	t0, t1 := a[0].typ, a[1].typ
    	assert(isTyped(t0) && isTyped(t1) && (allBoolean(t1) || t1 == universeError))
    	if m := check.Types; m != nil {
    		for {
    			tv := m[x]
    			assert(tv.Type != nil) // should have been recorded already
    			pos := x.Pos()
    			tv.Type = NewTuple(
    				NewVar(pos, check.pkg, "", t0),
    				NewVar(pos, check.pkg, "", t1),
    			)
    			m[x] = tv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    				ExportPackageFact: facts.ExportPackageFact,
    				AllPackageFacts:   func() []analysis.PackageFact { return facts.AllPackageFacts(factFilter) },
    			}
    			pass.ReadFile = analysisinternal.MakeReadFile(pass)
    
    			t0 := time.Now()
    			act.result, act.err = a.Run(pass)
    
    			if act.err == nil { // resolve URLs on diagnostics.
    				for i := range act.diagnostics {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. security/pkg/nodeagent/cache/secretcache.go

    	if ns != nil {
    		return ns, nil
    	}
    
    	t0 := time.Now()
    	sc.generateMutex.Lock()
    	defer sc.generateMutex.Unlock()
    
    	// Now that we got the lock, look at cache again before sending request to avoid overwhelming CA
    	ns = sc.getCachedSecret(resourceName)
    	if ns != nil {
    		return ns, nil
    	}
    
    	if ts := time.Since(t0); ts > time.Second {
    		cacheLog.Warnf("slow generate secret lock: %v", ts)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. pkg/kube/multicluster/secretcontroller.go

    	// this is done outside the goroutine, we should block other Run/startFuncs until this is registered
    	c.configClusterSyncers = c.handleAdd(c.configCluster)
    	go func() {
    		t0 := time.Now()
    		log.Info("Starting multicluster remote secrets controller")
    		// we need to start here when local cluster secret watcher enabled
    		if features.LocalClusterSecretWatcher && features.ExternalIstiod {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/crdclient/client.go

    		// was already started by other thread
    		return
    	}
    
    	t0 := time.Now()
    	cl.logger.Infof("Starting Pilot K8S CRD controller")
    
    	if !kube.WaitForCacheSync("crdclient", stop, cl.informerSynced) {
    		cl.logger.Errorf("Failed to sync Pilot K8S CRD controller cache")
    		return
    	}
    	cl.logger.Infof("Pilot K8S CRD controller synced in %v", time.Since(t0))
    	cl.queue.Run(stop)
    	cl.logger.Infof("controller terminated")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. src/runtime/gc_test.go

    		}
    	}
    }
    
    func TestGcLastTime(t *testing.T) {
    	ms := new(runtime.MemStats)
    	t0 := time.Now().UnixNano()
    	runtime.GC()
    	t1 := time.Now().UnixNano()
    	runtime.ReadMemStats(ms)
    	last := int64(ms.LastGC)
    	if t0 > last || last > t1 {
    		t.Fatalf("bad last GC time: got %v, want [%v, %v]", last, t0, t1)
    	}
    	pause := ms.PauseNs[(ms.NumGC+255)%256]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top