Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 372 for 2112 (0.06 sec)

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

        testSortDescending(new byte[] {1, 2}, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {-1, 1, -2, 2}, new byte[] {2, 1, -1, -2});
      }
    
      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

        Iterator<List<Integer>> permutations =
            Collections2.permutations(newArrayList(1, 1, 2)).iterator();
        assertNextPermutation(newArrayList(1, 1, 2), permutations);
        assertNextPermutation(newArrayList(1, 2, 1), permutations);
        assertNextPermutation(newArrayList(2, 1, 1), permutations);
        assertNextPermutation(newArrayList(2, 1, 1), permutations);
        assertNextPermutation(newArrayList(1, 2, 1), permutations);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        testSortDescending(new byte[] {1, 2}, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {-1, 1, -2, 2}, new byte[] {2, 1, -1, -2});
      }
    
      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        testSortDescending(new double[] {1, 2}, new double[] {2, 1});
        testSortDescending(new double[] {1, 3, 1}, new double[] {3, 1, 1});
        testSortDescending(new double[] {-1, 1, -2, 2}, new double[] {2, 1, -1, -2});
        testSortDescending(
            new double[] {-1, 1, Double.NaN, -2, -0.0, 0, 2},
            new double[] {Double.NaN, 2, 1, 0, -0.0, -1, -2});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/IntsTest.java

        testSortDescending(new int[] {1, 2}, new int[] {2, 1});
        testSortDescending(new int[] {1, 3, 1}, new int[] {3, 1, 1});
        testSortDescending(new int[] {-1, 1, -2, 2}, new int[] {2, 1, -1, -2});
      }
    
      private static void testSortDescending(int[] input, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.sortDescending(input);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/DoublesTest.java

        testSortDescending(new double[] {1, 2}, new double[] {2, 1});
        testSortDescending(new double[] {1, 3, 1}, new double[] {3, 1, 1});
        testSortDescending(new double[] {-1, 1, -2, 2}, new double[] {2, 1, -1, -2});
        testSortDescending(
            new double[] {-1, 1, Double.NaN, -2, -0.0, 0, 2},
            new double[] {Double.NaN, 2, 1, 0, -0.0, -1, -2});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

        testSortDescending(new long[] {1, 2}, new long[] {2, 1});
        testSortDescending(new long[] {1, 3, 1}, new long[] {3, 1, 1});
        testSortDescending(new long[] {-1, 1, -2, 2}, new long[] {2, 1, -1, -2});
      }
    
      private static void testSortDescending(long[] input, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.sortDescending(input);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortsTest.java

        testSortDescending(new short[] {1, 2}, new short[] {2, 1});
        testSortDescending(new short[] {1, 3, 1}, new short[] {3, 1, 1});
        testSortDescending(new short[] {-1, 1, -2, 2}, new short[] {2, 1, -1, -2});
      }
    
      private static void testSortDescending(short[] input, short[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Shorts.sortDescending(input);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testSortDescending(new float[] {1, 2}, new float[] {2, 1});
        testSortDescending(new float[] {1, 3, 1}, new float[] {3, 1, 1});
        testSortDescending(new float[] {-1, 1, -2, 2}, new float[] {2, 1, -1, -2});
        testSortDescending(
            new float[] {-1, 1, Float.NaN, -2, -0f, 0, 2},
            new float[] {Float.NaN, 2, 1, 0, -0f, -1, -2});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        testSortDescending(new int[] {1, 2}, new int[] {2, 1});
        testSortDescending(new int[] {1, 3, 1}, new int[] {3, 1, 1});
        testSortDescending(new int[] {-1, 1, -2, 2}, new int[] {2, 1, -1, -2});
      }
    
      private static void testSortDescending(int[] input, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.sortDescending(input);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
Back to top