Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 249 for reflectLen (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should return correct TID from TreeConnectResponse interface")
        void testGetTid() throws Exception {
            // Given - set tree ID using reflection
            Method setTreeIdMethod = ServerMessageBlock2.class.getDeclaredMethod("setTreeId", int.class);
            setTreeIdMethod.setAccessible(true);
            setTreeIdMethod.invoke(response, 12345);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // Then
            assertNotNull(responseWithNull);
            assertNotNull(responseWithNull.getNotifyInformation());
        }
    
        /**
         * Helper method to set header start using reflection
         */
        private void setHeaderStart(Smb2ChangeNotifyResponse response, int headerStart) throws Exception {
            Method method = ServerMessageBlock2.class.getDeclaredMethod("getHeaderStart");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Given & When
            String path = "\\\\testserver\\testshare";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
    
            // Then - verify command is set correctly using reflection
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> partitions = partition(list, 3);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SmbComWrite command - SMB write operations
     */
    public class SmbComWriteTest {
    
        /**
         * Helper method to get private field value using reflection
         */
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
                field.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

            String::class.java,
            String::class.java,
          )
        } catch (_: NoSuchMethodException) {
          null
        }
    
      /** Android method to clean and sort certificates, called via reflection. */
      @Suppress("unused", "UNCHECKED_CAST")
      fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. 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 {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. proguard/base.pro

    -keep class sun.misc.JavaLangAccess {
      *** getStackTraceElement(...);
      *** getStackTraceDepth(...);
    }
    
    # FinalizableReferenceQueue calls this reflectively
    # Proguard is intelligent enough to spot the use of reflection onto this, so we
    # only need to keep the names, and allow it to be stripped out if
    # FinalizableReferenceQueue is unused.
    -keepnames class com.google.common.base.internal.Finalizer {
      *** startFinalizer(...);
    }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/https/HandlerTest.java

                assertNotEquals(httpsPort, httpPort);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle reflection access to protected method")
            void testProtectedMethodAccess() throws Exception {
                // Given
                Handler testHandler = new Handler(null);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top