Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for reflectLen (0.22 sec)

  1. finisher_api.go

    	case reflect.Slice, reflect.Array:
    		var rowsAffected int64
    		tx = db.getInstance()
    
    		// the reflection length judgment of the optimized value
    		reflectLen := reflectValue.Len()
    
    		callFc := func(tx *DB) error {
    			for i := 0; i < reflectLen; i += batchSize {
    				ends := i + batchSize
    				if ends > reflectLen {
    					ends = reflectLen
    				}
    
    				subtx := tx.getInstance()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-6570631">JDK-6570631</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

                assertEquals(FessUserTimeZoneProcessProvider.centralTimeZone, providedTimeZone);
            } else {
                // Cannot test due to reflection access limitations
                assertTrue("Cannot access DBFluteSystem fields via reflection", true);
            }
        }
    
        public void test_processDBFluteSystem_setsTimeZoneProvider() {
            // When
            curtainBeforeHook.processDBFluteSystem();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().encryptionKeyLength = 8;
            // Domain name in OEM encoding (ASCII) with null terminator
            byte[] domainBytes = "DOMAIN\0".getBytes("US-ASCII");
            // Use reflection to set protected byteCount field
            int byteCountValue = 8 + domainBytes.length;
            setByteCount(response, byteCountValue);
            byte[] buffer = new byte[byteCountValue];
            int bufferIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            for (int i = 0; i < dataLength; i++) {
                testData[i] = (byte) (i & 0xFF);
            }
            System.arraycopy(testData, 0, buffer, dataOffsetFromHeader, dataLength);
    
            // Use reflection to set headerStart
            Field headerStartField = ServerMessageBlock2.class.getDeclaredField("headerStart");
            headerStartField.setAccessible(true);
            headerStartField.set(response, headerStart);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        @DisplayName("Test password stored as char array")
        void testPasswordStoredAsCharArray() throws Exception {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password123");
    
            // Use reflection to verify password is stored as char[]
            Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password");
            passwordField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * permit them, as it seems more likely that code would depend on that behavior than on the other.
       * Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * permit them, as it seems more likely that code would depend on that behavior than on the other.
       * Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

        }
    
        /**
         * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}.
         * Verifies that the constructor correctly initializes the object's fields using reflection for protected members.
         */
        @Test
        void testConstructor() throws NoSuchFieldException, IllegalAccessException {
            // Create an instance of the class to be tested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Test getInfo with compatible class
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Simulate setting info using reflection
            SmbInfoAllocation allocation = new SmbInfoAllocation();
            setInfoField(response, allocation);
    
            SmbInfoAllocation result = response.getInfo(SmbInfoAllocation.class);
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top