Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Updated (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        TimeZone.setDefault(originalDefault)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseStandardFormats() {
        // RFC 822, updated by RFC 1123 with GMT.
        assertThat("Thu, 01 Jan 1970 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Fri, 06 Jun 2014 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * contains space-separated values: a state, a key, and optional state-specific values.
       *
       *   o DIRTY lines track that an entry is actively being created or updated. Every successful
       *     DIRTY action should be followed by a CLEAN or REMOVE action. DIRTY lines without a matching
       *     CLEAN or REMOVE indicate that temporary files may need to be deleted.
       *
    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)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

                  ) {
                    // Flow control: notify the peer that we're ready for more data! Only send a
                    // WINDOW_UPDATE if the stream isn't in error.
                    connection.writeWindowUpdateLater(id, unacknowledgedBytesRead)
                    readBytes.update(acknowledged = unacknowledgedBytesRead)
                  }
                } else if (!finished && errorExceptionToDeliver == null) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

      }
    
      /**
       * Returns a human-readable representation of a `WINDOW_UPDATE` frame. This frame includes the
       * window size increment instead of flags.
       */
      fun frameLogWindowUpdate(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        windowSizeIncrement: Long,
      ): String {
        val formattedType = formattedType(TYPE_WINDOW_UPDATE)
        val direction = if (inbound) "<<" else ">>"
        return format(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/Progress.java

              totalBytesRead += bytesRead != -1 ? bytesRead : 0;
              progressListener.update(totalBytesRead, responseBody.contentLength(), bytesRead == -1);
              return bytesRead;
            }
          };
        }
      }
    
      interface ProgressListener {
        void update(long bytesRead, long contentLength, boolean done);
      }
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

      var total: Long = 0L
        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
        private set
    
      val unacknowledged: Long
        @Synchronized get() = total - acknowledged
    
      @Synchronized
      fun update(
        total: Long = 0,
        acknowledged: Long = 0,
      ) {
        check(total >= 0)
        check(acknowledged >= 0)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. docs/features/https.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient.Builder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  8. docs/security/tls_configuration_history.md

    [OkHttp314]: https://square.github.io/okhttp/changelog_3x/#version-310
    [OkHttp35]: https://square.github.io/okhttp/changelog_3x/#version-350
    [chromium_change]: https://developers.google.com/web/updates/2016/12/chrome-56-deprecations#remove_cbc-mode_ecdsa_ciphers_in_tls
    [googlecloud_ssl_policy]: https://cloud.google.com/load-balancing/docs/ssl-policies-concepts
    [http2_denylist]: https://tools.ietf.org/html/rfc7540#appendix-A
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response1.header("Allow")).isNull()
        assertThat((response1.receivedResponseAtMillis - t0).toDouble()).isCloseTo(0.0, 250.0)
    
        // A conditional cache hit updates the cache.
        Thread.sleep(500) // Make sure t0 and t1 are distinct.
        val t1 = System.currentTimeMillis()
        val response2 = get(server.url("/a"))
        assertThat(response2.code).isEqualTo(HttpURLConnection.HTTP_OK)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  10. fuzzing/fuzzingserver-update-expected.sh

    Jesse Wilson <******@****.***> 1553565692 -0500
    Shell Script
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 275 bytes
    - Viewed (0)
Back to top