Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,938 for Chen (0.16 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    name: str
    ```
    
    Keep these in mind, so you don't get confused when using `=` and `:` with them.
    
    ### Create Pydantic *models* / schemas for reading / returning
    
    Now create Pydantic *models* (schemas) that will be used when reading data, when returning it from the API.
    
    For example, before creating an item, we don't know what will be the ID assigned to it, but when reading it (when returning it from the API) we will already know its ID.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. tests/count_test.go

    		t.Errorf("count with join, got error: %v, count %v", err, count)
    	}
    
    	var count6 int64
    	if err := DB.Model(&User{}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Select(
    		"(CASE WHEN name=? THEN ? ELSE ? END) as name", "count-1", "main", "other",
    	).Count(&count6).Find(&users).Error; err != nil || count6 != 3 {
    		t.Fatalf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  4. doc/godebug.md

    Using `panicnil=1` restores the behavior of Go 1.20 and earlier.
    
    When compiling a work module or workspace that declares
    an older Go version, the Go toolchain amends its defaults
    to match that older Go version as closely as possible.
    For example, when a Go 1.21 toolchain compiles a program,
    if the work module's `go.mod` or the workspace's `go.work`
    says `go` `1.20`, then the program defaults to `panicnil=1`,
    matching Go 1.20 instead of Go 1.21.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/async-tests.md

    Being able to use asynchronous functions in your tests could be useful, for example, when you're querying your database asynchronously. Imagine you want to test sending requests to your FastAPI application and then verify that your backend successfully wrote the correct data in the database, while using an async database library.
    
    Let's look at how we can make that work.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Suppliers.java

       * cached value, which will be recalculated when {@code get()} is called on the reserialized
       * instance. The actual memoization does not happen when the underlying delegate throws an
       * exception.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/http-basic-auth.md

    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Then, when you type that username and password, the browser sends them in the header automatically.
    
    ## Simple HTTP Basic Auth
    
    * Import `HTTPBasic` and `HTTPBasicCredentials`.
    * Create a "`security` scheme" using `HTTPBasic`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // Standard object metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Spec describes the desired attributes of a resource that then needs
      // to be allocated. It can only be set once when creating the
      // ResourceClaim.
      optional ResourceClaimSpec spec = 2;
    
      // Status describes whether the resource is available and with which
      // attributes.
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top