Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 136 for copy2 (0.03 seconds)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertFalse(targetFile.exists(), "Target file should not exist initially");
    
            // Copy file
            sourceFile.copyTo(targetFile);
    
            assertTrue(sourceFile.exists(), "Source file should still exist after copy");
            assertTrue(targetFile.exists(), "Target file should exist after copy");
    
            // Verify content in both files
            try (InputStream in = sourceFile.getInputStream()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
      }
    
      public void testEnumMapWithInitialEmptyEnumMap() {
        EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class);
        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
        assertThat(copy).isNotSameInstanceAs(original);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Sets.java

          for (Set<? extends E> set : sets) {
            ImmutableSet<E> copy = ImmutableSet.copyOf(set);
            if (copy.isEmpty()) {
              return ImmutableSet.of();
            }
            axesBuilder.add(copy);
          }
          ImmutableList<ImmutableSet<E>> axes = axesBuilder.build();
          ImmutableList<List<E>> listAxes =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Sets.java

          for (Set<? extends E> set : sets) {
            ImmutableSet<E> copy = ImmutableSet.copyOf(set);
            if (copy.isEmpty()) {
              return ImmutableSet.of();
            }
            axesBuilder.add(copy);
          }
          ImmutableList<ImmutableSet<E>> axes = axesBuilder.build();
          ImmutableList<List<E>> listAxes =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  5. src/bufio/bufio_test.go

    		if _, err := w.ReadFrom(rw); err != rw.expected {
    			t.Errorf("w.ReadFrom(errorReaderFromTests[%d]) = _, %v, want _,%v", i, err, rw.expected)
    		}
    	}
    }
    
    // TestWriterReadFromCounts tests that using io.Copy to copy into a
    // bufio.Writer does not prematurely flush the buffer. For example, when
    // buffering writes to a network socket, excessive network writes should be
    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  6. cmd/bucket-handlers.go

    					}
    					fanOutEntries = append(fanOutEntries, m)
    				}
    				part.Close()
    				continue
    			}
    
    			buf := bytebufferpool.Get()
    			// value, store as string in memory
    			n, err := io.CopyN(buf, part, maxMemoryBytes+1)
    			value := buf.String()
    			buf.Reset()
    			bytebufferpool.Put(buf)
    			part.Close()
    
    			if err != nil && err != io.EOF {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/MapMakerInternalMap.java

        E newEntry(S segment, K key, int hash, @Nullable E next);
    
        /**
         * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment},
         * that is a copy of the given {@code entry}.
         */
        E copy(S segment, E entry, @Nullable E newNext);
    
        /**
         * Sets the value of the given {@code entry} in the given {@code segment} to be the given {@code
         * value}
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * key/value mapping in the underlying multimap and determine which satisfy the filter. When a
       * live view is <i>not</i> needed, it may be faster to copy the filtered multimap and use the
       * copy.
       *
       * <p><b>Warning:</b> {@code keyPredicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multimaps.java

       * key/value mapping in the underlying multimap and determine which satisfy the filter. When a
       * live view is <i>not</i> needed, it may be faster to copy the filtered multimap and use the
       * copy.
       *
       * <p><b>Warning:</b> {@code keyPredicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  10. tensorflow/BUILD

    #             "*.bara.sky",
    #             "*.dic",
    #             "*.ftrcp",
    #         ],
    #         exclude = [
    #             "copy.bara.sky",
    #         ],
    #     ),
    #     visibility = ["//visibility:public"],
    # )
    #
    # filegroup(
    #     name = "copybara_config",
    #     srcs = ["copy.bara.sky"],
    #     data = [
    #         ":copybara_library",
    #         "//learning/brain/testing/copybara:all_bara_sky",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
Back to Top