Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 508 for initializer (1.43 sec)

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

        }
    
        @AfterEach
        void restoreStreams() {
            System.setOut(originalOut);
            System.setErr(originalErr);
        }
    
        @Test
        @DisplayName("TestLocking fields are properly initialized")
        void testFieldInitialization() {
            TestLocking t = new TestLocking();
    
            // Check default field values
            assertEquals(1, t.numThreads, "Default numThreads should be 1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/RequestTest.java

        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(request, response, context, disconnectRequest, nextRequest);
        }
    
        @Test
        @DisplayName("Test initResponse returns initialized response")
        void testInitResponse() {
            // Given
            when(request.initResponse(context)).thenReturn(response);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructor() {
            // Act
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the Trans2FindNext2 class.
     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/ExecJob.java

        protected int timeout = -1; // sec
    
        /** Flag indicating whether the process has timed out */
        protected boolean processTimeout = false;
    
        /**
         * Default constructor for ExecJob.
         * Initializes default values for job configuration.
         */
        protected ExecJob() {
            // Default constructor
        }
    
        /**
         * Executes the job and returns the result as a string.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        private static final byte[] TEST_DATA = "Test pipe data".getBytes();
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructorInitialization() {
            // Given
            int offset = 0;
            int length = TEST_DATA.length;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            response = new Smb2SetInfoResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor initializes with config")
        void testConstructor() {
            assertNotNull(response);
            // Command is not set in constructor, only after decoding
            assertEquals((short) 0, response.getCommand());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/PropertyConfiguration.java

        public PropertyConfiguration(Properties props) throws CIFSException {
            super(false);
            initFromProperties(props);
            initDefaults(); // Use original initDefaults
        }
    
        /**
         * Initialize configuration from properties
         */
        private void initFromProperties(Properties props) {
            String value;
    
            // Standard jCIFS properties
            value = props.getProperty("jcifs.smb.client.username");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

    public class PhraseQueryCommandTest extends QueryTestBase {
        private PhraseQueryCommand queryCommand;
    
        @Override
        protected void setUpChild() throws Exception {
            // Initialize and register PhraseQueryCommand
            queryCommand = new PhraseQueryCommand();
            queryCommand.register();
        }
    
        public void test_getQueryClassName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. logger/logger.go

    	RecorderParamsFilter = func(ctx context.Context, sql string, params ...interface{}) (string, []interface{}) {
    		return sql, params
    	}
    )
    
    // New initialize logger
    func New(writer Writer, config Config) Interface {
    	var (
    		infoStr      = "%s\n[info] "
    		warnStr      = "%s\n[warn] "
    		errStr       = "%s\n[error] "
    		traceStr     = "%s\n[%.3fms] [rows:%v] %s"
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Jan 12 10:19:28 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top