Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for doBefore (0.04 sec)

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

                break;
              }
            }
          }
          return dummy;
        }
    
        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

                break;
              }
            }
          }
          return dummy;
        }
    
        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
Back to top