Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 2,134 for build1 (0.09 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

     */
    public final class PrintEventsNonConcurrent {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .eventListener(new PrintingEventListener())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        System.out.println("REQUEST 1 (new connection)");
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("complex"));
            request.setSystemProperties(sysProperties);
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
        graph.putEdgeValue(3, 4, "B");
        graph.putEdgeValue(5, 6, "C");
    
        int threadCount = 20;
        ExecutorService executor = newFixedThreadPool(threadCount);
        final CyclicBarrier barrier = new CyclicBarrier(threadCount);
        ImmutableList.Builder<Future<?>> futures = ImmutableList.builder();
        for (int i = 0; i < threadCount; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTester.java

        } else {
          assertEquals(expectedLines.subList(0, 1), list);
        }
      }
    
      public void testForEachLine() throws IOException {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        source.forEachLine(builder::add);
        assertExpectedLines(builder.build());
      }
    
      private void assertExpectedString(String string) {
        assertEquals(expected, string);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-compat/pom.xml

        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-model-builder</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-settings</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-settings-builder</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                    p.setProtocol(proxy.getType());
                    p.setPort(proxy.getPort());
                    if (proxy.getAuthentication() != null) {
                        repo = new RemoteRepository.Builder(repo).setProxy(proxy).build();
                        AuthenticationContext authCtx = AuthenticationContext.forProxy(null, repo);
                        p.setUserName(authCtx.get(AuthenticationContext.USERNAME));
    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. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

                def doc = new ClassDoc('org.gradle.Class', content, document, classMetaData, null)
                new ClassDocPropertiesBuilder(javadocConverter, Mock(GenerationListener)).build(doc)
                new ClassDocMethodsBuilder(javadocConverter, Mock(GenerationListener)).build(doc)
                doc
            }
    
            then:
            doc.classProperties.size() == 2
            doc.classProperties[0].name == 'block'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     * Maven stores all the downloaded artifacts (such as dependencies, plugins,
     * and project artifacts). When Maven builds a project, it first checks the
     * local repository to see if the required artifacts are already available.
     * If the artifacts are found locally, Maven uses them directly, which speeds
     * up the build process by avoiding unnecessary downloads.</p>
     *
     * <p>By default, the local repository is located in the {@code .m2/repository}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    /**
     * Adapts [Authenticator] to [okhttp3.Authenticator]. Configure OkHttp to use [Authenticator] with
     * [okhttp3.OkHttpClient.Builder.authenticator] or [okhttp3.OkHttpClient.Builder.proxyAuthenticator].
     */
    class JavaNetAuthenticator(private val defaultDns: Dns = Dns.SYSTEM) : okhttp3.Authenticator {
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

            return session.build();
        }
    
        public static RemoteRepository newTestRepository() throws MalformedURLException {
            return new RemoteRepository.Builder(
                            "repo",
                            "default",
                            getTestFile("target/test-classes/repo").toURI().toURL().toString())
                    .build();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top