- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 264 for reflectLen (0.07 seconds)
-
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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlTest.java
} @Test public void test_ProtectedConstructor() throws Exception { // ## Test that protected constructor can be accessed via reflection ## // ## Act ## final Constructor<Curl> constructor = Curl.class.getDeclaredConstructor(); constructor.setAccessible(true); final Curl instance = constructor.newInstance();Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 16.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.interpolation.reflection; /* * Copyright The Codehaus Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 16.9K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
import java.util.HashMap; import java.util.Map; import org.apache.maven.api.MojoExecution; import org.apache.maven.api.Project; import org.apache.maven.api.Session; import org.apache.maven.impl.model.reflection.ReflectionValueExtractor; import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException; import org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator; /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 9.8K bytes - Click Count (0) -
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);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (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) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
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]. */ @SafeVarargsCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 10.2K bytes - Click Count (1) -
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();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
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 String CLASS_VALUE_VALIDATOR_NAME =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 11.8K bytes - Click Count (0)