- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 577 for rejection (0.14 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
} /** * Test that the constant-time comparison method is actually used internally. */ @Test public void testConstantTimeMethodExists() throws Exception { // Use reflection to verify the constant-time method exists Method constantTimeMethod = NtlmPasswordAuthenticator.class.getDeclaredMethod("constantTimeEquals", char[].class, char[].class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
# Classes as Dependencies { #classes-as-dependencies } Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example. ## A `dict` from the previous example { #a-dict-from-the-previous-example } In the previous example, we were returning a `dict` from our dependency ("dependable"): {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} /** * Provides a check of whether an exception type is valid for use with {@link * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching. * * <p>Uses reflection to gracefully fall back to when certain implementations aren't available. */ private static final class GetCheckedTypeValidatorHolder { static final GetCheckedTypeValidator BEST_VALIDATOR = getBestValidator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, 0, dst, 50, 60)); } @ParameterizedTest @DisplayName("Test path traversal detection") @ValueSource(strings = { "../etc/passwd", "..\\windows\\system32", "folder/../../../etc", "test/../../root", "..\\..\\..\\windows" }) void testPathTraversal(String path) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
/* * The kerberos session key is not accessible via the JGSS API. IBM and * Oracle both implement a similar API to make an ExtendedGSSContext * available. That API is accessed via reflection to make this independent * of the runtime JRE */ if (EXT_GSS_CONTEXT_CLASS == null || INQUIRE_SEC_CONTEXT == null || INQUIRE_TYPE_SESSION_KEY == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertInstanceOf(SmbShareInfo.class, entries[1]); assertEquals("normal_share", entries[1].getName()); assertEquals(8, entries[1].getType()); } // Helper method to set DfsEnumArray using reflection private void setDfsEnumArray(MsrpcDfsRootEnum target, netdfs.DfsEnumArray200 array) throws Exception { Field eField = netdfs.DfsEnumStruct.class.getDeclaredField("e"); eField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
when { this.isEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) // Collection.toArray returns Object[] (covariant). // It is faster than creating real T[] via reflection (Arrays.copyOf). else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T> } /** Returns an immutable list containing [elements]. */ @SafeVarargs
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
// With filter, resource should be closed due to try-with-resources verify(filter).accept(resource); verify(resource).close(); } @Test @DisplayName("Iterator with rejecting filter - finds next acceptable") void iteratorWithRejectingFilter() throws Exception { // Setup: first entry rejected, second accepted FileEntry entry1 = mock(FileEntry.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
buffer.putShort((short) 0); // AceCount buffer.putShort((short) 0); // Padding return buffer.array(); } /** * Helper method to set error code using reflection */ private void setErrorCode(NtTransQuerySecurityDescResponse response, int errorCode) throws Exception { // Navigate through the inheritance hierarchy to find the errorCode field
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
private NullsBeforeTwo() { super("two"); // from TestStringSortedMapGenerator's sample keys } } @J2ktIncompatible @GwtIncompatible // reflection public static Method getMethod(Class<?> clazz, String name) { try { return clazz.getMethod(name); } catch (Exception e) { throw new IllegalArgumentException(e); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0)