Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2571 - 2580 of 3,176 for Then (0.15 seconds)

  1. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

      @Test
      fun testHttpsRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (1)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
        assertThat(statusLine.code).isEqualTo(code)
      }
    
      /**
       * This is not defined in the protocol but some servers won't add the leading empty space when the
       * message is empty. http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
       */
      @Test
      fun emptyMessageAndNoLeadingSpace() {
        val version = 1
        val code = 503
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * Resolver is and will remain agnostic of consumer project use cases.
         */
        public static final String CONSTITUTES_BUILD_PATH = "constitutesBuildPath";
    
        /**
         * When an artifact is both a regular dependency and a transitive dependency
         * of a processor, this property records the derived processor type ID.
         *
         * @since 4.0.0
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/general.md

    ## Optimize Response Performance - Response Model - Return Type { #optimize-response-performance-response-model-return-type }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

      private fun checkForStartEvent(e: CallEvent) {
        if (eventsForMatching.isEmpty()) {
          assertThat(e).matchesPredicate { it is CallStart || it is Canceled }
        } else {
          eventsForMatching.forEach loop@{
            when (e.closes(it)) {
              null -> return
    
              // no open event
              true -> return
    
              // found open event
              false -> return@loop // this is not the open event so continue
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

     *
     * @author Sverre Sundsdal
     */
    @NullUnmarked
    public class MinMaxPriorityQueueBenchmark {
      @Param private ComparatorType comparator;
    
      // TODO(kevinb): add 1000000 back when we have the ability to throw
      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

     *
     * @author Sverre Sundsdal
     */
    @NullUnmarked
    public class MinMaxPriorityQueueBenchmark {
      @Param private ComparatorType comparator;
    
      // TODO(kevinb): add 1000000 back when we have the ability to throw
      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  8. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

          val request =
            request()
              .withPath("/person")
              .withQueryStringParameter("name", "peter")
    
          mockServerClient
            .`when`(
              request,
            ).respond(response().withBody("Peter the person!"))
    
          function(mockServerClient)
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  9. android/guava/src/com/google/common/base/StandardSystemProperty.java

      /** Java class format version number. */
      JAVA_CLASS_VERSION("java.class.version"),
    
      /** Java class path. */
      JAVA_CLASS_PATH("java.class.path"),
    
      /** List of paths to search when loading libraries. */
      JAVA_LIBRARY_PATH("java.library.path"),
    
      /** Default temp file path. */
      JAVA_IO_TMPDIR("java.io.tmpdir"),
    
      /** Name of JIT compiler to use. */
      JAVA_COMPILER("java.compiler"),
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/eventbus/Subscriber.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A subscriber method on a specific object, plus the executor that should be used for dispatching
     * events to it.
     *
     * <p>Two subscribers are equivalent when they refer to the same method on the same object (not
     * class). This property is used to ensure that no subscriber method is registered more than once.
     *
     * @author Colin Decker
     */
    class Subscriber {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top