Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 2,345 for add (0.02 sec)

  1. android/guava/src/com/google/common/collect/AbstractMultiset.java

        return count(element) > 0;
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public final boolean add(@ParametricNullness E element) {
        add(element, 1);
        return true;
      }
    
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

              @Override
              public void execute(Runnable task) {
                manualExecutorTask[0] = task;
              }
            };
    
        results.add(serializer.submit(Callables.returning(null), manualExecutor));
        final Future<?>[] thingToCancel = new Future<?>[1];
        results.add(
            serializer.submit(
                new Callable<@Nullable Void>() {
                  @Override
                  public @Nullable Void call() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multiset.java

       * element, and the overall size of the collection, by one.
       *
       * <p>To both add the element and obtain the previous count of that element, use {@link
       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
       * @return {@code true} always, since this call is required to modify the multiset, unlike other
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                                if (newItem != null) {
                                    itemList.add(newItem);
                                } else {
                                    id--;
                                }
                            } else {
                                itemList.add(item);
                            }
                        }
                    } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java

            stemmerOverrideFile = new StemmerOverrideFile("1", "dummy", new Date());
            List<StemmerOverrideItem> itemList = new ArrayList<>();
            itemList.add(new StemmerOverrideItem(1, "aaa", "a"));
            itemList.add(new StemmerOverrideItem(2, "bbb", "b"));
            itemList.add(new StemmerOverrideItem(3, "ccc", "c"));
            stemmerOverrideFile.stemmerOverrideItemList = itemList;
        }
    
        public void test_selectList() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        builder.add(Range.<Integer>all());
    
        // Add one-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType type : BoundType.values()) {
            builder.add(Range.upTo(i, type));
            builder.add(Range.downTo(i, type));
          }
        }
    
        // Add two-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
          if (!elementsInSet.contains(candidate)) {
            queryList.add(candidate);
          }
        }
        shuffle(queryList, random);
        return queryList.toArray(new Element[0]);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    ```sh
    git clone https://github.com/minio/minio
    cd minio
    go install -v
    ls $(go env GOPATH)/bin/minio
    ```
    
    ### Set up git remote as ``upstream``
    
    ```sh
    $ cd minio
    $ git remote add upstream https://github.com/minio/minio
    $ git fetch upstream
    $ git merge upstream/master
    ...
    ```
    
    ### Create your feature branch
    
    Before making code changes, make sure you create a separate branch for these changes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 05 18:35:53 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. cmd/endpoint.go

    // legacy deployments.
    func (l EndpointServerPools) Legacy() bool {
    	return len(l) == 1 && l[0].Legacy
    }
    
    // Add add pool endpoints
    func (l *EndpointServerPools) Add(zeps PoolEndpoints) error {
    	existSet := set.NewStringSet()
    	for _, zep := range *l {
    		for _, ep := range zep.Endpoints {
    			existSet.Add(ep.String())
    		}
    	}
    	// Validate if there are duplicate endpoints across serverPools
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        List<E> expected = Helpers.copyToList(getOrderedElements());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top