Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FAILURE (0.17 sec)

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

      }
    
      public void testNonCancellationPropagating_failure() throws Exception {
        SettableFuture<Foo> input = SettableFuture.create();
        ListenableFuture<Foo> wrapper = nonCancellationPropagating(input);
        Throwable failure = new Throwable("thrown");
    
        assertFalse(wrapper.isDone());
        input.setException(failure);
        try {
          getDone(wrapper);
          fail();
    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)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testNonCancellationPropagating_failure() throws Exception {
        SettableFuture<Foo> input = SettableFuture.create();
        ListenableFuture<Foo> wrapper = nonCancellationPropagating(input);
        Throwable failure = new Throwable("thrown");
    
        assertFalse(wrapper.isDone());
        input.setException(failure);
        try {
          getDone(wrapper);
          fail();
    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)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * <p>If the combiningCallable throws an {@code ExecutionException}, the cause of the thrown
         * {@code ExecutionException} will be extracted and used as the failure of the derived step.
         *
         * <p>If the combiningCallable throws any other exception, it will be used as the failure of the
         * derived step.
         *
         * <p>If an exception is thrown after the combiningCallable creates a {@code ClosingFuture},
    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/src/com/google/common/cache/LocalCache.java

        boolean nullsPresent = false;
        for (Entry<K, V> entry : result.entrySet()) {
          K key = entry.getKey();
          V value = entry.getValue();
          if (key == null || value == null) {
            // delay failure until non-null entries are stored
            nullsPresent = true;
          } else {
            put(key, value);
          }
        }
    
        if (nullsPresent) {
    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)
  5. android/guava/src/com/google/common/collect/Maps.java

       *   Iterator<Long> it = set.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned bimap will be serializable if the specified bimap is serializable.
       *
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        boolean nullsPresent = false;
        for (Entry<K, V> entry : result.entrySet()) {
          K key = entry.getKey();
          V value = entry.getValue();
          if (key == null || value == null) {
            // delay failure until non-null entries are stored
            nullsPresent = true;
          } else {
            put(key, value);
          }
        }
    
        if (nullsPresent) {
    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