Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,434 for Groups (0.24 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalGroupFactory.java

            return groups;
        }
    
        public void reset() {
            groups.clear();
        }
    
        private void growTo(int ordinal) {
            for (int i = groups.size(); i <= ordinal; ++i) {
                groups.add(new OrdinalGroup(i, previous(i)));
            }
        }
    
        @Nullable
        private OrdinalGroup previous(int i) {
            if (i == 0) {
                return null;
            } else {
                return groups.get(i - 1);
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-12 02:21
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder.go

    	Groups []string
    }
    
    // NewGroupAdder wraps a request authenticator, and adds the specified groups to the returned user when authentication succeeds
    func NewGroupAdder(auth authenticator.Request, groups []string) authenticator.Request {
    	return &GroupAdder{auth, groups}
    }
    
    func (g *GroupAdder) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {
    	r, ok, err := g.Authenticator.AuthenticateRequest(req)
    Registered: 2024-06-15 01:39
    - Last Modified: 2022-05-11 20:04
    - 1.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go

    					break
    				}
    			}
    
    			if addAuthenticated {
    				groups = append(groups, user.AllAuthenticated)
    			}
    		} else {
    			addUnauthenticated := true
    			for _, group := range groups {
    				if group == user.AllUnauthenticated {
    					addUnauthenticated = false
    					break
    				}
    			}
    
    			if addUnauthenticated {
    				groups = append(groups, user.AllUnauthenticated)
    			}
    		}
    
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-08-07 10:10
    - 9.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultGroupSetExclude.java

    import java.util.Set;
    
    final class DefaultGroupSetExclude implements GroupSetExclude {
        private final Set<String> groups;
        private final int hashCode;
    
        DefaultGroupSetExclude(Set<String> groups) {
            this.groups = groups;
            this.hashCode = groups.hashCode();
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-10-10 21:10
    - 2.1K bytes
    - Viewed (0)
  5. pkg/apis/rbac/helpers.go

    			},
    		},
    	}
    }
    
    // Groups adds the specified groups as the subjects of the ClusterRoleBinding.
    func (r *ClusterRoleBindingBuilder) Groups(groups ...string) *ClusterRoleBindingBuilder {
    	for _, group := range groups {
    		r.ClusterRoleBinding.Subjects = append(r.ClusterRoleBinding.Subjects, Subject{Kind: GroupKind, APIGroup: GroupName, Name: group})
    	}
    	return r
    }
    
    Registered: 2024-06-15 01:39
    - Last Modified: 2020-02-23 15:11
    - 12.1K bytes
    - Viewed (0)
  6. pkg/apis/rbac/helpers_test.go

    	rb := rbac.NewRoleBinding("role", "ns").Groups("g").SAs("ns", "sa").Users("u").BindingOrDie()
    	rbcr := rbac.NewRoleBindingForClusterRole("role", "ns").Groups("g").SAs("ns", "sa").Users("u").BindingOrDie()
    	crb := rbac.NewClusterBinding("role").Groups("g").SAs("ns", "sa").Users("u").BindingOrDie()
    
    	role := &rbac.Role{
    		Rules: []rbac.PolicyRule{
    			rbac.NewRule("verb").Groups("g").Resources("foo").RuleOrDie(),
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-04-12 15:46
    - 9.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/users/users_linux.go

    		}
    		u = append(u, uc)
    	skipUser:
    	}
    	// validate groups
    	for _, gc := range groupsToCreateSpec {
    		for _, group := range groups {
    			if gc.name != group.name {
    				continue
    			}
    			if group.id < limits.minGID || group.id > limits.maxGID {
    				return nil, nil, errors.Errorf("GID %d for user %q is outside the system UID range: %d - %d",
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-10-25 16:35
    - 20.7K bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/config/validation_test.go

    	}{
    		{
    			name:    "capture all groups",
    			include: "*",
    		},
    		{
    			name:    "capture 63 groups",
    			include: NOwnerGroups(63), // just below the limit
    		},
    		{
    			name:    "capture 64 groups",
    			include: NOwnerGroups(64), // limit
    		},
    		{
    			name:    "capture all but 64 groups",
    			exclude: NOwnerGroups(64),
    		},
    		{
    			name:    "capture all but 65 groups",
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-01-11 02:38
    - 3K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModelTest.groovy

            def task8 = taskDetails('task_b')
            _ * target.groups >> ['group']
            _ * target.getTasksForGroup('group') >> ([task6, task3, task7, task4, task5, task1, task8, task2] as LinkedHashSet)
    
            when:
            final model = DefaultGroupTaskReportModel.of(target)
    
            then:
            model.getTasksForGroup('group') as List == [task1, task2, task3, task4, task5, task6, task7, task8]
        }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2020-11-10 12:50
    - 3.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouper.java

                    }
                }
            }
        }
    
        // Tries to find the common super-group for a list of groups
        // For example given ["org.foo", "org.foo.bar", "org.foo.baz"] it will group using "org.foo.*"
        static List<List<String>> tryComputeCommonPrefixes(List<String> groups) {
            List<List<String>> splitGroups = groups.stream()
                .map(GROUP_SPLITTER::splitToList)
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-12-11 13:37
    - 10.4K bytes
    - Viewed (0)
Back to top