Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for balancers (0.2 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

        BinaryNode(int x, Optional<BinaryNode> left, Optional<BinaryNode> right) {
          this.x = x;
          this.left = left;
          this.right = right;
        }
      }
    
      enum Topology {
        BALANCED {
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            if (size == 0) {
              return Optional.absent();
            } else {
              int leftChildSize = (size - 1) / 2;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

        BinaryNode(int x, Optional<BinaryNode> left, Optional<BinaryNode> right) {
          this.x = x;
          this.left = left;
          this.right = right;
        }
      }
    
      enum Topology {
        BALANCED {
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            if (size == 0) {
              return Optional.absent();
            } else {
              int leftChildSize = (size - 1) / 2;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/BigIntegerMath.java

       * if {@code n == 0}.
       *
       * <p><b>Warning:</b> the result takes <i>O(n log n)</i> space, so use cautiously.
       *
       * <p>This uses an efficient binary recursive algorithm to compute the factorial with balanced
       * multiplies. It also removes all the 2s from the intermediate products (shifting them back in at
       * the end).
       *
       * @throws IllegalArgumentException if {@code n < 0}
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *           // Services have been initialized and are healthy, start accepting requests...
     *         }
     *         public void failure(Service service) {
     *           // Something failed, at this point we could log it, notify a load balancer, or take
     *           // some other action.  For now we will just exit.
     *           System.exit(1);
     *         }
     *       },
     *       MoreExecutors.directExecutor());
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
Back to top