Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for perlookup (0.12 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

    package org.apache.maven.repository.legacy;
    
    import javax.inject.Named;
    
    /**
     * Wagon with per-lookup instantiation strategy.
     */
    @Named("perlookup")
    public class PerLookupWagon extends WagonMock {
    
        public String[] getSupportedProtocols() {
            return new String[] {"perlookup"};
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

                    "Checksum verification did not fail");
        }
    
        @Test
        void testPerLookupInstantiation() throws Exception {
            String protocol = "perlookup";
    
            Wagon one = wagonManager.getWagon(protocol);
            Wagon two = wagonManager.getWagon(protocol);
    
            assertNotSame(one, two);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

            // superclass mapping should take precedence.
            return;
          }
          // First, check whether var -> arg forms a cycle
          for (Type t = arg; t != null; t = mappings.get(TypeVariableKey.forLookup(t))) {
            if (var.equalsType(t)) {
              // cycle detected, remove the entire cycle from the mapping so that
              // each type variable resolves deterministically to itself.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

    /**
     * Container capsule.
     */
    public interface ContainerCapsule extends AutoCloseable {
        /**
         * The {@link Lookup} service backed by container in this capsule.
         */
        @Nonnull
        Lookup getLookup();
    
        /**
         * Performs a clean shutdown of backing container.
         */
        @Override
        void close() throws InvokerException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
            this.lookup = new DefaultLookup(plexusContainer);
        }
    
        @Override
        public Lookup getLookup() {
            return lookup;
        }
    
        @Override
        public void close() {
            try {
                plexusContainer.dispose();
            } finally {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

            // superclass mapping should take precedence.
            return;
          }
          // First, check whether var -> arg forms a cycle
          for (Type t = arg; t != null; t = mappings.get(TypeVariableKey.forLookup(t))) {
            if (var.equalsType(t)) {
              // cycle detected, remove the entire cycle from the mapping so that
              // each type variable resolves deterministically to itself.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            throw new UnsupportedInStandaloneModeException();
        }
    
        static class Providers {
    
            @Provides
            @SuppressWarnings("unused")
            static Lookup newLookup(Injector injector) {
                return new Lookup() {
                    @Override
                    public <T> T lookup(Class<T> type) {
                        try {
                            return injector.getInstance(type);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    // leading / or ../ elements.
    func (r *Reader) Open(name string) (fs.File, error) {
    	r.initFileList()
    
    	if !fs.ValidPath(name) {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid}
    	}
    	e := r.openLookup(name)
    	if e == nil {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
    	}
    	if e.isDir {
    		return &openDir{e, r.openReadDir(name), 0}, nil
    	}
    	rc, err := e.file.Open()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            context.containerCapsule = createContainerCapsuleFactory().createContainerCapsule(context);
            context.closeables.add(context.containerCapsule);
            context.lookup = context.containerCapsule.getLookup();
            context.settingsBuilder = context.lookup.lookup(SettingsBuilder.class);
    
            // refresh logger in case container got customized by spy
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top