- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 377 for adapters (0.34 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
// will include a tag and length header as a prefix. val adapter = chooser(writer.typeHint) as DerAdapter<Any?>? when { adapter != null -> adapter.toDer(writer, value) else -> writer.writeOctetString(value as ByteString) } } override fun fromDer(reader: DerReader): Any? { val adapter = chooser(reader.typeHint) as DerAdapter<Any?>? return when {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
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`() { val bytes = "3003800109".decodeHex() val point = Point(9L, null) assertThat(Point.ADAPTER.fromDer(bytes)).isEqualTo(point)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
pkg/kubelet/winstats/network_stats.go
adapters.Insert(n.mergePacketsReceivedDiscardedData(packetsReceivedDiscardedData)...) adapters.Insert(n.mergePacketsReceivedErrorsData(packetsReceivedErrorsData)...) adapters.Insert(n.mergePacketsOutboundDiscardedData(packetsOutboundDiscardedData)...) adapters.Insert(n.mergePacketsOutboundErrorsData(packetsOutboundErrorsData)...) // delete the cache for non-existing adapters. for adapter := range n.adapterStats { if !adapters.Has(adapter) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* ``` */ private val attributeTypeAndValue: BasicDerAdapter<AttributeTypeAndValue> = Adapters.sequence( "AttributeTypeAndValue", Adapters.OBJECT_IDENTIFIER, Adapters.any( String::class to Adapters.UTF8_STRING, Nothing::class to Adapters.PRINTABLE_STRING, AnyValue::class to Adapters.ANY_VALUE, ), decompose = { listOf( it.type,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/collateral/metrics/otel_test.go
// AdapterInfosTotal is a measure of the number of known adapters. AdapterInfosTotal = monitoring.NewGauge( "mixer/config/adapter_info_configs_total", "The number of known adapters in the current config.", ) want = []monitoring.MetricDefinition{ { Name: "mixer_config_adapter_info_configs_total", Type: "LastValue", Description: "The number of known adapters in the current config.", }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 3.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* hint for further adapters to process. * * Types like ANY and CHOICE that don't have a consistent tag cannot use this. */ internal data class BasicDerAdapter<T>( private val name: String, /** The tag class this adapter expects, or -1 to match any tag class. */ val tagClass: Int, /** The tag this adapter expects, or -1 to match any tag. */ val tag: Long,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java
// create the listener adapters right when the ConsumerOperationParameters are instantiated but no earlier, // this ensures that when multiple requests are issued that are built from the same builder, such requests do not share any state kept in the listener adapters
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 19:46:37 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParametersTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt
* limitations under the License. */ package okhttp3.tls.internal.der import okio.ByteString /** * A value whose type is not specified statically. Use this with [Adapters.any] which will attempt * to resolve a concrete type. */ internal data class AnyValue( var tagClass: Int, var tag: Long, var constructed: Boolean = false, var length: Long = -1L,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
/** Type hints scoped to the call stack, manipulated with [pushTypeHint] and [popTypeHint]. */ private val typeHintStack = mutableListOf<Any?>() /** * The type hint for the current object. Used to pick adapters based on other fields, such as * in extensions which have different types depending on their extension ID. */ var typeHint: Any? get() = typeHintStack.lastOrNull() set(value) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0)