Commit Graph

23 Commits

Author SHA1 Message Date
Loyalsoldier 6f8979d017
Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
Loyalsoldier f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
DuckSoft 1525712214
some typo fixes
note: there are other typos in external/ folder.
considering the fact that the folder "will be removed in future", I skipped those typos.
2020-07-17 18:09:24 +08:00
vcptr 905ac82bb1 more test to common/buf 2019-11-22 17:40:24 +08:00
Darien Raymond deebb68597
update buf test 2018-11-15 22:06:54 +01:00
Darien Raymond 0fd7e9216a
fix test break 2018-11-15 16:32:38 +01:00
Darien Raymond ac4f868078
introduce go-cmp 2018-11-15 10:30:03 +01:00
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond f7b96507f9
simplify buffer extension 2018-11-02 21:34:04 +01:00
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond 2621305413
more test cases 2018-10-24 13:16:08 +02:00
Darien Raymond fdb3a7b57d
remove use of buf.NewSize() 2018-08-16 12:05:33 +02:00
Darien Raymond 1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +02:00
Darien Raymond 08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
Darien Raymond 994aecd13c
rename NewLocal to NewSize 2018-03-11 23:29:17 +01:00
Darien Raymond f97e6fa3d2
refine buffer allocation 2018-03-11 23:06:04 +01:00
Darien Raymond eaf043f1b3
reduce memory usage of Buffer 2018-03-08 22:30:52 +01:00
Darien Raymond 74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond eda72624e2
test case for sync pool 2017-04-21 14:32:29 +02:00
Darien Raymond b1dfff2fdd
remove 8k buffer pool 2017-04-15 21:19:21 +02:00
Darien Raymond ceaf5d1178
fix lint warnings 2016-12-21 15:37:16 +01:00
Darien Raymond 055023fdd5
refactor buffer 2016-12-09 12:08:25 +01:00
Darien Raymond 7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00