Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 487 for Initializer (0.24 sec)

  1. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      private UncaughtExceptionHandlers() {}
    
      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
       * public static void main(String[] args) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

    class DcerpcSecurityProviderTest {
    
        @Mock
        private DcerpcSecurityProvider dcerpcSecurityProvider;
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testWrapMethodIsCalled() throws DcerpcException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java

     */
    public class ProtwordsCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(ProtwordsCreator.class);
    
        /**
         * Constructor for ProtwordsCreator.
         * Initializes the creator with a pattern to match protwords files.
         */
        public ProtwordsCreator() {
            super("protwords.*\\.txt");
        }
    
        /**
         * Registers this creator with the dictionary manager.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        @Mock
        private TransactNamedPipeInputStream mockPipeIn;
    
        @InjectMocks
        private TransTransactNamedPipeResponse response;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks created above
            MockitoAnnotations.openMocks(this);
            // We need to manually inject the mock as we are not using @InjectMocks on the constructor
            response = new TransTransactNamedPipeResponse(mockPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

     *
     * @author mbechler
     */
    public class DfsReferralResponseBuffer implements Decodable {
    
        /**
         * Default constructor for DfsReferralResponseBuffer.
         * Initializes the DFS referral response buffer for parsing server responses.
         */
        public DfsReferralResponseBuffer() {
            // Default constructor
        }
    
        private int pathConsumed;
        private int numReferrals;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                    // Any result is acceptable as long as no unexpected exception
                    assertNotNull(result);
                } catch (Exception e) {
                    // Expected behavior when components are not fully initialized
                    Throwable cause = e.getCause();
                    assertNotNull(cause);
                }
            } catch (Exception e) {
                // Test setup exception is acceptable
                assertNotNull(e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. utils/tests/dummy_dialecter.go

    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    type DummyDialector struct {
    	TranslatedErr error
    }
    
    func (DummyDialector) Name() string {
    	return "dummy"
    }
    
    func (DummyDialector) Initialize(db *gorm.DB) error {
    	callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{
    		CreateClauses:        []string{"INSERT", "VALUES", "ON CONFLICT", "RETURNING"},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

        private int[] defaultDialects;
    
        @BeforeEach
        void setUp() {
            // Initialize default GUID (16 bytes)
            defaultClientGuid = new byte[16];
            for (int i = 0; i < 16; i++) {
                defaultClientGuid[i] = (byte) (i + 1);
            }
    
            // Initialize default dialects
            defaultDialects = new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 };
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

         */
        public CustomSizeValidator() {
            // Empty constructor
        }
    
        private int min = 0;
        private int max = Integer.MAX_VALUE;
        private String message;
    
        @Override
        public void initialize(final CustomSize constraintAnnotation) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String minKey = constraintAnnotation.minKey();
            if (StringUtil.isNotBlank(minKey)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        private IngestFactory ingestFactory = null;
    
        /**
         * Default constructor for IndexUpdater.
         * Initializes a new instance with default settings.
         */
        public IndexUpdater() {
            super();
        }
    
        /**
         * Initializes the IndexUpdater after dependency injection.
         * Sets up the ingest factory if available in the component container.
         */
        @PostConstruct
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top