Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for CREATE (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

       * @since 19.0
       */
      public static <T extends @Nullable Object> BloomFilter<T> create(
          Funnel<? super T> funnel, long expectedInsertions, double fpp) {
        return create(funnel, expectedInsertions, fpp, BloomFilterStrategies.MURMUR128_MITZ_64);
      }
    
      @VisibleForTesting
      static <T extends @Nullable Object> BloomFilter<T> create(
          Funnel<? super T> funnel, long expectedInsertions, double fpp, Strategy strategy) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. okhttp-sse/api/okhttp-sse.api

    	public static final field Companion Lokhttp3/sse/EventSource$Factory$Companion;
    	public static fun create (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory;
    	public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    }
    
    public final class okhttp3/sse/EventSource$Factory$Companion {
    	public final fun create (Lokhttp3/Call$Factory;)Lokhttp3/sse/EventSource$Factory;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

             * 1. Under Android, the built-in TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
             * 2. Under the JDK, the built-in TypeVariable implementation does not interoperate with
             * ours. Therefore, we have to be careful about whether we create our own TypeVariable:
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            assertTrue("SystemMonitorTarget should implement TimeoutTarget", TimeoutTarget.class.isAssignableFrom(SystemMonitorTarget.class));
        }
    
        public void test_constructor() {
            assertNotNull("Constructor should create instance", target);
            assertTrue("Instance should be of correct type", target instanceof SystemMonitorTarget);
            assertTrue("Instance should be a MonitorTarget", target instanceof MonitorTarget);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

             * 1. Under Android, the built-in TypeVariable implementation interoperates with ours.
             * Therefore, we can always create our own TypeVariable.
             *
             * 2. Under the JDK, the built-in TypeVariable implementation does not interoperate with
             * ours. Therefore, we have to be careful about whether we create our own TypeVariable:
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

              if (contentLength != -1) {
                System.out.format("%d%% done\n", (100 * bytesWritten) / contentLength);
              }
            }
          }
        };
    
        RequestBody requestBody = RequestBody.create(
          new File("docs/images/logo-square.png"),
          MEDIA_TYPE_PNG);
    
        Request request = new Request.Builder()
          .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

          listener: EventSourceListener,
        ): EventSource
    
        companion object {
          /**
           * Wraps a [Call.Factory] into [EventSource.Factory].
           */
          @JvmStatic
          @JvmName("create")
          fun Call.Factory.asEventSourceFactory(): Factory =
            Factory { request, listener ->
              val actualRequest =
                if (request.header("Accept") == null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CartesianList.java

    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
      private final transient int[] axesSizeProduct;
    
      static <E> List<List<E>> create(List<? extends List<? extends E>> lists) {
        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java

      private final MockWebServer server = new MockWebServer();
    
      @Test
      public void testEventSourceFactory() throws Exception {
        OkHttpClient client = new OkHttpClient();
        EventSource.Factory factory = EventSource.Factory.create(client);
        server.enqueue(
          new MockResponse.Builder()
            .body("data: hello\n\n")
            .setHeader("content-type", "text/event-stream")
            .build()
        );
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top