Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,751 for constructors (0.06 sec)

  1. src/main/java/org/codelibs/core/lang/ClassIterator.java

            return () -> new ClassIterator(clazz, includeObject);
        }
    
        /**
         * Constructs an instance.
         *
         * @param clazz
         *            the class (must not be {@literal null})
         */
        public ClassIterator(final Class<?> clazz) {
            this(clazz, true);
        }
    
        /**
         * Constructs an instance.
         *
         * @param clazz the class (must not be {@literal null})
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Constructs an SMB2 IOCTL request with an unspecified file ID
         * @param config the client configuration
         * @param controlCode the IOCTL control code
         */
        public Smb2IoctlRequest(final Configuration config, final int controlCode) {
            this(config, controlCode, Smb2Constants.UNSPECIFIED_FILEID);
        }
    
        /**
         * Constructs an SMB2 IOCTL request with a specified file ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.exception.ScriptEngineException;
    
    /**
     * This class is a factory for script engines.
     */
    public class ScriptEngineFactory {
        /**
         * Constructor.
         */
        public ScriptEngineFactory() {
            super();
        }
    
        private static final Logger logger = LogManager.getLogger(ScriptEngineFactory.class);
    
        /**
         * A map of script engines.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

            // Act: Call the method under test
            Principal actualPrincipal = ntlmRequest.getUserPrincipal();
    
            // Assert: Verify that the returned principal is the same as the one provided in the constructor
            assertSame(mockPrincipal, actualPrincipal, "getUserPrincipal should return the principal object.");
        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getAuthType()}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

        // ===================================================================================
        //                                                                         Constructor
        //                                                                         ===========
        /**
         * Default constructor.
         */
        public ApiAdminSearchlistAction() {
            super();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test default constructor creates instance with null values")
        void testDefaultConstructor() {
            assertNotNull(notifyInfo);
            assertEquals(0, notifyInfo.getAction());
            assertNull(notifyInfo.getFileName());
            assertEquals(0, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            when(mockConfig.getListSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration only")
        void testConstructorWithConfig() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
    
            assertNotNull(request);
            assertEquals(14, request.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        private SmbComQueryInformationResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
        }
    
        @Test
        void testConstructor() {
            // Test constructor with positive timezone offset
            long serverTimeZoneOffset = 3600000L; // 1 hour in milliseconds
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Configure OEM encoding to avoid NullPointerException
            when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        @DisplayName("Constructor with Configuration only should create empty Name instances")
        void testConstructorWithConfigOnly() {
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
    
            assertNotNull(packet);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

        private static final int BUFFER_SIZE = 1024;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with Configuration and ciphers")
            void testConstructorWithConfigAndCiphers() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top