Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 780 for upstream (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. mockwebserver/README.md

    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ### Java
    ```java
    MockResponse response = new MockResponse.Builder()
        .addHeader("Content-Type", "application/json; charset=utf-8")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

        override fun close() {
          if (closed) return
          closed = true
          if (contentLength != -1L && bytesReceived != contentLength) {
            throw ProtocolException("unexpected end of stream")
          }
          try {
            super.close()
            complete(null)
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Funnels.java

          return StringCharsetFunnel.class.hashCode() ^ charset.hashCode();
        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/CollectorTester.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Funnels.java

          return StringCharsetFunnel.class.hashCode() ^ charset.hashCode();
        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                    ciphers.add(EncryptionNegotiateContext.CIPHER_AES128_GCM);
                    ciphers.add(EncryptionNegotiateContext.CIPHER_AES128_CCM);
    
                    int[] cipherArray = ciphers.stream().mapToInt(Integer::intValue).toArray();
                    negoContexts.add(new EncryptionNegotiateContext(config, cipherArray));
                }
    
                // Add compression context for SMB3 compression support
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_update_fromInputStream() throws IOException {
            // Create test input stream
            String content = "updated1\n" + "updated2\n";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    
            // Update from input stream
            protwordsFile.update(is);
    
            // Verify update
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableTable.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Spliterator;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Table} whose contents will never change, with many other important properties detailed
     * at {@link ImmutableCollection}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top