Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 368 for copyFor (0.07 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      private static void testReverse(float[] input, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          float[] input, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      private static void testReverse(int[] input, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(int[] input, int fromIndex, int toIndex, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static void testReverse(double[] input, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          double[] input, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/FloatsTest.java

      private static void testReverse(float[] input, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          float[] input, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      private static void testReverse(long[] input, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(long[] input, int fromIndex, int toIndex, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input, fromIndex, toIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

      private final @Nullable V[][] array;
    
      private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
        this.rowList = ImmutableList.copyOf(rowKeys);
        this.columnList = ImmutableList.copyOf(columnKeys);
        checkArgument(rowList.isEmpty() == columnList.isEmpty());
    
        /*
         * TODO(jlevy): Support only one of rowKey / columnKey being empty? If we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<List<V>> allAsList(
          ListenableFuture<? extends V>... futures) {
        ListenableFuture<List<@Nullable V>> nullable =
            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
        @SuppressWarnings("nullness")
        ListenableFuture<List<V>> nonNull = nullable;
        return nonNull;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              SerializableTester.reserializeAndAssert(asMap);
              SerializableTester.reserializeAndAssert(descendingMap);
              assertEquals(
                  ImmutableList.copyOf(asMap.entrySet()).reverse(),
                  ImmutableList.copyOf(descendingMap.entrySet()));
    
              for (Range<Integer> query : RANGES) {
                assertEquals(expectedAsMap.get(query), asMap.get(query));
              }
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/TestInputStream.java

        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(in));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
      @Override
      public int read() throws IOException {
        throwIf(closed);
        throwIf(READ_THROWS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        requireSuccessors()[srcIndex] = 0;
      }
    
      @Override
      void resizeEntries(int newCapacity) {
        super.resizeEntries(newCapacity);
        predecessor = Arrays.copyOf(requirePredecessors(), newCapacity);
        successor = Arrays.copyOf(requireSuccessors(), newCapacity);
      }
    
      @Override
      int firstEntryIndex() {
        return firstEntry;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top