Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 902 for LookUp (0.11 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

        private final Lookup lookup;
        private final RuntimeInformation runtimeInformation;
    
        @Inject
        @SuppressWarnings("checkstyle:ParameterNumber")
        public DefaultSessionFactory(
                RepositorySystem repositorySystem,
                MavenRepositorySystem mavenRepositorySystem,
                Lookup lookup,
                RuntimeInformation runtimeInformation) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 12:55:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        dns[PROXY_A_HOST] = dns.allocate(2)
        val selection = routeSelector.next()
        assertRoute(selection.next(), address, proxyA, dns.lookup(PROXY_A_HOST, 0), PROXY_A_PORT)
        assertRoute(selection.next(), address, proxyA, dns.lookup(PROXY_A_HOST, 1), PROXY_A_PORT)
        assertThat(selection.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isFalse()
        dns.assertRequests(PROXY_A_HOST)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

            private Instant startTime = Instant.now();
    
            DefaultSession(RepositorySystemSession session, RepositorySystem repositorySystem, Lookup lookup) {
                this(session, repositorySystem, Collections.emptyList(), null, lookup);
            }
    
            protected DefaultSession(
                    RepositorySystemSession session,
                    RepositorySystem repositorySystem,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top