Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for index (0.12 sec)

  1. android/guava/src/com/google/common/cache/LocalCache.java

            preWriteCleanup(now);
    
            int newCount = this.count - 1;
            AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
            int index = hash & (table.length() - 1);
            ReferenceEntry<K, V> first = table.get(index);
    
            for (e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

            preWriteCleanup(now);
    
            int newCount = this.count - 1;
            AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
            int index = hash & (table.length() - 1);
            ReferenceEntry<K, V> first = table.get(index);
    
            for (e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       *     uniqueIndex(allColors, c -> c.toString());
       * assertThat(colorForName).containsEntry("red", red);
       * }</pre>
       *
       * <p>If your index may associate multiple values with each key, use {@link
       * Multimaps#index(Iterable, Function) Multimaps.index}.
       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

       *     uniqueIndex(allColors, c -> c.toString());
       * assertThat(colorForName).containsEntry("red", red);
       * }</pre>
       *
       * <p>If your index may associate multiple values with each key, use {@link
       * Multimaps#index(Iterable, Function) Multimaps.index}.
       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
Back to top