MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Write

Method Write

pkg/cap/types_windows.go:47–47  ·  view source on GitHub ↗

Write accepts two channels. The event channel receives events pushed by the event consumer. When the event is peeked from the channel, it is serialized and written to the underlying byte buffer.

(<-chan *event.Event, <-chan error)

Source from the content-addressed store, hash-verified

45 // When the event is peeked from the channel, it is serialized and written to the underlying
46 // byte buffer.
47 Write(<-chan *event.Event, <-chan error) chan error
48 // Close disposes all resources allocated by the writer.
49 Close() error
50}

Callers 15

sendMethod · 0.65
adjustTokenPrivilegesFunction · 0.65
wsMethod · 0.65
writeSnapshotsMethod · 0.65
writeMethod · 0.65
updateSnapshottersMethod · 0.65
ConfigFunction · 0.65
ExecuteFuncMethod · 0.65
stdTagFuncFunction · 0.65
FireMethod · 0.65
FnvUint32Function · 0.65
FnvUint64Function · 0.65

Implementers 7

snapshotterpkg/handle/snapshotter.go
SnapshotterMockpkg/handle/snapshotter_mock.go
SnapshotterMockpkg/ps/snapshotter_mock.go
snapshotterpkg/ps/snapshotter_windows.go
writerpkg/cap/writer_windows.go
FrameBufferpkg/util/term/fb.go
NoopPsSnapshotterinternal/etw/source_test.go

Calls

no outgoing calls

Tested by 3

TestGetFunction · 0.52
TestGetPipeFunction · 0.52
TestLoadGroupsFromURLsFunction · 0.52