crash.software
Projects
Pull Requests
Issues
Builds
GoReSym
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
GoReSym
Files
🤬
Sign In
9d2d6c56
ROOT
/
io
/
pipe.go
Search
History
205 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
onceError
sync.Mutex
err
:
error
ErrClosedPipe
pipe
wrMu
:
sync.Mutex
wrCh
:
chan []byte
rdCh
:
chan int
once
:
sync.Once
done
:
chan struct{}
rerr
:
onceError
werr
:
onceError
PipeReader
p
:
*pipe
PipeWriter
p
:
*pipe
Pipe
()
:
(*PipeReader, *PipeWriter)
*onceError
Store
(err error)
Load
()
:
error
*pipe
Read
(b []byte)
:
(n int, err error)
readCloseError
()
:
error
CloseRead
(err error)
:
error
Write
(b []byte)
:
(n int, err error)
writeCloseError
()
:
error
CloseWrite
(err error)
:
error
*PipeReader
Read
(data []byte)
:
(n int, err error)
Close
()
:
error
CloseWithError
(err error)
:
error
*PipeWriter
Write
(data []byte)
:
(n int, err error)
Close
()
:
error
CloseWithError
(err error)
:
error
All occurrences
Please wait...
Page is in error, reload to recover