Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for until (0.5 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

     */
    package okhttp3.internal.http2
    
    import java.io.EOFException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.SocketTimeoutException
    import java.util.ArrayDeque
    import java.util.concurrent.locks.Condition
    import java.util.concurrent.locks.ReentrantLock
    import okhttp3.Headers
    import okhttp3.internal.EMPTY_HEADERS
    import okhttp3.internal.assertNotHeld
    import okhttp3.internal.connection.Locks.withLock
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  2. docs/bucket/retention/README.md

    PutObject API allows setting per object retention mode and retention duration using `x-amz-object-lock-mode` and `x-amz-object-lock-retain-until-date` headers. This takes precedence over any bucket object lock configuration w.r.t retention.
    
    ```sh
    aws s3api put-object --bucket testbucket --key lockme --object-lock-mode GOVERNANCE --object-lock-retain-until-date "2019-11-20"  --body /etc/issue
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        buf.readShort() // authority record count
        buf.readShort() // additional record count
    
        for (i in 0 until questionCount) {
          skipName(buf) // name
          buf.readShort() // type
          buf.readShort() // class
        }
    
        for (i in 0 until answerCount) {
          skipName(buf) // name
    
          val type = buf.readShort().toInt() and 0xffff
          buf.readShort() // class
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        while (i.hasNext()) {
          val entry = i.next()
          if (entry.currentEditor == null) {
            for (t in 0 until valueCount) {
              size += entry.lengths[t]
            }
          } else {
            entry.currentEditor = null
            for (t in 0 until valueCount) {
              fileSystem.deleteIfExists(entry.cleanFiles[t])
              fileSystem.deleteIfExists(entry.dirtyFiles[t])
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        val rangesOffsets = mutableListOf<Int>()
        for (i in 0 until compactTable.sections.length step 4) {
          rangesIndices += compactTable.sections.read14BitInt(i)
          rangesOffsets += compactTable.sections.read14BitInt(i + 2)
        }
        assertThat(rangesIndices).isEqualTo(rangesIndices.sorted())
    
        // Check the ranges.
        for (r in 0 until rangesOffsets.size) {
          val rangePos = rangesOffsets[r] * 4
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.IDN
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicBoolean
    import okhttp3.internal.and
    import okhttp3.internal.platform.Platform
    import okio.FileSystem
    import okio.GzipSource
    import okio.Path
    import okio.Path.Companion.toPath
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        val result = Buffer()
        val dot = '.'.code.toByte().toInt()
        when (val xy = readVariableLengthLong()) {
          in 0L until 40L -> {
            result.writeDecimalLong(0)
            result.writeByte(dot)
            result.writeDecimalLong(xy)
          }
          in 40L until 80L -> {
            result.writeDecimalLong(1)
            result.writeByte(dot)
            result.writeDecimalLong(xy - 40L)
          }
          else -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    
    /** Attempt routes one at a time until one connects. */
    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/1-time.md

    First, `Timer`s and `Ticker`s that are no longer referred to by the program
    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      }
    
      /** Allocates and returns `count` fake IPv4 addresses like [255.0.0.100, 255.0.0.101].  */
      fun allocate(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeInt(it.toInt()).readByteArray(),
            )
          }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top