Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Mees (0.14 sec)

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

      private static final class BelowAll extends Cut<Comparable<?>> {
        private static final BelowAll INSTANCE = new BelowAll();
    
        private BelowAll() {
          /*
           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

        protected SleepingStopwatch() {}
    
        /*
         * We always hold the mutex when calling this. TODO(cpovirk): Is that important? Perhaps we need
         * to guarantee that each call to reserveEarliestAvailable, etc. sees a value >= the previous?
         * Also, is it OK that we don't hold the mutex when sleeping?
         */
        protected abstract long readMicros();
    
        protected abstract void sleepMicrosUninterruptibly(long micros);
    
    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-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
      public void testTaskThrowsError() throws Exception {
        class MyError extends Error {}
        final CyclicBarrier barrier = new CyclicBarrier(2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * AtomicInteger results in zero, we compareAndSet the value to zero; if that succeeds, we remove
       * the entry from the Map. If another operation sees a zero in the map, it knows that the entry is
       * about to be removed, so this operation may remove it (often by replacing it with a new
       * AtomicInteger).
       */
    
      /** The number of occurrences of each element. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
         * the parameter and return type both to be platform types. As a result, Kotlin permits calls
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 41.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Cut.java

      private static final class BelowAll extends Cut<Comparable<?>> {
        private static final BelowAll INSTANCE = new BelowAll();
    
        private BelowAll() {
          /*
           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * AtomicInteger results in zero, we compareAndSet the value to zero; if that succeeds, we remove
       * the entry from the Map. If another operation sees a zero in the map, it knows that the entry is
       * about to be removed, so this operation may remove it (often by replacing it with a new
       * AtomicInteger).
       */
    
      /** The number of occurrences of each element. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

           * which we don't support anyway.
           */
          return nextIndex >= 0;
        }
    
        /**
         * Checks whether nextIndex is valid; if so setting nextItem. Stops iterator when either hits
         * putIndex or sees null item.
         */
        private void checkNext() {
          if (nextIndex == putIndex) {
            nextIndex = -1;
            nextItem = null;
          } else {
            nextItem = items[nextIndex];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
         * the parameter and return type both to be platform types. As a result, Kotlin permits calls
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
      public void testTaskThrowsError() throws Exception {
        class MyError extends Error {}
        final CyclicBarrier barrier = new CyclicBarrier(2);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
Back to top