- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 590 for Selection (0.06 seconds)
-
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Uses reflection to set internal array to null to exercise defensive branch in length() @Test @DisplayName("length(): handles internal null defensively") void length_handlesNullInternalArray() throws Exception { // Arrange SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 }); // Force internal field to null via reflection to exercise defensive branchCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt
*/ package okhttp3.internal.platform.android import javax.net.ssl.SSLSocket import okhttp3.Protocol import okhttp3.internal.platform.Platform import org.conscrypt.Conscrypt /** * Simple non-reflection SocketAdapter for Conscrypt when included as an application dependency * directly. */ class ConscryptSocketAdapter : SocketAdapter {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
}); assertThat(cache.size()).isAtMost(1); } public void testCompute() { cache.put(key, "1"); // simultaneous deletion doParallelCacheOp( count, n -> { cache.asMap().compute(key, (k, v) -> null); }); assertThat(cache.size()).isEqualTo(0); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); } @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // Reflection bug, or actual binary compatibility problem? public void testElementSetBridgeMethods() { for (Method m : TreeMultiset.class.getMethods()) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/JvmUtil.java
import java.util.Arrays; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Utility class for JVM-related operations. * This class provides methods for handling JVM options and version detection. */ public final class JvmUtil { private static final Pattern VERSION_PREFIX_PATTERN = Pattern.compile("([0-9]+)(\\-?):(.*)"); private JvmUtil() { // nothing } /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java
* be used to decide whether to apply a test to a given class-under-test. * * <p>This is needed because annotations can't implement interfaces, which is also why reflection is * used to extract values from the properties of the various annotations. * * @author George van den Driessche */ @Target(value = {ElementType.ANNOTATION_TYPE}) @Retention(value = RetentionPolicy.RUNTIME)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jun 14 17:55:55 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java
* be used to decide whether to apply a test to a given class-under-test. * * <p>This is needed because annotations can't implement interfaces, which is also why reflection is * used to extract values from the properties of the various annotations. * * @author George van den Driessche */ @Target(value = {ElementType.ANNOTATION_TYPE}) @Retention(value = RetentionPolicy.RUNTIME)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jun 14 17:55:55 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
*/ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getSetCountDuplicateInitializingMethods() { return asList( getMethod("testSetCount_threeToThree_removeSupported"), getMethod("testSetCount_threeToZero_supported"), getMethod("testSetCount_threeToOne_supported")); } @J2ktIncompatible @GwtIncompatible // reflection
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Verify the correct number of bytes were read (37 bytes total) assertEquals(37, bytesRead); // Verify values through reflection Field totalParamField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalParameterCount"); totalParamField.setAccessible(true); assertEquals(1000, totalParamField.get(response));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
this.nextBlock = next; } // Helper methods to manipulate parent's private fields via reflection or protected methods public void setStatusForTest(int status) { // Workaround: Use reflection to set private status field try { java.lang.reflect.Field statusField = ServerMessageBlock2.class.getDeclaredField("status");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0)