Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 838 for stream (0.14 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

            final Reader rd = new StringReader(inputStr);
            try (TokenStream stream = createTokenStream(rd)) {
                if (stream == null) {
                    throw new IOException("Invalid tokenizer.");
                }
                stream.reset();
    
                int offset = 0;
                while (stream.incrementToken()) {
                    final CharTermAttribute att = stream.getAttribute(CharTermAttribute.class);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.dict;
    
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.dict.DictionaryFile;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                }
            }
            form.fields.entrySet().stream().filter(e -> e.getValue() != null).forEach(e -> {
                final String key = LaFunctions.u(e.getKey());
                stream(e.getValue()).of(stream -> stream.filter(StringUtil::isNotBlank)
                        .forEach(s -> pagingQueryList.add("fields." + key + "=" + LaFunctions.u(s))));
            });
            form.as.entrySet().stream().filter(e -> e.getValue() != null).forEach(e -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. internal/grid/handlers.go

    			for req := range reqT {
    				b, err := req.MarshalMsg(GetByteBufferCap(req.Msgsize()))
    				if err != nil {
    					gridLogOnceIf(ctx, err, err.Error())
    				}
    				h.PutRequest(req)
    				stream.Requests <- b
    			}
    		}()
    	} else if stream.Requests != nil {
    		xioutil.SafeClose(stream.Requests)
    	}
    
    	return &TypedStream[Req, Resp]{responses: stream, newResp: h.NewResponse, Requests: reqT}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        public Iterator<Lifecycle> iterator() {
            return stream().toList().iterator();
        }
    
        @Override
        public Stream<Lifecycle> stream() {
            return providers.stream().map(ExtensibleEnumProvider::provides).flatMap(Collection::stream);
        }
    
        @Override
        public Optional<Lifecycle> lookup(String id) {
            return stream().filter(lf -> Objects.equals(id, lf.id())).findAny();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1).contentType("application/octet-stream").build());
            minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1).contentType("application/octet-stream").build());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                        }
                    }
                    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.stream().filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

        protected Map<String, String> mimetypeMap = new LinkedHashMap<>();
    
        @PostConstruct
        public void init() {
            StreamUtil.split(ComponentUtil.getFessConfig().getIndexFiletype(), "\n")
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(s -> {
                        final String[] values = StringUtils.split(s, "=", 2);
                        if (values.length == 2) {
                            mimetypeMap.put(values[0], values[1]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            if (StringUtil.isBlank(slackWebhookUrls)) {
                return;
            }
            final String body = toSlackMessage(discloser);
            StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> {
                try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) {
                    if (response.getHttpStatusCode() == 200) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. internal/s3select/jstream/decoder_test.go

    package jstream
    
    import (
    	"bytes"
    	"testing"
    )
    
    func mkReader(s string) *bytes.Reader { return bytes.NewReader([]byte(s)) }
    
    func TestDecoderSimple(t *testing.T) {
    	var (
    		counter int
    		mv      *MetaValue
    		body    = `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`
    	)
    
    	decoder := NewDecoder(mkReader(body), 1)
    
    	for mv = range decoder.Stream() {
    		counter++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top