- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,443 for expected (0.03 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
override fun fromDer(reader: DerReader): Long { val peekHeader = reader.peekHeader() ?: throw ProtocolException("expected time but was exhausted at $reader") return when { peekHeader.tagClass == Adapters.UTC_TIME.tagClass && peekHeader.tag == Adapters.UTC_TIME.tag -> { Adapters.UTC_TIME.fromDer(reader)
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/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
.callTimeout(1_000, TimeUnit.MILLISECONDS) .build() val call = client.newCall(Request(url)) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected).hasMessage("timeout") } } /** * This test reproduces a crash where OkHttp attempted to use a deferred connection when the call
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
* elements, including {@code null}, are permitted. * * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized) * constant time operations. Expected in the hashtable sense (depends on the hash function doing a * good job of distributing the elements to the buckets to a distribution not far from uniform), and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
ASN1EncodableVector encPart = new ASN1EncodableVector(); encPart.add(new DERTaggedObject(true, 0, new ASN1Integer(encType))); // Add kvno (key version number) field that is optional but expected when accessing index 2 encPart.add(new DERTaggedObject(true, 1, new ASN1Integer(1))); // kvno encPart.add(new DERTaggedObject(true, 2, new DEROctetString(encryptedData)));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
Request( url = server.url("/"), body = requestBody, ), ) assertFailsWith<IOException> { callA.execute() }.also { expected -> assertThat(expected).hasMessage("boom") } assertThat(server.requestCount).isEqualTo(0) // Confirm that the connection pool was not corrupted by making another call. This doesn't use
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
| NtlmFlags.NTLMSSP_NEGOTIATE_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_ALWAYS_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH; // Verify exactly the expected bits are set assertEquals(expectedFlags, context.ntlmsspFlags); } @Test void testConstructor_withoutSigning() { // Test constructor when signing is disabled
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
secureRandom.nextBytes(incorrectHash); try { preauthService.validatePreauthIntegrity(sessionId, incorrectHash); fail("Expected CIFSException"); } catch (CIFSException e) { // Expected } assertFalse(context.isValid()); // Further operations on invalid context should fail assertThrows(CIFSException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/NetworkBuilder.java
*/ @CanIgnoreReturnValue public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the network. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
if (structureSize == 9) { return super.readErrorResponse(buffer, bufferIndex); } if (structureSize != 49) { throw new SMBProtocolDecodingException("Expected structureSize = 49"); } bufferIndex += 4; this.ctlCode = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.fileId = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
fileFsSizeInfo.decode(buffer.array(), 0, 24); String result = fileFsSizeInfo.toString(); // Then String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]"; assertEquals(expected, result); } @Test @DisplayName("Should handle negative values in toString")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0)