- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for negative (0.26 sec)
-
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
/** * Sets the maximum age of a cached response. If the cache response's age exceeds [maxAge], it * will not be used and a network request will be made. * * @param maxAge a non-negative duration. This is stored and transmitted with [TimeUnit.SECONDS] * precision; finer precision will be lost. */ fun maxAge(maxAge: Duration) = apply {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
fun String.toLongOrDefault(defaultValue: Long): Long { return try { toLong() } catch (_: NumberFormatException) { defaultValue } } /** * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too * large, or [defaultValue] if it cannot be parsed. */ internal fun String?.toNonNegativeInt(defaultValue: Int): Int { try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
) if (dateCharacter == !invert) return i } return limit } /** * Returns the positive value if [s] is positive, or [Long.MIN_VALUE] if it is either 0 or * negative. If the value is positive but out of range, this returns [Long.MAX_VALUE]. * * @throws NumberFormatException if [s] is not an integer of any precision. */ private fun parseMaxAge(s: String): Long {
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) -
common-protos/k8s.io/api/batch/v1/generated.proto
optional JobTemplateSpec jobTemplate = 5; // The number of successful finished jobs to retain. Value must be non-negative integer. // Defaults to 3. // +optional optional int32 successfulJobsHistoryLimit = 6; // The number of failed finished jobs to retain. Value must be non-negative integer. // Defaults to 1. // +optional optional int32 failedJobsHistoryLimit = 7; }
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 21.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
encodings[ 0x12] = encoding // Device Control 2 encodings[ 0x13] = encoding // Device Control 3 (oft. XOFF) encodings[ 0x14] = encoding // Device Control 4 encodings[ 0x15] = encoding // Negative Acknowledgment encodings[ 0x16] = encoding // Synchronous idle encodings[ 0x17] = encoding // End of Transmission Block encodings[ 0x18] = encoding // Cancel encodings[ 0x19] = encoding // End of Medium
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
} connection.flush() cancelStreamIfNecessary() } } companion object { internal const val EMIT_BUFFER_SIZE = 16384L } /** [delta] will be negative if a settings frame initial window is smaller than the last. */ fun addBytesToWriteWindow(delta: Long) { writeBytesMaximum += delta if (delta > 0L) { condition.signalAll() } }
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) -
common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto
// level may borrow at any one time. // This field holds the ratio of that limit to the level's nominal // concurrency limit. When this field is non-nil, it must hold a // non-negative integer and the limit is calculated as follows. // // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 ) // // The value of this field can be more than 100, implying that this
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 19.4K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto
// level may borrow at any one time. // This field holds the ratio of that limit to the level's nominal // concurrency limit. When this field is non-nil, it must hold a // non-negative integer and the limit is calculated as follows. // // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 ) // // The value of this field can be more than 100, implying that this
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 19.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
val bytes = "020132".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.toDer(50L)).isEqualTo(bytes) assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(50L) } @Test fun `decode negative integer`() { val bytes = "02019c".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-100L) assertThat(Adapters.INTEGER_AS_LONG.toDer(-100L)).isEqualTo(bytes) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto
// level may borrow at any one time. // This field holds the ratio of that limit to the level's nominal // concurrency limit. When this field is non-nil, it must hold a // non-negative integer and the limit is calculated as follows. // // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 ) // // The value of this field can be more than 100, implying that this
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 19.4K bytes - Viewed (0)