Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3041 - 3050 of 4,422 for Final (0.06 seconds)

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

     *
     * @author Bob Lee
     * @author Charles Fry
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtCompatible
    public final class MapMaker {
      private static final int DEFAULT_INITIAL_CAPACITY = 16;
      private static final int DEFAULT_CONCURRENCY_LEVEL = 4;
    
      static final int UNSET_INT = -1;
    
      // TODO(kevinb): dispense with this after benchmarking
      boolean useCustomMap;
    
      int initialCapacity = UNSET_INT;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Test thread safety with concurrent operations
            final int threadCount = 10;
            Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    String thumbnailId = "concurrent-" + index;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

     */
    public class CrawlerRuleMimeTypePatternTest extends UnitFessTestCase {
    
        // Pattern from webFileRule in rule.xml
        // Note: In XML, single backslash is used. In Java string, we need to double it.
        private static final String WEB_FILE_RULE_PATTERN = "(application/xml" //
                + "|application/xhtml\\+xml" //
                + "|application/rdf\\+xml" //
                + "|application/pdf" //
                + "|application/x-freemind" //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

        }
        return new ArrayItr<>(array, position);
      }
    
      private static final class ArrayItr<T extends @Nullable Object>
          extends AbstractIndexedListIterator<T> {
        static final UnmodifiableListIterator<Object> EMPTY = new ArrayItr<>(new Object[0], 0);
    
        private final T[] array;
    
        ArrayItr(T[] array, int position) {
          super(array.length, position);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Iterators.java

        }
        return new ArrayItr<>(array, position);
      }
    
      private static final class ArrayItr<T extends @Nullable Object>
          extends AbstractIndexedListIterator<T> {
        static final UnmodifiableListIterator<Object> EMPTY = new ArrayItr<>(new Object[0], 0);
    
        private final T[] array;
    
        ArrayItr(T[] array, int position) {
          super(array.length, position);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java

     * consumed from the classpath.
     */
    public class ExportElasticsearchBuildResourcesTask extends DefaultTask {
    
        private final Logger logger = Logging.getLogger(ExportElasticsearchBuildResourcesTask.class);
    
        private final Set<String> resources = new HashSet<>();
    
        private DirectoryProperty outputDir;
    
        public ExportElasticsearchBuildResourcesTask() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

     */
    @Deprecated(since = "4.0.0")
    class MethodMap {
        private static final int MORE_SPECIFIC = 0;
    
        private static final int LESS_SPECIFIC = 1;
    
        private static final int INCOMPARABLE = 2;
    
        /**
         * Keep track of all methods with the same name.
         */
        private final Map<String, List<Method>> methodByNameMap = new Hashtable<>();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

    @Deprecated
    public class EmptyLifecycleBindingsInjector extends DefaultLifecycleBindingsInjector {
    
        private static LifecycleRegistry lifecycleRegistry;
        private static PackagingRegistry packagingRegistry;
    
        private static final LifecycleRegistry EMPTY_LIFECYCLE_REGISTRY = new LifecycleRegistry() {
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return Collections.emptyIterator();
            }
    
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top