Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 2,076 for builds (0.04 sec)

  1. guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

        graphBuilder.addNode(n);
        graph = graphBuilder.build();
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
        graphBuilder.putEdge(n1, n2);
        graph = graphBuilder.build();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            }
    
            private
            fun processDirectory(dir: Path, builder: Trie.Builder) {
                Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
                    override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult {
                        val zipEntry = ZipEntry(dir.relativize(file).toString())
                        processEntry(zipEntry, builder)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

    ```kotlin
    val client = OkHttpClient.Builder()
        .dns { hostname -> InetAddress.getAllByName(hostname).toList() }
        .build()
    ```
    
    Kotlin calling OkHttp 4.x:
    
    ```kotlin
    val client = OkHttpClient.Builder()
        .dns(object : Dns {
          override fun lookup(hostname: String) =
              InetAddress.getAllByName(hostname).toList()
        })
        .build()
    ```
    
    SAM conversion impacts these APIs:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

          HttpClient.newBuilder()
            .followRedirects(NORMAL)
            .build()
    
        server.enqueue(
          MockResponse.Builder()
            .body("hello, Java HTTP Client")
            .build(),
        )
    
        val request =
          HttpRequest.newBuilder(server.url("/").toUri())
            .header("Accept", "text/plain")
            .build()
    
        val response = httpClient.send(request, BodyHandlers.ofString())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

            return Map.of();
        }
    
        public static Builder builder() {
            return new Builder();
        }
    
        public static class Builder {
            private final Map<Class<?>, Object> components = new HashMap<>();
    
            public ProtoLookup build() {
                return new ProtoLookup(components);
            }
    
            public <T> Builder addMapping(Class<T> type, T component) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

            RemoteRepository.Builder builder =
                    new RemoteRepository.Builder(repository.getId(), repository.getLayout(), repository.getUrl());
            builder.setSnapshotPolicy(toRepositoryPolicy(repository.getSnapshots()));
            builder.setReleasePolicy(toRepositoryPolicy(repository.getReleases()));
            return builder.build();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionBean.java

            private int terminateAfter = 0;
    
            public void build(SearchRequestBuilder builder) {
                if (explain != null) {
                    builder.setExplain(explain);
                }
                if (minScore != null) {
                    builder.setMinScore(minScore);
                }
                if (preference != null) {
                    builder.setPreference(preference);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        ImmutableSet.Builder<String> builder = ImmutableSet.builder();
        for (ClassPath.LocationInfo location : ClassPath.locationsFrom(loader)) {
          for (ResourceInfo resource : location.scanResources()) {
            builder.add(resource.getResourceName());
          }
        }
        return builder.build();
      }
    
      private static boolean isWindows() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/HttpHeadersTest.java

           * this check to isAccessible().
           */
          if (!field.isSynthetic() && field.getType() == String.class) {
            builder.add(field);
          }
        }
        return builder.build();
      }
    
      private static final Splitter SPLITTER = Splitter.on('_');
      private static final Joiner JOINER = Joiner.on('-');
    
      private static String upperToHttpHeaderName(
          String constantName,
          ImmutableBiMap<String, String> specialCases,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

           * this check to isAccessible().
           */
          if (!field.isSynthetic() && field.getType() == String.class) {
            builder.add(field);
          }
        }
        return builder.build();
      }
    
      private static final Splitter SPLITTER = Splitter.on('_');
      private static final Joiner JOINER = Joiner.on('-');
    
      private static String upperToHttpHeaderName(
          String constantName,
          ImmutableBiMap<String, String> specialCases,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top