Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for updateContexts (0.17 sec)

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

    	}
    
    	// Record the result in all contexts.
    	// Prefer to re-use existing types from expanding context, if it exists, to reduce
    	// the memory pinned by the Named type.
    	updateContexts := func(res Type) Type {
    		for i := len(ctxts) - 1; i >= 0; i-- {
    			res = ctxts[i].update(hashes[i], orig, targs, res)
    		}
    		return res
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/go/types/instantiate.go

    	}
    
    	// Record the result in all contexts.
    	// Prefer to re-use existing types from expanding context, if it exists, to reduce
    	// the memory pinned by the Named type.
    	updateContexts := func(res Type) Type {
    		for i := len(ctxts) - 1; i >= 0; i-- {
    			res = ctxts[i].update(hashes[i], orig, targs, res)
    		}
    		return res
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context.go

    	if pushReq == nil || oldPushContext == nil || !oldPushContext.InitDone.Load() || len(pushReq.ConfigsUpdated) == 0 {
    		if err := ps.createNewContext(env); err != nil {
    			return err
    		}
    	} else {
    		if err := ps.updateContext(env, oldPushContext, pushReq); err != nil {
    			return err
    		}
    	}
    
    	ps.networkMgr = env.NetworkManager
    
    	ps.clusterLocalHosts = env.ClusterLocal().GetClusterLocalHosts()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context_test.go

    		ConfigsUpdated: sets.Set[ConfigKey]{
    			{Kind: kind.Service, Name: svcName, Namespace: "foo"}: {},
    		},
    		Reason: nil,
    		Full:   true,
    	}); err != nil {
    		t.Fatal(err)
    	}
    	when = "updateContext(with no changes)"
    	verifyServices(true, fmt.Sprintf(testDesc, otherNS, when), otherNS, newPush)
    	verifyServices(true, fmt.Sprintf(testDesc, defaultNS, when), defaultNS, newPush)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top