Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for getNext (0.04 seconds)

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

              if (last == UNSET) {
                // we need to update the root link from table[]
                table[tableIndex] = getNext(entries[next]);
              } else {
                // we need to update the link from the chain
                entries[last] = swapNext(entries[last], getNext(entries[next]));
              }
    
              moveLastEntry(next);
              size--;
              modCount++;
              return oldValue;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * wish to override {@link #lower} to forward to this implementation.
       */
      protected @Nullable E standardLower(@ParametricNullness E e) {
        return Iterators.getNext(headSet(e, false).descendingIterator(), null);
      }
    
      @Override
      public @Nullable E floor(@ParametricNullness E e) {
        return delegate().floor(e);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/LocalCache.java

            ReferenceEntry<K, V> first, ReferenceEntry<K, V> entry) {
          int newCount = count;
          ReferenceEntry<K, V> newFirst = entry.getNext();
          for (ReferenceEntry<K, V> e = first; e != entry; e = e.getNext()) {
            ReferenceEntry<K, V> next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              removeCollectedEntry(e);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CompactHashing.java

      /** Returns the hash prefix given the current mask. */
      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
      static int maskCombine(int prefix, int suffix, int mask) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(entryIterator(), null);
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(descendingEntryIterator(), null);
      }
    
      @Override
      public @Nullable Entry<K, V> pollFirstEntry() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * @return the new first entry for the table
         */
        @GuardedBy("this")
        @Nullable E removeFromChain(E first, E entry) {
          int newCount = count;
          E newFirst = entry.getNext();
          for (E e = first; e != entry; e = e.getNext()) {
            E next = copyEntry(e, newFirst);
            if (next != null) {
              newFirst = next;
            } else {
              newCount--;
            }
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashing.java

      /** Returns the hash prefix given the current mask. */
      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
      static int maskCombine(int prefix, int suffix, int mask) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractNavigableMap.java

      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(entryIterator(), null);
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return Iterators.<@Nullable Entry<K, V>>getNext(descendingEntryIterator(), null);
      }
    
      @Override
      public @Nullable Entry<K, V> pollFirstEntry() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertThat(entryOne.getNext()).isNull();
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValue());
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(hashOne, entryOne.getHash());
          assertThat(entryOne.getNext()).isNull();
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValue());
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top