Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,216 for LookUp (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

            expect:
            def unqualified = pluginRegistry.lookup(DefaultPluginId.of("somePlugin"))
            unqualified.pluginId == DefaultPluginId.of("org.gradle.somePlugin")
            unqualified.displayName.displayName == "plugin 'org.gradle.somePlugin'"
            unqualified.asClass() == TestPlugin1
    
            def qualified = pluginRegistry.lookup(DefaultPluginId.of("org.gradle.somePlugin"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  5. pkg/env/var.go

    // It returns the value, which will be the default if the variable is not present.
    // To distinguish between an empty value and an unset value, use Lookup.
    func (v StringVar) Get() string {
    	result, _ := v.Lookup()
    	return result
    }
    
    // Lookup retrieves the value of the environment variable. If the
    // variable is present in the environment the
    // value (which may be empty) is returned and the boolean is true.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K 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. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginRegistry.java

        }
    
        @Nullable
        @Override
        public PluginImplementation<?> lookup(PluginId pluginId) {
            PluginImplementation<?> lookup;
            if (parent != null) {
                lookup = parent.lookup(pluginId);
                if (lookup != null) {
                    return lookup;
                }
            }
    
            return lookup(pluginId, classLoaderScope.getLocalClassLoader());
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 10.4K 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