- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 893 for isValid (0.04 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
.writeByte(0b01111111) val derReader = DerReader(buffer) assertFailsWith<ProtocolException> { derReader.read("test") {} }.also { expected -> assertThat(expected.message).isEqualTo("invalid encoding for length") } } @Test fun `decode length not encoded in shortest form possible`() { val buffer = Buffer() .writeByte(0b00000010) .writeByte(0b10000001)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
} } } } catch (SmbException e) { throw e; } catch (IOException e1) { log.debug("Ignoring invalid initial token", e1); } return new SpnegoContext(tc.getConfig(), setupTargetName(tc, host, new NtlmContext(tc, this, doSigning))); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
repos.add(repo); } catch (InvalidRepositoryException e) { throw new ProjectBuildingException("", "Invalid remote repository " + repository, e); } normalized = true; } else { repos.add((ArtifactRepository) repository); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
} catch (ConfigPropertyNotFoundException e) { assertTrue(e.getMessage().contains("non.existent.boolean")); } } // Test getTimeAdjustTimeMillisAsLong with invalid number format public void xtest_getTimeAdjustTimeMillisAsLong_invalidFormat() { FessEnv.SimpleImpl customEnv = new FessEnv.SimpleImpl() { protected Properties prepareProperties() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
} var lengthBits = source.readByte().toLong() and 0xff if (lengthBits == 0L || lengthBytes == 1 && lengthBits and 0b1000_0000 == 0L) { throw ProtocolException("invalid encoding for length") } for (i in 1 until lengthBytes) { lengthBits = lengthBits shl 8 lengthBits += source.readByte().toInt() and 0xff }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
void testGetPreNTLMResponse_invalidEncoding() { // Arrange when(cifsContext.getConfig()).thenReturn(configuration); when(configuration.getOemEncoding()).thenReturn("X-INVALID-ENCODING-NOT-EXISTENT"); // Act + Assert RuntimeException ex = assertThrows(RuntimeException.class, () -> NtlmUtil.getPreNTLMResponse(cifsContext, "password", new byte[8]));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertSame(t1, t2, "Expected same tree instance to be reused"); } @ParameterizedTest @NullAndEmptySource @DisplayName("treeConnectLogon: invalid logon share throws SmbException") void testTreeConnectLogonInvalid(String logonShare) { SmbSessionImpl session = spy(newSession()); when(configuration.getLogonShare()).thenReturn(logonShare);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
* Otherwise this returns an empty list of challenges. * * If a challenge uses the `token68` variant instead of auth params, there is exactly one * auth param in the challenge at key null. Invalid headers and challenges are ignored. * No semantic validation is done, for example that `Basic` auth must have a `realm` * auth param, this is up to the caller that interprets these challenges. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
// 001NNNNN maxDynamicTableByteCount = readInt(b, PREFIX_5_BITS) if (maxDynamicTableByteCount < 0 || maxDynamicTableByteCount > headerTableSizeSetting) { throw IOException("Invalid dynamic table size update $maxDynamicTableByteCount") } adjustDynamicTableByteCount() } b == 0x10 || b == 0 -> { // 000?0000 - Ignore never indexed bit.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Given: Create a new pool for this test to ensure isolation SmbTransportPoolImpl testPool = new SmbTransportPoolImpl(); when(ctx.getTransportPool()).thenReturn(testPool); // Connection with invalid port SmbTransportImpl first = testPool.getSmbTransport(ctx, address, invalidPort, false); // Verify that the transport was created with the default port
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0)