Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for throwing (0.07 sec)

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

       * computation is complete.
       *
       * <p>Exceptions thrown by a {@code callback} will be propagated up to the executor. Any exception
       * thrown during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an
       * exception thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught
       * and logged.
       *
       * <p>Example:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
    
        Object value = new Object();
        // callable is not called
        assertSame(key, cache.get(key, throwing(new Exception())));
        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Futures.java

       * computation is complete.
       *
       * <p>Exceptions thrown by a {@code callback} will be propagated up to the executor. Any exception
       * thrown during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an
       * exception thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught
       * and logged.
       *
       * <p>Example:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

          s.addValue("removalListener");
        }
        return s.toString();
      }
    
      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * However, this method doesn't throw an exception in that situation, but instead keeps the
       * original {@code fromKey}. Similarly, this method keeps the original {@code toKey}, instead of
       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
      public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

          s.addValue("removalListener");
        }
        return s.toString();
      }
    
      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * However, this method doesn't throw an exception in that situation, but instead keeps the
       * original {@code fromKey}. Similarly, this method keeps the original {@code toKey}, instead of
       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
      public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        when the URL is malformed instead of returning null. Use this to avoid checking for null in
        situations where the input is known to be well-formed. We've also added `MediaType.get(String)`
        which is an exception-throwing alternative to `MediaType.parse(String)`.
     *  New: The `EventListener` API previewed in OkHttp 3.9 has graduated to a stable API. Use this
        interface to track metrics and monitor HTTP requests' size and duration.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

    REGISTER_OP("TestNonCommUnavailable")
        .Output("out: string")
        .Doc(R"doc(Test non-communication op throwing Unavailable error.)doc");
    
    REGISTER_OP("TestCommUnavailable")
        .Output("out: string")
        .SetIsDistributedCommunication()
        .Doc(R"doc(Test communication op throwing Unavailable error.)doc");
    
    // Kernel that throws an Unavailable error.
    class TestUnavailableErrorOp : public tensorflow::OpKernel {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    						})
    					})
    					// Healing is triggered and we have written
    					// successfully the content to client for
    					// the specific part, we should `nil` this error
    					// and proceed forward, instead of throwing errors.
    					err = nil
    				}
    			}
    			if err != nil {
    				return toObjectErr(err, bucket, object)
    			}
    		}
    		// Track total bytes read from disk and written to the client.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top