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
88ec14b1
ROOT
/
go
/
store
/
val
/
codec.go
Search
History
625 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Type
Enc
:
Encoding
Nullable
:
bool
strTerm
ByteSize
int8Size
:
ByteSize
uint8Size
:
ByteSize
int16Size
:
ByteSize
uint16Size
:
ByteSize
int32Size
:
ByteSize
uint32Size
:
ByteSize
int64Size
:
ByteSize
uint64Size
:
ByteSize
float32Size
:
ByteSize
float64Size
:
ByteSize
bit64Size
:
ByteSize
hash128Size
:
ByteSize
yearSize
:
ByteSize
dateSize
:
ByteSize
timeSize
:
ByteSize
datetimeSize
:
ByteSize
enumSize
:
ByteSize
setSize
:
ByteSize
bytesAddrEnc
:
ByteSize
commitAddrEnc
:
ByteSize
stringAddrEnc
:
ByteSize
jsonAddrEnc
:
ByteSize
Encoding
NullEnc
Int8Enc
Uint8Enc
Int16Enc
Uint16Enc
Int32Enc
Uint32Enc
Int64Enc
Uint64Enc
Float32Enc
Float64Enc
Bit64Enc
Hash128Enc
YearEnc
DateEnc
TimeEnc
DatetimeEnc
EnumEnc
SetEnc
BytesAddrEnc
CommitAddrEnc
StringAddrEnc
JSONAddrEnc
sentinel
:
Encoding
StringEnc
ByteStringEnc
DecimalEnc
JSONEnc
GeometryEnc
sizeFromType
(t Type)
:
(ByteSize, bool)
readBool
(val []byte)
:
bool
writeBool
(buf []byte, val bool)
compareBool
(l, r bool)
:
int
readInt8
(val []byte)
:
int8
writeInt8
(buf []byte, val int8)
compareInt8
(l, r int8)
:
int
readUint8
(val []byte)
:
uint8
writeUint8
(buf []byte, val uint8)
compareUint8
(l, r uint8)
:
int
readInt16
(val []byte)
:
int16
writeInt16
(buf []byte, val int16)
compareInt16
(l, r int16)
:
int
ReadUint16
(val []byte)
:
uint16
WriteUint16
(buf []byte, val uint16)
compareUint16
(l, r uint16)
:
int
readInt32
(val []byte)
:
int32
writeInt32
(buf []byte, val int32)
compareInt32
(l, r int32)
:
int
readUint32
(val []byte)
:
uint32
writeUint32
(buf []byte, val uint32)
compareUint32
(l, r uint32)
:
int
readInt64
(val []byte)
:
int64
writeInt64
(buf []byte, val int64)
compareInt64
(l, r int64)
:
int
readUint64
(val []byte)
:
uint64
writeUint64
(buf []byte, val uint64)
compareUint64
(l, r uint64)
:
int
readFloat32
(val []byte)
:
float32
writeFloat32
(buf []byte, val float32)
compareFloat32
(l, r float32)
:
int
readFloat64
(val []byte)
:
float64
writeFloat64
(buf []byte, val float64)
compareFloat64
(l, r float64)
:
int
readBit64
(val []byte)
:
uint64
writeBit64
(buf []byte, val uint64)
compareBit64
(l, r uint64)
:
int
readDecimal
(val []byte)
:
decimal.Decimal
writeDecimal
(buf []byte, val decimal.Decimal)
sizeOfDecimal
(val decimal.Decimal)
:
ByteSize
compareDecimal
(l, r decimal.Decimal)
:
int
minYear
:
int16
maxYear
:
int16
zeroToken
:
uint8
readYear
(val []byte)
:
int16
writeYear
(buf []byte, val int16)
compareYear
(l, r int16)
:
int
yearShift
:
uint32
monthShift
:
uint32
monthMask
:
uint32
dayMask
:
uint32
readDate
(val []byte)
:
(date time.Time)
writeDate
(buf []byte, val time.Time)
compareDate
(l, r time.Time)
:
int
readTime
(val []byte)
:
int64
writeTime
(buf []byte, val int64)
compareTime
(l, r int64)
:
int
readDatetime
(buf []byte)
:
(t time.Time)
writeDatetime
(buf []byte, val time.Time)
compareDatetime
(l, r time.Time)
:
int
readEnum
(val []byte)
:
uint16
writeEnum
(buf []byte, val uint16)
compareEnum
(l, r uint16)
:
int
readSet
(val []byte)
:
uint64
writeSet
(buf []byte, val uint64)
compareSet
(l, r uint64)
:
int
readString
(val []byte)
:
string
writeString
(buf []byte, val string)
compareString
(l, r string)
:
int
readByteString
(val []byte)
:
[]byte
writeByteString
(buf, val []byte)
compareByteString
(l, r []byte)
:
int
readHash128
(val []byte)
:
[]byte
writeHash128
(buf, val []byte)
compareHash128
(l, r []byte)
:
int
compareAddr
(l, r hash.Hash)
:
int
writeRaw
(buf, val []byte)
writeAddr
(buf []byte, v []byte)
readAddr
(val []byte)
:
hash.Hash
expectSize
(buf []byte, sz ByteSize)
stringFromBytes
(b []byte)
:
string
All occurrences
Please wait...
Page is in error, reload to recover