Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for Comment (0.23 sec)

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

    abstract class CollectionFuture<V extends @Nullable Object, C extends @Nullable Object>
        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    down a large rabbit-hole under the hedge.
    
      In another moment down went Alice after it, never once
    considering how in the world she was to get out again.
    
      The rabbit-hole went straight on like a tunnel for some way,
    and then dipped suddenly down, so suddenly that Alice had not a
    moment to think about stopping herself before she found herself
    falling down a very deep well.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectionTest.java

          if (supportsRemove) {
            int initialSize = map.size();
            map.get(keyToRemove);
            map.remove(keyToRemove);
            // This line doesn't hold - see the Javadoc comments above.
            // assertEquals(expectedValue, oldValue);
            assertFalse(map.containsKey(keyToRemove));
            assertEquals(initialSize - 1, map.size());
          } else {
            try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * Condition.signal}).
     *
     * <p>A thread is said to <i>occupy</i> a monitor if it has <i>entered</i> the monitor but not yet
     * <i>left</i>. Only one thread may occupy a given monitor at any moment. A monitor is also
     * reentrant, so a thread may enter a monitor any number of times, and then must leave the same
     * number of times. The <i>enter</i> and <i>leave</i> operations have the same synchronization
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         *     might be the keys' natural order)
         * @since 31.0
         */
        @Override
        @SuppressWarnings("unchecked") // see inline comments
        public ImmutableSortedMap<K, V> buildOrThrow() {
          switch (size) {
            case 0:
              return emptyMap(comparator);
            case 1:
              // We're careful to put only K and V instances in.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * roughly) 2.5s longer. (2.5s is also the maximum length of time we will wait for a timed get
       * that is expected to succeed; the fact that the numbers match is only a coincidence.) See the
       * comment below for how to restore the fast but hang-y version.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static List<String> conditionalPseudoTimedGetUninterruptibly(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * roughly) 2.5s longer. (2.5s is also the maximum length of time we will wait for a timed get
       * that is expected to succeed; the fact that the numbers match is only a coincidence.) See the
       * comment below for how to restore the fast but hang-y version.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static List<String> conditionalPseudoTimedGetUninterruptibly(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

      }
    
      private @Nullable Object[] requireValues() {
        return requireNonNull(values);
      }
    
      /*
       * The following methods are safe to call as long as the conditions in the *previous* comment are
       * met *and* the index is less than size().
       *
       * (The above explains when these methods are safe from a `nullness` perspective. From an
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

        keyToRemove = map.keySet().iterator().next();
        if (supportsRemove) {
          int initialSize = map.size();
          map.get(keyToRemove);
          map.remove(keyToRemove);
          // This line doesn't hold - see the Javadoc comments above.
          // assertEquals(expectedValue, oldValue);
          assertFalse(map.containsKey(keyToRemove));
          assertEquals(initialSize - 1, map.size());
        } else {
          try {
            map.remove(keyToRemove);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingObject.java

      /** Returns the string representation generated by the delegate's {@code toString} method. */
      @Override
      public String toString() {
        return delegate().toString();
      }
    
      /* No equals or hashCode. See class comments for details. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3K bytes
    - Viewed (0)
Back to top