Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newHelper (0.06 sec)

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

      private MoreObjects.ToStringHelper newHelper() {
        MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("klass");
        if (omitNulls) {
          helper = helper.omitNullValues();
        }
        return helper;
      }
    
      @Benchmark
      int toString(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          MoreObjects.ToStringHelper helper = newHelper();
          for (int j = 0; j < dataSize; ++j) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

      private MoreObjects.ToStringHelper newHelper() {
        MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("klass");
        if (omitNulls) {
          helper = helper.omitNullValues();
        }
        return helper;
      }
    
      @Benchmark
      int toString(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          MoreObjects.ToStringHelper helper = newHelper();
          for (int j = 0; j < dataSize; ++j) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top