Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 425 for factor (0.04 sec)

  1. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Test that each factory method call returns a new instance ##
    
            // ## Act ##
            final CurlRequest request1 = Curl.get("http://example.com");
            final CurlRequest request2 = Curl.get("http://example.com");
    
            // ## Assert ##
            assertNotNull(request1);
            assertNotNull(request2);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                }
            } else {
                initializeDefaultHttpProxy(paramMap);
            }
    
            crawlerClientFactory = factory;
            return factory;
        }
    
        @Override
        public Map<String, String> getConfigParameterMap(final ConfigName name) {
            if (configParameterMap == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/TraversalUtil.java

         * @param factory
         *            The {@link Traverser} factory for the protocol. Must not be {@literal null}.
         */
        public static void addTraverserFactory(final String protocol, final TraverserFactory factory) {
            assertArgumentNotEmpty("protocol", protocol);
            assertArgumentNotNull("factory", factory);
    
            traverserFactories.put(protocol, factory);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        val timeMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
        logger.log("[$timeMs ms] $message")
      }
    
      open class Factory
        @JvmOverloads
        constructor(
          private val logger: HttpLoggingInterceptor.Logger = HttpLoggingInterceptor.Logger.DEFAULT,
        ) : EventListener.Factory {
          override fun create(call: Call): EventListener = LoggingEventListener(logger)
        }
    
      companion object
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

    import jakarta.annotation.Resource;
    
    /**
     * Factory class for managing and retrieving {@link Extractor} instances.
     * This class provides methods to add, retrieve, and manage extractors based on a key.
     * It also includes a builder for creating extractors.
     *
     * <p>
     * The factory maintains a map of keys to an array of {@link Extractor} objects.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

        public DefaultCorsHandler() {
            super();
        }
    
        /**
         * Registers this CORS handler with the factory for configured allowed origins.
         * This method is automatically called after bean initialization.
         */
        @PostConstruct
        public void register() {
            final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

      }
    
      public static void main(String... args) throws Exception {
        new PrintEvents().run();
      }
    
      private static final class PrintingEventListener extends EventListener {
        private static final Factory FACTORY = new Factory() {
          final AtomicLong nextCallId = new AtomicLong(1L);
    
          @Override public EventListener create(Call call) {
            long callId = nextCallId.getAndIncrement();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResourceException.java

            }
        }
    
        /**
         * Static factory for file handle exhaustion
         */
        public static SmbResourceException fileHandleExhausted(int errorCode) {
            return new SmbResourceException("File handle limit exceeded", errorCode, ResourceType.FILE_HANDLE);
        }
    
        /**
         * Static factory for connection pool exhaustion
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         */
        public XPath createXPath(final Consumer<XPathFactory> builder) {
            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
    )
    class KotlinDeprecationErrorTest {
      private val factory = TestValueFactory()
    
      @AfterEach
      fun tearDown() {
        factory.close()
      }
    
      @Test @Disabled
      fun address() {
        val address: Address = factory.newAddress()
        val url: HttpUrl = address.url()
        val dns: Dns = address.dns()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top