Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 886 for initialize (0.3 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            propFile.deleteOnExit();
            try (FileOutputStream fos = new FileOutputStream(propFile)) {
                fos.write("fess.version=1.0.0".getBytes());
            }
    
            // Initialize SystemHelper
            systemHelper = new SystemHelper() {
                @Override
                protected void parseProjectProperties(final java.nio.file.Path propPath) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                return;
            }
            for (EventSpy eventSpy : eventSpies) {
                try {
                    eventSpy.init(context);
                } catch (Exception | LinkageError e) {
                    logError("initialize", e, eventSpy);
                }
            }
        }
    
        public void onEvent(Object event) {
            if (eventSpies.isEmpty()) {
                return;
            }
            for (EventSpy eventSpy : eventSpies) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  3. finisher_api.go

    			if where, ok := c.Expression.(clause.Where); ok {
    				tx.assignInterfacesToValue(where.Exprs)
    			}
    		}
    
    		// initialize with attrs, conds
    		if len(tx.Statement.attrs) > 0 {
    			tx.assignInterfacesToValue(tx.Statement.attrs...)
    		}
    	}
    
    	// initialize with attrs, conds
    	if len(tx.Statement.assigns) > 0 {
    		tx.assignInterfacesToValue(tx.Statement.assigns...)
    	}
    	return
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

        protected final Transliterator transliterator = Transliterator.getInstance("Hiragana-Katakana");
    
        /** Flag indicating if the converter is initialized. */
        protected volatile boolean initialized = false;
    
        /** Tokenizer factory. */
        protected TokenizerFactory tokenizerFactory = null;
    
        /**
         * Default constructor.
         */
        public KatakanaConverter() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/transport/RequestTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class RequestTest {
    
        @Mock
        private Request mockRequest;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testGetCreditCost() {
            // Test case for getCreditCost method
            int expectedCreditCost = 10;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. internal/cachevalue/cache.go

    	ttl time.Duration
    
    	opts Opts
    
    	// Once can be used to initialize values for lazy initialization.
    	// Should be set before calling Get().
    	Once sync.Once
    
    	// Managed values.
    	val          atomic.Pointer[T]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    // New allocates a new cached value instance. Tt must be initialized with
    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            int fid = 0x1234;
            int securityInfo = OWNER_SECURITY_INFORMATION;
    
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    
            // Constructor should initialize the object without throwing exceptions
            assertNotNull(querySecurityDesc);
    
            // Test toString contains the expected values to verify field initialization
            String str = querySecurityDesc.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java

         * {@link MutableBuildParams#reset()} may be used.
         *
         * @param initializer Build parameter initializer
         */
        public static void init(Consumer<MutableBuildParams> initializer) {
            initializer.accept(MutableBuildParams.INSTANCE);
        }
    
        public static File getRuntimeJavaHome() {
            return value(runtimeJavaHome);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

        /** The timestamp when this file configuration was created. */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creation mode.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. .github/workflows/codeql-analysis.yml

        # Install and setup JDK 17
        - name: Setup JDK 17
          uses: actions/setup-java@v5
          with:
            distribution: temurin
            java-version: 17
    
        # Initializes the CodeQL tools for scanning.
        - name: Initialize CodeQL
          uses: github/codeql-action/init@v4
          with:
            languages: ${{ matrix.language }}
            tools: latest
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top