Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 316 for copyFor (0.04 sec)

  1. android/guava/src/com/google/common/collect/TableCollectors.java

            put(cell.getRowKey(), cell.getColumnKey(), cell.getValue(), merger);
          }
          return this;
        }
    
        ImmutableTable<R, C, V> toTable() {
          return ImmutableTable.copyOf(insertionOrder);
        }
      }
    
      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      private static final class MutableCell<R, C, V> extends AbstractCell<R, C, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashMap.java

       * the current capacity.
       */
      void resizeEntries(int newCapacity) {
        this.entries = Arrays.copyOf(requireEntries(), newCapacity);
        this.keys = Arrays.copyOf(requireKeys(), newCapacity);
        this.values = Arrays.copyOf(requireValues(), newCapacity);
      }
    
      @CanIgnoreReturnValue
      private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. 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)
  4. guava/src/com/google/common/base/Joiner.java

               */
              toJoin = Arrays.copyOf(toJoin, expandedCapacity(toJoin.length, toJoin.length + 1));
            }
            toJoin[i++] = toString(part);
          }
          // We might not have seen the expected number of elements, as discussed above.
          if (i != toJoin.length) {
            toJoin = Arrays.copyOf(toJoin, i);
          }
          return String.join(separator, toJoin);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          segment.setValueForTesting(entry, value);
        }
        segment.setTableEntryForTesting(0, entry);
        segment.count = originalCount;
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(originalCount, originalMap.size());
        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          segment.setValueForTesting(entry, value);
        }
        segment.setTableEntryForTesting(0, entry);
        segment.count = originalCount;
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(originalCount, originalMap.size());
        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlResponseTest.java

                assertNotNull(stream);
                byte[] buffer = new byte[1024];
                int bytesRead = stream.read(buffer);
                assertEquals(data.length, bytesRead);
                assertArrayEquals(data, Arrays.copyOf(buffer, bytesRead));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithoutCache() {
            CurlResponse response = new CurlResponse();
    
            try {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            // Create a defensive copy to avoid ConcurrentModificationException
            List<CommonServerMessageBlock> operationsCopy = List.copyOf(pendingOps);
    
            // Clear the failed channel's pending operations first
            failedChannel.clearPendingOperations();
    
            // Redistribute to healthy channels
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
                    return ImmutableList.copyOf(super.order(insertionOrder)).reverse();
                  }
                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    } catch (final Exception x) {
                        this.e = new SmbException("WriterThread", x);
                    }
                    notify();
                }
            }
        }
    
        void copyTo0(final SmbFile dest, final byte[][] b, final int bsize, final WriterThread w, final SmbComReadAndX req,
                final SmbComReadAndXResponse resp) throws SmbException {
            int i;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top