Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for Did (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
           * Reference iterator returned a value, so we should expect the
           * same value from the target
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            throw failure;
          }
    
          if (snapshot.shutdownWhenStartupFinishes) {
            snapshot = new StateSnapshot(STOPPING);
            // We don't call listeners here because we already did that when we set the
            // shutdownWhenStartupFinishes flag.
            doStop();
          } else {
            snapshot = new StateSnapshot(RUNNING);
            enqueueRunningEvent();
          }
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
           * Reference iterator returned a value, so we should expect the
           * same value from the target
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * for the field accesses in MapIteratorCache. This test *has* found other TSAN errors,
         * including in MapRetrievalCache, so I'm not sure why this one is different. I did at least
         * confirm that my change to MapIteratorCache fixes the TSAN error in the (larger) test it was
         * originally reported in.
         */
        for (Future<?> future : futures.build()) {
          future.get();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        SUCCESS,
    
        /** The method returned false. */
        FAILURE,
    
        /** The method threw an InterruptedException. */
        INTERRUPT,
    
        /** The method did not return or throw anything. */
        HANG;
    
        @Override
        public String toString() {
          return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

        if ((a ^ b) < 0 | (a ^ naiveSum) >= 0) {
          // If a and b have different signs or a has the same sign as the result then there was no
          // overflow, return.
          return naiveSum;
        }
        // we did over/under flow, if the sign is negative we should return MAX otherwise MIN
        return Long.MAX_VALUE + ((naiveSum >>> (Long.SIZE - 1)) ^ 1);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
          // unpark even though the thread has already removed itself from the list. But even if we did
          // use a CAS, that race would still exist (it would just be ever so slightly smaller).
          Thread w = thread;
          if (w != null) {
            thread = null;
            LockSupport.unpark(w);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              if (!(service instanceof NoOpService)) {
                logger.get().log(Level.FINE, "Started {0} in {1}.", new Object[] {service, stopwatch});
              }
            }
            // Queue our listeners
    
            // Did a service fail?
            if (to == FAILED) {
              enqueueFailedEvent(service);
            }
    
            if (states.count(RUNNING) == numberOfServices) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
          // unpark even though the thread has already removed itself from the list. But even if we did
          // use a CAS, that race would still exist (it would just be ever so slightly smaller).
          Thread w = thread;
          if (w != null) {
            thread = null;
            LockSupport.unpark(w);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

          } catch (NullPointerException | ClassCastException e) {
            return false;
          }
        }
    
        @Override
        /*
         * We should probably not have implemented equals() at all, but given that we did, we can't
         * provide a better implementation than the input Collection, at least without dramatic changes
         * like copying it to a new Set—which might then test for element equality differently.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top