Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 316 for copyTo0 (0.04 sec)

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

        }
        super.moveLastEntry(dstIndex);
      }
    
      @Override
      void resizeEntries(int newCapacity) {
        super.resizeEntries(newCapacity);
        int oldCapacity = links.length;
        links = Arrays.copyOf(links, newCapacity);
        Arrays.fill(links, oldCapacity, newCapacity, UNSET);
      }
    
      @Override
      public void clear() {
        super.clear();
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkTester.java

              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
        return ImmutableList.copyOf(result);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      public void addEdge_existingEdgeBetweenSameNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isTrue();
        ImmutableSet<String> edges = ImmutableSet.copyOf(network.edges());
        assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isFalse();
        assertThat(network.edges()).containsExactlyElementsIn(edges);
        assertThat(networkAsMutableNetwork.addEdge(N2, N1, E12)).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     are any duplicate services.
       */
      public ServiceManager(Iterable<? extends Service> services) {
        ImmutableList<Service> copy = ImmutableList.copyOf(services);
        if (copy.isEmpty()) {
          // Having no services causes the manager to behave strangely. Notably, listeners are never
          // fired. To avoid this we substitute a placeholder service.
          logger
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * @throws ClassCastException if any value is not an instance of the type specified by its key
       */
      public static <B, S extends B> ImmutableClassToInstanceMap<B> copyOf(
          Map<? extends Class<? extends S>, ? extends S> map) {
        if (map instanceof ImmutableClassToInstanceMap) {
          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        @DisplayName("Test password array is truly independent of input")
        public void testPasswordArrayIndependence() {
            char[] originalPassword = "IndependentPass123!".toCharArray();
            char[] passwordCopy = Arrays.copyOf(originalPassword, originalPassword.length);
    
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", originalPassword);
    
            // Modify the original array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                for (int numChunks = 0; numChunks <= testCases.length; numChunks++) {
                    // Create copy with varying number of chunks
                    SrvCopychunk[] chunks = Arrays.copyOf(testCases, numChunks);
                    SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunks);
                    byte[] buffer = new byte[500];
    
                    // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0])));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      private static final Iterable<Double> TOLERANCE_CANDIDATES =
          ImmutableList.copyOf(
              Iterables.concat(
                  FINITE_TOLERANCE_CANDIDATES, ImmutableList.of(Double.POSITIVE_INFINITY)));
    
      private static final ImmutableList<Double> BAD_TOLERANCE_CANDIDATES =
          ImmutableList.copyOf(
              Doubles.asList(
                  -Double.MIN_VALUE,
                  -Double.MIN_NORMAL,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  10. 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);
        }
      }
    
      private static final class MutableCell<R, C, V> extends AbstractCell<R, C, V> {
        private final R row;
        private final C column;
        private V value;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top