Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for hearts (0.24 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

              element = entry.getElement();
              remaining = entry.getCount();
            }
            remaining--;
            /*
             * requireNonNull is safe because `remaining` starts at 0, forcing us to initialize
             * `element` above. After that, we never clear it.
             */
            return requireNonNull(element);
          }
        };
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * fulfills the requests (e.g., a remote server) needs "warmup" time, rather than being
       * immediately accessed at the stable (maximum) rate.
       *
       * <p>The returned {@code RateLimiter} starts in a "cold" state (i.e. the warmup period will
       * follow), and if it is left unused for long enough, it will return to that state.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          next = (keyList == null) ? null : keyList.head;
        }
    
        /**
         * Constructs a new iterator over all values for the specified key starting at the specified
         * index. This constructor is optimized so that it starts at either the head or the tail,
         * depending on which is closer to the specified index. This allows adds to the tail to be done
         * in constant time.
         *
         * @throws IndexOutOfBoundsException if index is invalid
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(refreshKey + suffix, map.get(refreshKey));
      }
    
      public void testInvalidateDuringLoading() throws InterruptedException, ExecutionException {
        // computation starts; invalidate() is called on the key being computed, computation finishes
        final CountDownLatch computationStarted = new CountDownLatch(2);
        final CountDownLatch letGetFinishSignal = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            }
          };
    
      /**
       * A Throwable used to record a stack trace that illustrates an example of a specific lock
       * acquisition ordering. The top of the stack trace is truncated such that it starts with the
       * acquisition of the lock in question, e.g.
       *
       * <pre>
       * com...ExampleStackTrace: LockB -&gt; LockC
       *   at com...CycleDetectingReentrantLock.lock(CycleDetectingLockFactory.java:443)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

            totalCount = laterCount = currentEntry.getCount();
          }
          laterCount--;
          canRemove = true;
          /*
           * requireNonNull is safe because laterCount starts at 0, forcing us to initialize
           * currentEntry above. After that, we never clear it.
           */
          return requireNonNull(currentEntry).getElement();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Stopwatch.java

        return new Stopwatch(ticker);
      }
    
      /**
       * Creates (and starts) a new stopwatch using {@link System#nanoTime} as its time source.
       *
       * @since 15.0
       */
      public static Stopwatch createStarted() {
        return new Stopwatch().start();
      }
    
      /**
       * Creates (and starts) a new stopwatch, using the specified time source.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Service.java

       * service changes state. The listener will not have previous state changes replayed, so it is
       * suggested that listeners are added before the service starts.
       *
       * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not
       * across calls to multiple listeners. Specifically, a given listener will have its callbacks
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(refreshKey + suffix, map.get(refreshKey));
      }
    
      public void testInvalidateDuringLoading() throws InterruptedException, ExecutionException {
        // computation starts; invalidate() is called on the key being computed, computation finishes
        final CountDownLatch computationStarted = new CountDownLatch(2);
        final CountDownLatch letGetFinishSignal = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/JoinerTest.java

            }
          };
    
      private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) {
        assertEquals(expected, joiner.join(parts));
        assertEquals(expected, joiner.join(parts.iterator()));
    
        StringBuilder sb1FromIterable = new StringBuilder().append('x');
        joiner.appendTo(sb1FromIterable, parts);
        assertEquals("x" + expected, sb1FromIterable.toString());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
Back to top