Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 8,832 for copy2 (0.22 seconds)

  1. 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)
  2. android/guava/src/com/google/common/collect/CartesianList.java

        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
        return new CartesianList<>(axesBuilder.build());
      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

    /**
     * SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result
     * of a server-side copy operation.
     *
     * @author mbechler
     *
     */
    public class SrvCopyChunkCopyResponse implements Decodable {
    
        /**
         * Constructs a new SrvCopyChunkCopyResponse.
         * This response contains the results of a server-side copy operation.
         */
        public SrvCopyChunkCopyResponse() {
        }
    
        private int chunksWritten;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        TreeMultimap<String, Integer> copy = SerializableTester.reserializeAndAssert(multimap);
        assertThat(copy.values()).containsExactly(1, 3, 7, 2, 6, 0, 4).inOrder();
        assertThat(copy.keySet()).containsExactly("foo", "google", "tree").inOrder();
        assertEquals(multimap.keyComparator(), copy.keyComparator());
        assertEquals(multimap.valueComparator(), copy.valueComparator());
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  5. internal/event/targetidset.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import "maps"
    
    // TargetIDSet - Set representation of TargetIDs.
    type TargetIDSet map[TargetID]struct{}
    
    // Clone - returns copy of this set.
    func (set TargetIDSet) Clone() TargetIDSet {
    	setCopy := NewTargetIDSet()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. 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)
  7. android/guava/src/com/google/common/graph/ImmutableGraph.java

        Builder(GraphBuilder<N> graphBuilder) {
          // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to
          // modify this builder, so we make a copy instead.
          this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/CheckstylePrecommitPlugin.java

                        Files.copy(stream, checkstyleConf.toPath(), StandardCopyOption.REPLACE_EXISTING);
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                    try (InputStream stream = checkstyleSuppressionsUrl.openStream()) {
                        Files.copy(stream, checkstyleSuppressions.toPath(), StandardCopyOption.REPLACE_EXISTING);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/CredentialsInternal.java

     * and accessing SMB authentication credentials.
     *
     * @author mbechler
     */
    public interface CredentialsInternal extends Cloneable, Credentials {
    
        /**
         * Create a copy of the credentials.
         * @return a copy of the credentials
         */
        CredentialsInternal clone();
    
        /**
         * Create an SSP context for authentication.
         * @param tc the CIFS context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. 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)
Back to Top