Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 941 for builder_ (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    }
    
    internal fun Headers.commonIterator(): Iterator<Pair<String, String>> {
      return Array(size) { name(it) to value(it) }.iterator()
    }
    
    internal fun Headers.commonNewBuilder(): Headers.Builder {
      val result = Headers.Builder()
      result.namesAndValues += namesAndValues
      return result
    }
    
    internal fun Headers.commonEquals(other: Any?): Boolean {
      return other is Headers && namesAndValues.contentEquals(other.namesAndValues)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertEquals(expected, builder.toString());
        assertFullyRead(reader);
    
        // read all to one CharBuffer
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            Level.HEADERS,
          )
        applicationInterceptor.redactHeader("sEnSiTiVe")
        client =
          OkHttpClient.Builder()
            .addNetworkInterceptor(networkInterceptor)
            .addInterceptor(applicationInterceptor)
            .build()
        server.enqueue(
          MockResponse.Builder()
            .addHeader("SeNsItIvE", "Value").addHeader("Not-Sensitive", "Value")
            .build(),
        )
        val response =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

            context.terminal
                    .writer()
                    .println(messageBuilderFactory
                            .builder()
                            .format(
                                    response.isValid()
                                            ? messageBuilderFactory
                                                    .builder()
                                                    .success("%sConfiguration validation of %s: %s")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java

            MavenSessionBuilderSupplier builder = new MavenSessionBuilderSupplier();
            session.setDependencyTraverser(builder.getDependencyTraverser());
            session.setDependencyManager(new ClassicDependencyManager()); // Maven 3 behavior
            session.setDependencySelector(builder.getDependencySelector());
            session.setDependencyGraphTransformer(builder.getDependencyGraphTransformer());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                    Dependency.Builder builder,
                    Dependency target,
                    Dependency source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                // optional flag is not managed
            }
    
            @Override
            protected void mergeDependency_Exclusions(
                    Dependency.Builder builder,
                    Dependency target,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java

        @Override
        public SearchRequestBuilder build(SearchRequestBuilder builder) {
            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
                _conditionQuery.getFieldSortBuilderList().forEach(sort -> {
                    builder.addSort(sort);
                });
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

      }
    
      @Test
      fun processResponse() {
        server.enqueue(
          MockResponse.Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            infoLine('-');
            MessageBuilder buffer = builder();
    
            if (session.getResult().hasExceptions()) {
                buffer.failure("BUILD FAILURE");
            } else {
                buffer.success("BUILD SUCCESS");
            }
            logger.info(buffer.toString());
        }
    
        private MessageBuilder builder() {
            return messageBuilderFactory.builder();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

        public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) {
            try (final XContentBuilder builder = func.apply(mediaType.contentBuilder(), ToXContent.EMPTY_PARAMS)) {
                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to print the output.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top