Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 874 for add2 (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          ExecutionListWrapper newExecutionList() {
            return new ExecutionListWrapper() {
              final ExecutionList list = new ExecutionList();
    
              @Override
              public void add(Runnable runnable, Executor executor) {
                list.add(runnable, executor);
              }
    
              @Override
              public void execute() {
                list.execute();
              }
    
              @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

        assertEquals(originalCount, getMultiset().add(e0(), 2));
        assertTrue(getMultiset().add(e0()));
        assertEquals(originalCount + 3, getMultiset().add(e0(), 1));
        assertEquals(originalCount + 4, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddOccurrences_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0(), 2));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            addEdge(graph3, "f", "g");
            List<String> expected3 = new ArrayList<>();
            expected3.add("d");
            expected3.add("g");
            expected3.add("f");
            expected3.add("e");
            expected3.add("c");
            expected3.add("b");
            expected3.add("a");
            List<String> actual3 = graph3.visitAll();
            assertEquals(expected3, actual3);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        features.add(CollectionFeature.SUBSET_VIEW);
        if (features.remove(CollectionFeature.ALLOWS_NULL_VALUES)) {
          // the null value might be out of bounds, so we can't always construct a subset with nulls
          features.add(CollectionFeature.ALLOWS_NULL_QUERIES);
          // but add null might still be supported if it happens to be within range of the subset
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testCollectionCreate() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(ListMultimapAsMapTester.class);
        testers.add(ListMultimapEqualsTester.class);
        testers.add(ListMultimapPutTester.class);
        testers.add(ListMultimapPutAllTester.class);
        testers.add(ListMultimapRemoveTester.class);
        testers.add(ListMultimapReplaceValuesTester.class);
        return testers;
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

      public void testRunOnPopulatedList() throws Exception {
        Executor exec = newCachedThreadPool();
        CountDownLatch countDownLatch = new CountDownLatch(3);
        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
        assertEquals(3L, countDownLatch.getCount());
    
        list.execute();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

        buildList {
          add(buildGoogle(client))
          if (!getOnly) {
            add(buildGooglePost(client))
          }
          add(buildCloudflare(client))
          add(buildCloudflareIp(client))
          if (!getOnly) {
            add(buildCloudflarePost(client))
          }
          if (!workingOnly) {
            // result += buildCleanBrowsing(client); // timeouts
            add(buildCryptoSx(client)) // 521 - server down
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        ImmutableSet.Builder<Object> builder = ImmutableSet.builderWithExpectedSize(6);
        builder.add(0);
        ImmutableSet<Object> unused = builder.build();
        ImmutableSet<Object> subject = builder.add(1).add(2).add(3).build();
        assertFalse(subject.contains(4));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.21.md

      - Add build support for ARM64
      
      ### AliCloud
      - Add missing daemonsets and replicasets to ALI example cluster role
      
      ### Apache CloudStack
      - Add support for Apache CloudStack
      
      ### AWS
      - Regenerate list of EC2 instances
      - Fix pricing endpoint in AWS China Region
      
      ### Azure
      - Add optional jitter on initial VMSS VM cache refresh, keep the refreshes spread over time
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
Back to Top