Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for esbuild (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        builder.add("baz");
        assertTrue(set.elements != builder.contents);
      }
    
      public void testReuseBuilderReducingHashTableSizeWithPowerOfTwoTotalElements() {
        ImmutableSet.Builder<Object> builder = ImmutableSet.builderWithExpectedSize(6);
        builder.add(0);
        ImmutableSet<Object> unused = builder.build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.unordered()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.unordered());
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.stable()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      @J2ktIncompatible
      @GwtIncompatible // doesn't build without explicit type parameters on build() methods
      public void testGenerics() {
        ListMultimap<String, Integer> a = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> b = MultimapBuilder.linkedHashKeys().treeSetValues().build();
        SetMultimap<String, Integer> c =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/PackageSanityTests.java

          NetworkBuilder.directed().<String, String>immutable().addNode("A").build();
      private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B =
          NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
    
      public PackageSanityTests() {
        MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build();
        mutableNetworkA.addNode("a");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                    .put("bar", 2)
                    .put("foo", 1)
                    .put("foo", 3)
                    .build())
            .addEqualityGroup(
                ImmutableListMultimap.<String, Integer>builder()
                    .put("bar", 2)
                    .put("foo", 3)
                    .put("foo", 1)
                    .build())
            .addEqualityGroup(
                ImmutableListMultimap.<String, Integer>builder()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(7, multimap.size());
      }
    
      public void testBuilderPutWithDuplicates() {
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
        builder.putAll("foo", 1, 2, 3);
        builder.putAll("bar", 4, 5);
        builder.put("foo", 1);
        ImmutableSetMultimap<String, Integer> multimap = builder.build();
        assertEquals(5, multimap.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final ExecutionException ee = new ExecutionException(cause);
    
        LoadingCache<Object, Object> cacheUnchecked =
            CacheBuilder.newBuilder().build(exceptionLoader(uee));
        LoadingCache<Object, Object> cacheChecked =
            CacheBuilder.newBuilder().build(exceptionLoader(ee));
    
        try {
          cacheUnchecked.get(new Object());
          fail();
        } catch (ExecutionException e) {
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/NullCacheTest.java

      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        LoadingCache<String, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(EXPIRING_TIME, MILLISECONDS)
                .removalListener(removalListener)
                .ticker(ticker)
                .build(loader);
        checkExpiration(cache, loader, ticker, removalListener);
      }
    
      public void testExpiration_expireAfterAccess() {
        FakeTicker ticker = new FakeTicker();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *         .put("one", 1)
       *         .putAll("several", 1, 2, 3)
       *         .putAll("many", 1, 2, 3, 4, 5)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple multimaps in series. Each multimap contains the key-value mappings in the previously
       * created multimaps.
       *
       * @since 2.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
Back to top