Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 762 for chunks (0.29 seconds)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogMatch(Regex("""Transfer-encoding: chunked"""))
          .assertLogEqual("<-- END HTTP (streaming)")
          .assertNoMoreLogs()
        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Type: text/event-stream")
          .assertLogMatch(Regex("""Transfer-encoding: chunked"""))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/CountingOutputStream.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.FilterOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    /**
     * An OutputStream that counts the number of bytes written.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CountingOutputStream extends FilterOutputStream {
    
      private long count;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      }
    
      private inner class NonCompletingRequestBody : RequestBody() {
        private val chunk: ByteArray? = ByteArray(1024 * 1024)
        var ioe: IOException? = null
    
        override fun contentType(): MediaType? = "text/plain".toMediaType()
    
        override fun contentLength(): Long = chunk!!.size * 8L
    
        override fun writeTo(sink: BufferedSink) {
          try {
            var i = 0
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableAsList.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial")
    abstract class ImmutableAsList<E> extends ImmutableList<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/CollectPreconditions.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.Nullable;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) {
        if (key == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                pos += avLen;
            }
            if (!foundEnd) {
                throw new CIFSException("Missing AvEOL");
            }
            return pairs;
        }
    
        /**
         * Checks if the AV pairs list contains a pair of the specified type
         *
         * @param pairs the list of AV pairs to search
         * @param type the AV pair type to look for
         * @return whether the list contains a pair of that type
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

    public class SmbResourceLocatorInternalTest {
    
        @Mock
        SmbResourceLocatorInternal locator;
    
        @Mock
        SmbResourceLocator other;
    
        @Mock
        DfsReferralData referral;
    
        // Reflection-based API checks ensure the interface contract is as expected
        @Test
        @DisplayName("Type hierarchy and method signatures are correct")
        void typeAndSignatures() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/UniAddressTest.java

            assertEquals("mockedInet", ua.toString(), "toString() should delegate to wrapped address");
        }
    
        /* ---------------------------------------------------------------------
         * 3. Static predicate checks
         * --------------------------------------------------------------------- */
        @ParameterizedTest
        @ValueSource(strings = { "192.168.0.1", "123.45.67.89", "1.2.3.4" })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                for (String s : footer) {
                    writer.writeln(s);
                }
            }
            writer.flush();
        }
    
        /**
         * Checks if parts of the passed in comment can be used as header comment.
         * This method checks whether a header comment can be defined (i.e. whether
         * this is the first comment in the loaded file). If this is the case, it is
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
Back to Top