Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for device (0.14 sec)

  1. guava/src/com/google/common/base/Stopwatch.java

     * behavior of the stopwatch.
     *
     * <p><b>Note:</b> This class is not thread-safe.
     *
     * <p><b>Warning for Android users:</b> a stopwatch with default behavior may not continue to keep
     * time while the device is asleep. Instead, create one like this:
     *
     * <pre>{@code
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Stopwatch.java

     * behavior of the stopwatch.
     *
     * <p><b>Note:</b> This class is not thread-safe.
     *
     * <p><b>Warning for Android users:</b> a stopwatch with default behavior may not continue to keep
     * time while the device is asleep. Instead, create one like this:
     *
     * <pre>{@code
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      private long link(int i) {
        return requireLinks()[i];
      }
    
      private void setLink(int i, long value) {
        requireLinks()[i] = value;
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       */
    
      private int[] requirePredecessors() {
        return requireNonNull(predecessor);
      }
    
      private int[] requireSuccessors() {
        return requireNonNull(successor);
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          return Collections.emptySet();
        }
      }
    
      /**
       * Creates a suite whose map has some elements filtered out of view.
       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/LongAdder.java

     * high contention, expected throughput of this class is significantly higher, at the expense of
     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful:
     *
     * <pre>{@code
     * final String name = ...;
     * inFlight.add(name);
     * ListenableFuture<Result> future = service.query(name);
     * future.addListener(new Runnable() {
     *   public void run() {
     *     processedCount.incrementAndGet();
     *     inFlight.remove(name);
     *     lastProcessed.set(name);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

    import java.util.concurrent.locks.LockSupport;
    import javax.annotation.CheckForNull;
    
    /**
     * Works around an android bug, where parking for more than INT_MAX seconds can produce an abort
     * signal on 32 bit devices running Android Q.
     */
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class OverflowAvoidingLockSupport {
      // Represents the max nanoseconds representable on a linux timespec with a 32 bit tv_sec
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Reflection.java

      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
       * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without
       * attempting to define the {@link Package} and hence load files.
       */
      public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
Back to top