Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 356 for checkDep (0.2 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a
     * single-element sorted set.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/advanced-dependencies.md

    ```Python hl_lines="16"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。
    
    ## 把实例作为依赖项
    
    然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。
    
    处理依赖项时,**FastAPI** 以如下方式调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    
    ……并用*路径操作函数*的参数 `fixed_content_included` 返回依赖项的值:
    
    ```Python hl_lines="20"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:26:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. .idea/misc.xml

              <item index="10" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableDecl" />
              <item index="11" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableType" />
              <item index="12" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.Nullable" />
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 19:23:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy

                    }
                }
                configurations.conf.resolutionStrategy {
                    force 'org:foo:1.0'
                }
            """
    
            when:
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    constraint("org:foo:1.1","org:foo:1.0")
                    module("org:bar:1.0") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tests/associations_has_one_test.go

    	if err := DB.Create(&pet).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckPet(t, pet, pet)
    
    	// Find
    	var pet2 Pet
    	DB.Find(&pet2, "id = ?", pet.ID)
    	DB.Model(&pet2).Association("Toy").Find(&pet2.Toy)
    	CheckPet(t, pet2, pet)
    
    	// Count
    	AssertAssociationCount(t, pet, "Toy", 1, "")
    
    	// Append
    	toy := Toy{Name: "toy-has-one-append"}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. pkg/kube/labels/labels.go

    // - service.istio.io/canonical-revision
    //
    // If the labels are not in the map, a set of fallbacks are checked. For canonical name,
    // `app.kubernetes.io/name` is checked, then `app`, evenutually falling back to the
    // supplied `workloadName`. For canonical revision, `app.kubernetes.io/version` is checked,
    // followed by `version` and finally defaulting to the literal value of `"latest"`.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/advanced-dependencies.md

    ## Die Instanz als Abhängigkeit verwenden
    
    Dann könnten wir diesen `checker` in einem `Depends(checker)` anstelle von `Depends(FixedContentQueryChecker)` verwenden, da die Abhängigkeit die Instanz `checker` und nicht die Klasse selbst ist.
    
    Und beim Auflösen der Abhängigkeit ruft **FastAPI** diesen `checker` wie folgt auf:
    
    ```Python
    checker(q="somequery")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:49 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/conversions.go

    // may be set to the cause for the failure.
    // The check parameter may be nil if convertibleTo is invoked through an
    // exported API call, i.e., when all methods have been type-checked.
    func (x *operand) convertibleTo(check *Checker, T Type, cause *string) bool {
    	// "x is assignable to T"
    	if ok, _ := x.assignableTo(check, T, cause); ok {
    		return true
    	}
    
    	origT := T
    	V := Unalias(x.typ)
    	T = Unalias(T)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
     * wrapping a checked exception, prefer {@code ExecutionException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

    import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A helper which does some thread-safe operations for aggregate futures, which must be implemented
     * differently in GWT. Namely:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top