- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for choice (0.04 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
attributeTypeAndValue.asSetOf().asSequenceOf() /** * ``` * Name ::= CHOICE { * -- only one possibility for now -- * rdnSequence RDNSequence * } * ``` */ internal val name: DerAdapter<Pair<DerAdapter<*>, Any?>> = Adapters.choice( rdnSequence, ) /** * ``` * SubjectPublicKeyInfo ::= SEQUENCE {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 13.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
?: throw ProtocolException("expected a value at $reader") val choice = choices.firstOrNull { it.matches(peekedHeader) } ?: throw ProtocolException( "expected a matching choice but was $peekedHeader at $reader", ) return choice to choice.fromDer(reader) } override fun toDer( writer: DerWriter,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
* making this call. If it is not sorted, the results are undefined. * * <p>If there are elements in the list which compare as equal to the key, the choice of {@link * KeyPresentBehavior} decides which index is returned. If no elements compare as equal to the * key, the choice of {@link KeyAbsentBehavior} decides which index is returned. * * <p>This method runs in log(n) time on random-access lists, which offer near-constant-time
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
derReader.readOctetString() } }.also { expected -> assertThat(expected).hasMessage("constructed octet strings not supported for DER") } } @Test fun `choice IP address`() { val bytes = "8704c0a80201".decodeHex() val localhost = InetAddress.getByName("192.168.2.1").address.toByteString() assertThat(CertificateAdapters.generalName.fromDer(bytes))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
Set<String> e12AdjacentEdges = network.adjacentEdges(E12); Set<String> n12EdgesConnecting = network.edgesConnecting(N1, N2); assertThat(networkAsMutableNetwork.removeNode(N1)).isTrue(); // The choice of the size() method to call here is arbitrary. We assume that if any of the Set // methods executes the validation check, they all will, and thus we only need to test one of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
*/ @Throws(IOException::class) constructor(rawSource: Source) { rawSource.use { val source = rawSource.buffer() val urlLine = source.readUtf8LineStrict() // Choice here is between failing with a correct RuntimeException // or mostly silently with an IOException url = urlLine.toHttpUrlOrNull() ?: throw IOException("Cache corruption for $urlLine").also {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
if (floorEntry != null && floorEntry.getValue().contains(value)) { return floorEntry.getValue(); } else { // TODO(kevinb): revisit this design choice return null; } } @Override public boolean intersects(Range<C> range) { checkNotNull(range);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
assertThat(bimap.values()) .containsExactly(Country.CANADA, Country.SWITZERLAND, Country.CHILE) .inOrder(); // backward map ordered by country assertThat(bimap.inverse().keySet()) .containsExactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND) .inOrder(); // backward map ordered by country (even for currency values)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
assertThat(bimap.values()) .containsExactly(Country.CANADA, Country.SWITZERLAND, Country.CHILE) .inOrder(); // backward map ordered by country assertThat(bimap.inverse().keySet()) .containsExactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND) .inOrder(); // backward map ordered by country (even for currency values)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
directExecutor()); // Wait for the first task to be started in the background. It will block until we explicitly // stop it. blockingCallable.waitForStart(); // Give the second task a chance to (incorrectly) start up while the first task is running. assertThat(future2.isDone()).isFalse(); // Stop the first task. The second task should then run. blockingCallable.stop(); executor.shutdown();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0)