- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,883 for users5 (0.2 sec)
-
cmd/admin-handlers-users.go
return } var targetAccount string // If listing is requested for a specific user (who is not the request // sender), check that the user has permissions. user := r.Form.Get("user") if user != "" && user != cred.AccessKey { if !globalIAMSys.IsAllowed(policy.Args{ AccountName: cred.AccessKey, Groups: cred.Groups,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:19:04 UTC 2024 - 78.6K bytes - Viewed (0) -
src/os/user/user.go
// UnknownUserIdError is returned by [LookupId] when a user cannot be found. type UnknownUserIdError int func (e UnknownUserIdError) Error() string { return "user: unknown userid " + strconv.Itoa(int(e)) } // UnknownUserError is returned by [Lookup] when // a user cannot be found. type UnknownUserError string func (e UnknownUserError) Error() string { return "user: unknown user " + string(e) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/update_test.go
if users[1].Name != "update_column_02_newname" || users[1].Age != 100 { t.Errorf("user 2 should be updated with update column") } AssertEqual(t, lastUpdatedAt.UnixNano(), users[1].UpdatedAt.UnixNano()) // user2 should not be updated var user1, user2 User DB.First(&user1, users[0].ID) DB.First(&user2, users[1].ID) CheckUser(t, user1, *users[0]) CheckUser(t, user2, *users[1])
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/user/user.go
limitations under the License. */ package user // Info describes a user that has been authenticated to the system. type Info interface { // GetName returns the name that uniquely identifies this user among all // other active users. GetName() string // GetUID returns a unique value for a particular user that will change // if the user is removed from the system and another user is added with // the same name. GetUID() string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 24 16:21:55 UTC 2020 - 2.6K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
if err != nil { return err } c.mustNotListObjects(ctx, uClient, bucket) return nil } }(i), i) } if errs := g.Wait(); len(errs) > 0 { c.Fatalf("unable to remove users: %v", errs) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.9K bytes - Viewed (0) -
chainable_api.go
} // Limit specify the number of records to be retrieved // // Limit conditions can be cancelled by using `Limit(-1)`. // // // retrieve 3 users // db.Limit(3).Find(&users) // // retrieve 3 users into users1, and all users into users2 // db.Limit(3).Find(&users1).Limit(-1).Find(&users2) func (db *DB) Limit(limit int) (tx *DB) { tx = db.getInstance() tx.Statement.AddClause(clause.Limit{Limit: &limit}) return }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 09:47:34 UTC 2024 - 14.5K bytes - Viewed (0) -
tests/delete_test.go
} } for _, user := range []User{users[0], users[2]} { result = User{} if err := DB.Where("id = ?", user.ID).First(&result).Error; err != nil { t.Errorf("no error should returns when query %v, but got %v", user.ID, err) } } if err := DB.Delete(&users[0]).Error; err != nil { t.Errorf("errors happened when delete: %v", err) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0) -
tests/test_route_scope.py
client = TestClient(app) def test_get(): response = client.get("/users/rick") assert response.status_code == 200, response.text assert response.json() == {"user_id": "rick", "path": "/users/{user_id}"} def test_invalid_method_doesnt_match(): response = client.post("/users/rick") assert response.status_code == 405, response.text def test_invalid_path_doesnt_match():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Feb 08 10:23:07 UTC 2023 - 1.5K bytes - Viewed (0) -
cluster/gce/windows/testonly/user-profile.psm1
) $system = [ADSI]"WinNT://$env:COMPUTERNAME"; $user = $system.Create("user",$userName); $user.SetPassword($password); $user.SetInfo(); $flag=$user.UserFlags.value -bor 0x10000; $user.put("userflags",$flag); $user.SetInfo(); $group = [ADSI]("WinNT://$env:COMPUTERNAME/Users"); $group.PSBase.Invoke("Add", $user.PSBase.Path); } #function to register a native method
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 26 00:44:57 UTC 2019 - 9.4K bytes - Viewed (0) -
tests/test_response_model_data_filter.py
user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=List[PetOut]) async def read_pets(): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet1 = PetDB(name="Nibbler", owner=user)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.7K bytes - Viewed (0)