Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 989 for BUILDER (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testCopy() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/InternersTest.java

      public void testConcurrencyLevel_zero() {
        Interners.InternerBuilder builder = Interners.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0));
      }
    
      public void testConcurrencyLevel_negative() {
        Interners.InternerBuilder builder = Interners.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        @Override
        protected void processRequest(final Client client, final Deferred<SuggestResponse> deferred) {
            final SearchRequestBuilder builder = client.prepareSearch(index);
    
            if (skipDuplicateWords) {
                builder.setSize(size * 2);
            } else {
                builder.setSize(size);
            }
    
            // set query.
            final QueryBuilder q = buildQuery(query, fields);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

            SettingsBuilder builder = new DefaultSettingsBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setSystemProperties(System.getProperties());
            request.setUserSettingsFile(getSettings("simple"));
    
            SettingsBuildingResult 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
    - 1.7K bytes
    - Viewed (0)
  6. test-site/app/controllers/Suggest.java

                XContentBuilder builder  = JsonXContent.contentBuilder()
                    .startObject()
                    .startObject("response")
                    .startArray("result")
                    .startObject()
                    .startArray("result");
    
                for(String word: response.getWords()) {
                    builder.value(word);
                }
    
                String json = builder.endArray()
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f);
            if (text.startsWith("sort:")) {
                assertNull(builder);
            } else {
                logger.info("{} => {}", text, builder.toString());
                assertEquals(expectedClass, builder.getClass());
                assertEquals(expectedQuery, builder.toString().replaceAll("[\s\n]", ""));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        socket.supportedCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C", "SSL_D", "SSL_E")
        socket.enabledCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C")
        val connectionSpec =
          ConnectionSpec.Builder(true)
            .tlsVersions(TlsVersion.TLS_1_0)
            .cipherSuites("TLS_A", "TLS_C", "TLS_E")
            .build()
        applyConnectionSpec(connectionSpec, socket, false)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/pom.xml

        <version>4.0.0-beta-6-SNAPSHOT</version>
    
        <relativePath>../../</relativePath>
      </parent>
    
      <artifactId>maven-settings-builder</artifactId>
    
      <name>Maven Settings Builder (deprecated)</name>
      <description>The effective settings builder, with inheritance and password decryption.</description>
    
      <contributors>
        <contributor>
          <name>Thomas Meyer</name>
        </contributor>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

        protected void processRequest(final Client client, final Deferred<PopularWordsResponse> deferred) {
            final SearchRequestBuilder builder = client.prepareSearch(index);
            builder.setSize(size);
            builder.setQuery(buildQuery());
            builder.setRescorer(buildRescore(), windowSize);
    
            builder.execute(new ActionListener<SearchResponse>() {
                @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top