Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for entryIndex (0.11 sec)

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

          checkForConcurrentModification();
          return entryIndex >= 0;
        }
    
        @Override
        @ParametricNullness
        public T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          T result = result(entryIndex);
          toRemove = entryIndex;
          entryIndex = backingMap.nextIndex(entryIndex);
          return result;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashing.java

        }
        int hashPrefix = getHashPrefix(hash, mask);
        int lastEntryIndex = -1;
        do {
          int entryIndex = next - 1;
          int entry = entries[entryIndex];
          if (getHashPrefix(entry, mask) == hashPrefix
              && Objects.equal(key, keys[entryIndex])
              && (values == null || Objects.equal(value, values[entryIndex]))) {
            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

        val target = (codePoint and 0x1fff80) shr 7
        val offset =
          binarySearch(
            position = 0,
            limit = sections.length / 4,
          ) { index ->
            val entryIndex = index * 4
            val b0b1 = sections.read14BitInt(entryIndex)
            return@binarySearch target.compareTo(b0b1)
          }
    
        return when {
          offset >= 0 -> offset * 4 // This section was found by binary search.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashing.java

        }
        int hashPrefix = getHashPrefix(hash, mask);
        int lastEntryIndex = -1;
        do {
          int entryIndex = next - 1;
          int entry = entries[entryIndex];
          if (getHashPrefix(entry, mask) == hashPrefix
              && Objects.equal(key, keys[entryIndex])
              && (values == null || Objects.equal(value, values[entryIndex]))) {
            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void accessEntry(int index) {
        if (accessOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) {
        super.insertEntry(entryIndex, object, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void moveLastEntry(int dstIndex, int mask) {
        int srcIndex = size() - 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top