Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 76 of 76 for getRoles (0.07 seconds)

  1. cmd/endpoint.go

    func (l EndpointServerPools) ESCount() (count int) {
    	for _, p := range l {
    		count += p.SetCount
    	}
    	return count
    }
    
    // GetNodes returns a sorted list of nodes in this cluster
    func (l EndpointServerPools) GetNodes() (nodes []Node) {
    	nodesMap := make(map[string]Node)
    	for _, pool := range l {
    		for _, ep := range pool.Endpoints {
    			node, ok := nodesMap[ep.Host]
    			if !ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            final List<int[]> turns = new ArrayList<>();
            int idx = 0;
            while (idx < history.size()) {
                if (idx + 1 < history.size() && "user".equals(history.get(idx).getRole())
                        && "assistant".equals(history.get(idx + 1).getRole())) {
                    turns.add(new int[] { idx, idx + 2 });
                    idx += 2;
                } else {
                    turns.add(new int[] { idx, idx + 1 });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public void setMojoConfiguration(PlexusConfiguration mojoConfiguration) {
            this.mojoConfiguration = mojoConfiguration;
        }
    
        /** {@inheritDoc} */
        @Override
        public String getRole() {
            return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE;
        }
    
        /** {@inheritDoc} */
        @Override
        public String getRoleHint() {
            return getId();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            if (context.userCode != null) {
                searchLog.setUserSessionId(context.userCode);
                searchLog.setUserInfo(getUserInfo(context.userCode));
            }
    
            searchLog.setRoles(context.roles);
            searchLog.setQueryId(queryId);
            searchLog.setHitCount(queryResponseList.getAllRecordCount());
            searchLog.setHitCountRelation(queryResponseList.getAllRecordCountRelation());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            }
    
            // Set initial groups
            user.setGroups(groupList.stream().distinct().toArray(n -> new String[n]));
            user.setRoles(roleList.stream().distinct().toArray(n -> new String[n]));
    
            if (logger.isDebugEnabled()) {
                logger.debug("[updateMemberOf] Initial groups/roles set for user: {}. Groups: {}, Roles: {}", user.getName(),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
  6. cmd/server-main.go

    	globalEndpoints, setupType, err = createServerEndpoints(globalMinioAddr, ctxt.Layout.pools, ctxt.Layout.legacy)
    	logger.FatalIf(err, "Invalid command line arguments")
    	globalNodes = globalEndpoints.GetNodes()
    
    	globalIsErasure = (setupType == ErasureSetupType)
    	globalIsDistErasure = (setupType == DistErasureSetupType)
    	if globalIsDistErasure {
    		globalIsErasure = true
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
Back to Top