Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for github (0.19 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          futureResult.get();
          fail();
        } catch (CancellationException expected) {
        }
        // TODO(cpovirk): implement interruption, updating this test:
        // https://github.com/google/guava/issues/1989
        assertEquals(1, gotException.getCount());
        // gotException.await();
      }
    
      public void testTransformAsync_cancelPropagatesToAsyncOutput() throws Exception {
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          futureResult.get();
          fail();
        } catch (CancellationException expected) {
        }
        // TODO(cpovirk): implement interruption, updating this test:
        // https://github.com/google/guava/issues/1989
        assertEquals(1, gotException.getCount());
        // gotException.await();
      }
    
      public void testTransformAsync_cancelPropagatesToAsyncOutput() throws Exception {
    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)
  3. android/guava/src/com/google/common/collect/Maps.java

           * bugs are themselves just symptoms of the same underlying problem):
           *
           * https://github.com/typetools/checker-framework/issues/3030
           *
           * https://github.com/typetools/checker-framework/issues/3236
           */
          String key = (String) requireNonNull(e.nextElement());
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * AutoCloseable}. For users of the {@code -android} flavor, the object must be a {@code
         * Closeable}. (For more about the flavors, see <a
         * href="https://github.com/google/guava#adding-guava-to-your-build">Adding Guava to your
         * build</a>.)
         *
         * <p>Be careful when targeting an older SDK than you are building against (most commonly when
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      long longSize() {
        Segment<K, V>[] segments = this.segments;
        long sum = 0;
        for (Segment<K, V> segment : segments) {
          sum += Math.max(0, segment.count); // see https://github.com/google/guava/issues/2108
        }
        return sum;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(longSize());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top