Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getBoost (0.06 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost());
        // Non-bracketed non-IPv6 works fine.
        assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost());
        assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost());
    
        // Non-bracketed IPv6 fails.
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         */
        static boolean isExternalRepo(ArtifactRepository originalRepository) {
            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

         * For NTLM proxies, specifies the NTLM domain.
         */
        private String ntlmDomain;
    
        /**
         * Return proxy server host name.
         *
         * @return proxy server host name
         */
        public String getHost() {
            return host;
        }
    
        /**
         * Set proxy host name.
         *
         * @param host proxy server host name
         */
        public void setHost(String host) {
            this.host = host;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            collectRequest.addRepository(newTestRepository());
    
            CollectResult collectResult = system.collectDependencies(session, collectRequest);
    
            List<DependencyNode> nodes = collectResult.getRoot().getChildren();
            assertEquals(2, nodes.size());
            checkUtSimpleArtifactDependencies(
                    nodes.get(0).getDependency(), nodes.get(1).getDependency());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                proxy = result.getProxy();
    
                                ProxyInfo proxyInfo = new ProxyInfo();
                                proxyInfo.setHost(proxy.getHost());
                                proxyInfo.setType(proxy.getProtocol());
                                proxyInfo.setPort(proxy.getPort());
                                proxyInfo.setNonProxyHosts(proxy.getNonProxyHosts());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                if (proxy != null) {
                    org.apache.maven.repository.Proxy p = new org.apache.maven.repository.Proxy();
                    p.setHost(proxy.getHost());
                    p.setProtocol(proxy.getType());
                    p.setPort(proxy.getPort());
                    if (proxy.getAuthentication() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    org.eclipse.aether.repository.Proxy proxy = selector.getProxy(repo);
                    if (proxy != null) {
                        Proxy p = new Proxy();
                        p.setHost(proxy.getHost());
                        p.setProtocol(proxy.getType());
                        p.setPort(proxy.getPort());
                        if (proxy.getAuthentication() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                                            repository.getId(), repository.getUrl());
    
                            if (!ProxyUtils.validateNonProxyHosts(pi, repo.getHost())) {
                                return proxy;
                            }
                        } else {
                            return proxy;
                        }
                    }
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                if (proxy.getUserName() != null) {
                    int hash = (proxy.getUserName() + proxy.getPassword()).hashCode();
                    buffer.append(hash).append('@');
                }
                buffer.append(proxy.getHost()).append(':').append(proxy.getPort()).append('>');
            }
    
            // consider the username&password because a repo manager might block artifacts depending on authorization
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    }
                }
            }
    
            if (repository.getProxy() != null && logger.isDebugEnabled()) {
                logger.debug("Using proxy " + repository.getProxy().getHost() + ":"
                        + repository.getProxy().getPort() + " for " + repository.getUrl());
            }
    
            if (repository.getAuthentication() != null && repository.getProxy() != null) {
                wagon.connect(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top