Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 831 for Sendfile (0.31 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

        return new byte[BUFFER_SIZE];
      }
    
      /**
       * There are three methods to implement {@link FileChannel#transferTo(long, long,
       * WritableByteChannel)}:
       *
       * <ol>
       *   <li>Use sendfile(2) or equivalent. Requires that both the input channel and the output
       *       channel have their own file descriptors. Generally this only happens when both channels
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/syscall/zsysnum_freebsd_arm64.go

    	SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, u_long flags); }
    	SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, int count); }
    	SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
    	SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 35.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go

    	return
    }
    
    var libc_sysctl_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 66.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	return mountSetattr(dirfd, pathname, flags, attr, unsafe.Sizeof(*attr))
    }
    
    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)
    }
    
    // Sendto
    // Recvfrom
    // Socketpair
    
    /*
     * Direct access
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  5. src/io/fs/readfile.go

    	ReadFile(name string) ([]byte, error)
    }
    
    // ReadFile reads the named file from the file system fs and returns its contents.
    // A successful call returns a nil error, not [io.EOF].
    // (Because ReadFile reads the whole file, the expected EOF
    // from the final Read is not treated as an error to be reported.)
    //
    // If fs implements [ReadFileFS], ReadFile calls fs.ReadFile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_linux_s390x.go

    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
    	written = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

            def file = tmpDir.createFile("thing.txt")
            file.text = "123"
    
            given:
            server.expect(server.get("a"))
            server.expect(server.get("b").sendFile(file))
            server.expect(server.get("c").send("this is the content"))
            server.start()
    
            when:
            server.uri("a").toURL().text == ""
            server.uri("b").toURL().text == "123"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_linux_arm64.go

    	off = int64(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
    	written = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_linux_386.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
    	written = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 34.7K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_linux_riscv64.go

    	off = int64(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
    	written = int(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 37.8K bytes
    - Viewed (0)
Back to top