Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for poison (0.02 sec)

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

                Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl()),
              ).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1)
        }
      }
    
      @Test
      fun testUrlConnectionDirect() {
        testRequest {
          val url = URI(mockServer.endpoint + "/person?name=peter").toURL()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Funnel.java

     *
     * {@snippet :
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

          mockServerClient
            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val client =
            OkHttpClient
              .Builder()
              .proxy(Proxy(SOCKS, InetSocketAddress(socks5Proxy.host, socks5Proxy.firstMappedPort)))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      @Test
      fun testHttpsRequest() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2.hpackjson
    
    import com.squareup.moshi.FromJson
    import com.squareup.moshi.Moshi
    import com.squareup.moshi.ToJson
    import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
    import java.io.File
    import java.io.IOException
    import okio.BufferedSource
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
              executor.submit {
                val response =
                  client.newCall(Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl())).execute()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  7. LICENSES/vendor/github.com/go-task/slim-sprig/v3/LICENSE

    = vendor/github.com/go-task/slim-sprig/v3 licensed under: =
    
    Copyright (C) 2013-2020 Masterminds
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon May 27 13:25:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. LICENSES/vendor/github.com/fxamacker/cbor/v2/LICENSE

    = vendor/github.com/fxamacker/cbor/v2 licensed under: =
    
    MIT License
    
    Copyright (c) 2019-present Faye Amacker
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jan 25 13:35:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /**
       * Explicitly specifies the return type of this {@code Invokable}. For example:
       *
       * {@snippet :
       * Method factoryMethod = Person.class.getMethod("create");
       * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class);
       * }
       */
      public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) {
        return returning(TypeToken.of(returnType));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  10. LICENSES/third_party/forked/vishhstress/LICENSE

    MIT License
    
    Copyright (c) 2024 Vish Kannan
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Feb 13 14:21:05 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top