- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 5,813 for uses (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/main_test.go
} if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } DB.Model(&User{}).Count(&count2) if count1 != count2 { t.Errorf("No user should not be deleted by invalid SQL") } } func TestSetAndGet(t *testing.T) { if value, ok := DB.Set("hello", "world").Get("hello"); !ok { t.Errorf("Should be able to get setting after set")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/en/docs/advanced/testing-dependencies.md
### Use cases: external service { #use-cases-external-service } An example could be that you have an external authentication provider that you need to call. You send it a token and it returns an authenticated user.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/scopes_test.go
return func(d *gorm.DB) *gorm.DB { return d.Where("name in (?)", names) } } func TestScopes(t *testing.T) { users := []*User{ GetUser("ScopeUser1", Config{}), GetUser("ScopeUser2", Config{}), GetUser("ScopeUser3", Config{}), } DB.Create(&users) var users1, users2, users3 []User DB.Scopes(NameIn1And2).Find(&users1) if len(users1) != 2 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 3.3K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
) return Token(access_token=access_token, token_type="bearer") @app.get("/users/me/") async def read_users_me(current_user: User = Depends(get_current_active_user)) -> User: return current_user @app.get("/users/me/items/") async def read_own_items( current_user: User = Security(get_current_active_user, scopes=["items"]), ): return [{"item_id": "Foo", "owner": current_user.username}]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/DosError.java
"No process is on the other end of the pipe.", "More data is available.", "This user account has expired.", "The user is not allowed to log on from this workstation.", "The user is not allowed to log on at this time.", "The password of this user has expired.", };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/DosError.java
"No process is on the other end of the pipe.", "More data is available.", "This user account has expired.", "The user is not allowed to log on from this workstation.", "The user is not allowed to log on at this time.", "The password of this user has expired.", };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
"There are currently no logon servers available to service the logon request.", "The specified user already exists.", "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.", "Logon failure: user account restriction.",Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 13.2K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java
* Set username used to access the repository. * * @param userName the username used to access repository */ public void setUsername(final String userName) { this.username = userName; } /** * Get the passphrase of the private key file. The passphrase is used only when host/protocol supports * authentication via exchange of private/public keys and private key was used for authentication.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
docs_src/security/tutorial002_py310.py
user = fake_decode_token(token) return user @app.get("/users/me") async def read_users_me(current_user: User = Depends(get_current_user)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 711 bytes - Click Count (0)