crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
466800aa
ROOT
/
transport
/
hysteria
/
pacer.go
Search
History
87 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
maxBurstPackets
minPacingDelay
pacer
budgetAtLastSent
:
congestion.ByteCount
maxDatagramSize
:
congestion.ByteCount
lastSentTime
:
time.Time
getBandwidth
:
func() congestion.ByteCount
newPacer
(getBandwidth func() congestion.ByteCount)
:
*pacer
maxByteCount
(a, b congestion.ByteCount)
:
congestion.ByteCount
minByteCount
(a, b congestion.ByteCount)
:
congestion.ByteCount
*pacer
SentPacket
(sendTime time.Time, size congestion.ByteCount)
Budget
(now time.Time)
:
congestion.ByteCount
maxBurstSize
()
:
congestion.ByteCount
TimeUntilSend
()
:
time.Time
SetMaxDatagramSize
(s congestion.ByteCount)
All occurrences
Please wait...
Page is in error, reload to recover