Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/snappy
/ functions
Functions
268 in github.com/google/snappy
⨍
Functions
268
◇
Types & classes
42
↓ 37 callers
Method
size
snappy_unittest.cc:91
↓ 32 callers
Method
data
snappy_unittest.cc:90
↓ 18 callers
Function
MaxCompressedLength
snappy.cc:197
↓ 13 callers
Function
Compress
snappy.cc:1881
↓ 10 callers
Function
ReadTestDataFile
snappy-test.cc:102
↓ 9 callers
Function
IsValidCompressedBuffer
snappy_unittest.cc:295
↓ 8 callers
Function
Uncompress
snappy_unittest.cc:298
↓ 7 callers
Function
GetUncompressedLength
snappy.cc:731
↓ 7 callers
Function
string_as_array
Return a mutable char* pointing to a string's internal buffer, which may not be null-terminated. Writing through this pointer will modify the string.
snappy-stubs-internal.h:527
↓ 6 callers
Function
StrFormat
snappy-test.cc:117
↓ 6 callers
Function
UnalignedCopy128
snappy.cc:235
↓ 5 callers
Function
GetContents
snappy-test.cc:57
↓ 5 callers
Function
InternalUncompress
snappy.cc:1851
↓ 5 callers
Method
Skip
snappy.cc:2054
↓ 4 callers
Method
Available
snappy.cc:2047
↓ 4 callers
Method
Peek
snappy.cc:2049
↓ 3 callers
Method
Append
snappy.cc:2143
↓ 3 callers
Function
CalculateTableSize
snappy.cc:743
↓ 3 callers
Function
GetFlag
snappy-stubs-internal.h:124
↓ 3 callers
Function
IncrementalCopy
Copy [src, src+(op_limit-op)) to [op, op_limit) but faster than IncrementalCopySlow. buf_limit is the address past the end of the writable region of t
snappy.cc:431
↓ 3 callers
Method
ReadUncompressedLength
Read the uncompressed length stored at the start of the compressed data. On success, stores the length in *result and returns true. On failure, return
snappy.cc:1613
↓ 3 callers
Function
STLStringResizeUninitialized
If you know the internal layout of the std::string in use, you can replace this function with one that resizes the string without filling the new spac
snappy-stubs-internal.h:511
↓ 3 callers
Function
V128_Shuffle
snappy-internal.h:101
↓ 2 callers
Function
CalculateNeeded
snappy.cc:1768
↓ 2 callers
Function
Compress
Returns true if we successfully compressed, false otherwise. If compressed_is_preallocated is set, do not resize the compressed buffer. This is typic
snappy_test_tool.cc:159
↓ 2 callers
Function
CompressFragment
snappy.cc:813
↓ 2 callers
Method
CurrentDestination
Return the current output pointer so that a caller can see how many bytes were produced. Note: this is not a Sink method.
snappy-sinksource.h:175
↓ 2 callers
Function
FindMatchLength
snappy-internal.h:203
↓ 2 callers
Method
Flush
snappy.cc:2371
↓ 2 callers
Method
GetHashTable
snappy.cc:792
↓ 2 callers
Function
GetIOVec
snappy_unittest.cc:142
↓ 2 callers
Function
InternalUncompressAllTags
snappy.cc:1862
↓ 2 callers
Function
LoadPattern
snappy.cc:329
↓ 2 callers
Function
MinimumRequiredOutputSpace
snappy_test_tool.cc:126
↓ 2 callers
Method
Produced
snappy.cc:2367
↓ 2 callers
Function
SetContents
snappy-test.cc:80
↓ 2 callers
Function
UNALIGNED_LOAD64
snappy-stubs-internal.h:145
↓ 2 callers
Function
UnalignedCopy64
snappy.cc:229
↓ 2 callers
Function
Uncompress
snappy_test_tool.cc:234
↓ 2 callers
Function
V128_Load
snappy-internal.h:95
↓ 2 callers
Function
V128_StoreU
snappy-internal.h:99
↓ 2 callers
Function
snappy_max_compressed_length
snappy-c.cc:87
↓ 1 callers
Function
AdvanceToNextTagARMOptimized
snappy.cc:1322
↓ 1 callers
Function
AdvanceToNextTagRVOptimized
snappy.cc:1391
↓ 1 callers
Function
AdvanceToNextTagX86Optimized
snappy.cc:1345
↓ 1 callers
Method
Allocate
snappy.cc:2726
↓ 1 callers
Method
AppendAndTakeOwnership
snappy-sinksource.cc:58
↓ 1 callers
Function
AppendCopy
snappy_unittest.cc:395
↓ 1 callers
Method
AppendFromSelf
snappy.cc:2198
↓ 1 callers
Function
AppendLiteral
Helper routines to construct arbitrary compressed strings. These mirror the compression code in snappy.cc, but are copied here so that we can bypass s
snappy_unittest.cc:375
↓ 1 callers
Method
CheckLength
snappy.cc:2141
↓ 1 callers
Function
CheckUncompressedLength
snappy_unittest.cc:881
↓ 1 callers
Function
ClearDeferred
snappy.cc:1310
↓ 1 callers
Method
Compress
This routine only initializes the compression stream once. Thereafter, it just does a deflateReset on the stream, which should be faster.
snappy-test.cc:305
↓ 1 callers
Function
CompressFile
snappy_test_tool.cc:391
↓ 1 callers
Function
CompressFragmentDoubleHash
snappy.cc:982
↓ 1 callers
Function
Copy64BytesWithPatternExtension
Fallback for when we need to copy while extending the pattern, for example copying 10 bytes from 3 positions back abc -> abcabcabcabca. REQUIRES: [ds
snappy.cc:362
↓ 1 callers
Function
DeclaredLength
Decodes the uncompressed-length varint a compressed stream starts with.
snappy_unittest.cc:686
↓ 1 callers
Method
DecompressAllTags
snappy.cc:1640
↓ 1 callers
Function
DecompressBranchless
snappy.cc:1455
↓ 1 callers
Function
DeferMemCopy
snappy.cc:1316
↓ 1 callers
Function
Expand
Expand the input so that it is at least K times as big as block size
snappy_unittest.cc:263
↓ 1 callers
Function
ExtractLowBytes
snappy.cc:1216
↓ 1 callers
Function
ExtractOffset
Extract the offset for copy-1 and copy-2 returns 0 for literals or copy-4.
snappy.cc:1418
↓ 1 callers
Function
FindMatchLengthPlain
snappy-internal.h:362
↓ 1 callers
Method
Get
snappy-test.h:156
↓ 1 callers
Method
GetAppendBuffer
snappy-sinksource.cc:40
↓ 1 callers
Method
GetAppendBufferVariable
snappy-sinksource.cc:47
↓ 1 callers
Method
GetBase
snappy.cc:2152
↓ 1 callers
Method
GetOutputPtr
snappy.cc:2151
↓ 1 callers
Method
GetScratchInput
snappy-internal.h:150
↓ 1 callers
Method
GetScratchOutput
snappy-internal.h:151
↓ 1 callers
Function
IncrementalCopySlow
Copy [src, src+(op_limit-op)) to [op, (op_limit-op)) a byte at a time. Used for handling COPY operations where the input and output regions may overla
snappy.cc:265
↓ 1 callers
Function
InternalCompress
snappy.cc:1885
↓ 1 callers
Function
LeftShiftOverflows
snappy.cc:1229
↓ 1 callers
Function
LengthMinusOffset
snappy.cc:120
↓ 1 callers
Function
MakeEntry
snappy_unittest.cc:1145
↓ 1 callers
Function
MakeEntry
We translate the information encoded in a tag through a lookup table to a format that requires fewer instructions to decode. Effectively we store the
snappy.cc:116
↓ 1 callers
Function
MakePatternMaskBytes
snappy.cc:293
↓ 1 callers
Function
MakePatternMaskBytesTable
snappy.cc:301
↓ 1 callers
Function
MakeTable
snappy.cc:142
↓ 1 callers
Function
Measure
snappy_test_tool.cc:295
↓ 1 callers
Function
MeasureFile
snappy_test_tool.cc:418
↓ 1 callers
Function
MemCopy64
Copies between size bytes and 64 bytes from src to dest. size cannot exceed 64. More than size bytes, but never exceeding 64, might be copied if doi
snappy.cc:1249
↓ 1 callers
Function
Report
snappy.cc:1151
↓ 1 callers
Method
SetExpectedLength
snappy.cc:2139
↓ 1 callers
Method
SetOutputPtr
snappy.cc:2153
↓ 1 callers
Method
Start
snappy-test.h:129
↓ 1 callers
Method
Stop
snappy-test.h:137
↓ 1 callers
Function
TableEntry
Given a table of uint16_t whose size is mask / 2 + 1, return a pointer to the relevant entry, if any, for the given bytes. Any hash function will do,
snappy.cc:155
↓ 1 callers
Function
TableEntry4ByteMatch
snappy.cc:179
↓ 1 callers
Function
TableEntry8ByteMatch
snappy.cc:187
↓ 1 callers
Function
TestFindMatchLength
snappy_unittest.cc:1017
↓ 1 callers
Method
TryFastAppend
snappy.cc:2182
↓ 1 callers
Function
UNALIGNED_LOAD32
snappy-stubs-internal.h:138
↓ 1 callers
Method
Uncompress
Uncompresses the source buffer into the destination buffer. The destination buffer must be long enough to hold the entire decompressed contents. We o
snappy-test.cc:489
↓ 1 callers
Function
UncompressFile
snappy_test_tool.cc:402
↓ 1 callers
Function
V128_DupChar
snappy-internal.h:105
↓ 1 callers
Function
V128_LoadU
snappy-internal.h:97
↓ 1 callers
Function
Verify
snappy_unittest.cc:272
next →
1–100 of 268, ranked by callers