Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 958 for eleven (0.03 seconds)

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

        // to the full hashcode reflects the change, and so that its `next` link corresponds to the new
        // linked list of entries with the new short hash.
        for (int oldTableIndex = 0; oldTableIndex <= oldMask; oldTableIndex++) {
          int oldNext = CompactHashing.tableGet(oldTable, oldTableIndex);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

        ToOptionalState<T> combine(ToOptionalState<T> other) {
          if (element == null) {
            return other;
          } else if (other.element == null) {
            return this;
          } else {
            if (extras.isEmpty()) {
              // Replace immutable empty list with mutable list.
              extras = new ArrayList<>();
            }
            extras.add(other.element);
            extras.addAll(other.extras);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        int entryIndex = backingMap.indexOf(element);
        if (entryIndex == -1) {
          backingMap.put(element, occurrences);
          size += occurrences;
          return 0;
        }
        int oldCount = backingMap.getValue(entryIndex);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

          return unfiltered.add(element, occurrences);
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(element);
          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Multisets.java

          return unfiltered.add(element, occurrences);
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(element);
          } else {
            return contains(element) ? unfiltered.remove(element, occurrences) : 0;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * Adds an element to the beginning of a sequenced collection.
         *
         * @param <E> the element type
         * @param collection the sequenced collection
         * @param element the element to add
         * @since Java 21
         */
        public static <E> void addFirst(final SequencedCollection<E> collection, final E element) {
            collection.addFirst(element);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

            for (Element element : classDoc.getComment()) {
                parent.appendChild(document.importNode(element, true));
            }
            NodeList otherContent = classDoc.getClassSection().getChildNodes();
            for (int i = 0; i < otherContent.getLength(); i++) {
                Node child = otherContent.item(i);
                if (child instanceof Element && !((Element) child).getTagName().equals("section")) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                listener.warning(String.format("Unsupported HTML element <%s>", elementName));
                Element element = document.createElement("UNHANDLED-ELEMENT");
                element.appendChild(document.createTextNode(String.format("<%s>", elementName)));
                nodes.push(element);
                return true;
            }
    
            @Override
            public void onText(String text) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        final int hash;
    
        Element(int hash) {
          this.hash = hash;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
    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)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            List<Element> valueTitles = new ArrayList<Element>();
            for (int i = 1; i < header.size(); i++) {
                Element element = header.get(i);
                Element override = findChild(element, "overrides");
                if (override != null) {
                    element.removeChild(override);
                    inheritedValueTitleMapping.put(override.getTextContent(), element);
                }
                Node firstChild = element.getFirstChild();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
Back to Top