- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 150 for Copying (0.19 sec)
-
src/cmd/cgo/internal/cgotest/overlaydir.go
// If we add a file in the overlay, we don't want to add it in the original. if info.IsDir() { return os.MkdirAll(dstPath, perm|0200) } // If the OS supports symlinks, use them instead of copying bytes. if err := os.Symlink(srcPath, dstPath); err == nil { return nil } // Otherwise, copy the bytes. src, err := os.Open(srcPath) if err != nil { return err } defer src.Close()
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 20:56:09 GMT 2023 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
} @Override public ImmutableMap<C, Map<R, V>> columnMap() { // Casts without copying. ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap; return ImmutableMap.<C, Map<R, V>>copyOf(columnMap); } @Override public ImmutableMap<R, Map<C, V>> rowMap() { // Casts without copying. ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 5.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc
std::unique_ptr<char[]> buffer(new char[kPosixCopyFileBufferSize]); off_t offset = 0; int bytes_transferred = 0; int rc = 1; // When `sendfile` returns 0 we stop copying and let callers handle this. while (offset < size && rc > 0) { size_t chunk = size - offset; if (chunk > kPosixCopyFileBufferSize) chunk = kPosixCopyFileBufferSize; rc = read(src_fd, buffer.get(), chunk);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 22 21:23:55 GMT 2019 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
import java.nio.charset.CodingErrorAction; import java.util.Arrays; /** * An {@link InputStream} that converts characters from a {@link Reader} into bytes using an * arbitrary Charset. * * <p>This is an alternative to copying the data to an {@code OutputStream} via a {@code Writer}, * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 9.3K bytes - Viewed (0) -
doc/next/3-tools.md
([#62047](https://go.dev/issue/62047)). Distributions that install the `go` command to a location other than `$GOROOT/bin/go` should install a symlink instead of relocating or copying the `go` binary. ### Vet {#vet} The `go vet` subcommand now includes the [stdversion](https://beta.pkg.go.dev/golang.org/x/tools/go/analysis/passes/stdversion)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri May 03 01:02:40 GMT 2024 - 977 bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
Files.createDirectories(destination.toPath().getParent()); Files.copy(file.toPath(), destination.toPath()); } catch (IOException e) { throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e); } } public String toString() { return "project information for " + artifact.getArtifactId() + " " + artifact.getVersion(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc
// This method uses `sendfile` specific to linux after 2.6.33. int CopyFileContents(int dst_fd, int src_fd, off_t size) { off_t offset = 0; int bytes_transferred = 0; int rc = 1; // When `sendfile` returns 0 we stop copying and let callers handle this. while (offset < size && rc > 0) { // Use uint64 for safe compare SSIZE_MAX uint64_t chunk = size - offset; if (chunk > SSIZE_MAX) chunk = SSIZE_MAX;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 22 21:23:55 GMT 2019 - 1.5K bytes - Viewed (0) -
LICENSE
users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must
Plain Text - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Jan 18 20:25:38 GMT 2016 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
} } @Override public ImmutableMap<C, Map<R, V>> columnMap() { // Casts without copying. ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap; return ImmutableMap.<C, Map<R, V>>copyOf(columnMap); } @Override public ImmutableMap<R, Map<C, V>> rowMap() { // Casts without copying. ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
} } @Override public ImmutableMap<C, Map<R, V>> columnMap() { // Casts without copying. ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap; return ImmutableMap.<C, Map<R, V>>copyOf(columnMap); } @Override public ImmutableMap<R, Map<C, V>> rowMap() { // Casts without copying. ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 10K bytes - Viewed (0)