Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Graves (6.53 sec)

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

     *
     * <p>A call to any of the <i>enter</i> methods with <b>void</b> return type should always be
     * followed immediately by a <i>try/finally</i> block to ensure that the current thread leaves the
     * monitor cleanly:
     *
     * <pre>{@code
     * monitor.enter();
     * try {
     *   // do things while occupying the monitor
     * } finally {
     *   monitor.leave();
     * }
     * }</pre>
     *
    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/util/concurrent/CycleDetectingLockFactory.java

        /**
         * When potential deadlock is detected, this policy results in the throwing of the {@code
         * PotentialDeadlockException} indicating the potential deadlock, which includes stack traces
         * illustrating the cycle in lock acquisition order.
         */
        THROW {
          @Override
          public void handlePotentialDeadlock(PotentialDeadlockException e) {
            throw e;
          }
        },
    
    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)
  3. guava/src/com/google/common/base/Throwables.java

       * the full, recursive stack trace of {@code throwable}. Note that you probably should not be
       * parsing the resulting string; if you need programmatic access to the stack frames, you can call
       * {@link Throwable#getStackTrace()}.
       */
      @GwtIncompatible // java.io.PrintWriter, java.io.StringWriter
      public static String getStackTraceAsString(Throwable throwable) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
        MultiExceptionListIterator reference = new MultiExceptionListIterator(expectedElements);
        I target = newTargetIterator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       * the full, recursive stack trace of {@code throwable}. Note that you probably should not be
       * parsing the resulting string; if you need programmatic access to the stack frames, you can call
       * {@link Throwable#getStackTrace()}.
       */
      @GwtIncompatible // java.io.PrintWriter, java.io.StringWriter
      public static String getStackTraceAsString(Throwable throwable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this class leaves the specific choice of
       * hash code unspecified, unlike the Java 8+ equivalent.
       */
      @Override
      public abstract int hashCode();
    
      /**
       * Returns a string representation for this instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this class leaves the specific string
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
        MultiExceptionListIterator reference = new MultiExceptionListIterator(expectedElements);
        I target = newTargetIterator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingTest.java

              && Modifier.isPublic(method.getModifiers()) // only the public methods
              && method.getParameterTypes().length == 0 // only the seed-less grapes^W hash functions
              && !legacyHashingMethodNames.contains(method.getName())) {
            HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class);
            assertTrue(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        // (b) Waiting for the single guard to become satisfied.
        // (c) Occupying the monitor and awaiting the tearDownLatch.
        //
        // Except for (c), every thread should occupy the monitor very briefly, and every thread leaves
        // the monitor with the guard satisfied. Therefore as soon as tearDownLatch is triggered, we
        // should be able to enter the monitor, and then we set the guard to satisfied for the benefit
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      @CheckForNull
      public E peekLast() {
        return isEmpty() ? null : elementData(getMaxElementIndex());
      }
    
      /**
       * Removes the element at position {@code index}.
       *
       * <p>Normally this method leaves the elements at up to {@code index - 1}, inclusive, untouched.
       * Under these circumstances, it returns {@code null}.
       *
       * <p>Occasionally, in order to maintain the heap invariant, it must swap a later element of the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top