Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 80 for LinkedList (0.05 seconds)

  1. guava/src/com/google/common/collect/MultimapBuilder.java

                  new ArrayListSupplier<V>(expectedValuesPerKey));
            }
          };
        }
    
        /**
         * Uses a {@link LinkedList} to store value collections.
         *
         * <p><b>Performance note:</b> {@link ArrayList} and {@link java.util.ArrayDeque} consistently
         * outperform {@code LinkedList} except in certain rare and specific situations. Unless you have
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import java.io.File
    import java.util.LinkedList
    import java.util.Locale
    
    interface PerformanceTestBucketProvider {
        fun createPerformanceTestsFor(
            stage: Stage,
            performanceTestCoverage: PerformanceTestCoverage,
        ): List<PerformanceTest>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            assertEquals("Map contents should match", original, deserialized);
        }
    
        /**
         * Test serialization of LinkedList
         */
        @Test
        public void test_serializeDeserialize_linkedList() {
            LinkedList<String> original = new LinkedList<>();
            original.add("first");
            original.add("second");
            original.add("third");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        SmbComBlankResponse key = new SmbComBlankResponse();
        long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT;
        LinkedList referrals = new LinkedList();
        SigningDigest digest = null;
        LinkedList sessions = new LinkedList();
        ServerData server = new ServerData();
        /* Negotiated values */
        int flags2 = FLAGS2;
        int maxMpxCount = MAX_MPX_COUNT;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.Queue;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        }
        return returnValue;
      }
    
      // This is the old implementation of ExecutionList using a LinkedList.
      private static final class OldExecutionList {
        static final Logger log = Logger.getLogger(OldExecutionList.class.getName());
        final Queue<OldExecutionList.RunnableExecutorPair> runnables = new LinkedList<>();
        boolean executed = false;
    
        void add(Runnable runnable, Executor executor) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

            private final LinkedList<Object> interpolationTargets;
    
            private final InnerInterpolator interpolator;
    
            private final ModelProblemCollector problems;
    
            InterpolateObjectAction(Object target, InnerInterpolator interpolator, ModelProblemCollector problems) {
                this.interpolationTargets = new LinkedList<>();
                interpolationTargets.add(target);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client;
    
    import java.util.LinkedHashMap;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    
    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)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
    
          statsCounter.recordEviction();
          statsCounter.recordMisses(1);
          cachingHashMap.remove(key);
        }
        // `key` was in the cache, so it's a K.
        // (Or it's a weird case like a LinkedList in a Cache<ArrayList, ...>, but *shrug*.)
        @SuppressWarnings("unchecked")
        K castKey = (K) key;
        alertListenerIfPresent(castKey, value.getValue(), RemovalCause.EXPIRED);
        return null;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java

    import com.fasterxml.jackson.databind.node.ArrayNode;
    import com.fasterxml.jackson.databind.node.ObjectNode;
    import com.fasterxml.jackson.databind.node.TextNode;
    
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    /**
     * Perform the transformations against the set of RestTests from a given file.
     */
    public class RestTestTransformer {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 12 17:42:01 GMT 2021
    - 8.1K bytes
    - Click Count (0)
Back to Top