Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,996 for construct (0.04 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
            // The primary responsibility of this constructor is setting ptype and flags,
            // which are directly verifiable.
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacSidAttributesTest.java

        void testConstructor() {
            // Verify that the id and attributes are correctly set by the constructor
            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            // Assert
            assertEquals(fid, getFieldValue(write, "fid"), "FID should match constructor arg");
            assertEquals(offset, getFieldValue(write, "offset"), "Offset should match constructor arg");
            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

     * {@link #getRootCause()}, and {@link #toString()}.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbExceptionTest {
    
        /**
         * Happy path – constructor with a valid NT status code (0).
         */
        @Test
        @DisplayName("Constructor 0 – NT_STATUS_SUCCESS")
        void testConstructorWithZeroCode() {
            SmbException ex = new SmbException(0, false);
            assertEquals("NT_STATUS_SUCCESS", ex.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

        private final Cache<String, AtomicLong> lastTimes;
    
        /**
         * Constructs a new HostIntervalController with default parameters.
         */
        public HostIntervalController() {
            this.lastTimes = CacheBuilder.newBuilder().expireAfterAccess(DEFAULT_CACHE_EXPIRE_HOURS, TimeUnit.HOURS).build();
        }
    
        /**
         * Constructs a new HostIntervalController with the specified parameters.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/Tuple3.java

            return new Tuple3<>(value1, value2, value3);
        }
    
        /**
         * Constructs an instance.
         */
        public Tuple3() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param value1
         *            The first value
         * @param value2
         *            The second value
         * @param value3
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

     *   <li>{@code done} - Flag indicating whether the file has been retrieved.</li>
     * </ul>
     *
     * <p>Constructors:</p>
     * <ul>
     *   <li>{@code ContentOutputStream(int threshold, File tmpDir)} - Constructs a ContentOutputStream with a specified threshold and temporary directory.</li>
     * </ul>
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@code getFile()} - Marks the file as retrieved and returns the file.</li>
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

     */
    public class Trans2SetFileInformation extends SmbComTransaction {
    
        private final int fid;
        private final FileInformation info;
    
        /**
         * Constructs a Trans2SetFileInformation request with file information object.
         *
         * @param config the SMB configuration
         * @param fid the file identifier
         * @param info the file information to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test constructor DcerpcException(String msg).
         */
        @Test
        void testConstructorWithMessage() {
            String message = "Test message for DcerpcException.";
            DcerpcException exception = new DcerpcException(message);
    
            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message-only constructor.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top