- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for GetGroups (0.7 sec)
-
src/os/proc.go
func Getegid() int { return syscall.Getegid() } // Getgroups returns a list of the numeric ids of groups that the caller belongs to. // // On Windows, it returns [syscall.EWINDOWS]. See the [os/user] package // for a possible alternative. func Getgroups() ([]int, error) { gids, e := syscall.Getgroups() return gids, NewSyscallError("getgroups", e) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.3K bytes - Viewed (0) -
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/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) -
src/main/java/org/codelibs/fess/es/user/exentity/User.java
public String[] getRoleNames() { return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } @Override public String[] getGroupNames() { return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } private String decode(final String value) { return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
op.setRefreshPolicy(Constants.TRUE); }); userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> { entity.setGroups( stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n]))); userBhv.insertOrUpdate(entity); }); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.6K bytes - Viewed (0) -
src/syscall/syscall_js.go
} func Geteuid() int { return jsProcess.Call("geteuid").Int() } func Getegid() int { return jsProcess.Call("getegid").Int() } func Getgroups() (groups []int, err error) { defer recoverErr(&err) array := jsProcess.Call("getgroups") groups = make([]int, array.Length()) for i := range groups { groups[i] = array.Index(i).Int() } return groups, nil } func Getpid() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
public String[] getPermissions() { return user.getPermissions(); } public String[] getRoles() { return user.getRoleNames(); } public String[] getGroups() { return user.getGroupNames(); } public boolean isEditable() { return user.isEditable(); } public boolean hasRole(final String role) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.4K bytes - Viewed (0) -
src/syscall/syscall_wasip1.go
} func Getuid() int { return 1 } func Getgid() int { return 1 } func Geteuid() int { return 1 } func Getegid() int { return 1 } func Getgroups() ([]int, error) { return []int{1}, nil } func Getpid() int { return 3 } func Getppid() int { return 2 } func Gettimeofday(tv *Timeval) error { var time timestamp
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/syscall/syscall_plan9.go
return nil } func Getegid() (egid int) { return -1 } func Geteuid() (euid int) { return -1 } func Getgid() (gid int) { return -1 } func Getuid() (uid int) { return -1 } func Getgroups() (gids []int, err error) { return make([]int, 0), nil } //sys open(path string, mode int) (fd int, err error) func Open(path string, mode int) (fd int, err error) { if fixwd(path) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go
Type: "RemoveGroupVersion", Group: gv.Group, Version: gv.Version, }) } func (f *recorderResourceManager) SetGroups(values []apidiscoveryv2.APIGroupDiscovery) { f.lock.Lock() defer f.lock.Unlock() f.Actions = append(f.Actions, recorderResourceManagerAction{ Type: "SetGroups", Value: values, }) } func (f *recorderResourceManager) WebService() *restful.WebService { panic("unimplemented")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 4.4K bytes - Viewed (0)