- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for sequence (0.17 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
serverSocket?.closeQuietly() } override fun toString(): String = "MockHttp2Peer[$port]" private class OutFrame( val sequence: Int, val start: Long, val truncated: Boolean, ) class InFrame(val sequence: Int, val reader: Http2Reader) : Http2Reader.Handler { @JvmField var type = -1 var clearPrevious = false @JvmField var outFinished = false
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.7K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `sequence of`() { val bytes = "3009020107020108020109".decodeHex() val sequenceOf = listOf(7L, 8L, 9L) val adapter = Adapters.INTEGER_AS_LONG.asSequenceOf() assertThat(adapter.fromDer(bytes)).isEqualTo(sequenceOf) assertThat(adapter.toDer(sequenceOf)).isEqualTo(bytes) } @Test fun `point with only x set`() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
return eventClass.cast(event) } } } catch (e: NoSuchElementException) { throw AssertionError("full event sequence: $fullEventSequence", e) } } /** * Remove and return the next event from the recorded sequence. * * @param eventClass a class to assert that the returned event is an instance of, or null to * take any event class.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
tagClass = tagClass, tag = tag, codec = codec, ) } /** Returns an adapter that returns a list of values of this type. */ fun asSequenceOf( name: String = "SEQUENCE OF", tagClass: Int = DerHeader.TAG_CLASS_UNIVERSAL, tag: Long = 16L, ): BasicDerAdapter<List<T>> { val codec = object : BasicDerAdapter.Codec<List<T>> { override fun encode(
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
* (like 0030..0039). * * The second element on each line is a mapping type, like `valid` or `mapped`. * * For lines that contain a mapping target, the next thing is a sequence of hex code points (like * 0031 2044 0034). * * All other data is ignored. */ fun BufferedSource.readPlainTextIdnaMappingTable(): SimpleIdnaMappingTable { val mappedTo = Buffer()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
docs/features/events.md
### EventListener Subclass [EventListener](https://square.github.io/okhttp/3.x/okhttp/okhttp3/EventListener.html) and override methods for the events you are interested in. In a successful HTTP call with no redirects or retries the sequence of events is described by this flow. ![Events Diagram](../assets/images/******@****.***)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
/** * Read/write persistence of the upstream source and its metadata. Its layout is as follows: * * * 16 bytes: either `OkHttp cache v1\n` if the persisted file is complete. This is another * sequence of bytes if the file is incomplete and should not be used. * * 8 bytes: *n*: upstream data size * * 8 bytes: *m*: metadata size * * *n* bytes: upstream data * * *m* bytes: metadata *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* 124 : Mapped inline to the sequence: [b2, b3]. * 125 : Mapped inline to the sequence: [b2a, b3]. * 126 : Mapped inline to the sequence: [b2, b3a]. * 127 : Mapped inline to the sequence: [b2a, b3a]. * * The range goes until the beginning of the next range. * * When b2 and b3 are unused, their values are set to 0x2d ('-'). * * Section Index (1,240 bytes) * =========================== *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Apr 02 11:39:58 GMT 2024 - 9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
private var mostRecentRebuildFailed: Boolean = false /** * To differentiate between old and current snapshots, each entry is given a sequence number each * time an edit is committed. A snapshot is stale if its sequence number is not equal to its * entry's sequence number. */ private var nextSequenceNumber: Long = 0 private val cleanupQueue = taskRunner.newQueue() private val cleanupTask =
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) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(parse("http://github.com/%%30%30").pathSegments) .containsExactly("%00") } @Test fun malformedUtf8Encoding() { // Replace a partial UTF-8 sequence with the Unicode replacement character. assertThat(parse("http://host/a/%E2%98x/c").pathSegments) .containsExactly("a", "\ufffdx", "c") } @Test fun incompleteUrlComposition() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0)