- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 102 for distance (0.19 sec)
-
android/guava/src/com/google/common/primitives/Floats.java
* moved to index "distance", and the element at index {@code i} ends up at index {@code (distance * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Floats.asList(array), * distance)}, but is considerably faster and avoids allocation and garbage collection. * * <p>The provided "distance" may be negative, which will rotate left.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
* Performs a right rotation of {@code array} of "distance" places, so that the first element is * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Bytes.asList(array), * distance)}, but is considerably faster and avoids allocation and garbage collection. * * <p>The provided "distance" may be negative, which will rotate left.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
} private static void testRotate(boolean[] input, int distance, boolean[] expectedOutput) { input = Arrays.copyOf(input, input.length); Booleans.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( boolean[] input, int distance, int fromIndex, int toIndex, boolean[] expectedOutput) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
} private static void testRotate(boolean[] input, int distance, boolean[] expectedOutput) { input = Arrays.copyOf(input, input.length); Booleans.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( boolean[] input, int distance, int fromIndex, int toIndex, boolean[] expectedOutput) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortsTest.java
} private static void testRotate(short[] input, int distance, short[] expectedOutput) { input = Arrays.copyOf(input, input.length); Shorts.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( short[] input, int distance, int fromIndex, int toIndex, short[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} private static void testRotate(float[] input, int distance, float[] expectedOutput) { input = Arrays.copyOf(input, input.length); Floats.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( float[] input, int distance, int fromIndex, int toIndex, float[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 29.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
} private static void testRotate(double[] input, int distance, double[] expectedOutput) { input = Arrays.copyOf(input, input.length); Doubles.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( double[] input, int distance, int fromIndex, int toIndex, double[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 31.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} private static void testRotate(double[] input, int distance, double[] expectedOutput) { input = Arrays.copyOf(input, input.length); Doubles.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( double[] input, int distance, int fromIndex, int toIndex, double[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 31.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
} private static void testRotate(short[] input, int distance, short[] expectedOutput) { input = Arrays.copyOf(input, input.length); Shorts.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( short[] input, int distance, int fromIndex, int toIndex, short[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 26.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} private static void testRotate(float[] input, int distance, float[] expectedOutput) { input = Arrays.copyOf(input, input.length); Floats.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( float[] input, int distance, int fromIndex, int toIndex, float[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 29.5K bytes - Viewed (0)