Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 298 for copyBuf (0.06 sec)

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

      }
    
      static void testSort(byte[] input, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedBytes.sort(input);
        assertThat(input).isEqualTo(expected);
      }
    
      static void testSort(byte[] input, int from, int to, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedBytes.sort(input, from, to);
        assertThat(input).isEqualTo(expected);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                throw new UnsupportedOperationException("duplicate key");
              }
            }
            return ImmutableBiMap.copyOf(sourceMap);
          }
        },
        COPY_OF_ENTRIES {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
            return ImmutableBiMap.copyOf(entries);
          }
        },
        BUILDER_PUT_ONE_BY_ONE {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

       */
      public static <R, C, V> ImmutableTable<R, C, V> copyOf(
          Table<? extends R, ? extends C, ? extends V> table) {
        if (table instanceof ImmutableTable) {
          @SuppressWarnings("unchecked")
          ImmutableTable<R, C, V> parameterizedTable = (ImmutableTable<R, C, V>) table;
          return parameterizedTable;
        } else {
          return copyOf(table.cellSet());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.java

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

        }
    
        @Override
        @CheckForNull
        protected List<E> computeNext() {
          if (nextPermutation == null) {
            return endOfData();
          }
          ImmutableList<E> next = ImmutableList.copyOf(nextPermutation);
          calculateNextPermutation();
          return next;
        }
    
        void calculateNextPermutation() {
          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Platform.java

       * ObjectArrays, which is the main caller of this method.)
       */
      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Platform.java

       * ObjectArrays, which is the main caller of this method.)
       */
      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. android/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)
  9. android/guava-tests/test/com/google/common/primitives/BytesTest.java

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

       *
       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        return copyOf(multimap, null);
      }
    
      private static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap,
          @CheckForNull Comparator<? super V> valueComparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top