Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 780 for upstream (0.11 sec)

  1. 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);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        if (path.endsWith(".gif")) return "image/gif";
        if (path.endsWith(".html")) return "text/html; charset=utf-8";
        if (path.endsWith(".txt")) return "text/plain; charset=utf-8";
        return "application/octet-stream";
      }
    
      public static void main(String[] args) throws Exception {
        if (args.length != 4) {
          System.out.println("Usage: SampleServer <keystore> <password> <root file> <port>");
          return;
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

         * @param crawlerClientFactory The CrawlerClientFactory to register.
         */
        public synchronized void register(final CrawlerClientFactory crawlerClientFactory) {
            clientMap.entrySet().stream().forEach(e -> load(crawlerClientFactory, e.getKey(), e.getValue()));
            clientFactoryList.add(crawlerClientFactory);
            if (clientFactoryList.size() > maxClientFactorySize) {
                clientFactoryList.remove(0);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. 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
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

            }
            return Integer.toString(n);
          }
        };
    
        thread.start();
      }
    
      /**
       * This request body makes it possible for another thread to stream data to the uploading request.
       * This is potentially useful for posting live event streams like video capture. Callers should
       * write to {@code sink()} and close it to complete the post.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  6. docs/erasure/storage-class/README.md

    objectStat, err := object.Stat()
    if err != nil {
     log.Fatalln(err)
    }
    
    n, err := s3Client.PutObject("my-bucketname", "my-objectname", object, objectStat.Size(), minio.PutObjectOptions{ContentType: "application/octet-stream", StorageClass: "REDUCED_REDUNDANCY"})
    if err != nil {
     log.Fatalln(err)
    }
    log.Println("Uploaded", "my-objectname", " of size: ", n, "Successfully.")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods();
                java.util.Set<String> methodNames =
                        java.util.Arrays.stream(methods).map(java.lang.reflect.Method::getName).collect(java.util.stream.Collectors.toSet());
    
                assertTrue(methodNames.contains("close"), "Should contain close method");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

          b.append(longBitsToDouble(longs.get(i)));
          if (i == iMax) {
            return b.append(']').toString();
          }
          b.append(',').append(' ');
        }
      }
    
      /**
       * Saves the state to a stream (that is, serializes it).
       *
       * @serialData The length of the array is emitted (int), followed by all of its elements (each a
       *     {@code double}) in the proper order.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

    import java.util.AbstractList;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.TimeUnit;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@link ClassSanityTester}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. 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)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top