Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for checkKey (0.13 sec)

  1. cmd/iam.go

    				iamLogIf(ctx, logErr)
    			}
    		}
    	}
    	return skipped, nil
    }
    
    // CheckKey validates the incoming accessKey
    func (sys *IAMSys) CheckKey(ctx context.Context, accessKey string) (u UserIdentity, ok bool, err error) {
    	if !sys.Initialized() {
    		return u, false, nil
    	}
    
    	if accessKey == globalActiveCred.AccessKey {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/advanced-dependencies.md

    ## Use the instance as a dependency
    
    Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself.
    
    And when solving the dependency, **FastAPI** will call this `checker` like:
    
    ```Python
    checker(q="somequery")
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings({
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      "ShortCircuitBoolean",
      "nullness", // TODO(b/147136275): Remove once our checker understands & and |.
    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.catching*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings({
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      "ShortCircuitBoolean",
      "nullness", // TODO(b/147136275): Remove once our checker understands & and |.
    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                        && versionRangeResult.getVersionConstraint().getRange() != null
                        && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) {
                    // Message below is checked for in the MNG-2199 core IT.
                    throw new UnresolvableModelException(
                            String.format(
                                    "The requested parent version range '%s' does not specify an upper bound",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. 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);
        }
      }
    
      public void testForEachRemaining() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *       RuntimeException} (though {@code get} implementations are discouraged from throwing such
       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to continue to treat every checked exception as a checked
       * exception, every unchecked exception as an unchecked exception, and every error as an error. In
       * addition, the cause of any {@code ExecutionException} is wrapped in order to ensure that the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

    import com.google.common.collect.testing.AbstractMapTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /** Skeleton for a tester of a {@code BiMap}. */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Futures.java

       *       RuntimeException} (though {@code get} implementations are discouraged from throwing such
       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to continue to treat every checked exception as a checked
       * exception, every unchecked exception as an unchecked exception, and every error as an error. In
       * addition, the cause of any {@code ExecutionException} is wrapped in order to ensure that the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
Back to top