- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 831 for Sendfile (0.11 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc
constexpr static size_t kPosixCopyFileBufferSize = 128 * 1024; 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;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Nov 22 21:23:55 UTC 2019 - 1.9K bytes - Viewed (0) -
src/os/zero_copy_linux.go
sc, err := f.SyscallConn() if err != nil { return } rerr := sc.Read(func(fd uintptr) (done bool) { written, err, handled = poll.SendFile(pfd, int(fd), 1<<63-1) return true }) if err == nil { err = rerr } return written, handled, wrapSyscallError("sendfile", err) } func (f *File) readFrom(r io.Reader) (written int64, handled bool, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 4.6K bytes - Viewed (0) -
.github/workflows/mint/nginx-8-node.conf
'$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; # include /etc/nginx/conf.d/*.conf; upstream minio { server minio1:9000 max_fails=1 fail_timeout=10s; server minio2:9000 max_fails=1 fail_timeout=10s;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/orchestration/docker-compose/nginx.conf
'$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; # include /etc/nginx/conf.d/*.conf; upstream minio { server minio1:9000; server minio2:9000; server minio3:9000;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 05 06:32:39 UTC 2022 - 3K bytes - Viewed (0) -
.github/workflows/mint/nginx-1-node.conf
'$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; # include /etc/nginx/conf.d/*.conf; upstream minio { server minio1:9000; } upstream console { ip_hash;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 31 21:38:10 UTC 2023 - 2.8K bytes - Viewed (0) -
.github/workflows/mint/nginx.conf
'$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; # include /etc/nginx/conf.d/*.conf; upstream minio { server minio1:9000 max_fails=1 fail_timeout=10s; server minio2:9000 max_fails=1 fail_timeout=10s;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.go
if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil { return err } return nil } func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { if raceenabled { raceReleaseMerge(unsafe.Pointer(&ioSync)) } return sendfile(outfd, infd, offset, count) } func Fstatvfs(fd int, buf *Statvfs_t) (err error) { return Fstatvfs1(fd, buf, ST_WAIT) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 12.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go
} return } //sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { if raceenabled { raceReleaseMerge(unsafe.Pointer(&ioSync)) } return sendfile(outfd, infd, offset, count) } // TODO func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { return -1, ENOSYS }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go
func Gettimeofday(tv *Timeval) (err error) { err = gettimeofday(tv, nil) return } func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { if raceenabled { raceReleaseMerge(unsafe.Pointer(&ioSync)) } return sendfile(outfd, infd, offset, count) } // TODO func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { return -1, ENOSYS }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 16.1K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperChecksumVerificationTest.groovy
def configureServer(boolean expectHead) { if (expectHead) { server.expect(server.head("/gradle-bin.zip")) } server.expect(server.get("/gradle-bin.zip").sendFile(distribution.binDistribution)) server.start() } def "wrapper execution fails when using bad checksum"() { given: configureServer(true) prepareWrapper(new URI(gradleBin))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 6K bytes - Viewed (0)