Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 380 for delegatee (0.06 sec)

  1. 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)
  2. 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)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollector.java

     * an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before
     * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on
     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

        val uppercaseBody: RequestBody =
          object : ForwardingRequestBody(request.body) {
            @Throws(IOException::class)
            override fun writeTo(sink: BufferedSink) {
              delegate().writeTo(uppercaseSink(sink).buffer())
            }
          }
        return request.newBuilder()
          .method(request.method, uppercaseBody)
          .build()
      }
    
      private fun uppercaseSink(sink: Sink): Sink {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      public void testUnmodifiableArrayListMultimapRandomAccess() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        delegate.put("foo", 1);
        delegate.put("foo", 3);
        ListMultimap<String, Integer> multimap = Multimaps.unmodifiableListMultimap(delegate);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableAsList.java

    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

    public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput {
    
      /**
       * Creates a {@code LittleEndianDataOutputStream} that wraps the given stream.
       *
       * @param out the stream to delegate to
       */
      public LittleEndianDataOutputStream(OutputStream out) {
        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 12:34:49 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

        public String toString() {
          return equivalence + ".equivalentTo(" + target + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns an equivalence that delegates to {@link Object#equals} and {@link Object#hashCode}.
       * {@link Equivalence#equivalent} returns {@code true} if both values are null, or if neither
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. 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();
        }
      }
    
      static class AddRejectingList<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingList<V> {
        @ParametricNullness final K key;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. 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)
Back to top