This site requires javascript.
function:copyinbytes
search
close
info_outline
Events
Projects
Programs and Services
Documentation
About
Blog
more_vert
Results 1 - 6 of 6
content_copy
Search Result Root
gvisor/gvisor
keyboard_arrow_right
Branch
Branch
master
keyboard_arrow_right
Search Result Path
tools/go_marshal/test/
marshal_test.go
content_copy
Preview
81:
82:
83:
// its internal buffer.
func
(t *mockCopyContext)
CopyInBytes
(_ hostarch.Addr, b []byte) (int, error) {
return
t.taskMem.CopyIn(nil,
0
, b, usermem.IOOpts{})
Search Result Root
gvisor/gvisor
keyboard_arrow_right
Branch
Branch
master
keyboard_arrow_right
Search Result Path
tools/go_marshal/test/escape/
escape.go
content_copy
Preview
36:
37:
func
(*dummyCopyContext)
CopyInBytes
(addr hostarch.Addr, b []byte) (int, error) {
return
len(b), nil
Search Result Root
gvisor/gvisor
keyboard_arrow_right
Branch
Branch
master
keyboard_arrow_right
Search Result Path
pkg/marshal/
marshal.go
content_copy
Preview
42:
43:
44:
// kernel.CopyInBytes.
CopyInBytes
(addr hostarch.Addr, b []byte) (int, error)
}
Search Result Root
gvisor/gvisor
keyboard_arrow_right
Branch
Branch
master
keyboard_arrow_right
Search Result Path
pkg/usermem/
marshal.go
content_copy
Preview
40:
41:
42:
// CopyInBytes implements marshal.CopyContext.CopyInBytes.
func
(i *IOCopyContext)
CopyInBytes
(addr hostarch.Addr, b []byte) (int, error) {
return
i.IO.CopyIn(i.Ctx, addr, b, i.Opts)
Search Result Root
gvisor/gvisor
keyboard_arrow_right
Branch
Branch
master
keyboard_arrow_right
Search Result Path
pkg/sentry/arch/
stack.go
content_copy
Preview
85:
86:
87:
// this.
func
(s *Stack)
CopyInBytes
(sentinel hostarch.Addr, b []byte) (int, error) {
if
sentinel != StackBottomMagic {
Search Result Root
gvisor/gvisor
keyboard_arrow_right
Branch
Branch
master
keyboard_arrow_right
Search Result Path
pkg/sentry/kernel/
task_usermem.go
content_copy
Preview
55:
56:
57:
// This Task's AddressSpace must be active.
func
(t *Task)
CopyInBytes
(addr hostarch.Addr, dst []byte) (int, error) {
return
t.MemoryManager().CopyIn(t, addr, dst, usermem.IOOpts{
364:
365:
366:
// CopyInBytes implements marshal.CopyContext.CopyInBytes.
func
(cc *taskCopyContext)
CopyInBytes
(addr hostarch.Addr, dst []byte) (int, error) {
tmm, err := cc.getMemoryManager()
407:
408:
409:
// CopyInBytes implements marshal.CopyContext.CopyInBytes.
func
(cc *ownTaskCopyContext)
CopyInBytes
(addr hostarch.Addr, dst []byte) (int, error) {
return
cc.t.MemoryManager().CopyIn(cc.t, addr, dst, cc.opts)
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch master