Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,120 for Distance (0.07 sec)

  1. 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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. android/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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            }
    
            @Override
            public Integer previous(Integer value) {
              return integers().previous(value);
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              return integers().distance(start, end);
            }
    
            @Override
            public Integer minValue() {
              return integers().minValue();
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      private static void testRotate(char[] input, int distance, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          char[] input, int distance, int fromIndex, int toIndex, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    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/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))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            request.setLocationTracking(true);
            request.setModelSource(new FileModelSource(new File(
                    getClass().getResource("/poms/depmgmt/root-distance.xml").getFile())));
            request.setModelResolver(new BaseModelResolver() {
                public ModelSource resolveModel(org.apache.maven.model.Dependency dependency)
                        throws UnresolvableModelException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            }
    
            @Override
            public Integer previous(Integer value) {
              return integers().previous(value);
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              return integers().distance(start, end);
            }
    
            @Override
            public Integer minValue() {
              return integers().minValue();
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. 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);
    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. 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))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. src/main/config/openapi/openapi-user.yaml

              required: false
              schema:
                type: string
                example: 35.0,139.0
            - name: geo.location.distance
              in: query
              description: Distance for Geo search
              required: false
              schema:
                type: string
                example: 10km
            - name: lang
              in: query
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top