Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 545 for bplist (0.12 sec)

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

          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList();
          return list.isPartialView() ? ImmutableList.<E>asImmutableList(list.toArray()) : list;
        }
        return construct(elements.toArray());
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      private static class PermutationIterator<E> extends AbstractIterator<List<E>> {
        final List<E> list;
        final int[] c;
        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultimap.java

    import static com.google.common.collect.Iterators.emptyIterator;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      private final EdgeType edgeType;
      private final MutableNetwork<Integer, String> network;
    
      // add parameters: directed/undirected
      @Parameters
      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}});
      }
    
      public NetworkEquivalenceTest(EdgeType edgeType) {
        this.edgeType = edgeType;
        this.network = createNetwork(edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      private final EdgeType edgeType;
      private final MutableNetwork<Integer, String> network;
    
      // add parameters: directed/undirected
      @Parameters
      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}});
      }
    
      public NetworkEquivalenceTest(EdgeType edgeType) {
        this.edgeType = edgeType;
        this.network = createNetwork(edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        // 256 characters long
        assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
          assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s));
        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList()))
                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
                    .mirrors(request.getMirrors().stream().map(Mirror::getDelegate).collect(Collectors.toList()))
                    .profiles(request.getProfiles().stream()
                            .map(Profile::getDelegate)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                val buckets: List<List<PerformanceTestDuration>> = splitIntoBuckets(list, toIntFunction, largeElementSplitFunction, smallElementAggregateFunction, expectedBucketNumber, Integer.MAX_VALUE, { listOf() })
                    .filter { it.isNotEmpty() }
    
                buckets.mapIndexed { index: Int, classesInBucket: List<PerformanceTestDuration> ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertNoMoreLogs()
      }
    
      @Test
      fun connectFail() {
        assumeNotWindows()
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        server.enqueue(
          MockResponse.Builder()
            .socketPolicy(FailHandshake)
            .build(),
        )
        url = server.url("/")
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

              @Override
              protected void verify(List<T> elements) {
                assertEquals(newHashSet(elements), newHashSet(mmHeap.iterator()));
                assertIntact(mmHeap);
              }
            };
        tester.test();
      }
    
      public void testIteratorTester() throws Exception {
        Random random = new Random(0);
        List<Integer> list = Lists.newArrayList();
        for (int i = 0; i < 3; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top