Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for UNUSED (0.04 seconds)

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

            QueryOp.create(
                "Map.get",
                (map, key) -> {
                  Object unused = map.get(key);
                },
                Math::log);
    
        static final QueryOp<Set<Object>> SET_CONTAINS =
            QueryOp.create(
                "Set.contains",
                (set, key) -> {
                  boolean unused = set.contains(key);
                },
                Math::log);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * application-specific ordering in addition to performing general cycle detection.
     *
     * <p><strong>Garbage Collection</strong>
     *
     * <p>In order to allow proper garbage collection of unused locks, the edges of the lock graph are
     * weak references.
     *
     * <p><strong>Performance</strong>
     *
     * <p>The extra bookkeeping done by cycle detecting locks comes at some cost to performance.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V, E, S> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
            AtomicReferenceArray<E> table = segment.table;
            for (int j = 0; j < table.length(); j++) {
              for (E e = table.get(j); e != null; e = e.getNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        long last = -1L;
        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
            AtomicReferenceArray<ReferenceEntry<K, V>> table = segment.table;
            for (int j = 0; j < table.length(); j++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                .get()
                .log(
                    SEVERE,
                    "Uh oh! An open ClosingFuture has leaked and will close: {0}",
                    closingFutureToString());
            FluentFuture<V> unused = finishToFuture();
          }
        }
    
        String closingFutureToString() {
          // TODO(dpb): Better toString, in the style of Futures.transform etc.
          return toStringHelper("ClosingFuture")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        long last = -1L;
        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
            AtomicReferenceArray<ReferenceEntry<K, V>> table = segment.table;
            for (int j = 0; j < table.length(); j++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V, E, S> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
            AtomicReferenceArray<E> table = segment.table;
            for (int j = 0; j < table.length(); j++) {
              for (E e = table.get(j); e != null; e = e.getNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
Back to Top