Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 486 for companies (0.19 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import kotlin.test.assertFailsWith
    import okhttp3.AsyncDns.Companion.TYPE_A
    import okhttp3.AsyncDns.Companion.TYPE_AAAA
    import okhttp3.dnsoverhttps.DnsRecordCodec.decodeAnswers
    import okio.ByteString.Companion.decodeHex
    import org.junit.jupiter.api.Test
    
    class DnsRecordCodecTest {
      @Test
      fun testGoogleDotComEncoding() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersRequestTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.TestUtil.headerEntries
    import okhttp3.internal.http2.Http2ExchangeCodec.Companion.http2HeadersList
    import okhttp3.internal.http2.Http2ExchangeCodec.Companion.readHttp2HeadersList
    import org.junit.jupiter.api.Test
    
    class HeadersRequestTest {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.brotli.internal.uncompress
    import okio.ByteString
    import okio.ByteString.Companion.EMPTY
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ComparisonChain.java

      /**
       * Compares two objects using a comparator, <i>if</i> the result of this comparison chain has not
       * already been determined.
       */
      public abstract <T extends @Nullable Object> ComparisonChain compare(
          @ParametricNullness T left, @ParametricNullness T right, Comparator<T> comparator);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  5. okhttp-tls/api/okhttp-tls.api

    }
    
    public final class okhttp3/tls/HeldCertificate {
    	public static final field Companion Lokhttp3/tls/HeldCertificate$Companion;
    	public final fun -deprecated_certificate ()Ljava/security/cert/X509Certificate;
    	public final fun -deprecated_keyPair ()Ljava/security/KeyPair;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 26 19:17:33 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

    internal fun Long.commonClampToInt(): Int {
      return when {
        this > Int.MAX_VALUE -> Int.MAX_VALUE
        else -> toInt()
      }
    }
    
    internal fun CacheControl.Companion.commonForceNetwork() =
      CacheControl.Builder()
        .noCache()
        .build()
    
    internal fun CacheControl.Companion.commonForceCache() =
      CacheControl.Builder()
        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.File
    import java.io.IOException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class PostString {
      private val client = OkHttpClient()
    
      fun run() {
        val postBody =
          """
          |Releases
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

             * Avoid shortening reference to enum companion used in enum entry initialization there is no guarantee that the companion object
             * was initialized in advance.
             * For example, When we shorten the following code:
             *     enum class C(val i: Int) {
             *         ONE(<expr>C.K</expr>)  // shorten C.K to K
             *         ;
             *         companion object {
             *             const val K = 1
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Dns.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Dns.Companion.SYSTEM
    
    /**
     * A domain name service that resolves IP addresses for host names. Most applications will use the
     * [system DNS service][SYSTEM], which is the default. Some applications may provide their own
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top