Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 556 for LookUp (0.15 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageByUrlCachedExternalResourceIndexTest.groovy

            0 * readIndex._
        }
    
        def "lookup searches the write index then delegates to the read index"() {
            when:
            twoStageIndex.lookup("key")
    
            then:
            1 * writeIndex.lookup("key") >> null
            1 * readIndex.lookup("key")
    
            when:
            twoStageIndex.lookup("other")
    
            then:
            1 * writeIndex.lookup("other") >> Stub(CachedExternalResource)
            0 * readIndex._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/go/types/lookup_test.go

    	lookup := func() {
    		for _, name := range names {
    			typ := scope.Lookup(name).Type()
    			LookupFieldOrMethod(typ, true, pkg, "m")
    		}
    	}
    
    	// Perform a lookup once, to ensure that any lazily-evaluated state is
    	// complete.
    	lookup()
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		lookup()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 15:31:43 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

        private final Lookup lookup;
    
        private final TypeRegistry typeRegistry;
    
        @Inject
        public DefaultPackagingRegistry(Lookup lookup, TypeRegistry typeRegistry, List<PackagingProvider> providers) {
            super(providers);
            this.lookup = lookup;
            this.typeRegistry = typeRegistry;
        }
    
        @Override
        public Optional<Packaging> lookup(String id) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

            this.lookup = lookup;
        }
    
        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public void extend(MavenExecutionRequest mavenExecutionRequest) {
            Map<String, PropertyContributor> effectivePropertyContributors = lookup.lookupMap(PropertyContributor.class);
            if (!effectivePropertyContributors.isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Feb 20 15:38:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            this.customLifecycles = lifecycles;
            this.lookup = null;
            this.registry = null;
        }
    
        @Inject
        public DefaultLifecycles(LifecycleRegistry registry, Lookup lookup) {
            this.lookup = lookup;
            this.registry = registry;
        }
    
        /**
         * Get lifecycle based on phase
         *
         * @param phase
         * @return
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCacheTest.groovy

            0 * readCache._
        }
    
        def "lookup searches the write index then delegates to the read index"() {
            when:
            twoStageCache.lookup(key)
    
            then:
            1 * writeCache.lookup(key) >> null
            1 * readCache.lookup(key)
    
            when:
            twoStageCache.lookup(key)
    
            then:
            1 * writeCache.lookup(key) >> Stub(CachedArtifact)
            0 * readCache._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. pkg/env/var_test.go

    	ev := RegisterStringVar(testVar, "123", "")
    	v, present := ev.Lookup()
    	if v != "123" {
    		t.Errorf("Expected 123, got %s", v)
    	}
    	if present {
    		t.Errorf("Expected not present")
    	}
    
    	v = ev.Get()
    	if v != "123" {
    		t.Errorf("Expected 123, got %s", v)
    	}
    
    	_ = os.Setenv(testVar, "ABC")
    
    	ev = RegisterStringVar(testVar, "123", "")
    	v, present = ev.Lookup()
    	if v != "ABC" {
    		t.Errorf("Expected ABC, got %s", v)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            try {
                return container.lookup(type);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            try {
                return container.lookup(type, name);
            } catch (ComponentLookupException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/AbstractCallInterceptor.java

    import java.util.Set;
    
    public abstract class AbstractCallInterceptor implements CallInterceptor {
        private static final MethodHandles.Lookup LOOKUP = MethodHandles.lookup();
    
        private static final MethodHandle INTERCEPTOR;
    
        static {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/lookup_test.go

    	lookup := func() {
    		for _, name := range names {
    			typ := scope.Lookup(name).Type()
    			LookupFieldOrMethod(typ, true, pkg, "m")
    		}
    	}
    
    	// Perform a lookup once, to ensure that any lazily-evaluated state is
    	// complete.
    	lookup()
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		lookup()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 15:31:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top