Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,182 for delegate (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

    import okio.Buffer
    import okio.ForwardingSink
    import okio.Sink
    
    /** A sink that never throws IOExceptions, even if the underlying sink does. */
    internal open class FaultHidingSink(
      delegate: Sink,
      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

                }
              }
    
              private void mutateDelegate() {
                allStates.add(ImmutableList.copyOf(delegate));
                remainingActions.next().perform(delegate);
                allStates.add(ImmutableList.copyOf(delegate));
              }
            };
    
        @SuppressWarnings("unchecked")
        ConcurrentlyMutatedList<Integer> list =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        c = c.superclass
      }
    
      // Didn't find the field we wanted. As a last gasp attempt,
      // try to find the value on a delegate.
      if (fieldName != "delegate") {
        val delegate = readFieldOrNull(instance, Any::class.java, "delegate")
        if (delegate != null) return readFieldOrNull(delegate, fieldType, fieldName)
      }
    
      return null
    }
    
    @JvmField
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

    class DirFileEntryAdapterIterator extends FileEntryAdapterIterator {
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         */
        public DirFileEntryAdapterIterator(final SmbResource parent, final CloseableIterator<FileEntry> delegate, final ResourceFilter filter) {
            super(parent, delegate, filter);
        }
    
        /**
         * @param fe
         * @return
         * @throws MalformedURLException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

          checkNotNull(collection);
          throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
        }
    
        @Override
        protected Set<V> delegate() {
          return emptySet();
        }
      }
    
      private static final class AddRejectingList<
              K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingList<V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FilteredKeyMultimap.java

          checkNotNull(collection);
          throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
        }
    
        @Override
        protected Set<V> delegate() {
          return emptySet();
        }
      }
    
      private static final class AddRejectingList<
              K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingList<V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

        val call = RealCall(client, Request(address.url), forWebSocket = false)
        val chain = newChain(call)
        return RealRoutePlanner(
          taskRunner = client.taskRunner,
          connectionPool = client.connectionPool.delegate,
          readTimeoutMillis = client.readTimeoutMillis,
          writeTimeoutMillis = client.writeTimeoutMillis,
          socketConnectTimeoutMillis = chain.connectTimeoutMillis,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSet.java

      /** Constructor for use by subclasses. */
      protected ForwardingSet() {}
    
      @Override
      protected abstract Set<E> delegate();
    
      @Override
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        Executor delegate =
            new Executor() {
              @Override
              public void execute(Runnable task) {
                if (future.set(null)) {
                  awaitUninterruptibly(latch);
                }
                throw new RejectedExecutionException();
              }
            };
        SequentialExecutor executor = new SequentialExecutor(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top