- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for 120 (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset. * 119 : Ignored. * 120 : Valid. * 121 : Disallowed * 122 : Mapped inline to the sequence: [b2]. * 123 : Mapped inline to the sequence: [b2a]. * 124 : Mapped inline to the sequence: [b2, b3].
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) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
data class Constant( override val rangeStart: Int, val type: Int, ) : MappedRange { val b1: Int get() = when (type) { TYPE_IGNORED -> 119 TYPE_VALID -> 120 TYPE_DISALLOWED -> 121 else -> error("unexpected type: $type") } } data class Inline1( override val rangeStart: Int, private val mappedTo: ByteString, ) : MappedRange {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
MockResponse.Builder() .addHeader("Last-Modified: " + formatDate(-120, TimeUnit.SECONDS)) .addHeader("Cache-Control: max-age=60") .build(), ) } @Test fun maxAgeInTheFutureWithDateAndLastModifiedHeaders() { assertFullyCached( MockResponse.Builder() .addHeader("Last-Modified: " + formatDate(-120, TimeUnit.SECONDS)) .addHeader("Date: " + formatDate(0, TimeUnit.SECONDS))
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) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
removeEntry(entry) } mostRecentTrimFailed = false } private fun validateKey(key: String) { require(LEGAL_KEY_PATTERN.matches(key)) { "keys must match regex [a-z0-9_-]{1,120}: \"$key\"" } } /** * Returns an iterator over the cache's current entries. This iterator doesn't throw * `ConcurrentModificationException`, but if new entries are added while iterating, those new
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/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
}.also { expected -> assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"") } assertFailsWith<IllegalArgumentException> { key = "has_CR\r" cache.edit(key) }.also { expected -> assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"") } assertFailsWith<IllegalArgumentException> { key = "has_LF\n"
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)