Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Editor (0.28 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cache.kt

        var editor: DiskLruCache.Editor? = null
        try {
          editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current.
          entry.writeTo(editor)
          editor.commit()
        } catch (_: IOException) {
          abortQuietly(editor)
        }
      }
    
      private fun abortQuietly(editor: DiskLruCache.Editor?) {
        // Give up because the cache cannot be written.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        val editor = cache.edit("k1")!!
        editor.setString(0, "A")
        editor.setString(1, "B")
        editor.abort()
        editor.assertInoperable()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun explicitRemoveAppliedToDiskImmediately(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        val editor = cache.edit("k1")!!
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      internal fun completeEdit(
        editor: Editor,
        success: Boolean,
      ) {
        val entry = editor.entry
        check(entry.currentEditor == editor)
    
        // If this edit is creating the entry for the first time, every index must have a value.
        if (success && !entry.readable) {
          for (i in 0 until valueCount) {
            if (!editor.written!![i]) {
              editor.abort()
    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)
  4. okhttp/src/test/resources/okhttp3/internal/idn/README.md

    ```
    cd okhttp/src/test/resources/okhttp3/internal/idn/
    ls rfc3454.*.txt | xargs -n 1 -I {} bash -c "echo {} ; cat {}" > okhttp_tables.txt
    curl https://www.rfc-editor.org/rfc/rfc3454.txt > rfc3454.txt
    diff rfc3454.txt okhttp_tables.txt | less
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 618 bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
          // OkHttp doesn't implement CheckBidi.
          "يa",
        )
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    Lokhttp3/internal/cache/CacheInterceptor;
    Lokhttp3/internal/cache/CacheRequest;
    Lokhttp3/internal/cache/CacheStrategy;
    Lokhttp3/internal/cache/DiskLruCache$Editor;
    Lokhttp3/internal/cache/DiskLruCache$Entry;
    Lokhttp3/internal/cache/DiskLruCache$Snapshot;
    Lokhttp3/internal/cache/DiskLruCache$cleanupTask$1;
    Lokhttp3/internal/cache/DiskLruCache$fileSystem$1;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    wpenginepowered.com
    js.wpenginepowered.com
    
    // Wix.com, Inc. : https://www.wix.com
    // Submitted by Shahar Talmi <******@****.***>
    wixsite.com
    editorx.io
    
    // XenonCloud GbR: https://xenoncloud.net
    // Submitted by Julian Uphoff <******@****.***>
    half.host
    
    // XnBay Technology : http://www.xnbay.com/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top