Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 697 for Streams (0.03 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Function;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link SortedMultiset} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

             */
            public boolean isTeminated() {
                return teminated;
            }
        }
    
        /**
         * Thread to read and buffer output from an input stream.
         */
        protected static class InputStreamThread extends Thread {
    
            private BufferedReader br;
    
            private final List<String> list = new LinkedList<>();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 36] = (byte) 0xFF;
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            assertEquals(37, bytesRead);
    
            // Verify setupCount treats byte as unsigned
            Field setupCountField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("setupCount");
            setupCountField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /**
       * Returns the sum of all values in this map.
       *
       * <p>This method is not atomic: the sum may or may not include other concurrent operations.
       */
      public long sum() {
        return map.values().stream().mapToLong(Long::longValue).sum();
      }
    
      @LazyInit private transient @Nullable Map<K, Long> asMap;
    
      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.RandomAccess;
    import java.util.stream.Collector;
    import jsinterop.annotations.JsMethod;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SmbCircuitBreaker.java

            if (!responseTimeHistory.isEmpty()) {
                long sum = responseTimeHistory.stream().mapToLong(Long::longValue).sum();
                avgResponseTime.set(sum / responseTimeHistory.size());
    
                // Calculate 95th percentile
                long[] sortedTimes = responseTimeHistory.stream().mapToLong(Long::longValue).sorted().toArray();
                int p95Index = (int) Math.ceil(0.95 * sortedTimes.length) - 1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

              .build(),
          )
        val response = call.execute()
        assertFailsWith<IOException> {
          response.body.string()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("unexpected end of stream")
        }
        assertThat(eventRecorder.recordedEventTypes()).containsExactly(
          CallStart::class,
          ProxySelectStart::class,
          ProxySelectEnd::class,
          DnsStart::class,
          DnsEnd::class,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            if (StringUtil.isNotEmpty(contentType)) {
                curlRequest.header("Content-Type", contentType);
            }
    
            request.getParameterMap().entrySet().stream().forEach(entry -> {
                if (entry.getValue().length > 1) {
                    curlRequest.param(entry.getKey(), String.join(",", entry.getValue()));
                } else if (entry.getValue().length == 1) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            update(sequence, 0, sequence.length);
            index += 8;
            if (msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX) {
                /*
                 * SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                final SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) msg;
                final int length = msg.getLength() - raxr.getDataLength();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. docs/features/https.md

              for ((name, value) in response.headers) {
                println("$name: $value")
              }
    
              println(response.body!!.string())
            }
          }
    
          /**
           * Returns an input stream containing one or more certificate PEM files. This implementation just
           * embeds the PEM files in Java strings; most applications will instead read this from a resource
           * file that gets bundled with the application.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
Back to top