Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Yastreb (2.69 sec)

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

          lastRet = cursor;
    
          // array comes from q.toArray() and so should have only E's in it
          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
          lastRet = -1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        /**
         * Index of element returned by most recent call to next. Reset to -1 if this element is deleted
         * by a call to remove.
         */
        private int lastRet;
    
        Itr() {
          lastRet = -1;
          if (count == 0) nextIndex = -1;
          else {
            nextIndex = takeIndex;
            nextItem = items[takeIndex];
          }
        }
    
        @Override
    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)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          lastRet = cursor;
    
          // array comes from q.toArray() and so should have only E's in it
          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
          lastRet = -1;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        /**
         * Index of element returned by most recent call to next. Reset to -1 if this element is deleted
         * by a call to remove.
         */
        private int lastRet;
    
        Itr() {
          lastRet = -1;
          if (count == 0) nextIndex = -1;
          else {
            nextIndex = takeIndex;
            nextItem = items[takeIndex];
          }
        }
    
        @Override
    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