Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Krause (0.2 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

       */
      public void testLoadingExceptionWithCause() {
        final Exception cause = new Exception();
        final UncheckedExecutionException uee = new UncheckedExecutionException(cause);
        final ExecutionException ee = new ExecutionException(cause);
    
        LoadingCache<Object, Object> cacheUnchecked =
            CacheBuilder.newBuilder().build(exceptionLoader(uee));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          }
        }
    
        /**
         * Associates {@code key} with {@code value} in the built map. Duplicate keys, according to the
         * comparator (which might be the keys' natural order), are not allowed, and will cause {@link
         * #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          ensureCapacity(size + 1);
          checkEntryNotNull(key, value);
    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)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
    
        final boolean wasInterrupted;
        @CheckForNull final Throwable cause;
    
        Cancellation(boolean wasInterrupted, @CheckForNull Throwable cause) {
          this.wasInterrupted = wasInterrupted;
          this.cause = cause;
        }
      }
    
      /** A special value that encodes the 'setFuture' state. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

       */
      public void testLoadingExceptionWithCause() {
        final Exception cause = new Exception();
        final UncheckedExecutionException uee = new UncheckedExecutionException(cause);
        final ExecutionException ee = new ExecutionException(cause);
    
        LoadingCache<Object, Object> cacheUnchecked =
            CacheBuilder.newBuilder().build(exceptionLoader(uee));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause
       *       is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code
       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
    
        /**
         * Associates {@code key} with {@code value} in the built map. Duplicate keys, according to the
         * comparator (which might be the keys' natural order), are not allowed, and will cause {@link
         * #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                      }
                    }),
                executor);
    
        // Pause in step 2.
        step2Waiter.awaitStarted();
    
        // Everything should still be open.
        assertStillOpen(closeable1, closeable2, closeable3, closeable4);
    
        // Cancel step 3, resume step 2, and pause in step 4.
        assertWithMessage("step3.cancel()").that(step3.cancel(false)).isTrue();
        step2Waiter.awaitReturned();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * Tests that nHMWES makes hash maps large enough that adding the expected number of elements
       * won't cause a rehash.
       *
       * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
       * noted, but the initial table is a zero-length array.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        } catch (IllegalArgumentException expected) {
        }
      }
    
      /**
       * Tests that nHMWES makes hash maps large enough that adding the expected number of elements
       * won't cause a rehash.
       *
       * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
       * noted, but the initial table is a zero-length array.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily
         * cause a concurrent read operation to see inconsistent data. This is made easier by the
         * nature of the read operations in Map. For example, no operation can reveal that the table
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top