crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.50.12
ROOT
/
go
/
store
/
nbs
/
quota.go
Search
History
74 lines
|
ISO-8859-1
|
1 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
MemoryQuotaProvider
AcquireQuota
(ctx context.Context, memory uint64)
:
error
ReleaseQuota
(memory uint64)
:
error
Usage
()
:
uint64
UnlimitedQuotaProvider
mu
:
sync.Mutex
used
:
uint64
NewUnlimitedMemQuotaProvider
()
:
*UnlimitedQuotaProvider
noopQuotaProvider
*UnlimitedQuotaProvider
AcquireQuota
(ctx context.Context, memory uint64)
:
error
ReleaseQuota
(memory uint64)
:
error
Usage
()
:
uint64
*noopQuotaProvider
AcquireQuota
(ctx context.Context, memory uint64)
:
error
ReleaseQuota
(memory uint64)
:
error
Usage
()
:
uint64
All occurrences
Please wait...
Page is in error, reload to recover