Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 300 for Factory (0.26 sec)

  1. src/main/java/org/codelibs/core/collection/LruHashMap.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Default initial capacity.
         */
        protected static final int DEFAULT_INITIAL_CAPACITY = 16;
    
        /**
         * Default load factor.
         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
         * Upper limit on the number of entries.
         */
        protected final int limitSize;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

        }
    
        /**
         * Converts a phrase query to a query builder.
         *
         * @param context the query context
         * @param phraseQuery the phrase query
         * @param boost the boost factor
         * @return the query builder
         */
        protected QueryBuilder convertPhraseQuery(final QueryContext context, final PhraseQuery phraseQuery, final float boost) {
            final Term[] terms = phraseQuery.getTerms();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

         *
         * @param context the query context containing search configuration
         * @param query the Lucene query to convert (must be a FuzzyQuery)
         * @param boost the boost factor to apply to the query
         * @return OpenSearch QueryBuilder for fuzzy matching
         * @throws InvalidQueryException if the query is not a FuzzyQuery
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

    import org.lastaflute.core.message.UserMessages;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * Query command implementation for handling Boost queries.
     * Processes Lucene BoostQuery objects and applies boost factors.
     */
    public class BoostQueryCommand extends QueryCommand {
        /**
         * Default constructor for BoostQueryCommand.
         */
        public BoostQueryCommand() {
            super();
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Hashing.java

        // Round down to the nearest power of 2.
        expectedEntries = max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
          return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE;
        }
        return tableSize;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * Executes query processing through the filter chain.
         *
         * @param context the query context containing search parameters and state
         * @param query the Lucene query to be processed
         * @param boost the boost factor to apply to the query
         * @return the processed OpenSearch QueryBuilder
         */
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

        }
    
        /**
         * Converts a Lucene BooleanQuery to an OpenSearch BoolQueryBuilder.
         * @param context The query context.
         * @param booleanQuery The boolean query to convert.
         * @param boost The boost factor to apply.
         * @return The converted BoolQueryBuilder.
         */
        protected QueryBuilder convertBooleanQuery(final QueryContext context, final BooleanQuery booleanQuery, final float boost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       * next entry in the bucket chain). The pointers in [size(), entries.length) are all "null"
       * (UNSET).
       */
      @VisibleForTesting transient long[] entries;
    
      /** The load factor. */
      private transient float loadFactor;
    
      /** When we have this many elements, resize the hashtable. */
      private transient int threshold;
    
      /** Constructs a new empty instance of {@code ObjectCountHashMap}. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. docs/recipes.md

                for (i in 2..997) {
                  sink.writeUtf8(String.format(" * $i = ${factor(i)}\n"))
                }
              }
    
              private fun factor(n: Int): String {
                for (i in 2 until n) {
                  val x = n / i
                  if (x * i == n) return "${factor(x)} × $i"
                }
                return n.toString()
              }
            }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <K> the key type of {@link ConcurrentHashMap}
         * @param <V> the value type of {@link ConcurrentHashMap}
         * @param initialCapacity the initial capacity
         * @param loadFactor the load factor threshold for resizing
         * @param concurrencyLevel the estimated number of threads for concurrent updates
         * @return a new instance of {@link ConcurrentHashMap}
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
Back to top