Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for hearts (0.2 sec)

  1. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Starts with an empty delimiter and changes to the desired value at the end of the iteration.
       */
      @Benchmark
      int assignDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

                + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]);
          }
        }
      },
    
      /**
       * Uses quickselect. When calculating multiple quantiles, each quickselect starts from scratch.
       */
      QUICKSELECT {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          long numerator = (long) index * (dataset.length - 1);
    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)
  3. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

                + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]);
          }
        }
      },
    
      /**
       * Uses quickselect. When calculating multiple quantiles, each quickselect starts from scratch.
       */
      QUICKSELECT {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          long numerator = (long) index * (dataset.length - 1);
    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)
  4. guava/src/com/google/common/base/Stopwatch.java

        return new Stopwatch(ticker);
      }
    
      /**
       * Creates (and starts) a new stopwatch using {@link System#nanoTime} as its time source.
       *
       * @since 15.0
       */
      public static Stopwatch createStarted() {
        return new Stopwatch().start();
      }
    
      /**
       * Creates (and starts) a new stopwatch, using the specified time source.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Starts with an empty delimiter and changes to the desired value at the end of the iteration.
       */
      @Benchmark
      int assignDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Reflection.java

       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
       * interoperating with a legacy framework, this method helps to keep the code less ugly.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import javax.annotation.CheckForNull;
    
    /**
     * An {@link OutputStream} that starts buffering to a byte array, but switches to file buffering
     * once the data reaches a configurable size.
     *
     * <p>When this stream creates a temporary file, it restricts the file's permissions to the current
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        while (!descendant.equals(ancestor)) {
          classes.add(descendant);
          descendant = descendant.getSuperclass();
        }
    
        return classes;
      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        while (!descendant.equals(ancestor)) {
          classes.add(descendant);
          descendant = descendant.getSuperclass();
        }
    
        return classes;
      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Stopwatch.java

        return new Stopwatch(ticker);
      }
    
      /**
       * Creates (and starts) a new stopwatch using {@link System#nanoTime} as its time source.
       *
       * @since 15.0
       */
      public static Stopwatch createStarted() {
        return new Stopwatch().start();
      }
    
      /**
       * Creates (and starts) a new stopwatch, using the specified time source.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
Back to top