Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 347 for companies (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

            def rc = releasedVersion('4.3-rc-1')
            def versions = releasedVersions(snapshot, rc, [])
            def version = new ReleasedVersion('4.2', '20170913122310+0000')
    
            expect:
            UpdateReleasedVersions.@Companion.updateReleasedVersions(version, versions) == releasedVersions(snapshot, rc, [version])
        }
    
        def "final releases are sorted by version"() {
            def snapshot = snapshot('4.3')
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.4K bytes
    - Click Count (0)
  2. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.fakefilesystem.FakeFileSystem
    
    class PostPath {
      private val client = OkHttpClient()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

    import okhttp3.CompressionInterceptor
    import okhttp3.Gzip
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.ByteString
    import okio.ByteString.Companion.EMPTY
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class BrotliInterceptorTest {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 22 08:12:58 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

    release of the Kotlin language.
    
    
    Companion Imports
    -----------------
    
    The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is
    the same but `.kt` files now need `Companion` in the import.
    
    This works with OkHttp 3.x:
    
    ```kotlin
    import okhttp3.CipherSuite.forJavaName
    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

    import java.io.File
    import java.io.IOException
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Buffer
    import okio.BufferedSink
    import okio.ForwardingSink
    import okio.buffer
    
    class UploadProgress {
      companion object {
        private const val IMGUR_CLIENT_ID = "9199fdef135c122"
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. 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);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api

    public final class okhttp3/dnsoverhttps/DnsOverHttps : okhttp3/Dns {
    	public static final field Companion Lokhttp3/dnsoverhttps/DnsOverHttps$Companion;
    	public static final field MAX_RESPONSE_SIZE I
    	public final fun client ()Lokhttp3/OkHttpClient;
    	public final fun includeIPv6 ()Z
    	public fun lookup (Ljava/lang/String;)Ljava/util/List;
    	public final fun post ()Z
    	public final fun resolvePrivateAddresses ()Z
    	public final fun resolvePublicAddresses ()Z
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 27 15:23:43 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

      fun sha256(): ByteString {
        val hashingSink = HashingSink.sha256(blackholeSink())
        hashingSink.buffer().use {
          this.writeTo(it)
        }
        return hashingSink.hash
      }
    
      companion object {
        /** Empty request body with no content-type. */
        @JvmField
        val EMPTY: RequestBody = ByteString.EMPTY.toRequestBody()
    
        /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

    import kotlin.time.Duration
    import kotlin.time.Duration.Companion.milliseconds
    import kotlin.time.measureTime
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseSocket
    import mockwebserver3.SocketEffect.ShutdownConnection
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 08 21:45:04 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top