Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 361 for vbuf (0.03 sec)

  1. src/net/http/internal/chunked.go

    				// reading a new chunk header.
    				break
    			}
    			cr.beginChunk()
    			continue
    		}
    		if len(b) == 0 {
    			break
    		}
    		rbuf := b
    		if uint64(len(rbuf)) > cr.n {
    			rbuf = rbuf[:cr.n]
    		}
    		var n0 int
    		n0, cr.err = cr.r.Read(rbuf)
    		n += n0
    		b = b[n0:]
    		cr.n -= uint64(n0)
    		// If we're at the end of a chunk, read the next two
    		// bytes to verify they are "\r\n".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/syscall/route_freebsd_32bit.go

    }
    
    func (any *anyMessage) parseInterfaceMessage(b []byte) *InterfaceMessage {
    	p := (*InterfaceMessage)(unsafe.Pointer(any))
    	// FreeBSD 10 and beyond have a restructured mbuf
    	// packet header view.
    	// See https://svnweb.freebsd.org/base?view=revision&revision=254804.
    	m := (*ifMsghdr)(unsafe.Pointer(any))
    	p.Header.Data.Hwassist = uint32(m.Data.Hwassist)
    	p.Header.Data.Epoch = m.Data.Epoch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 15:46:41 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go

    //sys	Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
    
    //sys	Pause() (err error)
    
    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    	_, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
    	if e != 0 {
    		err = errnoErr(e)
    	}
    	return
    }
    
    func Statfs(path string, buf *Statfs_t) (err error) {
    	p, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_ppc64x.go

    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
    //sys	Stat(path string, stat *Stat_t) (err error)
    //sys	Statfs(path string, buf *Statfs_t) (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Ustat(dev int, ubuf *Ustat_t) (err error)
    //sys	accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
    //sys	bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/syscall/syscall_freebsd.go

    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_mipsx.go

    //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
    
    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    	_, _, e := Syscall(SYS_FSTATFS64, uintptr(fd), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
    	if e != 0 {
    		err = errnoErr(e)
    	}
    	return
    }
    
    func Statfs(path string, buf *Statfs_t) (err error) {
    	p, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. src/syscall/syscall_dragonfly.go

    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	namlen, ok := direntNamlen(buf)
    	if !ok {
    		return 0, false
    	}
    	return (16 + namlen + 1 + 7) &^ 7, true
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    func utimes(path string, tv *[2]Timeval) (err error) {
    	if tv == nil {
    		return utimensat(AT_FDCWD, path, nil, 0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go

    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
    //sys	Statfs(path string, buf *Statfs_t) (err error)
    //sys	SyncFileRange(fd int, off int64, n int64, flags int) (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Ustat(dev int, ubuf *Ustat_t) (err error)
    //sys	accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/anames.go

    	"UMNEGL",
    	"UMSUBL",
    	"UMULH",
    	"UMULL",
    	"UREM",
    	"UREMW",
    	"UXTB",
    	"UXTBW",
    	"UXTH",
    	"UXTHW",
    	"UXTW",
    	"VADD",
    	"VADDP",
    	"VADDV",
    	"VAND",
    	"VBCAX",
    	"VBIF",
    	"VBIT",
    	"VBSL",
    	"VCMEQ",
    	"VCMTST",
    	"VCNT",
    	"VDUP",
    	"VEOR",
    	"VEOR3",
    	"VEXT",
    	"VFMLA",
    	"VFMLS",
    	"VLD1",
    	"VLD1R",
    	"VLD2",
    	"VLD2R",
    	"VLD3",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 01:40:37 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top