Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 381 for delegatee (0.09 sec)

  1. android/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
    - 22.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess);
      }
    
      /** Test throwing ConcurrentModificationException when a sublist's ancestor's delegate changes. */
      public void testSublistConcurrentModificationException() {
        ListMultimap<String, Integer> multimap = create();
        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Interners.java

               * thread doing progress here.
               */
            }
          }
        }
      }
    
      /**
       * Returns a function that delegates to the {@link Interner#intern} method of the given interner.
       *
       * @since 8.0
       */
      public static <E> Function<E, E> asFunction(Interner<E> interner) {
        return new InternerFunction<>(checkNotNull(interner));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * This is invoked for the last bytes of the input, which are not enough to fill a whole chunk.
       * The passed {@code ByteBuffer} is guaranteed to be non-empty.
       *
       * <p>This implementation simply pads with zeros and delegates to {@link #process(ByteBuffer)}.
       */
      protected void processRemaining(ByteBuffer bb) {
        Java8Compatibility.position(bb, bb.limit()); // move at the end
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * This is invoked for the last bytes of the input, which are not enough to fill a whole chunk.
       * The passed {@code ByteBuffer} is guaranteed to be non-empty.
       *
       * <p>This implementation simply pads with zeros and delegates to {@link #process(ByteBuffer)}.
       */
      protected void processRemaining(ByteBuffer bb) {
        Java8Compatibility.position(bb, bb.limit()); // move at the end
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

      private static class BadLengthFile extends File {
    
        private final long badLength;
    
        public BadLengthFile(File delegate, long badLength) {
          super(delegate.getPath());
          this.badLength = badLength;
        }
    
        @Override
        public long length() {
          return badLength;
        }
    
        private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            return listener;
        }
    
        protected TransferListener determineTransferListener(C context, boolean noTransferProgress) {
            TransferListener delegate = super.determineTransferListener(context, noTransferProgress);
            return new MavenTransferListener(delegate, determineBuildEventListener(context));
        }
    
        protected String determineMakeBehavior(C context) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ImmutableGraph.java

            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), edgeValueFn));
      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingGraph;
      }
    
      /**
       * A builder for creating {@link ImmutableGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            synchronized(this@DiskLruCache) {
              // If the cache is closed, truncate the iterator.
              if (closed) return false
    
              while (delegate.hasNext()) {
                nextSnapshot = delegate.next()?.snapshot() ?: continue
                return true
              }
            }
    
            return false
          }
    
          override fun next(): Snapshot {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top