Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 843 for bist (0.19 sec)

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

      public static <T extends @Nullable Object> List<List<T>> partition(List<T> list, int size) {
        checkNotNull(list);
        checkArgument(size > 0);
        return (list instanceof RandomAccess)
            ? new RandomAccessPartition<>(list, size)
            : new Partition<>(list, size);
      }
    
      private static class Partition<T extends @Nullable Object> extends AbstractList<List<T>> {
        final List<T> list;
        final int size;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertThat(actual.lastIndexOf(list(1, 1, 1))).isEqualTo(-1);
      }
    
      public void testCartesianProduct_unrelatedTypes() {
        List<Integer> x = list(1, 2);
        List<String> y = list("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTester.java

                  public List<String> getResult() {
                    return list;
                  }
                });
    
        assertExpectedLines(list);
      }
    
      public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
        List<String> list =
            source.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
                  @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

      }
    
      public void testHashCodeImpl() {
        List<Integer> base = createList(Integer.class, 1, 2, 2);
        List<Integer> copy = createList(Integer.class, 1, 2, 2);
        List<Integer> outOfOrder = createList(Integer.class, 2, 2, 1);
        List<Integer> diffValue = createList(Integer.class, 1, 2, 4);
        List<Integer> diffLength = createList(Integer.class, 1, 2);
        List<Integer> empty = createList(Integer.class);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/DoubleUtils.java

        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
         * easier, we pick out the top SIGNIFICAND_BITS + 2 bits, so we have one to help us round up or
         * down. twiceSignifFloor will contain the top SIGNIFICAND_BITS + 2 bits, and signifFloor the
         * top SIGNIFICAND_BITS + 1.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:37:52 GMT 2021
    - 5.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<String>>() {}.capture())
                .resolveType(t));
        assertEquals(
            Types.subtypeOf(String.class),
            new TypeResolver()
                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<? extends String>>() {}.capture())
                .resolveType(t));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        @SuppressWarnings("unused")
        void withoutBound(List<?> list) {}
    
        @SuppressWarnings("unused")
        void withObjectBound(List<? extends Object> list) {}
    
        @SuppressWarnings("unused")
        void withUpperBound(List<? extends int[][]> list) {}
    
        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

    @GwtIncompatible
    public abstract class AbstractHashFloodingTest<T> extends TestCase {
      private final List<Construction<T>> constructions;
      private final IntToDoubleFunction constructionAsymptotics;
      private final List<QueryOp<T>> queries;
    
      AbstractHashFloodingTest(
          List<Construction<T>> constructions,
          IntToDoubleFunction constructionAsymptotics,
          List<QueryOp<T>> queries) {
        this.constructions = constructions;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        RunnableExecutorPair reversedList = null;
        while (list != null) {
          RunnableExecutorPair tmp = list;
          list = list.next;
          tmp.next = reversedList;
          reversedList = tmp;
        }
        while (reversedList != null) {
          executeListener(reversedList.runnable, reversedList.executor);
          reversedList = reversedList.next;
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

         * {@link #create(Object...)}.
         */
        protected abstract List<Integer> create(Integer[] elements);
    
        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          return insertionOrder;
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top