Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for LookUp (0.28 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

    public interface Lookup extends Service {
        /**
         * Performs a lookup for given typed component.
         *
         * @param type The component type.
         * @return The component.
         * @param <T> The component type.
         * @throws LookupException if no such component or there is some provisioning related issue.
         */
        @Nonnull
        <T> T lookup(Class<T> type);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/os/user/lookup.go

    	}
    	u := *cache.u // copy
    	return &u, nil
    }
    
    // cache of the current user
    var cache struct {
    	sync.Once
    	u   *User
    	err error
    }
    
    // Lookup looks up a user by username. If the user cannot be found, the
    // returned error is of type [UnknownUserError].
    func Lookup(username string) (*User, error) {
    	if u, err := Current(); err == nil && u.Username == username {
    		return u, err
    	}
    	return lookupUser(username)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. releasenotes/notes/fix-peer-veth-lookup-on-openshift.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 17:04:00 UTC 2023
    - 202 bytes
    - Viewed (0)
  4. src/go/importer/importer.go

    // will attempt to resolve imports in the $GOPATH workspace.
    func ForCompiler(fset *token.FileSet, compiler string, lookup Lookup) types.Importer {
    	switch compiler {
    	case "gc":
    		return &gcimports{
    			fset:     fset,
    			packages: make(map[string]*types.Package),
    			lookup:   lookup,
    		}
    
    	case "gccgo":
    		var inst gccgoimporter.GccgoInstallation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top