Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,332 for delegate (0.11 sec)

  1. android/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. 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)
  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. 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)
  6. android/guava/src/com/google/common/collect/Maps.java

        private final NavigableMap<K, ? extends V> delegate;
    
        UnmodifiableNavigableMap(NavigableMap<K, ? extends V> delegate) {
          this.delegate = delegate;
        }
    
        UnmodifiableNavigableMap(
            NavigableMap<K, ? extends V> delegate, UnmodifiableNavigableMap<K, V> descendingMap) {
          this.delegate = delegate;
          this.descendingMap = descendingMap;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

        private final NavigableMap<K, ? extends V> delegate;
    
        UnmodifiableNavigableMap(NavigableMap<K, ? extends V> delegate) {
          this.delegate = delegate;
        }
    
        UnmodifiableNavigableMap(
            NavigableMap<K, ? extends V> delegate, UnmodifiableNavigableMap<K, V> descendingMap) {
          this.delegate = delegate;
          this.descendingMap = descendingMap;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

    import okio.Buffer
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.ForwardingSink
    import okio.Path
    import okio.Sink
    
    class FaultyFileSystem constructor(delegate: FileSystem?) : ForwardingFileSystem(delegate!!) {
      private val writeFaults: MutableSet<Path> = LinkedHashSet()
      private val deleteFaults: MutableSet<Path> = LinkedHashSet()
      private val renameFaults: MutableSet<Path> = LinkedHashSet()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top