Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 691 for asStream (0.05 sec)

  1. 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)
  2. kotlin-js-store/yarn.lock

      integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==
    
    merge-stream@^2.0.0:
      version "2.0.0"
      resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
      integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  3. 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)
  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. docs/hotfixes.md

    Pick the relevant commit-id say for example commit-id from the master branch
    
    ```
    commit 4f3317effea38c203c358af9cb5ce3c0e4173976
    Author: Klaus Post <******@****.***>
    Date:   Mon Nov 8 08:41:27 2021 -0800
    
        Close stream on panic (#13605)
    
        Always close streamHTTPResponse on panic on main thread to avoid
        write/flush after response handler has returned.
    ```
    
    ```
    λ git cherry-pick 4f3317effea38c203c358af9cb5ce3c0e4173976
    ```
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/http/HandlerTest.java

        }
    
        @Test
        void testOpenConnection_WithCustomFactory() throws Exception {
            // This test verifies that if a custom URLStreamHandlerFactory is set, it is used
            // to create the stream handler for the connection.
            URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);
    
            // Create a concrete URLStreamHandler subclass instead of mocking
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.interpolation;
    
    import javax.inject.Inject;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top