- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 8,832 for copy2 (0.02 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
public void testInverseSerialization() { BiMapPair<K, V> pair = new BiMapPair<>(getMap()); BiMapPair<K, V> copy = SerializableTester.reserialize(pair); assertEquals(pair.forward, copy.forward); assertEquals(pair.backward, copy.backward); assertSame(copy.backward, copy.forward.inverse()); assertSame(copy.forward, copy.backward.inverse()); } private static final class BiMapPair<K, V> implements Serializable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
SortedSet<String> subset = set.subSet("c", "e"); SortedSet<String> copy = copyOf(subset); assertEquals(subset, copy); } public void testCopyOf_headSet() { SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); SortedSet<String> headset = set.headSet("d"); SortedSet<String> copy = copyOf(headset); assertEquals(headset, copy); } public void testCopyOf_tailSet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
LICENSE
these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Jan 18 20:25:38 GMT 2016 - 25.8K bytes - Click Count (0) -
ci/official/containers/ml_build/Dockerfile
# Install devtoolset build dependencies COPY setup.sources.sh /setup.sources.sh COPY setup.packages.sh /setup.packages.sh COPY builder.packages.txt /builder.packages.txt RUN /setup.sources.sh && /setup.packages.sh /builder.packages.txt # Setup Python COPY setup.python.sh /setup.python.sh COPY builder.requirements.txt /builder.requirements.txt
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Mar 20 15:35:12 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
} lastEscape = index + 1; } // Copy leftover characters if there are any. int charsLeft = slen - lastEscape; if (charsLeft > 0) { int sizeNeeded = destIndex + charsLeft; if (destSize < sizeNeeded) { // Regrow and copy, expensive! No padding as this is the final copy. dest = growBuffer(dest, destIndex, sizeNeeded); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
siblingCollection.add(sampleElement); Collection<E> copy = new ArrayList<>(); copy.addAll(collection); try { collection.add(sampleElement); fail("add succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); try { collection.addAll(siblingCollection);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java
// setup jdks used by no-jdk tests, and by gradle executing TaskProvider<Copy> linuxGradleJdk = createJdk(project, "gradle", GRADLE_JDK_VENDOR, GRADLE_JDK_VERSION, "linux", "x64"); TaskProvider<Copy> linuxSystemJdk = createJdk(project, "system", SYSTEM_JDK_VENDOR, SYSTEM_JDK_VERSION, "linux", "x64"); TaskProvider<Copy> windowsGradleJdk = createJdk(project, "gradle", GRADLE_JDK_VENDOR, GRADLE_JDK_VERSION, "windows", "x64");Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 28 21:31:21 GMT 2021 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
// This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array. // If a defensive copy were made, this test would fail, and the behavior would be more robust. // Given the current implementation, direct modification of the passed array affects the AvPair. // If this is not desired, a defensive copy should be added in the AvPair constructor.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Clone and verify basic fields copied JAASAuthenticator copy = (JAASAuthenticator) orig.clone(); assertEquals(orig.getUsername(), copy.getUsername()); assertEquals(orig.getUserDomain(), copy.getUserDomain()); assertEquals(orig.getPassword(), copy.getPassword()); // Test the cloning behavior with both null and non-null cached subjectsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0)