Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 779 for asStream (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

     */
    package org.codelibs.fess.app.web.api.admin.relatedquery;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    import static org.codelibs.fess.app.web.admin.relatedquery.AdminRelatedqueryAction.getRelatedQuery;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapUser.java

            return stream(getPermissions()).get(stream -> stream.filter(s -> s.startsWith(fessConfig.getRoleSearchRolePrefix()))
                    .map(s -> s.substring(1)).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

                    permissionSet.add(systemHelper.getSearchRoleByUser(nameId));
                    stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s))));
                    stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s))));
                    permissions = permissionSet.toArray(new String[permissionSet.size()]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. internal/event/target/nats.go

    		return err
    	}
    
    	if target.natsConn != nil && args.JetStream.Enable {
    		var jstream nats.JetStream
    		jstream, err = target.natsConn.JetStream()
    		if err != nil {
    			if err.Error() != nats.ErrNoServers.Error() {
    				target.loggerOnce(context.Background(), err, target.ID().String())
    			}
    			return err
    		}
    		target.jstream = jstream
    	}
    
    	yes, err := target.isActive()
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
            final Map<String, List<QueryBuilder>> geoMap = new HashMap<>();
    
            StreamUtil.stream(request.getParameterMap())
                    .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> {
                        final String key = e.getKey();
                        for (final String geoField : geoFields) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            final Pair<String[], String[]> groupsAndRoles = getParentGroup(user, id);
            StreamUtil.stream(groupsAndRoles.getFirst()).of(stream -> stream.forEach(groupList::add));
            StreamUtil.stream(groupsAndRoles.getSecond()).of(stream -> stream.forEach(roleList::add));
        }
    
        protected Pair<String[], String[]> getParentGroup(final AzureAdUser user, final String id) {
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int keyCount = stream.readInt();
        if (keyCount < 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        }
      }
    
      /**
       * Returns true if this stream is open. A stream is open until either:
       *
       *  * A `SYN_RESET` frame abnormally terminates the stream.
       *  * Both input and output streams have transmitted all data and headers.
       *
       * Note that the input stream may continue to yield data even after a stream reports itself as
       * not open. This is because input data is buffered.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/PrunedTag.java

     */
    package org.codelibs.fess.util;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import java.util.Objects;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import org.apache.commons.lang3.StringUtils;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.exception.FessSystemException;
    import org.w3c.dom.Node;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top