Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 225 for stats (0.12 sec)

  1. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * AsyncFunction.apply}. Any heavyweight operations should occur in other threads responsible for
       * completing the returned {@code Future}.)
       *
       * <p>The returned {@code Future} attempts to keep its cancellation state in sync with that of the
       * input future and that of the future returned by the chain function. That is, if the returned
       * {@code Future} is cancelled, it will attempt to cancel the other two, and if either of the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
      // clean up these threads.
      @SuppressWarnings("deprecation")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      /**
       * {@inheritDoc}
       *
       * <p>This method returns a serializable {@code ImmutableSortedSet}.
       *
       * <p>The {@link SortedSet#headSet} documentation states that a subset of a subset throws an
       * {@link IllegalArgumentException} if passed a {@code toElement} greater than an earlier {@code
       * toElement}. However, this method doesn't throw an exception in that situation, but instead
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

            || validSurrogatePairAt(b, b.length() - s - 1)) {
          s--;
        }
        return a.subSequence(a.length() - s, a.length()).toString();
      }
    
      /**
       * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}.
       * Out-of-range indexes return false.
       */
      @VisibleForTesting
      static boolean validSurrogatePairAt(CharSequence string, int index) {
        return index >= 0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. 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)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
         * properly update its state.
         */
        void promoteToNext(E e) {
          if (nextElements.remove(e)) {
            nextElements.push(e);
          } else {
            throw new UnknownElementException(nextElements, e);
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimap.java

     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
     * <p>Much of the power of the multimap API comes from the <i>view collections</i> it provides.
     * These always reflect the latest state of the multimap itself. When they support modification, the
     * changes are <i>write-through</i> (they automatically update the backing multimap). These view
     * collections are:
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Ascii.java

       * a response from a remote station. It may be used as a "Who Are You" (WRU) to obtain
       * identification, or may be used to obtain station status, or both.
       *
       * @since 8.0
       */
      public static final byte ENQ = 5;
    
      /**
       * Acknowledge: A communication control character transmitted by a receiver as an affirmative
       * response to a sender.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  10. 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)
Back to top