Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 607 for reflector (0.05 sec)

  1. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
            // We can't directly assert these values on the superclass fields without reflection or a testable superclass.
            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. 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)
  3. logger/sql.go

    var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})}
    
    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import com.google.errorprone.annotations.Keep;
    import java.io.Serializable;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Field;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.Method;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.lang.reflect.WildcardType;
    import java.util.ArrayList;
    import java.util.Collection;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(negotiationResponse.isSigningNegotiated()).thenReturn(false);
            when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true);
    
            // Use reflection to set the negotiated response
            Field negotiatedField = SmbTransportImpl.class.getDeclaredField("negotiated");
            negotiatedField.setAccessible(true);
            negotiatedField.set(initial, negotiationResponse);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. schema/schema.go

    	}
    
    	modelType := reflect.ValueOf(dest).Type()
    	if modelType.Kind() == reflect.Ptr {
    		modelType = modelType.Elem()
    	}
    
    	if modelType.Kind() != reflect.Struct {
    		if modelType.Kind() == reflect.Interface {
    			modelType = reflect.Indirect(reflect.ValueOf(dest)).Elem().Type()
    		}
    
    		for modelType.Kind() == reflect.Slice || modelType.Kind() == reflect.Array || modelType.Kind() == reflect.Ptr {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import com.google.errorprone.annotations.Keep;
    import java.io.Serializable;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Field;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.Method;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.lang.reflect.WildcardType;
    import java.util.ArrayList;
    import java.util.Collection;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top