Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,076 for builds (0.05 sec)

  1. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

            new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() {
              @Override
              public LoadingCache<Key, String> apply(CacheBuilder<Object, Object> builder) {
                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
          for (Invokable<?, ?> factory : factories) {
            if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) {
              builder.add(factory);
            }
          }
          ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build();
          Assert.assertFalse(
              "No "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

    import org.apache.maven.api.model.ModelBase;
    
    /**
     * <p>A <dfn>remote repository</dfn> is a central or distributed location
     * from which Maven can download project dependencies, plugins, and other
     * build artifacts. When Maven cannot find an artifact in the local
     * repository, it attempts to retrieve it from one or more remote
     * repositories.</p>
     *
     * <p>There are several types of remote repositories:</p><ul>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
            }
            runner.refresh();
            settings = Suggester.builder().build(runner.client(), id).settings();
        }
    
        @Test
        public void test_elevateWordIndexName() {
            assertEquals("fess_suggest_elevate", settings.elevateWord().arraySettings.arraySettingsIndexName);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
      private static <K, V> LocalCache<K, V> makeLocalCache(
          CacheBuilder<? super K, ? super V> builder) {
        return new LocalCache<>(builder, null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

                    final Level sourceLevel = event.getLevel();
                    if (sourceLevel != Level.ERROR) {
                        return event;
                    }
                    return new Log4jLogEvent.Builder(event).setLevel(Level.WARN).build();
                }
            }
            return event;
        }
    
        @PluginFactory
        public static ErrorToWarnRewritePolicy createPolicy(@PluginAttribute("loggers") final String loggerNamePrefix) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get(server: MockWebServer) {
        server.enqueue(
          MockResponse.Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
        val request = HttpGet(server.url("/").toUri())
        request.addHeader("Accept", "text/plain")
    
        httpClient.execute(request).use { response ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        final long startNanos = System.nanoTime();
        final Call call = client.newCall(request);
    
        // Schedule a job to cancel the call in 1 second.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  9. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

            )
            .respond(response().withBody("Peter the person!"))
    
          val client =
            OkHttpClient.Builder()
              .proxy(Proxy(SOCKS, InetSocketAddress(socks5Proxy.host, socks5Proxy.firstMappedPort)))
              .build()
    
          val response =
            client.newCall(
              Request("http://mockserver:1080/person?name=peter".toHttpUrl()),
            ).execute()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

                    .named("Shorts.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Short> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top