RPRX
|
7cc8b75006
|
Reorder dice_test.go
|
2020-11-14 05:06:07 +00:00 |
|
Chinsyo
|
bdf715afa9
|
rand.Intn(65536) -> rand.Int63() >> 47 (#417)
* Optimize rand.Intn(65536) to rand.Int31() >> 15, with ~20% performance improvement.
* Optimize rand.Intn(65536) to rand.rand.Int63() >> 47
* Remove rand.Seed call duplicate with original source code
Co-authored-by: Chinsyo <chinsyo@sina.cn>
|
2020-11-14 05:00:25 +00:00 |
|
loyalsoldier
|
784775f689
|
Refine code according to golangci-lint results
|
2020-10-11 19:22:46 +08:00 |
|
Shelikhoo
|
d671780804
|
Drain Connection Based on Uuid based Behavior seed
|
2020-06-02 14:47:54 +08:00 |
|
Shelikhoo
|
e0aa18b6f3
|
Drain Connection with invalid checksum before closing. Emergency fix for weakness described in https://github.com/v2ray/v2ray-core/issues/2523
|
2020-06-01 16:40:54 +08:00 |
|
Darien Raymond
|
27ccc9d726
|
comments
|
2018-04-03 22:34:59 +02:00 |
|
Darien Raymond
|
2b4104e491
|
benchmark for dice
|
2018-02-24 13:57:25 +01:00 |
|
Darien Raymond
|
2e756cdaa8
|
refactor
|
2017-04-27 11:54:15 +02:00 |
|
Darien Raymond
|
48eb40ff39
|
dice.RandomUint16
|
2017-02-14 22:29:44 +01:00 |
|
v2ray
|
45db388e3f
|
more docs
|
2016-02-06 18:01:27 +01:00 |
|
v2ray
|
d89be624ce
|
doc for dice
|
2016-02-03 22:49:38 +01:00 |
|
Darien Raymond
|
1a10f7c4da
|
init rand with time
|
2016-01-25 10:47:22 +00:00 |
|
v2ray
|
37a9d8ef50
|
dice.Roll()
|
2016-01-21 22:45:44 +01:00 |
|