Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 789 for reflector (0.1 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public interface DerivedGenerator {
      TestSubjectGenerator<?> getInnerGenerator();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public interface DerivedGenerator {
      TestSubjectGenerator<?> getInnerGenerator();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  3. 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)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        Throwable thrownReflectionFailure = null;
        try {
          helper = new SafeAtomicHelper();
        } catch (Throwable reflectionFailure) { // sneaky checked exception
          // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
          // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
          // For these users fallback to a suboptimal implementation, based on synchronized. This will
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/NtlmServletTest.java

        private void setupMocksForAuth() throws Exception {
            // This is a simplified way to get a transport context into the servlet.
            // A more robust solution might involve reflection or modifying the servlet for testability.
            try {
                java.lang.reflect.Field transportContextField = NtlmServlet.class.getDeclaredField("transportContext");
                transportContextField.setAccessible(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

        }
    
        /**
         * Helper method to get private field value using reflection.
         * Searches the class hierarchy to find the field.
         */
        private Object getField(Object obj, String fieldName) throws Exception {
            Class<?> clazz = obj.getClass();
            while (clazz != null) {
                try {
                    java.lang.reflect.Field field = clazz.getDeclaredField(fieldName);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

        }
    
        private void injectProxy(ProxySelector selector, List<ArtifactRepository> repositories) {
            if (repositories != null && selector != null) {
                for (ArtifactRepository repository : repositories) {
                    repository.setProxy(getProxy(selector, repository));
                }
            }
        }
    
        private org.apache.maven.repository.Proxy getProxy(ProxySelector selector, ArtifactRepository repository) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // Absent key -> CIFSException
            CIFSException noKey = assertThrows(CIFSException.class, session::getSessionKey);
            assertTrue(noKey.getMessage().contains("No session key"));
    
            // Set a key via reflection and verify retrieval
            byte[] key = new byte[] { 1, 2, 3, 4 };
            setField(session, "sessionKey", key);
            assertArrayEquals(key, session.getSessionKey());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. 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)
  10. 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.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top