- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Getgrouplist (0.35 sec)
-
src/os/user/getgrouplist_syscall.go
// license that can be found in the LICENSE file. //go:build !osusergo && darwin package user import ( "internal/syscall/unix" ) func getGroupList(name *_C_char, userGID _C_gid_t, gids *_C_gid_t, n *_C_int) _C_int { err := unix.Getgrouplist(name, userGID, gids, n) if err != nil { return -1 } return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 424 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root_test.go
groupList, err = getGroupList(t, server) if err != nil { t.Fatalf("unexpected error: %v", err) } assert.Equal(t, 0, len(groupList.Groups)) } func TestDiscoveryOrdering(t *testing.T) { handler := NewRootAPIsHandler(DefaultAddresses{DefaultAddress: "192.168.1.1"}, codecs) server := httptest.NewServer(handler) groupList, err := getGroupList(t, server) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 08 22:33:50 UTC 2018 - 6K bytes - Viewed (0) -
src/os/user/cgo_listgroups_unix.go
} userGID := _C_gid_t(ug) nameC := make([]byte, len(u.Username)+1) copy(nameC, u.Username) n := _C_int(256) gidsC := make([]_C_gid_t, n) rv := getGroupList((*_C_char)(unsafe.Pointer(&nameC[0])), userGID, &gidsC[0], &n) if rv == -1 { // Mac is the only Unix that does not set n properly when rv == -1, so // we need to use different logic for Mac vs. the other OS's.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 1.7K bytes - Viewed (0) -
src/os/user/getgrouplist_unix.go
package user /* #include <unistd.h> #include <sys/types.h> #include <grp.h> static int mygetgrouplist(const char* user, gid_t group, gid_t* groups, int* ngroups) { return getgrouplist(user, group, groups, ngroups); } */ import "C" func getGroupList(name *_C_char, userGID _C_gid_t, gids *_C_gid_t, n *_C_int) _C_int { return C.mygetgrouplist(name, userGID, gids, n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 657 bytes - Viewed (0) -
src/internal/syscall/unix/user_darwin.go
// license that can be found in the LICENSE file. package unix import ( "internal/abi" "syscall" "unsafe" ) //go:cgo_import_dynamic libc_getgrouplist getgrouplist "/usr/lib/libSystem.B.dylib" func libc_getgrouplist_trampoline() func Getgrouplist(name *byte, gid uint32, gids *uint32, n *int32) error { _, _, errno := syscall_syscall6(abi.FuncPCABI0(libc_getgrouplist_trampoline),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 07 16:09:09 UTC 2022 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
searchPaging(data, form); }); } protected void searchPaging(final RenderData data, final SearchForm form) { RenderDataUtil.register(data, "groupItems", groupService.getGroupList(groupPager)); // page navi // restore from pager copyBeanToBean(groupPager, form, op -> op.include("id")); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
public class GroupService { @Resource protected GroupBhv groupBhv; @Resource protected FessConfig fessConfig; @Resource protected UserBhv userBhv; public List<Group> getGroupList(final GroupPager groupPager) { final PagingResultBean<Group> groupList = groupBhv.selectPage(cb -> { cb.paging(groupPager.getPageSize(), groupPager.getCurrentPageNumber());
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/os/user/user.go
One is written in pure Go and parses /etc/passwd and /etc/group. The other is cgo-based and relies on the standard C library (libc) routines such as getpwuid_r, getgrnam_r, and getgrouplist. When cgo is available, and the required routines are implemented in libc for a particular platform, cgo-based (libc-backed) code is used. This can be overridden by using osusergo build tag, which enforces
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java
validateApi(body, messages -> {}); final GroupPager pager = copyBeanToNewBean(body, GroupPager.class); final List<Group> list = groupService.getGroupList(pager); return asJson( new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 65.9K bytes - Viewed (0)