Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 380 for delegatee (0.1 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

    public final class LittleEndianDataInputStream extends FilterInputStream implements DataInput {
    
      /**
       * Creates a {@code LittleEndianDataInputStream} that wraps the given stream.
       *
       * @param in the stream to delegate to
       */
      public LittleEndianDataInputStream(InputStream in) {
        super(Preconditions.checkNotNull(in));
      }
    
      /** This method will throw an {@link UnsupportedOperationException}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private class CountingSource(source: Source) : ForwardingSource(source) {
        var bytesRead = 0L
    
        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          val result = delegate.read(sink, byteCount)
          if (result == -1L) return -1L
          bytesRead += result
          return result
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        expectedByteCount: Long,
        socket: Socket,
      ): Sink {
        var result: Sink = this
    
        if (policy.throttlePeriodNanos > 0L) {
          result =
            ThrottledSink(
              delegate = result,
              bytesPerPeriod = policy.throttleBytesPerPeriod,
              periodDelayNanos = policy.throttlePeriodNanos,
            )
        }
    
        if (disconnectHalfway) {
          val halfwayByteCount =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Collections2.java

          // collection.
          return ((FilteredCollection<E>) unfiltered).createCombined(predicate);
        }
    
        return new FilteredCollection<>(checkNotNull(unfiltered), checkNotNull(predicate));
      }
    
      /**
       * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

                  public List<String> create(final String[] elements) {
                    final List<String> delegate = newArrayList(elements);
                    return new ForwardingList<String>() {
                      @Override
                      protected List<String> delegate() {
                        return delegate;
                      }
    
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @J2ktIncompatible // no support for access-order mode in LinkedHashMap delegate
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends CompactHashMap<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

                  public List<String> create(final String[] elements) {
                    final List<String> delegate = newArrayList(elements);
                    return new ForwardingList<String>() {
                      @Override
                      protected List<String> delegate() {
                        return delegate;
                      }
    
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                            throws Throwable {
                          throw new UnsupportedOperationException();
                        }
                      });
        }
    
        @Override
        protected Multimap<K, V> delegate() {
          return unusableDelegate;
        }
    
        @Override
        public boolean put(K key, V value) {
          map.put(key, value);
          return true;
        }
    
        SetMultimap<K, V> build() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

         * accessed by the connection closer task.
         */
        var concurrentCallCapacity: Int = 0
      }
    
      companion object {
        fun get(connectionPool: ConnectionPool): RealConnectionPool = connectionPool.delegate
    
        private var addressStatesUpdater =
          AtomicReferenceFieldUpdater.newUpdater(
            RealConnectionPool::class.java,
            Map::class.java,
            "addressStates",
          )
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      val originalRequest: Request,
      val forWebSocket: Boolean,
    ) : Call, Cloneable {
      internal val lock: ReentrantLock = ReentrantLock()
    
      private val connectionPool: RealConnectionPool = client.connectionPool.delegate
    
      internal val eventListener: EventListener = client.eventListenerFactory.create(this)
    
      private val timeout =
        object : AsyncTimeout() {
          override fun timedOut() {
            ******@****.***()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top