Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for anstatt (0.33 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long instant = 0L;
        final List<String> events = Lists.newArrayList();
    
        @Override
        public long readMicros() {
          return NANOSECONDS.toMicros(instant);
        }
    
        void sleepMillis(int millis) {
          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

             */
            return new Iterator<T>() {
              boolean atStart = true;
    
              @Override
              public boolean hasNext() {
                return iterator.hasNext();
              }
    
              @Override
              @ParametricNullness
              public T next() {
                T result = iterator.next();
                atStart = false; // not called if next() fails
                return result;
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Stopwatch.java

     * successive readings of "now" in the same process.
     *
     * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like
     * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values
     * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but
     * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings
    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)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long instant = 0L;
        final List<String> events = Lists.newArrayList();
    
        @Override
        public long readMicros() {
          return NANOSECONDS.toMicros(instant);
        }
    
        void sleepMillis(int millis) {
          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * of input futures.
       *
       * <p>See {@link #whenAllComplete} and {@link #whenAllSucceed} for how to instantiate this class.
       *
       * <p>Example:
       *
       * <pre>{@code
       * final ListenableFuture<Instant> loginDateFuture =
       *     loginService.findLastLoginDate(username);
       * final ListenableFuture<List<String>> recentCommandsFuture =
       *     recentCommandsService.findRecentCommands(username);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Stopwatch.java

     * successive readings of "now" in the same process.
     *
     * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like
     * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values
     * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but
     * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings
    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)
  7. guava/src/com/google/common/collect/Iterables.java

             */
            return new Iterator<T>() {
              boolean atStart = true;
    
              @Override
              public boolean hasNext() {
                return iterator.hasNext();
              }
    
              @Override
              @ParametricNullness
              public T next() {
                T result = iterator.next();
                atStart = false; // not called if next() fails
                return result;
              }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top