Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for GetGroups (0.24 sec)

  1. src/os/os_unix_test.go

    		t.Skip("file ownership not supported on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    	// Use TempDir() to make sure we're on a local file system,
    	// so that the group ids returned by Getgroups will be allowed
    	// on the file. On NFS, the Getgroups groups are
    	// basically useless.
    	f := newFile("TestChown", t)
    	defer Remove(f.Name())
    	defer f.Close()
    	dir, err := f.Stat()
    	if err != nil {
    		t.Fatalf("stat %s: %s", f.Name(), err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/StandardJavadocDocletOptionsTest.java

            assertEquals(options, options.group(groupTwoName, groupTwoPackages));
            assertEquals(2, options.getGroups().size());
            assertArrayEquals(groupOnePackages, options.getGroups().get(groupOneName).toArray());
            assertArrayEquals(groupTwoPackages, options.getGroups().get(groupTwoName).toArray());
        }
    
        @Test
        public void testFluentNoDeprecated() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateXcodeProjectFileTask.java

            addToGroup(project.getMainGroup(), xcodeProject.getGroups().getSources(), "Sources");
            addToGroup(project.getMainGroup(), xcodeProject.getGroups().getHeaders(), "Headers");
            addToGroup(project.getMainGroup(), xcodeProject.getGroups().getTests(), "Tests");
            addToGroup(project.getMainGroup(), xcodeProject.getGroups().getRoot());
    
            for (XcodeTarget xcodeTarget : xcodeProject.getTargets()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/specs/GroupSetExclude.java

     * limitations under the License.
     */
    package org.gradle.api.internal.artifacts.ivyservice.resolveengine.excludes.specs;
    
    import java.util.Set;
    
    public interface GroupSetExclude extends ExcludeSpec {
        Set<String> getGroups();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 809 bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/plugins/XcodePlugin.java

                    FileCollection sources = component.getCppSource();
                    xcodeProject.getGroups().getSources().from(sources);
    
                    FileCollection headers = component.getHeaderFiles();
                    xcodeProject.getGroups().getHeaders().from(headers);
    
                    // TODO - should use the _install_ task for an executable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 24.4K bytes
    - Viewed (0)
Back to top