Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 202 for checkKey (0.2 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

        }
    
        private void add(@Nullable Object[] elements, int n) {
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          this.adder = adder;
        }
    
        @Override
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        public int add(int a, int b) {
          try {
            return adder.add(a, b);
          } catch (Exception e) { // sneaky checked exception
            // swallow!
            return 0;
          }
        }
    
        @Override
        public String toString() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. CLAUDE.md

    ### Exception Hierarchy
    
    ```
    CrawlerSystemException (unchecked)  # Setup/config errors
    CrawlingAccessException (checked)   # Runtime crawl errors
      ├─ MaxLengthExceededException
      └─ ChildUrlsException
    ExtractException (checked)          # Extraction failures
      └─ UnsupportedExtractException
    ```
    
    ### Thread-Local Storage
    
    ```java
    // Set (in CrawlerThread)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

       * RuntimeException}, {@link Error}, {@code declaredType1}, or {@code declaredType2}.
       *
       * @param throwable the Throwable to possibly propagate
       * @param declaredType1 any checked exception type declared by the calling method
       * @param declaredType2 any other checked exception type declared by the calling method
       * @deprecated Use a combination of two calls to {@link #throwIfInstanceOf} and one call to {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

     */
    package org.codelibs.fess.exception;
    
    import jakarta.servlet.ServletException;
    
    /**
     * Runtime exception wrapper for ServletException.
     *
     * This exception is used to wrap checked ServletExceptions and convert them
     * into unchecked RuntimeExceptions, allowing them to be thrown from methods
     * that don't declare ServletException in their throws clause.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

     *
     * @param <K> the base key type
     * @param <V> the base value type
     * @author Charles Fry
     * @author Jon Donovan
     */
    @NullUnmarked
    @SuppressWarnings("nullness") // TODO: b/384945891 - Remove after fixing checker.
    public class LocalCache<K, V> implements ConcurrentMap<K, V> {
      private static final int UNSET_INT = CacheBuilder.UNSET_INT;
    
      private final LinkedHashMap<K, Timestamped<V>> cachingHashMap;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          this.adder = adder;
        }
    
        @Override
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        public int add(int a, int b) {
          try {
            return adder.add(a, b);
          } catch (Exception e) { // sneaky checked exception
            // swallow!
            return 0;
          }
        }
    
        @Override
        public String toString() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConsumingQueueIterator.java

      ConsumingQueueIterator(Queue<T> queue) {
        this.queue = checkNotNull(queue);
      }
    
      @Override
      protected @Nullable T computeNext() {
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (queue.isEmpty()) {
          return endOfData();
        }
        return queue.remove();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/ParametricNullness.java

     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top