Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for dort (0.21 sec)

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

            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableLongArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
            assertThat(iia.get(j)).isEqualTo((long) j);
          }
        }
      }
    
      private enum BuilderOp {
        ADD_ONE {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableDoubleArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
            assertThat(iia.get(j)).isEqualTo((double) j);
          }
        }
      }
    
      private enum BuilderOp {
        ADD_ONE {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     */
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          Arrays.sort(dataset);
          return singleQuantileFromSorted(index, scale, dataset);
        }
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     */
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          Arrays.sort(dataset);
          return singleQuantileFromSorted(index, scale, dataset);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        return table.rowKeySet();
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        Collections.sort(insertionOrder);
                        return insertionOrder;
                      }
                    })
                .named("TreeBasedTable.rowKeySet")
                .withFeatures(COLLECTION_FEATURES_REMOVE_ORDER)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

     * Double#NaN NaN}. (This is the one occasion when the behaviour is not the same as you'd get from
     * sorting with {@link java.util.Arrays#sort(double[]) Arrays.sort(double[])} or {@link
     * java.util.Collections#sort(java.util.List) Collections.sort(List&lt;Double&gt;)} and selecting
     * the required value(s). Those methods would sort {@link Double#NaN NaN} as if it is greater than
     * any other value and place them at the end of the dataset, even after {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

        return new AnEnum[length];
      }
    
      /** Sorts the enums according to their natural ordering. */
      @Override
      public List<AnEnum> order(List<AnEnum> insertionOrder) {
        Collections.sort(insertionOrder);
        return insertionOrder;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

      static void testSort(int[] input, int[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedInts.sort(input);
        assertThat(input).isEqualTo(expected);
      }
    
      static void testSort(int[] input, int from, int to, int[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedInts.sort(input, from, to);
        assertThat(input).isEqualTo(expected);
      }
    
      public void testSortIndexed() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. .github/workflows/ci.yml

            with:
              java-version: ${{ matrix.java }}
              distribution: 'zulu'
              cache: 'maven'
          - name: 'Install'
            shell: bash
            run: ./mvnw -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn install -U -DskipTests=true -f $ROOT_POM
          - name: 'Test'
            shell: bash
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
       * Tests that the Java port of FarmHashFingerprint64 provides the same results on buffers up to
       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
Back to top