Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cursor (0.16 sec)

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

          monitor.enter();
          try {
            int i = lastRet;
            if (i == -1) throw new IllegalStateException();
            lastRet = -1;
    
            int ti = takeIndex;
            removeAt(i);
            // back up cursor (reset to front if was first element)
            nextIndex = (i == ti) ? takeIndex : i;
            checkNext();
          } finally {
            monitor.leave();
          }
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          monitor.enter();
          try {
            int i = lastRet;
            if (i == -1) throw new IllegalStateException();
            lastRet = -1;
    
            int ti = takeIndex;
            removeAt(i);
            // back up cursor (reset to front if was first element)
            nextIndex = (i == ti) ? takeIndex : i;
            checkNext();
          } finally {
            monitor.leave();
          }
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top