- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for committed (0.22 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
entry.zombie = true // We can't delete it until the current edit completes. } } } /** * Returns an unbuffered input stream to read the last committed value, or null if no value has * been committed. */ fun newSource(index: Int): Source? { synchronized(this@DiskLruCache) { check(!done) if (!entry.readable || entry.currentEditor != this || entry.zombie) {
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) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
logger.log("--> END ${request.method} (encoded body omitted)") } else if (requestBody.isDuplex()) { logger.log("--> END ${request.method} (duplex request body omitted)") } else if (requestBody.isOneShot()) { logger.log("--> END ${request.method} (one-shot body omitted)") } else { var buffer = Buffer() requestBody.writeTo(buffer)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
val buffer = Buffer().write(byteString) val reader = DerReader(buffer) return fromDer(reader) } /** * Writes [value] to this adapter, unless it is the default value and can be safely omitted. * * If this does write a value, it will write a tag and a length and a full value. */ fun toDer( writer: DerWriter, value: T, ) fun toDer(value: T): ByteString {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
creator.setString(0, "AB") creator.setString(1, "C") creator.abort() cache.close() assertJournalEquals("DIRTY k1", "REMOVE k1") } /** On Windows we have to wait until the edit is committed before we can delete its files. */ @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun `unterminated edit is reverted on cache close`(parameters: Pair<FileSystem, Boolean>) {
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) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogEqual("Content-Encoding: br") .assertLogEqual("Content-Type: text/plain; charset=utf-8") .assertLogMatch(Regex("""Content-Length: \d+""")) .assertLogEqual("<-- END HTTP (encoded body omitted)") .assertNoMoreLogs() applicationLogs .assertLogEqual("--> GET $url") .assertLogEqual("--> END GET") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname, * a literal IP address, or a hostname pattern. If no subject alternative names are added that * extension will be omitted. */ fun addSubjectAlternativeName(altName: String) = apply { altNames += altName } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
* stronger privacy, better performance, etc.) they will be adopted by the platform and then exposed * here. Cipher suites that are not available on either Android (through API level 24) or Java * (through JDK 9) are omitted for brevity. * * See [Android SSLEngine][sslengine] which lists the cipher suites supported by Android. * * See [JDK Providers][oracle_providers] which lists the cipher suites supported by Oracle. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 39.9K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* segments `["a", "b"]` build "/a/b" and the segments `["a", "b", ""]` build "/a/b/". * * If a path's last segment is the empty string then the path ends with "/". This class always * builds non-empty paths: if the path is omitted it defaults to "/". The default path's segment * list is a single empty string: `[""]`. * * ### Query * * The query is optional: it can be null, empty, or non-empty. For many HTTP URLs the query string
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
* * The values of this attribute determine whether this cookie is sent for cross-site calls: * * - "Strict": the cookie is omitted when the subject URL is an embedded resource or a * potentially-destructive navigation. * * - "Lax": the cookie is omitted when the subject URL is an embedded resource. It is sent for * potentially-destructive navigation. This is the default value. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* sorted by this 14-bit prefix. * * We define these values: * * * **b0b1s7**: (b0 << 14) + (b1 << 7) * * **b2b3s2**: (b2 << 9) + (b3 << 2) * * b0b1s7 is the section prefix. If a section is omitted, that means its ranges data exactly matches * that of the preceding section. * * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned. * * Mappings Data (4,719 bytes)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 11:39:58 GMT 2024 - 9K bytes - Viewed (0)