Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,751 for constructors (0.06 sec)

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

            // Instantiate the class under test
            dfsImpl = new DfsImpl(mockContext);
        }
    
        // Test for the constructor
        @Test
        void testDfsImplConstructor() {
            // The constructor is called in setUp(), so if no exception is thrown, this test passes.
            assertNotNull(dfsImpl);
        }
    
        // Tests for isTrustedDomain
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            SmbPipeInputStream stream = newStreamWithInit(true);
    
            // reset to ignore constructor interactions
            reset(handle, tree, fd);
    
            assertDoesNotThrow(stream::close);
            verify(handle, never()).ensureOpen();
            verifyNoInteractions(tree, fd);
        }
    
        @Nested
        @DisplayName("Constructor input validation")
        class CtorValidation {
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
         * @param rus wrapped string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/UniAddressTest.java

            // Act
            UniAddress ua = new UniAddress(dummy);
            // Assert
            assertSame(dummy, ua.getAddress(), "constructor should store the supplied address");
        }
    
        @Test
        void constructorRejectsNull() {
            // Expect constructor to throw IllegalArgumentException when passed null
            assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.lang.reflect.Constructor;
    
    /**
     * Exception thrown when a {@link Constructor} cannot be found.
     *
     * @author higa
     */
    public class ConstructorNotFoundRuntimeException extends ClRuntimeException {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/resources/CLMessages.properties

    ECL0040=IOException occurred, because {0}
    ECL0042=An illegal access was generated by {0}, because {1}
    ECL0043=The target which {0} invoked is illegal, because {1}
    ECL0044=Class not found, details are {0}
    ECL0048=The constructor of {0} for arguments({1}) not found
    ECL0049=The method({1}) of {0} not found
    ECL0050=Can not parse, because {0}
    ECL0051=Can not parse of ({0})
    ECL0053=Bad parser configuration, because {0}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            // initialise with distinct pattern to detect unused trailing bytes
            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

            this.longMessage = longMessage;
        }
    
        /**
         * Constructs a new {@code MojoException} wrapping an underlying {@code Throwable}
         * and providing a {@code message}.
         */
        public MojoException(String message, Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new {@code MojoException} providing a {@code message}.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/CharMappingPager.java

        private int currentPageNumber;
    
        /** Character mapping ID for search filtering. */
        public String id;
    
        /**
         * Default constructor for CharMappingPager.
         */
        public CharMappingPager() {
            // Default constructor
        }
    
        /**
         * Clears all search criteria and resets pagination settings.
         */
        public void clear() {
            allRecordCount = 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/PathMapPager.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Pager for path mapping.
     */
    public class PathMapPager implements Serializable {
    
        /**
         * Default constructor.
         */
        public PathMapPager() {
            // Default constructor
        }
    
        private static final long serialVersionUID = 1L;
    
        /** Default page size. */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top