Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,148 for LookUp (0.14 sec)

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

    func (s *Scope) Child(i int) *Scope { return s.children[i] }
    
    // Lookup returns the object in scope s with the given name if such an
    // object exists; otherwise the result is nil.
    func (s *Scope) Lookup(name string) Object {
    	obj := resolve(name, s.elems[name])
    	// Hijack Lookup for "any": with gotypesalias=1, we want the Universe to
    	// return an Alias for "any", and with gotypesalias=0 we want to return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/go/types/scope.go

    func (s *Scope) Child(i int) *Scope { return s.children[i] }
    
    // Lookup returns the object in scope s with the given name if such an
    // object exists; otherwise the result is nil.
    func (s *Scope) Lookup(name string) Object {
    	obj := resolve(name, s.elems[name])
    	// Hijack Lookup for "any": with gotypesalias=1, we want the Universe to
    	// return an Alias for "any", and with gotypesalias=0 we want to return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. pkg/credentialprovider/keyring_test.go

    		t.Errorf("Unexpected number of Provide calls: %v", provider.Count)
    	}
    	keyring.Lookup("foo")
    	if provider.Count != 1 {
    		t.Errorf("Unexpected number of Provide calls: %v", provider.Count)
    	}
    	keyring.Lookup("foo")
    	if provider.Count != 2 {
    		t.Errorf("Unexpected number of Provide calls: %v", provider.Count)
    	}
    	keyring.Lookup("foo")
    	if provider.Count != 3 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 15 10:47:22 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

            try {
                Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS);
                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. cmd/kubelet/app/options/globalflags.go

    	register(global, local, globalName)
    	local.Lookup(normalize(globalName)).Deprecated = deprecated
    }
    
    // addCredentialProviderFlags adds flags from k8s.io/kubernetes/pkg/credentialprovider
    func addCredentialProviderFlags(fs *pflag.FlagSet) {
    	// lookup flags in global flag set and re-register the values with our flagset
    	local := pflag.NewFlagSet(os.Args[0], pflag.ExitOnError)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	}
    	a.waypoints = waypointsCollection{
    		Collection: Waypoints,
    	}
    	a.authorizationPolicies = AllPolicies
    
    	return a
    }
    
    // Lookup finds all addresses associated with a given key. Many different key formats are supported; see inline comments.
    func (a *index) Lookup(key string) []model.AddressInfo {
    	// 1. Workload UID
    	if w := a.workloads.GetKey(krt.Key[model.WorkloadInfo](key)); w != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/DefaultArtifactResolutionCacheTest.groovy

            then:
            def cached = index.lookup("key")
    
            and:
            cached != null
            cached.cachedFile == artifactFile
            cached.cachedAt == 1234L
            cached.externalResourceMetaData == null
        }
    
        def "stores missing entry"() {
            when:
            index.storeMissing("key")
    
            then:
            def cached = index.lookup("key")
    
            and:
            cached != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/context_test.go

    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    		t.Error("bad")
    	}
    
    	// nullaryQ is identical to nullaryP, so we *should* get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", nullaryQ, []Type{Typ[Int]}); got != inst {
    		t.Error("bad")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 17 04:32:02 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/OperationDependenciesResolver.java

    class OperationDependenciesResolver {
    
        private final List<OperationDependencyLookup> lookups = new ArrayList<>();
    
        void addLookup(OperationDependencyLookup lookup) {
            lookups.add(lookup);
        }
    
        Set<InternalOperationDescriptor> resolveDependencies(Node node) {
            return node.getDependencySuccessors().stream()
                .map(this::lookupExistingOperationDescriptor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. internal/config/config.go

    func (kvs KVS) LookupKV(key string) (KV, bool) {
    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv, true
    		}
    	}
    	return KV{}, false
    }
    
    // Lookup - lookup a key in a list of KVS
    func (kvs KVS) Lookup(key string) (string, bool) {
    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv.Value, true
    		}
    	}
    	return "", false
    }
    
    // Config - MinIO server config structure.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top