Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for copy_to (0.07 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValue());
        }
      }
    
      public void testSegmentGetAndContains() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
                  cacheBody.close() // The cache response is complete!
                }
                return -1
              }
    
              sink.copyTo(cacheBody.buffer, sink.size - bytesRead, bytesRead)
              cacheBody.emitCompleteSegments()
              return bytesRead
            }
    
            override fun timeout(): Timeout = source.timeout()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> copyTwo = map.copyEntry(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValueReference().get());
          assertConnected(map, copyOne, copyTwo);
        }
      }
    
      private static <K, V> void assertConnected(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      //      after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 }
      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
      return address
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * stable. There is usually no reason to retain a reference of type {@code SetView}; typically,
       * you either use it as a plain {@link Set}, or immediately invoke {@link #immutableCopy} or
       * {@link #copyInto} and forget the {@code SetView} itself.
       *
       * @since 2.0
       */
      public abstract static class SetView<E extends @Nullable Object> extends AbstractSet<E> {
        private SetView() {} // no subclasses but our own
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * @param collection the collection to copy elements to
       * @return {@code collection}, for convenience
       * @since 14.0
       */
      @CanIgnoreReturnValue
      public final <C extends Collection<? super E>> C copyInto(C collection) {
        checkNotNull(collection);
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof Collection) {
          collection.addAll((Collection<E>) iterable);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       *
       * @param collection the collection to copy elements to
       * @return {@code collection}, for convenience
       * @since 14.0
       */
      @CanIgnoreReturnValue
      public final <C extends Collection<? super E>> C copyInto(C collection) {
        checkNotNull(collection);
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof Collection) {
          collection.addAll((Collection<E>) iterable);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/collections/ArraysKt___ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List;
    HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto$default([B[BIIII)[B
    HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto([B[BIII)[B
    HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto([Ljava/lang/Object;[Ljava/lang/Object;III)[Ljava/lang/Object;
    HSPLkotlin/collections/ArraysKt___ArraysKt;->fill([Ljava/lang/Object;Ljava/lang/Object;II)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
Back to top