Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 485 for initializer (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        private String testPipeName = "\\PIPE\\testpipe";
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    ) : RoutePlanner.Plan,
      ExchangeCodec.Carrier {
      /** True if this connect was canceled; typically because it lost a race. */
      @Volatile private var canceled = false
    
      // These properties are initialized by connect() and never reassigned.
    
      /** The low-level TCP socket. */
      private var rawSocket: JavaNetSocket? = null
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        void testSetupCountInitialization() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    
            // The setup count should be initialized to 0x04 in the constructor
            // We can't directly access it, but we can verify the behavior is correct
            assertNotNull(notifyChange);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

        /** Use V2 endpoint. */
        protected boolean useV2Endpoint = true;
    
        /**
         * Initializes the Azure AD authenticator.
         * Registers this authenticator with the SSO manager and sets up group cache.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            corsFilter = new CorsFilter();
            corsHandlerFactory = new TestCorsHandlerFactory();
            // Initialize mocks
            mockRequest = new TestHttpServletRequest();
            mockResponse = new TestHttpServletResponse();
            mockFilterChain = new TestFilterChain();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top