Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 806 for checkers (0.11 seconds)

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

      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public void runWithTimeout(Runnable runnable, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(runnable);
        checkNotNull(timeoutUnit);
        try {
          runnable.run();
        } catch (Exception e) { // sneaky checked exception
          throw new UncheckedExecutionException(e);
        } catch (Error e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          queue.add(submittedTask);
          workerRunningState = QUEUING;
        }
    
        try {
          executor.execute(worker);
        } catch (Throwable t) {
          // Any Exception is either a RuntimeException or sneaky checked exception.
          synchronized (queue) {
            boolean removed =
                (workerRunningState == IDLE || workerRunningState == QUEUING)
                    && queue.removeLastOccurrence(submittedTask);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          queue.add(submittedTask);
          workerRunningState = QUEUING;
        }
    
        try {
          executor.execute(worker);
        } catch (Throwable t) {
          // Any Exception is either a RuntimeException or sneaky checked exception.
          synchronized (queue) {
            boolean removed =
                (workerRunningState == IDLE || workerRunningState == QUEUING)
                    && queue.removeLastOccurrence(submittedTask);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

      }
    
      @Override
      public @Nullable Object[] toArray() {
        return ObjectArrays.toArrayImpl(this);
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] a) {
        return ObjectArrays.toArrayImpl(this, a);
      }
    
      @Override
      public void clear() {
        if (needsAllocArrays()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      }
    
      @Override
      public @Nullable Object[] toArray() {
        return ObjectArrays.toArrayImpl(this);
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] a) {
        return ObjectArrays.toArrayImpl(this, a);
      }
    
      @Override
      public Spliterator<E> spliterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          }
        }
    
        /*
         * TODO(cpovirk): `return (V) removedValue` once our checker permits that.
         *
         * (We promoted a class of warnings into errors because sometimes they indicate real problems.
         * But now we need to "undo" some instance of spurious errors, as discussed in
         * https://github.com/jspecify/checker-framework/issues/8.)
         */
        return removedValue == null ? null : (V) removedValue;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CollectCollectors.java

                    }),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
               * nullness checker.
               */
              K key = keyFunction.apply(t);
              V newValue = valueFunction.apply(t);
              accum.put(
                  checkNotNull(key, "Null key for input %s", t),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. .github/workflows/scorecards-analysis.yml

    on:
      # For Branch-Protection check. Only the default branch is supported. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
      branch_protection_rule:
      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '26 3 * * 2'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    /**
     * Validator implementation for URI type constraints.
     * This validator checks URI strings against specified protocol types.
     */
    public class UriTypeValidator implements ConstraintValidator<UriType, String> {
    
        /**
         * Default constructor for UriTypeValidator.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public final void test() {
        try {
          recurse(0);
        } catch (Exception e) { // sneaky checked exception
          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      private void recurse(int level) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 20.8K bytes
    - Click Count (0)
Back to Top