Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 194 for sendFile (0.13 sec)

  1. src/net/http/fs_test.go

    	res.Body.Close()
    
    	// Force child to exit cleanly.
    	Post(fmt.Sprintf("http://%s/quit", ln.Addr()), "", nil)
    	child.Wait()
    
    	rx := regexp.MustCompile(`\b(n64:)?sendfile(64)?\(`)
    	out := buf.String()
    	if !rx.MatchString(out) {
    		t.Errorf("no sendfile system call found in:\n%s", out)
    	}
    }
    
    func getBody(t *testing.T, testName string, req Request, client *Client) (*Response, []byte) {
    	r, err := client.Do(&req)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
    //sys	setfsgid(gid int) (prev int, err error) = SYS_SETFSGID32
    //sys	setfsuid(uid int) (prev int, err error) = SYS_SETFSUID32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go

    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    //sys	Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
    //sys	setfsgid(gid int) (prev int, err error)
    //sys	setfsuid(uid int) (prev int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. src/syscall/syscall_wasip1.go

    	// be interpreted as being cause for termination.
    	if pid > 0 && pid != Getpid() {
    		return ESRCH
    	}
    	ProcExit(128 + int32(signum))
    	return nil
    }
    
    func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	return 0, ENOSYS
    }
    
    func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) {
    	return 0, 0, ENOSYS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

                        def relativePath = request.pathInfo.substring(path.length() + 1)
                        file = new File(srcFile, relativePath)
                    }
                    if (file.isFile()) {
                        sendFile(response, file, null, null, interaction.contentType)
                    } else if (file.isDirectory()) {
                        sendDirectoryListing(response, file)
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_386.go

    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
    //sys	Setfsgid(gid int) (err error) = SYS_SETFSGID32
    //sys	Setfsuid(uid int) (err error) = SYS_SETFSUID32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    		// Attempt to use splice/sendfile() optimization, A very specific behavior mentioned below is necessary.
    		// See https://github.com/golang/go/blob/f7c5cbb82087c55aa82081e931e0142783700ce8/src/net/sendfile_linux.go#L20
    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

            /**
             * Sends a 200 response with the contents of the given file as the response body.
             *
             * @return this
             */
            BuildableExpectedRequest sendFile(File file);
    
            /**
             * Sends a 200 response with the given text (UTF-8 encoded) as the response body.
             *
             * @return this
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/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: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/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)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top