- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,413 for distance (0.19 sec)
-
android/guava/src/com/google/common/primitives/Shorts.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(Shorts.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 15 16:12:13 GMT 2024 - 25.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.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(Ints.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 15 16:12:13 GMT 2024 - 29.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.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(Longs.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 15 16:12:13 GMT 2024 - 28.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java
return DELEGATE.previous(value); } // Do *not* override offset() to delegate: We want to test the default implementation. @Override public long distance(Integer start, Integer end) { return DELEGATE.distance(start, end); } @Override public Integer minValue() { return DELEGATE.minValue(); } @Override public Integer maxValue() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/DiscreteDomainTest.java
return DELEGATE.previous(value); } // Do *not* override offset() to delegate: We want to test the default implementation. @Override public long distance(Integer start, Integer end) { return DELEGATE.distance(start, end); } @Override public Integer minValue() { return DELEGATE.minValue(); } @Override public Integer maxValue() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
* graphs. Example: * * <pre>{@code * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH = * ValueGraphBuilder.undirected() * .<City, Distance>immutable() * .putEdgeValue(PARIS, BERLIN, kilometers(1060)) * .putEdgeValue(PARIS, BRUSSELS, kilometers(317))
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 16:30:37 GMT 2022 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
} private static void testRotate(byte[] input, int distance, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); Bytes.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( byte[] input, int distance, int fromIndex, int toIndex, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 16.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:51:33 GMT 2024 - 69.5K 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)