Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 345 for undelegate (0.11 sec)

  1. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

       * execution of tasks will stop until a call to this method is made.
       */
      @Override
      public void execute(Runnable task) {
        checkNotNull(task);
        Runnable submittedTask;
        long oldRunCount;
        synchronized (queue) {
          // If the worker is already running (or execute() on the delegate returned successfully, and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

      private static final class NonCancellationPropagatingFuture<V extends @Nullable Object>
          extends AbstractFuture.TrustedFuture<V> implements Runnable {
        @CheckForNull @LazyInit private ListenableFuture<V> delegate;
    
        NonCancellationPropagatingFuture(final ListenableFuture<V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

      }
    
      /** A request body that fires events when it completes. */
      private inner class RequestBodySink(
        delegate: Sink,
        /** The exact number of bytes to be written, or -1L if that is unknown. */
        private val contentLength: Long,
      ) : ForwardingSink(delegate) {
        private var completed = false
        private var bytesReceived = 0L
        private var closed = false
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

        final Table<? extends R, ? extends C, ? extends V> delegate;
    
        UnmodifiableTable(Table<? extends R, ? extends C, ? extends V> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @SuppressWarnings("unchecked") // safe, covariant cast
        @Override
        protected Table<R, C, V> delegate() {
          return (Table<R, C, V>) delegate;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                return delegate.startAsync();
              }
    
              @Override
              public final Service stopAsync() {
                return delegate.stopAsync();
              }
    
              @Override
              public final void awaitRunning() {
                delegate.awaitRunning();
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java

    final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> {
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<Object>(Collections.emptySet());
    
      RegularImmutableSet(Set<E> delegate) {
        super(delegate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        final Executor delegate =
            new Executor() {
              @Override
              public void execute(Runnable task) {
                if (future.set(null)) {
                  awaitUninterruptibly(latch);
                }
                throw new RejectedExecutionException();
              }
            };
        final SequentialExecutor executor = new SequentialExecutor(delegate);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

        val uppercaseBody: ResponseBody =
          object : ForwardingResponseBody(response.body) {
            override fun source(): BufferedSource {
              return uppercaseSource(delegate().source()).buffer()
            }
          }
        return response.newBuilder()
          .body(uppercaseBody)
          .build()
      }
    
      private fun uppercaseSource(source: BufferedSource): ForwardingSource {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Futures.java

      private static final class NonCancellationPropagatingFuture<V extends @Nullable Object>
          extends AbstractFuture.TrustedFuture<V> implements Runnable {
        @CheckForNull @LazyInit private ListenableFuture<V> delegate;
    
        NonCancellationPropagatingFuture(final ListenableFuture<V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top