Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,261 for Stream (0.07 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                    return true;
                }
            }
            return false;
        }
    
        /**
         * Download a design file.
         * @param form The file access form.
         * @return The stream response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public StreamResponse download(final FileAccessForm form) {
            final File file = getTargetFile(form.fileName).get();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

                    task.setSourceResourceDir(
                        defaultSourceSet.getResources()
                            .getSrcDirs()
                            .stream()
                            .filter(f -> f.isDirectory() && f.getName().equals("resources"))
                            .findFirst()
                            .orElse(null)
                    );
                });
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            if (StringUtil.isEmpty(pi.getName())) {
                throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL));
            }
            return asStream(pi.getName()).contentTypeOctetStream().stream(out -> {
                try {
                    downloadObject(getObjectName(pi.getPath(), pi.getName()), out);
                } catch (final StorageException e) {
                    logger.warn("Failed to download {}", id, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import javax.inject.Inject;
    
    import static java.util.Comparator.naturalOrder;
    import static java.util.stream.Collectors.toList;
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Orchestrates the steps required to generate or update various release notes files.
     */
    public class GenerateReleaseNotesTask extends DefaultTask {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Map;
    import java.util.Optional;
    import java.util.stream.Stream;
    
    import eu.maveniverse.domtrip.Document;
    import org.apache.maven.api.cli.mvnup.UpgradeOptions;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    import org.junit.jupiter.api.BeforeEach;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

    import java.util.Map;
    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.TimeUnit;
    import java.util.stream.Stream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.core.misc.Tuple3;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            this.clientMap = clientMap;
        }
    
        /**
         * Closes all clients in the factory.
         */
        @Override
        public void close() {
            clientMap.values().stream().distinct().forEach(client -> {
                try {
                    client.close();
                } catch (final Exception e) {
                    logger.warn("Failed to close {}.", client.getClass().getCanonicalName(), e);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/CIFSContext.java

        /**
         * Get the credentials associated with this context
         *
         * @return the used credentials
         */
        Credentials getCredentials();
    
        /**
         * Get a URL stream handler for SMB URLs
         *
         * @return an URL handler using this context
         */
        URLStreamHandler getUrlHandler();
    
        /**
         * Check if default credentials are configured
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          MultipartBody
            .Builder("foo")
            .addPart(
              headersOf("header-name", "header-value"),
              object : RequestBody() {
                override fun contentType() = "application/octet-stream".toMediaTypeOrNull()
    
                override fun contentLength() = 1024L * 1024L * 100L
    
                override fun writeTo(sink: BufferedSink) {
                  val a1024x1024 = "a".repeat(1024 * 1024)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.codelibs.fess.crawler.entity.OpenSearchUrlFilter;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.service.UrlFilterService;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top