Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 353 for LookUp (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/TwoStageByUrlCachedExternalResourceIndex.java

            writableCache.storeMissing(key);
        }
    
        @Nullable
        @Override
        public CachedExternalResource lookup(String key) {
            CachedExternalResource lookup = writableCache.lookup(key);
            if (lookup != null) {
                return lookup;
            }
            return readOnlyCache.lookup(key);
        }
    
        @Override
        public void clear(String key) {
            writableCache.clear(key);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/state/DefaultManagedFactoryRegistryTest.groovy

            expect:
            registry.lookup(fooFactory.id) == fooFactory
        }
    
        def "returns null for unknown type"() {
            def fooFactory = factory(Foo)
            def barFactory = factory(Bar)
            def buzzFactory = factory(Buzz)
            registry.withFactories(barFactory, fooFactory)
    
            expect:
            registry.lookup(buzzFactory.id) == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCache.java

        }
    
        @Nullable
        @Override
        public CachedArtifact lookup(ArtifactAtRepositoryKey key) {
            CachedArtifact lookup = writableCache.lookup(key);
            if (lookup != null) {
                return lookup;
            }
            return readOnlyCache.lookup(key);
        }
    
        @Override
        public void clear(ArtifactAtRepositoryKey key) {
            writableCache.clear(key);
    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. src/net/hosts_test.go

    	for _, ent := range lookupStaticHostAliasesTest {
    		testLookupStaticHostAliases(t, ent.lookup, absDomainName(ent.res))
    	}
    }
    
    func testLookupStaticHostAliases(t *testing.T, lookup, lookupRes string) {
    	ins := []string{lookup, absDomainName(lookup), strings.ToLower(lookup), strings.ToUpper(lookup)}
    	for _, in := range ins {
    		_, res := lookupStaticHost(in)
    		if res != lookupRes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. src/index/suffixarray/suffixarray.go

    // an in-memory suffix array.
    //
    // Example use:
    //
    //	// create index for some data
    //	index := suffixarray.New(data)
    //
    //	// lookup byte slice s
    //	offsets1 := index.Lookup(s, -1) // the list of all indices where s occurs in data
    //	offsets2 := index.Lookup(s, 3)  // the list of at most 3 indices where s occurs in data
    package suffixarray
    
    import (
    	"bytes"
    	"encoding/binary"
    	"errors"
    	"io"
    	"math"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                @Nonnull RepositorySystem repositorySystem,
                @Nullable List<RemoteRepository> remoteRepositories,
                @Nonnull MavenRepositorySystem mavenRepositorySystem,
                @Nonnull Lookup lookup,
                @Nonnull RuntimeInformation runtimeInformation) {
            super(
                    nonNull(session).getRepositorySession(),
                    repositorySystem,
                    remoteRepositories,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 16 08:45:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceRegistry.java

         * @return The service instance. Never returns null.
         * @throws UnknownServiceException When there is no service of the given type available.
         * @throws ServiceLookupException On failure to lookup the specified service.
         */
        @UsedByScanPlugin("scan, test-retry")
        <T> T get(Class<T> serviceType) throws UnknownServiceException, ServiceLookupException;
    
        /**
         * Locates all services of the given type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top