Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for lookupHost (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/http/dial_dnscache.go

    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    // It randomly fetches an IP via custom LookupHost function and dials it by the given dial
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. internal/http/transports.go

    	ReadBufferSize = 64 << 10
    )
    
    // ConnSettings - contains connection settings.
    type ConnSettings struct {
    	DialContext DialContext // Custom dialContext, DialTimeout is ignored if this is already setup.
    	LookupHost  LookupHost  // Custom lookupHost, is nil on containerized deployments.
    	DialTimeout time.Duration
    
    	// TLS Settings
    	RootCAs          *x509.CertPool
    	CipherSuites     []uint16
    	CurvePreferences []tls.CurveID
    
    	// HTTP2
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

                    return Optional.empty();
                }
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            try {
                return container.lookupList(type);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return lookupOptional(type);
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    
        public static Builder builder() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> List<T> lookupList(Class<T> type);
    
        /**
         * Performs a collection lookup for given typed components.
         *
         * @param type The component type.
         * @return The map of components. The map may be empty if no components found.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

        }
    
        @Override
        @Nonnull
        public Type require(String id) {
            requireNonNull(id, "id cannot be null");
            return usedTypes.computeIfAbsent(id, i -> {
                Type type = lookup.lookupList(TypeProvider.class).stream()
                        .flatMap(p -> p.provides().stream())
                        .filter(t -> Objects.equals(id, t.id()))
                        .findFirst()
                        .orElse(null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top