Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for currentIO (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Returns whether the current thread is occupying this monitor (has entered more times than it
       * has left).
       */
      public boolean isOccupiedByCurrentThread() {
        return lock.isHeldByCurrentThread();
      }
    
      /**
       * Returns the number of times the current thread has entered this monitor in excess of the number
       * of times it has left. Returns 0 if the current thread is not occupying this monitor.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

          if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) {
            builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.');
          }
          return builder
              .append(rawType.getName())
              .append('<')
              .append(COMMA_JOINER.join(transform(argumentsList, JavaVersion.CURRENT::typeName)))
              .append('>')
              .toString();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       */
      public void threadAssertFalse(boolean b) {
        try {
          assertFalse(b);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /**
       * Just like assertNull(x), but additionally recording (using threadRecordFailure) any
       * AssertionFailedError thrown, so that the current testcase will fail.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        @Override
        public void remove() {
          checkState(current != null, "no calls to next() since the last call to remove()");
          if (current != next) { // after call to next()
            previous = current.previousSibling;
            nextIndex--;
          } else { // after call to previous()
            next = current.nextSibling;
          }
          removeNode(current);
          current = null;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              double z = aa.getAndAdd(i, y);
              assertBitEquals(x, z);
              assertBitEquals(x + y, aa.get(i));
            }
          }
        }
      }
    
      /** addAndGet adds given value to current, and returns current value */
      public void testAddAndGet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

          for (AvlNode<E> current = header.succ(); current != header; ) {
            AvlNode<E> next = current.succ();
    
            current.elemCount = 0;
            // Also clear these fields so that one deleted Entry doesn't retain all elements.
            current.left = null;
            current.right = null;
            current.pred = null;
            current.succ = null;
    
            current = next;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

        segment = cache.segments[0];
        chain = null;
        for (int i = 0; i < length; i++) {
          Object key = new Object();
          // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently
          // held
          chain = segment.newEntry(key, cache.hash(key), chain);
          if (i == 0) {
            head = chain;
          }
        }
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *
     * <p>Potential deadlocks detected when calling the {@code lock()}, {@code lockInterruptibly()}, or
     * {@code tryLock()} methods will result in the execution of the {@link Policy} specified when
     * creating the factory. The currently available policies are:
     *
     * <ul>
     *   <li>DISABLED
     *   <li>WARN
     *   <li>THROW
     * </ul>
     *
     * <p>The locks created by a factory instance will detect lock acquisition cycles with locks created
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilderSpec.java

     * never be removed.
     *
     * <p>Durations are represented by an integer, followed by one of "d", "h", "m", or "s",
     * representing days, hours, minutes, or seconds respectively. (There is currently no syntax to
     * request expiration in milliseconds, microseconds, or nanoseconds.)
     *
     * <p>Whitespace before and after commas and equal signs is ignored. Keys may not be repeated; it is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LoadingCache.java

       * currently contains a value for {@code key}, and {@link CacheLoader#load} otherwise. Loading is
       * asynchronous only if {@link CacheLoader#reload} was overridden with an asynchronous
       * implementation.
       *
       * <p>Returns without doing anything if another thread is currently loading the value for {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
Back to top