- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 9,032 for COPY (0.05 seconds)
-
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) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java
*/ public DefaultRepositoryRequest() { // enables no-arg constructor } /** * Creates a shallow copy of the specified repository request. * * @param repositoryRequest The repository request to copy from, must not be {@code null}. */ public DefaultRepositoryRequest(RepositoryRequest repositoryRequest) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
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 - 47.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
} } } @GwtIncompatible @J2ktIncompatible private static void reserializeAndAssert(Object object) throws Exception { Object copy = reserialize(object); assertEquals(object, copy); assertEquals(object.getClass(), copy.getClass()); } @GwtIncompatible @J2ktIncompatible private static Object reserialize(Object object) throws Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertTrue(dataStoreParams.containsKey("key4")); // Create a copy DataStoreParams copy = dataStoreParams.newInstance(); // Modify original dataStoreParams.put("key5", "value5"); // Verify copy is independent assertTrue(dataStoreParams.containsKey("key5")); assertFalse(copy.containsKey("key5")); // Get as map and verify
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
internal/s3select/csv/reader.go
} recDst = recDst[:len(record)] copy(recDst, record) all = append(all, recDst) } }() if err != nil { in.err = err } // We don't need the input any more. //nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer. r.bufferPool.Put(in.input) in.input = nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
assertEquals(creds.isAnonymous(), copy.isAnonymous()); assertEquals(creds.isGuest(), copy.isGuest()); assertSame(subject, copy.getSubject(), "subject is the same reference in clone"); } @Test @DisplayName("createContext returns SSPContext and interacts with CIFSContext") void createContext_happy_interacts_and_returns_context() throws Exception { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 07 11:47:42 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
newOutput = output; } } /** * Returns the array of new input character sequences for update operations. * Returns a defensive copy to prevent external modification. * * @return array of new input sequences (defensive copy), or null if no updates are pending */ public String[] getNewInputs() { return newInputs == null ? null : newInputs.clone(); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharStreams.java
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0)