Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for qselect (0.18 sec)

  1. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

          if (array[min] > array[i]) {
            min = i;
          }
        }
        return array[min];
      }
    
      static double select(int k, double[] array) {
        // This is basically a copy of com.google.math.Rank#select, with a small change in the method
        // signature: we make k 0-based rather than 1-based; and we drop from and to, and always work on
        // the whole array.
        int from = 0;
    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)
  2. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

          if (array[min] > array[i]) {
            min = i;
          }
        }
        return array[min];
      }
    
      static double select(int k, double[] array) {
        // This is basically a copy of com.google.math.Rank#select, with a small change in the method
        // signature: we make k 0-based rather than 1-based; and we drop from and to, and always work on
        // the whole array.
        int from = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

          // remainder, we can just select the value whose index in the sorted dataset equals the
          // quotient; if there is a remainder, we interpolate between that and the next value.
    
          int[] quotients = new int[indexes.length];
          int[] remainders = new int[indexes.length];
          // The indexes to select. In the worst case, we'll need one each side of each quantile.
    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)
  4. futures/listenablefuture9999/pom.xml

        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
        version number is enough for some build systems (notably, Gradle) to select
        that empty artifact over the "real" listenablefuture-1.0 -- avoiding a
        conflict with the copy of ListenableFuture in guava itself. If users are
        using an older version of Guava or a build system other than Gradle, they
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 12 21:42:09 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

      /**
       * The maximum value of an ASCII character.
       *
       * @since 9.0 (was type {@code int} before 12.0)
       */
      public static final char MAX = 127;
    
      /** A bit mask which selects the bit encoding ASCII character case. */
      private static final char CASE_MASK = 0x20;
    
      /**
       * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/bug_report.yaml

          description: What actually happened?
        validations:
          required: true
    
      - type: dropdown
        attributes:
          label: Packages
          description: If this issue is package-specific, then please select the relevant packages.
          multiple: true
          options:
            - com.google.common.annotations
            - com.google.common.base
            - com.google.common.cache
            - com.google.common.collect
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TopKSelector.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

          description: Please provide use cases that actually came up in the real world.
        validations:
          required: true
    
      - type: dropdown
        attributes:
          label: Packages
          description: Please select all of the packages that are relevant to this feature request.
          multiple: true
          options:
            - com.google.common.annotations
            - com.google.common.base
            - com.google.common.cache
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
Back to top