Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 856 for custom (0.14 seconds)

  1. cmd/signals.go

    	finished := make(chan struct{})
    	go func() {
    		globalMRFState.shutdown()
    		close(finished)
    	}()
    	select {
    	case <-time.After(shutdownTimeout):
    	case <-finished:
    	}
    }
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 04 17:02:39 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/generate-clients.md

    次にこれを改善する方法を示します。🤓
    
    ## カスタム operation ID とより良いメソッド名 { #custom-operation-ids-and-better-method-names }
    
    operation ID の**生成方法**を**変更**して簡潔にし、クライアント側の**メソッド名をシンプル**にできます。
    
    この場合でも各 operation ID が**一意**であることは別の方法で保証する必要があります。
    
    例えば、各 *path operation* にタグを付け、**タグ**と *path operation* の**名前**(関数名)から operation ID を生成できます。
    
    ### 一意 ID 生成関数のカスタマイズ { #custom-generate-unique-id-function }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for any listenable future that chains other listenable futures. Unit tests need only
     * override buildChainingFuture and getSuccessfulResult, but they can add custom tests as needed.
     *
     * @author Nishant Thakkar
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public abstract class AbstractChainedListenableFutureTest<T> extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * </p>
     * <pre>
     * Map&lt;K, V&gt; syncMap = Collections.synchronizedMap(new LruHashMap&lt;&gt;(100));
     * </pre>
     * <p>
     * Alternatively, for high-concurrency scenarios, consider implementing a custom
     * LRU cache using {@link java.util.concurrent.ConcurrentHashMap} with an eviction strategy.
     * </p>
     *
     * @author koichik
     * @param <K> the key type
     * @param <V> the value type
     */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(183L, MemoryUtil.sizeOf(nestedMap));
        }
    
        @Test
        public void test_sizeOf_customObjects() {
            // Test fallback case for custom objects (should return 16L)
            assertEquals(16L, MemoryUtil.sizeOf(new Object()));
            assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

    /**
     * Response processor implementation for the Fess search engine.
     * This processor extends DefaultResponseProcessor to provide additional
     * processing capabilities through the ingest framework, allowing for
     * custom data transformation and enrichment during the crawling process.
     *
     * <p>It supports pluggable ingesters that can modify the result data
     * before it is stored in the search index.</p>
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

            assertEquals(Smb2LeaseState.SMB2_LEASE_FULL, fullLease);
        }
    
        @Test
        @DisplayName("Should handle custom state combinations")
        void testCustomStateCombinations() {
            int customState = 0x06; // Write + Handle but no Read
    
            assertFalse(Smb2LeaseState.hasReadCaching(customState));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

                assertEquals(times[2], info.getLastWriteTime());
            }
        }
    
        @Test
        @DisplayName("Test custom implementation of BasicFileInformation")
        void testCustomImplementation() {
            // Given - Create a custom implementation
            BasicFileInformation customImpl = new BasicFileInformation() {
                @Override
                public int getAttributes() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

                    + "<start_urls>https://example.com</start_urls>" + "</globalparams></config></eef>";
    
            parser.parse(new InputSource(new StringReader(xmlWithUserAgent)));
    
            parser.getWebConfig().ifPresent(config -> {
                assertEquals("custom-agent", config.getUserAgent());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

        public String handlerName;
    
        /** Parameters passed to the data handler */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String handlerParameter;
    
        /** Script for custom data processing logic */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String handlerScript;
    
        /** Boost value for documents from this data source */
        @Required
        @ValidateTypeFailure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top