Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2461 - 2470 of 7,900 for usen (0.03 sec)

  1. LICENSES/vendor/github.com/containerd/containerd/api/LICENSE

                               Version 2.0, January 2004
                            https://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Sun Sep 22 18:50:45 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Performance comparison test between original CompositeBeanHelper and OptimizedCompositeBeanHelper.
     * This test uses JMH (Java Microbenchmark Harness) for accurate performance measurement.
     *
     * To run this benchmark:
     * mvn test -Dtest=CompositeBeanHelperPerformanceTest -pl impl/maven-core
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Table.java

     * </ul>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
     * @author Jared Levy
     * @param <R> the type of the table row keys
     * @param <C> the type of the table column keys
     * @param <V> the type of the mapped values
     * @since 7.0
     */
    @DoNotMock("Use ImmutableTable, HashBasedTable, or another implementation")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. docs/zh-hant/docs/features.md

        return user_id
    
    
    # 宣告一個 Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    
    可以像這樣來使用:
    
    ```python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    
    /// info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. docs/pt/docs/index.md

     │  Running in development mode, for production use:   │
     │                                                     │
     │  fastapi run                                        │
     │                                                     │
     ╰─────────────────────────────────────────────────────╯
    
    INFO:     Will watch for changes in these directories: ['/home/user/code/awesomeapp']
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. tests/preload_test.go

    	var result struct {
    		Something string
    		User
    	}
    
    	DB.Model(User{}).Preload("Account", clause.Eq{Column: "number", Value: user.Account.Number}).Select(
    		"users.*, 'yo' as something").First(&result, "name = ?", user.Name)
    
    	CheckUser(t, user, result.User)
    }
    
    func TestNestedPreloadWithUnscoped(t *testing.T) {
    	user := *GetUser("nested_preload", Config{Pets: 1})
    	pet := user.Pets[0]
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. internal/config/identity/openid/provider/keycloak.go

    		return User{}, ErrAccessTokenExpired
    	}
    	req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken)
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusPartialContent:
    		var u User
    		if err = json.NewDecoder(resp.Body).Decode(&u); err != nil {
    			return User{}, err
    		}
    		return u, nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tests/test_security_api_key_query_description.py

    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", description="API Key Query")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. tests/association_generics_test.go

    	user.Pets = []*Pet{{Name: "original-pet"}}
    	user.Toys = []Toy{{Name: "original-toy"}}
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("failed to create user with associations: %v", err)
    	}
    
    	// Verify initial state using real database queries
    	AssertAssociationCount(t, user, "Pets", 1, "before update")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  10. tests/update_belongs_to_test.go

    	var user2 User
    	DB.Preload("Company").Preload("Manager").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	user.Company.Name += "new"
    	user.Manager.Name += "new"
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user3 User
    	DB.Preload("Company").Preload("Manager").Find(&user3, "id = ?", user.ID)
    	CheckUser(t, user2, user3)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top