Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,310 for klass (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        }
    
        val expectedEvents = mutableListOf<KClass<out CallEvent>>()
        // Start out with standard events...
        expectedEvents += CallStart::class
        expectedEvents += ProxySelectStart::class
        expectedEvents += ProxySelectEnd::class
        expectedEvents += DnsStart::class
        expectedEvents += DnsEnd::class
        expectedEvents += ConnectStart::class
        if (https) {
          expectedEvents += SecureConnectStart::class
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

      @JvmName("reifiedTag")
      inline fun <reified T : Any> tag(): T? = tag(T::class)
    
      /** Returns the tag attached with [type] as a key, or null if no tag is attached with that key. */
      fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags[type])
    
      /**
       * Returns the tag attached with `Object.class` as a key, or null if no tag is attached with
       * that key.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      }
    
      override fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags.get()[type])
    
      override fun <T> tag(type: Class<out T>): T? = tag(type.kotlin)
    
      override fun <T : Any> tag(
        type: KClass<T>,
        computeIfAbsent: () -> T,
      ): T = tags.computeIfAbsent(type, computeIfAbsent)
    
      override fun <T : Any> tag(
        type: Class<T>,
        computeIfAbsent: () -> T,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        assertThat(cacheEvents()).containsExactly(CacheMiss::class)
    
        result = cachedDns.lookup("google.com")
        assertThat(server.takeRequest(1, TimeUnit.MILLISECONDS)).isNull()
        assertThat(result).isEqualTo(listOf(address("157.240.1.18")))
    
        assertThat(cacheEvents()).containsExactly(CacheHit::class)
    
        result = cachedDns.lookup("www.google.com")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

            .url("https://square.com")
        val requestA = builder.tag(String::class, "a").build()
        val requestB = builder.tag(String::class, "b").build()
        val requestC = requestA.newBuilder().tag(String::class, "c").build()
        assertThat(requestA.tag(String::class)).isSameAs("a")
        assertThat(requestB.tag(String::class)).isSameAs("b")
        assertThat(requestC.tag(String::class)).isSameAs("c")
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

            override fun <T : Any> tag(type: KClass<T>): T? = TODO()
    
            override fun <T> tag(type: Class<out T>): T? = TODO()
    
            override fun <T : Any> tag(
              type: KClass<T>,
              computeIfAbsent: () -> T,
            ): T = TODO()
    
            override fun <T : Any> tag(
              type: Class<T>,
              computeIfAbsent: () -> T,
            ): T = TODO()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          ByteString::class to OCTET_STRING,
          Unit::class to NULL,
          Nothing::class to OBJECT_IDENTIFIER,
          Nothing::class to UTF8_STRING,
          String::class to PRINTABLE_STRING,
          Nothing::class to IA5_STRING,
          Nothing::class to UTC_TIME,
          Long::class to GENERALIZED_TIME,
          AnyValue::class to ANY_VALUE,
        )
    
      fun any(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    
    /**
     * Abstract base class for DCERPC handles providing core RPC functionality.
     * This class manages DCE/RPC protocol bindings and communications over SMB transport.
     */
    public abstract class DcerpcHandle implements DcerpcConstants {
    
        /**
         * Default constructor for DcerpcHandle.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

    /* jcifs smb client library in Java
     * Copyright (C) 2002  "Michael B. Allen" <jcifs at samba dot org>
     *                   "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenInit.java

    /* jcifs smb client library in Java
     * Copyright (C) 2004  "Michael B. Allen" <jcifs at samba dot org>
     *                   "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top