Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 441 for addMul (0.04 seconds)

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

          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public boolean addAll(Collection<? extends T> collection) {
          return standardAddAll(collection);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/EvictingQueue.java

        }
        delegate.add(e);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addAll(Collection<? extends E> collection) {
        int size = collection.size();
        if (size >= maxSize) {
          clear();
          return Iterables.addAll(this, Iterables.skip(collection, size - maxSize));
        }
        return standardAddAll(collection);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsAll(collection);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.addAll(collection);
        }
    
        @Override
        public boolean retainAll(Collection<?> collection) {
          assertTrue(Thread.holdsLock(mutex));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = new ArrayList<>(elementsInSet);
          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

                for (File jsonFile : jsonFiles) {
                    getLogger().info("Verifying documentation for file: {}", jsonFile.getName());
                    allErrors.addAll(findMissingAdocFiles(jsonFile, directoryPath));
                    allErrors.addAll(findMissingAnchors(jsonFile, allExistingAnchors));
                }
    
                if (!allErrors.isEmpty()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    if (existing != null) {
                        if (version == null) {
                            version = existing.getVersion();
                        }
                        execs.addAll(existing.getExecutions());
                        deps.addAll(existing.getDependencies());
                    }
    
                    PluginExecution execution = PluginExecution.newBuilder()
                            .id(getExecutionId(existing, goal))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            }
            builder.addAll(list);
          }
        },
        ADD_ITERABLE {
          @Override
          void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) {
            List<Integer> list = new ArrayList<>();
            int num = random.nextInt(10);
            for (int i = 0; i < num; i++) {
              list.add(counter.getAndIncrement());
            }
            builder.addAll(iterable(list));
          }
        },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      }
    
      public void testBuilderAddAll() {
        List<String> a = asList("a", "b", "c");
        List<String> b = asList("c", "d", "e");
        ImmutableSet<String> set = this.<String>builder().addAll(a).addAll(b).build();
        assertThat(set).containsExactly("a", "b", "c", "d", "e").inOrder();
      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

     * the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
     * the behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

            add.forEach((name, node) -> org.merge(name, node, this::merge));
            return org;
        }
    
        private BuildStep merge(BuildStep node1, BuildStep node2) {
            node1.predecessors.addAll(node2.predecessors);
            node1.successors.addAll(node2.successors);
            node2.mojos.forEach((k, v) -> node1.mojos.merge(k, v, this::mergeMojos));
            return node1;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top