Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,542 for Mall (0.09 seconds)

  1. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

        client.newCall(Request(url)).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              println("failed: $e")
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              println("response: ${response.code}")
              response.close()
            }
          },
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherCleanupTest.kt

      @Test
      fun testFinish() {
        val okhttp = OkHttpClient()
        val callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {}
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
            }
          }
        repeat(10_000) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      // We use this method only for cases in which we need to decompose to primitives.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.17.md

    - kube-apiserver: the `--runtime-config` flag now supports an `api/beta=false` value which disables all built-in REST API versions matching `v[0-9]+beta[0-9]+`. ([#84304](https://github.com/kubernetes/kubernetes/pull/84304), [@liggitt](https://github.com/liggitt))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  5. docs/features/events.md

      }
    
      @Override public void callStart(Call call) {
        printEvent("callStart");
      }
    
      @Override public void callEnd(Call call) {
        printEvent("callEnd");
      }
    
      @Override public void dnsStart(Call call, String domainName) {
        printEvent("dnsStart");
      }
    
      @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {
        printEvent("dnsEnd");
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

        var shouldClose: Boolean = false
        var lastSocket: Socket? = null
    
        override fun connectionAcquired(
          call: Call,
          connection: Connection,
        ) {
          lastSocket = connection.socket()
        }
    
        override fun requestHeadersStart(call: Call) {
          if (shouldClose) {
            lastSocket!!.close()
          }
        }
      }
    
      @Test
      fun socketFailureOnLargeRequestHeaders() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/LocalCache.java

              return ImmutableSet.of().iterator();
            }
          };
    
      /** Queue that discards all elements. */
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <E> Queue<E> discardingQueue() {
        return (Queue) DISCARDING_QUEUE;
      }
    
      /*
       * Note: All of this duplicate code sucks, but it saves a lot of memory. If only Java had mixins!
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/CollectPreconditions.java

       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
      }
    
      private CollectPreconditions() {}
    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)
  9. okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java

          .tag(Integer.class, 5)
          .tag(String.class, "hello")
          .build();
        Call call = client.newCall(request);
    
        assertEquals(5, call.tag(Integer.class));
        assertEquals("hello", call.tag(String.class));
        assertEquals(null, call.tag(Boolean.class));
        assertEquals(null, call.tag(Object.class));
      }
    
      @Test
      public void tagsCanBeComputed() {
        Request request = new Request.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. module-tests/src/main/java/okhttp3/modules/Main.java

     * limitations under the License.
     */
    
    package okhttp3.modules;
    
    import okhttp3.Call;
    import okhttp3.HttpUrl;
    
    import java.io.IOException;
    
    public class Main {
      public static void main(String[] args) throws IOException {
        Call call = OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt"));
    
        System.out.println(call.execute().body().string());
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 934 bytes
    - Click Count (0)
Back to Top