Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for store2 (0.2 sec)

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

     * bytes in length.
     *
     * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
     * the cache; the cache may delete or overwrite files from its directory. It is an error for
     * multiple processes to use the same cache directory at the same time.
     *
     * This cache limits the number of bytes that it will store on the filesystem. When the number of
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          if (request.isHttps && cacheResponse.handshake == null) {
            return CacheStrategy(request, null)
          }
    
          // If this response shouldn't have been stored, it should never be used as a response source.
          // This check should be redundant as long as the persistence store is well-behaved and the
          // rules are constant.
          if (!isCacheable(cacheResponse, request)) {
            return CacheStrategy(request, null)
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
      val headersList: List<Header>
        get() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

            var end = 1
            while (this[mid + end] != '\n'.code.toByte()) {
              end++
            }
            val publicSuffixLength = mid + end - mid
    
            // Compare the bytes. Note that the file stores UTF-8 encoded bytes, so we must compare the
            // unsigned bytes.
            var compareResult: Int
            var currentLabelIndex = labelIndex
            var currentLabelByteIndex = 0
            var publicSuffixByteIndex = 0
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      fun receiveData(
        source: BufferedSource,
        length: Int,
      ) {
        lock.assertNotHeld()
    
        this.source.receive(source, length.toLong())
      }
    
      /** Accept headers from the network and store them until the client calls [takeHeaders]. */
      fun receiveHeaders(
        headers: Headers,
        inFinished: Boolean,
      ) {
        lock.assertNotHeld()
    
        val open: Boolean
        this.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)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: no-store")
            .build(),
        )
      }
    
      @Test
      fun cacheControlNoStoreAndExpirationDateInTheFuture() {
        assertNotCached(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-2, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .addHeader("Cache-Control: no-store")
            .build(),
        )
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  7. .gitignore

    .gradle
    eclipsebin
    
    bin
    gen
    build
    out
    lib
    generated
    
    target
    pom.xml.*
    release.properties
    local.properties
    
    .idea
    *.iml
    *.ipr
    *.iws
    *.log
    classes
    
    obj
    
    .DS_Store
    
    # Special Mkdocs files
    docs/4.x
    docs/changelog.md
    docs/contributing.md
    docs/index.md
    
    # jenv
    /.java-version
    /site/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 10 11:52:12 GMT 2022
    - 337 bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheControlTest.kt

            .maxStale(2.seconds)
            .minFresh(3.seconds)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        return KeyStore.getInstance(keyStoreType ?: KeyStore.getDefaultType()).apply {
          val inputStream: InputStream? = null // By convention, 'null' creates an empty key store.
          load(inputStream, password)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    steam.museum steiermark.museum steigen.no steinkjer.no sth.ac.at stjohn.museum stjordal.no stjordalshalsen.no stjørdal.no stjørdalshalsen.no stockholm stockholm.museum stokke.no stor-elvdal.no storage storage.yandexcloud.net stord.no stordal.no store store.bb store.dk store.nf store.ro store.st store.ve storebase.store storfjord.no storj.farm stpetersburg.museum strand.no stranda.no stream streamlit.app streamlitapp.com stripper.jp stryn.no student.aero studio study stuff-4-sale.org stuff-4-sale.us stufftoread.com...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top