Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 206 for reflectLen (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                // Assert
                assertNotNull(unwrapped);
                assertTrue(unwrapped instanceof DosFileFilter);
    
                // Verify fields preserved (via reflection since they are protected)
                var wildcardField = DosFileFilter.class.getDeclaredField("wildcard");
                wildcardField.setAccessible(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation.reflection;
    
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.Hashtable;
    import java.util.Map;
    
    /**
     * A cache of introspection information for a specific class instance.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public void setDeprecated(String deprecated) {
            this.deprecated = deprecated;
        }
    
        /**
         * @return the list of parameters copy. Any change to returned list is NOT reflected on this instance. To add
         * parameters, use {@link #addParameter(Parameter)} method.
         */
        public List<Parameter> getParameters() {
            return new ArrayList<>(parameters);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/DfsTest.java

            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
        void testGetTrustedDomains_Success() throws IOException, SmbAuthException {
            // This test is complex due to static method dependencies and reflection access
            // For now, we'll test the disabled path which is safer
            testDfs.setDisabled(true);
            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/NtlmServletTest.java

         * @throws CIFSException
         */
        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-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
            return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength));
        }
    
        /**
         * Extracts the URL from the target object using reflection.
         *
         * @param target The target object.
         * @return The URL string, or null if not found.
         */
        private String getUrl(final Object target) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  7. 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)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation.reflection;
    
    /*
     * Copyright The Codehaus Foundation.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 16.9K 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. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.maven.api.MojoExecution;
    import org.apache.maven.api.Project;
    import org.apache.maven.api.Session;
    import org.apache.maven.impl.model.reflection.ReflectionValueExtractor;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top