Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 320 for TimeUnit (0.07 seconds)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeUnit;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.smb.SmbFile;
    
    /**
     * Manager for directory leases and caching
     */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        mockResponse = mockResponse.throttleBody(0L, 0L, TimeUnit.SECONDS)
        var throttleBytesPerPeriod: Long = mockResponse.throttleBytesPerPeriod
        throttleBytesPerPeriod = mockResponse.throttleBytesPerPeriod
        var throttlePeriod: Long = mockResponse.getThrottlePeriod(TimeUnit.SECONDS)
        mockResponse = mockResponse.setBodyDelay(0L, TimeUnit.SECONDS)
        val bodyDelay: Long = mockResponse.getBodyDelay(TimeUnit.SECONDS)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

       */
      @Override
      ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit);
    
      /**
       * @since 15.0 (previously returned ScheduledFuture)
       */
      @Override
      <V extends @Nullable Object> ListenableScheduledFuture<V> schedule(
          Callable<V> callable, long delay, TimeUnit unit);
    
      /**
       * @since 15.0 (previously returned ScheduledFuture)
       */
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 17:30:04 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException {
        return callWithTimeout(callable, timeoutDuration, timeoutUnit);
      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public void runWithTimeout(Runnable runnable, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(runnable);
        checkNotNull(timeoutUnit);
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
      public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

      }
    
      @Override
      public final ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        return delegate.schedule(wrapTask(command), delay, unit);
      }
    
      @Override
      public final <V extends @Nullable Object> ScheduledFuture<V> schedule(
          Callable<V> task, long delay, TimeUnit unit) {
        return delegate.schedule(wrapTask(task), delay, unit);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

    import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService;
    import static com.google.common.util.concurrent.Runnables.doNothing;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.base.Predicate;
    import com.google.common.base.Predicates;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Iterables;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static junit.framework.Assert.fail;
    
    import com.google.common.testing.TearDown;
    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    final class Platform {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 27 16:15:49 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.util.concurrent.ListenableFuture;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top