Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,226 for bufLen (0.14 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv uint32
    	Drop uint32
    }
    
    type BpfZbuf struct {
    	Bufa   *byte
    	Bufb   *byte
    	Buflen uint64
    }
    
    type BpfProgram struct {
    	Len   uint32
    	Insns *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    	K    uint32
    }
    
    type BpfHdr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go

    )
    
    type BpfVersion struct {
    	Major uint16
    	Minor uint16
    }
    
    type BpfStat struct {
    	Recv uint32
    	Drop uint32
    }
    
    type BpfZbuf struct {
    	Bufa   *byte
    	Bufb   *byte
    	Buflen uint32
    }
    
    type BpfProgram struct {
    	Len   uint32
    	Insns *BpfInsn
    }
    
    type BpfInsn struct {
    	Code uint16
    	Jt   uint8
    	Jf   uint8
    	K    uint32
    }
    
    type BpfHdr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    			return nil, ret
    		}
    		buf = make([]uint16, buflen)
    		if ret := cm_Get_Device_Interface_List(interfaceClass, deviceID16, &buf[0], buflen, flags); ret == CR_SUCCESS {
    			break
    		} else if ret != CR_BUFFER_SMALL {
    			return nil, ret
    		}
    	}
    	var interfaces []string
    	for i := 0; i < len(buf); {
    		j := i + wcslen(buf[i:])
    		if i < j {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  4. src/runtime/sys_darwin.go

    //go:linkname proc_regionfilename runtime/pprof.proc_regionfilename
    func proc_regionfilename(pid int, address uint64, buf *byte, buflen int64) int32 {
    	args := struct {
    		pid     int
    		address uint64
    		buf     *byte
    		bufSize int64
    	}{
    		pid:     pid,
    		address: address,
    		buf:     buf,
    		bufSize: buflen,
    	}
    	return libcCall(unsafe.Pointer(abi.FuncPCABI0(proc_regionfilename_trampoline)), unsafe.Pointer(&args))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_MLOCKALL               = 324 // { int mlockall(int how); }
    	SYS_MUNLOCKALL             = 325 // { int munlockall(void); }
    	SYS___GETCWD               = 326 // { int __getcwd(u_char *buf, u_int buflen); }
    	SYS_SCHED_SETPARAM         = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
    	SYS_SCHED_GETPARAM         = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/syscall_windows.go

    //sys	VirtualQuery(address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) = kernel32.VirtualQuery
    //sys	GetTempPath2(buflen uint32, buf *uint16) (n uint32, err error) = GetTempPath2W
    
    const (
    	// flags for CreateToolhelp32Snapshot
    	TH32CS_SNAPMODULE   = 0x08
    	TH32CS_SNAPMODULE32 = 0x10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/text/scanner/scanner.go

    const GoWhitespace = 1<<'\t' | 1<<'\n' | 1<<'\r' | 1<<' '
    
    const bufLen = 1024 // at least utf8.UTFMax
    
    // A Scanner implements reading of Unicode characters and tokens from an [io.Reader].
    type Scanner struct {
    	// Input
    	src io.Reader
    
    	// Source buffer
    	srcBuf [bufLen + 1]byte // +1 for sentinel for common case of s.next()
    	srcPos int              // reading position (srcBuf index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/runtime/os_windows.go

    )
    
    // writeConsole writes bufLen bytes from buf to the console File.
    // It returns the number of bytes written.
    func writeConsole(handle uintptr, buf unsafe.Pointer, bufLen int32) int {
    	const surr2 = (surrogateMin + surrogateMax + 1) / 2
    
    	// Do not use defer for unlock. May cause issues when printing a panic.
    	lock(&utf16ConsoleBackLock)
    
    	b := (*[1 << 30]byte)(buf)[:bufLen]
    	s := *(*string)(unsafe.Pointer(&b))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_openbsd_amd64.go

    	SYS_CONNECT        = 98  // { int sys_connect(int s, const struct sockaddr *name, \
    	SYS_GETDENTS       = 99  // { int sys_getdents(int fd, void *buf, size_t buflen); }
    	SYS_GETPRIORITY    = 100 // { int sys_getpriority(int which, id_t who); }
    	SYS_PIPE2          = 101 // { int sys_pipe2(int *fdp, int flags); }
    	SYS_SIGRETURN      = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 14.2K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_openbsd_arm64.go

    	SYS_CONNECT        = 98  // { int sys_connect(int s, const struct sockaddr *name, \
    	SYS_GETDENTS       = 99  // { int sys_getdents(int fd, void *buf, size_t buflen); }
    	SYS_GETPRIORITY    = 100 // { int sys_getpriority(int which, id_t who); }
    	SYS_PIPE2          = 101 // { int sys_pipe2(int *fdp, int flags); }
    	SYS_DUP3           = 102 // { int sys_dup3(int from, int to, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 14.7K bytes
    - Viewed (0)
Back to top