Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sonst (0.3 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

    A wildcard rule was added that wildcards the first level! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
      }
    
      companion object {
        private const val NEWLINE = '\n'.code
        private const val WILDCARD_CHAR = "*"
        private val EXCEPTION_RULE_MARKER: ByteString = "!".encodeUtf8()
      }
    }
    
    suspend fun main() {
      val publicSuffixListGenerator = PublicSuffixListGenerator()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

    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"
        private val MEDIA_TYPE_PNG = "image/png".toMediaType()
      }
    
      private val client = OkHttpClient()
    
      @Throws(Exception::class)
      fun run() {
        val progressListener =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        override fun source(): BufferedSource = bodySource
      }
    
      companion object {
        private const val VERSION = 201105
        private const val ENTRY_METADATA = 0
        private const val ENTRY_BODY = 1
        private const val ENTRY_COUNT = 2
    
        @JvmStatic
        fun key(url: HttpUrl): String =
          url
            .toString()
            .encodeUtf8()
            .md5()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

          Thread {
            sleep(delayMillis)
            toInterrupt.interrupt()
          }
        interruptingCow.start()
      }
    
      companion object {
        // The size of the socket buffers in bytes.
        private const val SOCKET_BUFFER_SIZE = 256 * 1024
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          class UploadProgress {
    
            companion object {
              private const val IMGUR_CLIENT_ID = "9199fdef135c122"
              private val MEDIA_TYPE_PNG = "image/png".toMediaType()
    
              @JvmStatic
              fun main(args: Array<String>) {
                UploadProgress().run()
              }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top