Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fail (0.37 sec)

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

        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    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 {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    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/util/concurrent/ClosingFuture.java

        return whenAllComplete(asList(future1, moreFutures));
      }
    
      /**
       * Starts specifying how to combine {@link ClosingFuture}s into a single pipeline, assuming they
       * all succeed. If any fail, the resulting pipeline will fail.
       *
       * @throws IllegalStateException if a {@code ClosingFuture} has already been derived from any of
       *     the {@code futures}, or if any has already been {@linkplain #finishToFuture() finished}
       */
    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)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(key, identityLoader()); // recursive load, this should fail
              }
            };
        testLoadThrows(key, cache, loader);
      }
    
      public void testRecursiveLoadWithProxy() throws InterruptedException {
        String key = "key";
        String otherKey = "otherKey";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(key, identityLoader()); // recursive load, this should fail
              }
            };
        testLoadThrows(key, cache, loader);
      }
    
      public void testRecursiveLoadWithProxy() throws InterruptedException {
        String key = "key";
        String otherKey = "otherKey";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    fell past it.
    
      `Well!' thought Alice to herself, `after such a fall as this, I
    shall think nothing of tumbling down stairs!  How brave they'll
    all think me at home!  Why, I wouldn't say anything about it,
    even if I fell off the top of the house!' (Which was very likely
    true.)
    
      Down, down, down.  Would the fall NEVER come to an end!  `I
    wonder how many miles I've fallen by this time?' she said aloud.
    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)
  7. guava/src/com/google/common/cache/LocalCache.java

                    tailIndex = newIndex;
                    tail = e;
                  }
                }
                newTable.set(tailIndex, tail);
    
                // Clone nodes leading up to the tail.
                for (ReferenceEntry<K, V> e = head; e != tail; e = e.getNext()) {
                  int newIndex = e.getHash() & newMask;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

                    tailIndex = newIndex;
                    tail = e;
                  }
                }
                newTable.set(tailIndex, tail);
    
                // Clone nodes leading up to the tail.
                for (ReferenceEntry<K, V> e = head; e != tail; e = e.getNext()) {
                  int newIndex = e.getHash() & newMask;
    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)
  9. android/guava/src/com/google/common/collect/Maps.java

        while (keys.hasNext()) {
          K key = keys.next();
          builder.put(key, valueFunction.apply(key));
        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
       * Returns a map with the given {@code values}, indexed by keys derived from those values. In
    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)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    fell past it.
    
      `Well!' thought Alice to herself, `after such a fall as this, I
    shall think nothing of tumbling down stairs!  How brave they'll
    all think me at home!  Why, I wouldn't say anything about it,
    even if I fell off the top of the house!' (Which was very likely
    true.)
    
      Down, down, down.  Would the fall NEVER come to an end!  `I
    wonder how many miles I've fallen by this time?' she said aloud.
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top