- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 222 for SetGroups (0.37 sec)
-
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/AggregateMultiProjectTaskReportModel.java
public void build() { groups = TreeMultimap.create(String::compareToIgnoreCase, Comparator.comparing(TaskDetails::getPath)); for (TaskReportModel project : projects) { for (String group : project.getGroups()) { if (isVisible(group)) { for (final TaskDetails task : project.getTasksForGroup(group)) { groups.put(group, mergeTasksWithSameName ? mergedTaskDetails(task) : task);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/anonymous/anonymous_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 26 22:33:54 UTC 2018 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/token_group_adder_test.go
return response, true, nil }), []string{"added"}, ), ) r, _, _ := adder.AuthenticateToken(context.Background(), "") if !reflect.DeepEqual(r.User.GetGroups(), []string{"original", "added"}) { t.Errorf("Expected original,added groups, got %#v", r.User.GetGroups()) } if got := toJson(response); got != orig { t.Errorf("Expected response from delegate to be unmodified: orig=%v got=%v", orig, got) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 20:04:50 UTC 2022 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/token_group_adder.go
r, ok, err := g.Authenticator.AuthenticateToken(ctx, token) if err != nil || !ok { return nil, ok, err } newGroups := make([]string, 0, len(r.User.GetGroups())+len(g.Groups)) newGroups = append(newGroups, r.User.GetGroups()...) newGroups = append(newGroups, g.Groups...) ret := *r // shallow copy ret.User = &user.DefaultInfo{ Name: r.User.GetName(), UID: r.User.GetUID(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 20:04:50 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder.go
r, ok, err := g.Authenticator.AuthenticateRequest(req) if err != nil || !ok { return nil, ok, err } newGroups := make([]string, 0, len(r.User.GetGroups())+len(g.Groups)) newGroups = append(newGroups, r.User.GetGroups()...) newGroups = append(newGroups, g.Groups...) ret := *r // shallow copy ret.User = &user.DefaultInfo{ Name: r.User.GetName(), UID: r.User.GetUID(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 20:04:50 UTC 2022 - 1.8K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModel.java
return parent1.compareTo(parent2); } }; final SetMultimap<String, TaskDetails> groups = TreeMultimap.create(keyComparator, taskComparator); for (String group : model.getGroups()) { groups.putAll(group, model.getTasksForGroup(group)); } String otherGroupName = findOtherGroup(groups.keySet()); if (otherGroupName != null && groups.keySet().contains(DEFAULT_GROUP)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 08 21:50:18 UTC 2021 - 3.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/Intersections.java
} @Override public ExcludeSpec doIntersect(GroupSetExclude left, GroupSetExclude right, ExcludeFactory factory) { Set<String> groups = left.getGroups(); Set<String> common = Sets.newHashSet(right.getGroups()); common.retainAll(groups); return factory.fromGroups(common); } } @NonNullApi
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 23 21:03:05 UTC 2024 - 21.6K bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (freebsd-386-cgo), func Setegid(int) error pkg syscall (freebsd-386-cgo), func Seteuid(int) error pkg syscall (freebsd-386-cgo), func Setgid(int) error pkg syscall (freebsd-386-cgo), func Setgroups([]int) error pkg syscall (freebsd-386-cgo), func Setlogin(string) error pkg syscall (freebsd-386-cgo), func Setpgid(int, int) error pkg syscall (freebsd-386-cgo), func Setpriority(int, int, int) error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder_test.go
}), []string{"added"}, ), ) r, _, _ := adder.AuthenticateRequest(nil) if want := []string{"original", "added"}; !reflect.DeepEqual(r.User.GetGroups(), want) { t.Errorf("Unexpected groups\ngot:\t%#v\nwant:\t%#v", r.User.GetGroups(), want) } if got := toJson(response); got != orig { t.Errorf("Expected response from delegate to be unmodified: orig=%v got=%v", orig, got) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 20:04:50 UTC 2022 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go
})(nil) // The user info accessors known to cache key construction. If this fails to compile, the cache // implementation may need to be updated. var _ user.Info = (interface { GetName() string GetUID() string GetGroups() []string GetExtra() map[string][]string })(nil) // Authorize returns an authorization decision by delegating to another Authorizer. If an equivalent
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 3.6K bytes - Viewed (0)