Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isLiveForTesting (2.14 sec)

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

          for (int i = 0; i < table.length(); i++) {
            for (InternalEntry<K, V, ?> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLiveForTesting(e)) {
                result++;
              }
            }
          }
        }
        return result;
      }
    
      public void testClear() {
        MapMakerInternalMap<Object, Object, ?, ?> map =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          for (int i = 0; i < table.length(); i++) {
            for (InternalEntry<K, V, ?> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLiveForTesting(e)) {
                result++;
              }
            }
          }
        }
        return result;
      }
    
      public void testClear() {
        MapMakerInternalMap<Object, Object, ?, ?> map =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#getLiveValue}
       * instead.
       */
      @VisibleForTesting
      boolean isLiveForTesting(InternalEntry<K, V, ?> entry) {
        return segmentFor(entry.getHash()).getLiveValueForTesting(entry) != null;
      }
    
      /**
       * Returns the segment that should be used for a key with the given hash.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top