1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 10:26:01 -05:00
Commit Graph

12 Commits

Author SHA1 Message Date
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08: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
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