Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Villegas (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          /** The snapshot to return from [next]. Null if we haven't computed that yet. */
          private var nextSnapshot: Snapshot? = null
    
          /** The snapshot to remove with [remove]. Null if removal is illegal. */
          private var removeSnapshot: Snapshot? = null
    
          override fun hasNext(): Boolean {
            if (nextSnapshot != null) return true
    
            synchronized(this@DiskLruCache) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

          Headers.Builder()
            .addUnsafeNonAscii("header1", "valué1")
            .build()
        assertThat(headers.toString()).isEqualTo("header1: valué1\n")
      }
    
      // Fails on JS, ClassCastException: Illegal cast
      @Test fun ofMapThrowsOnNull() {
        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (unknownValues) return false
    
        // If the server returned a value for client_max_window_bits, fail the web socket.
        if (clientMaxWindowBits != null) return false
    
        // If the server returned an illegal server_max_window_bits, fail the web socket.
        if (serverMaxWindowBits != null && serverMaxWindowBits !in 8..15) return false
    
        // Success.
        return true
      }
    
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top