Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 5,297 for copy2 (0.02 seconds)

  1. scripts/docs.py

                file_path.name.replace("_py39.py", "_py310.py")
            )
            if py310_file.exists():
                continue
            logging.info(f"Copying file {file_path} -> {py310_file}")
            shutil.copy2(file_path, py310_file)
    
    
    @app.command()
    def update_docs_includes_py39_to_py310() -> None:
        """
        Update .md files in docs/en/ to replace _py39 includes with _py310 versions.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    // Create copy with varying number of chunks
                    SrvCopychunk[] chunks = Arrays.copyOf(testCases, numChunks);
                    SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunks);
                    byte[] buffer = new byte[500];
    
                    // When
                    int expectedSize = copy.size();
                    int actualEncoded = copy.encode(buffer, 0);
    
                    // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. src/archive/tar/reader.go

    		}
    	}
    	if !ok {
    		return io.Copy(w, struct{ io.Reader }{sr})
    	}
    
    	var writeLastByte bool
    	pos0 := sr.pos
    	for sr.logicalRemaining() > 0 && !writeLastByte && err == nil {
    		var nf int64 // Size of fragment
    		holeStart, holeEnd := sr.sp[0].Offset, sr.sp[0].endOffset()
    		if sr.pos < holeStart { // In a data fragment
    			nf = holeStart - sr.pos
    			nf, err = io.CopyN(ws, sr.fr, nf)
    		} else { // In a hole fragment
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

        SortedSet<String> set = new SafeTreeSet<>();
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertEquals(set.comparator(), copy.comparator());
      }
    
      @GwtIncompatible // SerializableTester
      public void testSingle_serialization() {
        SortedSet<String> set = new SafeTreeSet<>();
        set.add("e");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                            final Smb2IoctlRequest copy = new Smb2IoctlRequest(sh.getConfig(),
                                    write ? Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE : Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, dfd.getFileId());
                            copy.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
                            copy.setInputData(new SrvCopychunkCopy(resumeKey, chunkInfo));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. guava-gwt/pom.xml

                      </fileset>
                    </copy>
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
                      <fileset dir="${project.build.directory}/failureaccess-sources">
                        <include name="**/InternalFutures.java" />
                      </fileset>
                    </copy>
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:19:17 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        original.add("two");
        original.add("three");
    
        EvictingQueue<String> copy = SerializableTester.reserialize(original);
        assertEquals(copy.maxSize, original.maxSize);
        assertThat(copy.remove()).isEqualTo("one");
        assertThat(copy.remove()).isEqualTo("two");
        assertThat(copy.remove()).isEqualTo("three");
        assertTrue(copy.isEmpty());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      }
    
      public void testCopyOfEmptyMap() {
        ImmutableSortedMap<String, Integer> copy =
            ImmutableSortedMap.copyOf(Collections.<String, Integer>emptyMap());
        assertEquals(Collections.<String, Integer>emptyMap(), copy);
        assertThat(ImmutableSortedMap.copyOf(copy)).isSameInstanceAs(copy);
        assertThat(copy.comparator()).isEqualTo(Ordering.natural());
      }
    
      public void testCopyOfSingletonMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        return copy(readTimeoutMillis = checkDuration("readTimeout", timeout.toLong(), unit))
      }
    
      override fun writeTimeoutMillis(): Int = writeTimeoutMillis
    
      override fun withWriteTimeout(
        timeout: Int,
        unit: TimeUnit,
      ): Interceptor.Chain {
        check(exchange == null) { "Timeouts can't be adjusted in a network interceptor" }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
Back to Top