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
/
sloppy
/
sloppy.go
Search
History
258 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
maxOffsetPOT
maxTableSize
maxLength
tableMask
shift
maxOffset
Sloppy
enc
:
encoder
idx
:
int
matching
:
bool
matchOffset
:
int
matchLength
:
int
table
:
[maxTableSize]uint32
New
(f func(b byte) bool)
:
*Sloppy
copyLongEnough
(off, len uint16)
:
bool
encoder
emitLiteral
(b byte)
:
bool
emitCopy
(offset, length uint16)
:
bool
binaryEncoder
f
:
func(b byte) bool
emitLiteral
(b byte)
:
bool
emitCopy
(offset, length uint16)
:
bool
fbhash
(u uint32)
:
uint32
load32
(b []byte, i int)
:
uint32
*Sloppy
Update
(src []byte)
Reset
()
dontCopy
(src []byte, from, to int)
:
bool
maybeCopy
(src []byte)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover