Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 3,421 for list (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
      @BeforeExperiment
      void setUp() {
        this.striped = impl.get(numStripes);
        stripes = new int[numStripes];
        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
        Collections.shuffle(asList, new Random(0xdeadbeef));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.edges()).hasSize(NUM_EDGES);
          AbstractNetworkTest.validateNetwork(network);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
      @BeforeExperiment
      void setUp() {
        this.striped = impl.get(numStripes);
        stripes = new int[numStripes];
        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
        Collections.shuffle(asList, new Random(0xdeadbeef));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).hasSize(NUM_EDGES);
          AbstractGraphTest.validateGraph(graph);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to include from a list of artifact patterns.
     *
     */
    public class IncludesArtifactFilter implements ArtifactFilter {
        private final Set<String> patterns;
    
        public IncludesArtifactFilter(List<String> patterns) {
            this.patterns = new LinkedHashSet<>(patterns);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            repeat(sb, '*', DEFAULT_MAX_SIZE);
            return sb.toString();
        }
    
        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
            int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces
            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
            sb.setLength(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

        Object[] actual = getList().toArray();
        assertArrayEquals("toArray() order should match list", createOrderedArray(), actual);
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testToArray_tooSmall() {
        Object[] actual = getList().toArray(new Object[0]);
        assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual);
      }
    
      public void testToArray_largeEnough() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        // </lifecycle>
    
        private String id;
    
        private List<String> phases;
    
        private Map<String, LifecyclePhase> defaultPhases;
    
        private org.apache.maven.api.Lifecycle lifecycle;
    
        public String getId() {
            return id;
        }
    
        public org.apache.maven.api.Lifecycle getDelegate() {
            return lifecycle;
        }
    
        public List<String> getPhases() {
            return phases;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            return this;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            if (remoteRepositories == null) {
                remoteRepositories = new ArrayList<>();
            }
    
            return remoteRepositories;
        }
    
        public DefaultRepositoryRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/BadWordPager.java

        }
    
        public void setCurrentPageNumber(final int currentPageNumber) {
            this.currentPageNumber = currentPageNumber;
        }
    
        public List<Integer> getPageNumberList() {
            return pageNumberList;
        }
    
        public void setPageNumberList(final List<Integer> pageNumberList) {
            this.pageNumberList = pageNumberList;
        }
    
        protected int getDefaultPageSize() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top