Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for policies (0.15 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

      private Lock[] plainLocks;
      private Lock[] detectingLocks;
    
      @BeforeExperiment
      void setUp() throws Exception {
        this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN);
        this.plainLocks = new Lock[lockNestingDepth];
        for (int i = 0; i < lockNestingDepth; i++) {
          plainLocks[i] = new ReentrantLock();
        }
        this.detectingLocks = new Lock[lockNestingDepth];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

      private Lock[] plainLocks;
      private Lock[] detectingLocks;
    
      @BeforeExperiment
      void setUp() throws Exception {
        this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN);
        this.plainLocks = new Lock[lockNestingDepth];
        for (int i = 0; i < lockNestingDepth; i++) {
          plainLocks[i] = new ReentrantLock();
        }
        this.detectingLocks = new Lock[lockNestingDepth];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
Back to top