Commit Graph

250 Commits (886cef691d29ebb0820a3ce8e63b896a65378680)

Author SHA1 Message Date
DuckSoft 1525712214
some typo fixes
4 years ago
Araragi Hokuto 2a96605138
Fix build failure on illumos
5 years ago
vcptr 47660bfee2 fix win test error; dont use ReadV on file
5 years ago
vcptr c060f9f11f fix test read buf
5 years ago
vcptr 905ac82bb1 more test to common/buf
5 years ago
ghost 8da0a53845 properly propagate Reader errors
5 years ago
ghost f7abe353df fix ReadBuffer()
5 years ago
Kslr be27720c74 fix codestyle
6 years ago
Kslr c6f3ab48ee fixed ReadV issue for windows
6 years ago
Darien Raymond 98950d5ada
remove dep of assert lib
6 years ago
Darien Raymond a84897b4b6
simplify ReadBuffer
6 years ago
Darien Raymond b0a015c7cc
comments
6 years ago
Darien Raymond 932e09a388
remove dep of assert lib
6 years ago
Darien Raymond b234cfb4c4
unify NewPacketReader
6 years ago
Darien Raymond bdd71a44b4
remove dep on assert lib
6 years ago
Darien Raymond 8e131bcd1f
remove dependency on assert lib
6 years ago
Darien Raymond d26700a2fe
remove common/compare package
6 years ago
Darien Raymond 4e77570f36
fix connection reading in UDP
6 years ago
Darien Raymond ce91e92435
fix #1496
6 years ago
Darien Raymond c72d853454
return correct error
6 years ago
Darien Raymond 88e757e33f
merge duplicated code
6 years ago
Darien Raymond fc92b6295a
compact buffers
6 years ago
Darien Raymond cf1705267e
switch to errgroup
6 years ago
Darien Raymond c49b93b39e
simplify buffer allocation
6 years ago
Darien Raymond 0f63be6340
open ReadBuffer for quic connections
6 years ago
Darien Raymond 3340f81d03
fix reader/writer for packet conn
6 years ago
Darien Raymond e392f8ed3d
use WriteByte instead of copy
6 years ago
Darien Raymond 844f6937a4
reduce memory consumption on readOne
6 years ago
Darien Raymond 83c4b20b6e
fix lint warnings
6 years ago
Darien Raymond b1b8cb5ef5
Fix SplitSize
6 years ago
Darien Raymond 5c4e33f759
rewrite SliceBySize
6 years ago
Darien Raymond bcd5d026fe
rewrite SplitFirst
6 years ago
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes
6 years ago
Darien Raymond 842a089dad
refactor multibuffer
6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release
6 years ago
Darien Raymond 27772a75a7
refactor MultiBuffer append
6 years ago
Darien Raymond 48cac1733f
remove NewMultiBufferCap
6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond db5259e75b
avoid heap allocation for buffer variables
6 years ago
Darien Raymond deebb68597
update buf test
6 years ago
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond a5ed9e00ab
revert opt on copy
6 years ago
Darien Raymond 6d770d6f30
remove unused members
6 years ago
Darien Raymond 9bc6a5813e
improve performance on copy
6 years ago
Darien Raymond 0fd7e9216a
fix test break
6 years ago
Darien Raymond ac4f868078
introduce go-cmp
6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes
6 years ago
Darien Raymond ff7e5a7cdb
benchmark mux frame
6 years ago
Darien Raymond a14fae4b35
fix lint warnings
6 years ago
Darien Raymond f7b96507f9
simplify buffer extension
6 years ago