Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 800 for Initializer (0.06 seconds)

  1. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
            assertNotNull(trans2QueryPathInfo);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * Volatile to ensure visibility across threads.
         */
        protected volatile long lastLoadedTime = 0;
    
        /**
         * Creates a new instance of DataStoreFactory.
         * This constructor initializes the factory for managing data store instances
         * and provides methods for registration, retrieval, and plugin discovery.
         */
        public DataStoreFactory() {
            // Default constructor with explicit documentation
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            });
    
            cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(),
                    TimeUnit.MILLISECONDS);
    
            log.info("Authentication rate limiter initialized: maxAccount={}, maxIp={}, maxGlobal={}/min", maxAttemptsPerAccount,
                    maxAttemptsPerIp, maxGlobalAttemptsPerMinute);
        }
    
        /**
         * Check if authentication attempt is allowed
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. callbacks/preload.go

    	}
    	return nil
    }
    
    func preloadDB(db *gorm.DB, reflectValue reflect.Value, dest interface{}) *gorm.DB {
    	tx := db.Session(&gorm.Session{Context: db.Statement.Context, NewDB: true, SkipHooks: db.Statement.SkipHooks, Initialized: true})
    	db.Statement.Settings.Range(func(k, v interface{}) bool {
    		tx.Statement.Settings.Store(k, v)
    		return true
    	})
    
    	if err := tx.Statement.Parse(dest); err != nil {
    		tx.AddError(err)
    		return tx
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            assertEquals(originalSessionId, crawler.getSessionId());
        }
    
        public void test_addIncludeFilter() throws Exception {
            crawler.addIncludeFilter("http://example\\.com/.*");
    
            // Initialize the filter
            crawler.urlFilter.init(crawler.getSessionId());
    
            // Add a URL that matches the filter
            crawler.addUrl("http://example.com/page");
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Tue Nov 11 13:40:14 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid parameters
         */
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        public void testConstructor() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            response.setMaxReadWriteSize(request.getMaxFragmentedSize());
            response.setMaxFragmentedSize(request.getMaxFragmentedSize());
    
            state = RdmaConnectionState.ESTABLISHED;
    
            // Initialize credits
            sendCredits.set(response.getCreditsGranted());
    
            log.debug("DiSNI RDMA negotiation completed");
            return response;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            @Override
            public String toString() {
                return "Options [sessionId=" + sessionId + ", name=" + name + ", propertiesPath=" + propertiesPath + "]";
            }
        }
    
        /**
         * Initializes the necessary probes for monitoring system resources.
         */
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

         * This placeholder is replaced with the actual search query when
         * a regex pattern matches the query.
         */
        protected String queryPlaceHolder = "__QUERY__";
    
        /**
         * Initializes the RelatedContentHelper by loading related content configurations
         * from the data store. This method is called automatically after dependency
         * injection is complete.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top