Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 485 for factory (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/collect/Multimaps.java

        return new CustomMultimap<>(map, factory);
      }
    
      private static final class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapBasedMultimap<K, V> {
        transient Supplier<? extends Collection<V>> factory;
    
        CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) {
          super(map);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Multimaps.java

        return new CustomMultimap<>(map, factory);
      }
    
      private static final class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapBasedMultimap<K, V> {
        transient Supplier<? extends Collection<V>> factory;
    
        CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) {
          super(map);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/CharSinkTester.java

          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

            if (topDocs.scoreDocs[0].score != 1_000_000) {
                throw new AssertionError("Expected score to be 1,000,000 but was [" + topDocs.scoreDocs[0].score + "]");
            }
            return topDocs;
        }
    
        private Query scriptScoreQuery(ScoreScript.Factory factory) {
            ScoreScript.LeafFactory leafFactory = factory.newFactory(Map.of(), lookup);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        /**
         * The maximum size of the client factory list.
         */
        protected int maxClientFactorySize = 10000;
    
        /**
         * Registers a CrawlerClientFactory with this creator.
         * All existing client mappings will be loaded into the new factory.
         * @param crawlerClientFactory The CrawlerClientFactory to register.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

            return kanaBuf.toString();
        }
    
        /**
         * Checks if the tokenizer is enabled.
         * @param factory The tokenizer factory.
         * @return True if the tokenizer is enabled, false otherwise.
         */
        protected boolean isEnableTokenizer(final TokenizerFactory factory) {
            // TODO return factory instanceof JapaneseTokenizerFactory;
            return false;
        }
    
    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)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
         * @return the message builder factory
         */
        @Nonnull
        MessageBuilderFactory messageBuilderFactory();
    
        /**
         * Returns the command-line arguments to be parsed.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        checkNotNull(factory);
        return new ByteSourceFactory() {
          @Override
          public ByteSource createSource(byte[] data) throws IOException {
            return factory.createSource(new String(data, UTF_8)).asByteSource(UTF_8);
          }
    
          @Override
          public byte[] getExpected(byte[] data) {
            return factory.getExpected(new String(data, UTF_8)).getBytes(UTF_8);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                        final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                        factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_SECURE_PROCESSING, true);
                        factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. docs/features/events.md

    0001 0.624 responseBodyEnd
    0001 0.624 connectionReleased
    0001 0.624 callEnd
    ```
    
    The `EventListener.Factory` also makes it possible to limit metrics to a subset of calls. This one captures metrics on a random 10%:
    
    ```java
    class MetricsEventListener extends EventListener {
      private static final Factory FACTORY = new Factory() {
        @Override public EventListener create(Call call) {
          if (Math.random() < 0.10) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top