- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 6,651 for copyTo (0.07 sec)
-
guava-tests/test/com/google/common/primitives/BooleansTest.java
private static void testReverse(boolean[] input, boolean[] expectedOutput) { input = Arrays.copyOf(input, input.length); Booleans.reverse(input); assertThat(input).isEqualTo(expectedOutput); } private static void testReverse( boolean[] input, int fromIndex, int toIndex, boolean[] expectedOutput) { input = Arrays.copyOf(input, input.length); Booleans.reverse(input, fromIndex, toIndex);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
Arrays.fill(array, ABSENT); return array; } /** Equivalent to {@code Arrays.copyOf(array, newSize)}, save that the new elements are ABSENT. */ private static int[] expandAndFillWithAbsent(int[] array, int newSize) { int oldSize = array.length; int[] result = Arrays.copyOf(array, newSize); Arrays.fill(result, oldSize, newSize, ABSENT); return result; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Ensures clone() returns a deep copy; mutations are independent across instances @Test @DisplayName("clone: returns deep copy and independent state") void clone_returnsDeepCopy() { // Arrange byte[] data = new byte[] { 10, 20, 30 }; SecurityBlob original = new SecurityBlob(data); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
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) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
assertArrayEquals(data, t.getMechanismToken(), "mechanismToken should round-trip"); // Document current behavior: no defensive copy (reference exposed) data[0] = 9; assertEquals(9, t.getMechanismToken()[0], "no defensive copy; reflects external mutation"); } @Test @DisplayName("Setter and getter for mechanismListMIC work") void setGetMechanismListMIC() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
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) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// would cause one to be evicted. return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK)) .withValueStrengths(ImmutableSet.copyOf(Strength.values())) .withConcurrencyLevels(ImmutableSet.of(1, 4, 16, 64)) .withMaximumSizes(ImmutableSet.of(400, 1000)) .withInitialCapacities(ImmutableSet.of(0, 1, 10, 100, 1000))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
src/archive/tar/writer.go
if sw.physicalRemaining() == 0 { readLastByte = true nf-- } _, err = rs.Seek(nf, io.SeekCurrent) } else { // In a data fragment nf = dataEnd - sw.pos nf, err = io.CopyN(sw.fw, rs, nf) } sw.pos += nf if sw.pos >= dataEnd && len(sw.sp) > 1 { sw.sp = sw.sp[1:] // Ensure last fragment always remains } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
t.Fatalf("Test %d: Failed to create HTTP request for copy Object: <ERROR> %v", i, err) } // "X-Amz-Copy-Source" header contains the information about the source bucket and the object to copied. if testCase.copySourceHeader != "" { reqV2.Header.Set("X-Amz-Copy-Source", testCase.copySourceHeader) } if testCase.copyModifiedHeader != "" { reqV2.Header.Set("X-Amz-Copy-Source-If-Modified-Since", testCase.copyModifiedHeader)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0)