Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,751 for constructors (0.26 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
        @Test
        @DisplayName("Constructor initializes fields")
        void testConstructor() throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file");
            assertEquals("/file", getPrivateField(cmd, "path"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the Trans2QueryPathInformation class.
     */
    class Trans2QueryPathInformationTest {
    
        /**
         * Tests the constructor of Trans2QueryPathInformation.
         */
        @Test
        void testConstructor() {
            // Given
            String filename = "testFile.txt";
            int informationLevel = 0x0100; // SMB_QUERY_FILE_BASIC_INFO
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

        }
    
        @Test
        void testEncodeSourceOffsetBeyondLength() {
            // Test with source offset + length exceeding source array bounds
            byte[] data = { 0x01, 0x02 };
            // This constructor call itself should not throw an error, as it's just storing the values.
            // The error should occur when System.arraycopy is called.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

        /** The contents reading analyzer settings field. */
        public static final String ANALYZER_SETTINGS_CONTENTS_READING_ANALYZER = "contentsReadingAnalyzer";
    
        // Private constructor to prevent instantiation
        private FieldNames() {
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        //                                                                           Constructor
        //                                                                           ===========
    
        /**
         * Default constructor.
         */
        public ApiAdminElevatewordAction() {
            super();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) i;
            }
        }
    
        @Test
        @DisplayName("Test constructor with Configuration only")
        void testConstructorWithConfigOnly() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            assertNotNull(request);
            // SMB2_SET_INFO command value is 0x0011
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

                assertEquals(testNonce[i], aad[20 + i], "Nonce should match at position " + (20 + i));
            }
        }
    
        @Test
        @DisplayName("Should create transform header with constructor")
        void testConstructorWithParameters() {
            // Given
            int messageSize = 2048;
            int flags = 0x0002;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValve.java

     * It extends {@link ErrorReportValve} and disables the display of
     * error reports and server information.
     */
    public class SuppressErrorReportValve extends ErrorReportValve {
        /**
         * Constructs a new valve to suppress error reports.
         */
        public SuppressErrorReportValve() {
            setShowReport(false);
            setShowServerInfo(false);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/UnsupportedSearchException.java

     */
    public class UnsupportedSearchException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new UnsupportedSearchException with the specified message.
         *
         * @param msg the exception message
         */
        public UnsupportedSearchException(final String msg) {
            super(msg);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrShort.java

    /**
     * NDR representation of a short integer (2-byte signed integer).
     */
    public class NdrShort extends NdrObject {
    
        /**
         * The short integer value.
         */
        public int value;
    
        /**
         * Constructs an NdrShort with the specified value.
         *
         * @param value the short integer value
         */
        public NdrShort(final int value) {
            this.value = value & 0xFF;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top