Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for everything (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt

            WebSocketExtensions(
              perMessageDeflate = true,
              clientNoContextTakeover = true,
              serverNoContextTakeover = true,
            ),
          )
      }
    
      @Test
      fun everything() {
        assertThat(
          parse(
            "permessage-deflate; client_max_window_bits=15; client_no_context_takeover; " +
              "server_max_window_bits=8; server_no_context_takeover",
          ),
        ).isEqualTo(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    
    /**
     * Runs a [TaskRunner] in a controlled environment so that everything is sequential and
     * deterministic.
     *
     * This class ensures that at most one thread is running at a time. This is initially the JUnit test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          }
        }
      }
    
      /**
       * Returns an immediately-executable task for the calling thread to execute, sleeping as necessary
       * until one is ready. If there are no ready queues, or if other threads have everything under
       * control this will return null. If there is more than a single task ready to execute immediately
       * this will start another thread to handle that work.
       */
      fun awaitTaskToRun(): Task? {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
            }
          } else {
            // and everything else is replaced with FFFD.
            assertEscaping(xmlEscaper, "\uFFFD", ch);
          }
        }
    
        // Test _all_ allowed characters (including surrogate values).
        for (char ch = 0x20; ch <= 0xFFFD; ch++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

    Upgrading to OkHttp 4
    =====================
    
    OkHttp 4.x upgrades our implementation language from Java to Kotlin and keeps everything else the
    same. We’ve chosen Kotlin because it gives us powerful new capabilities while integrating closely
    with Java.
    
    We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even
    keeping the package name the same: `okhttp3`!
    
    There are three kinds of compatibility we’re tracking:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          Thread w = thread;
          if (w != null) {
            thread = null;
            LockSupport.unpark(w);
          }
        }
      }
    
      /*
       * Now that we've initialized everything else, we can run the initialization code for
       * ATOMIC_HELPER. That initialization code may log after we assign to ATOMIC_HELPER.
       */
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      static {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. docs/features/connections.md

    ### [URLs](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-http-url/)
    
    URLs (like `https://github.com/square/okhttp`) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources.
    
    URLs are abstract:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            .body(gzip("abcabcabc"))
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            // The network request has everything: User-Agent, Host, Accept-Encoding.
            val networkRequest = chain.request()
            assertThat(networkRequest.header("User-Agent")).isNotNull()
            assertThat(networkRequest.header("Host")).isEqualTo(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableCollection.java

    @DoNotMock("Use ImmutableList.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    she thought, `and hand round the refreshments!'  But there seemed
    to be no chance of this, so she began looking at everything about
    her, to pass away the time.
    
      Alice had never been in a court of justice before, but she had
    read about them in books, and she was quite pleased to find that
    she knew the name of nearly everything there.  `That's the
    judge,' she said to herself, `because of his great wig.'
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
Back to top