MCPcopy Create free account

hub / github.com/google/snappy / functions

Functions268 in github.com/google/snappy

↓ 37 callersMethodsize
snappy_unittest.cc:91
↓ 32 callersMethoddata
snappy_unittest.cc:90
↓ 18 callersFunctionMaxCompressedLength
snappy.cc:197
↓ 13 callersFunctionCompress
snappy.cc:1881
↓ 10 callersFunctionReadTestDataFile
snappy-test.cc:102
↓ 9 callersFunctionIsValidCompressedBuffer
snappy_unittest.cc:295
↓ 8 callersFunctionUncompress
snappy_unittest.cc:298
↓ 7 callersFunctionGetUncompressedLength
snappy.cc:731
↓ 7 callersFunctionstring_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 callersFunctionStrFormat
snappy-test.cc:117
↓ 6 callersFunctionUnalignedCopy128
snappy.cc:235
↓ 5 callersFunctionGetContents
snappy-test.cc:57
↓ 5 callersFunctionInternalUncompress
snappy.cc:1851
↓ 5 callersMethodSkip
snappy.cc:2054
↓ 4 callersMethodAvailable
snappy.cc:2047
↓ 4 callersMethodPeek
snappy.cc:2049
↓ 3 callersMethodAppend
snappy.cc:2143
↓ 3 callersFunctionCalculateTableSize
snappy.cc:743
↓ 3 callersFunctionGetFlag
snappy-stubs-internal.h:124
↓ 3 callersFunctionIncrementalCopy
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 callersMethodReadUncompressedLength
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 callersFunctionSTLStringResizeUninitialized
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 callersFunctionV128_Shuffle
snappy-internal.h:101
↓ 2 callersFunctionCalculateNeeded
snappy.cc:1768
↓ 2 callersFunctionCompress
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 callersFunctionCompressFragment
snappy.cc:813
↓ 2 callersMethodCurrentDestination
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 callersFunctionFindMatchLength
snappy-internal.h:203
↓ 2 callersMethodFlush
snappy.cc:2371
↓ 2 callersMethodGetHashTable
snappy.cc:792
↓ 2 callersFunctionGetIOVec
snappy_unittest.cc:142
↓ 2 callersFunctionInternalUncompressAllTags
snappy.cc:1862
↓ 2 callersFunctionLoadPattern
snappy.cc:329
↓ 2 callersFunctionMinimumRequiredOutputSpace
snappy_test_tool.cc:126
↓ 2 callersMethodProduced
snappy.cc:2367
↓ 2 callersFunctionSetContents
snappy-test.cc:80
↓ 2 callersFunctionUNALIGNED_LOAD64
snappy-stubs-internal.h:145
↓ 2 callersFunctionUnalignedCopy64
snappy.cc:229
↓ 2 callersFunctionUncompress
snappy_test_tool.cc:234
↓ 2 callersFunctionV128_Load
snappy-internal.h:95
↓ 2 callersFunctionV128_StoreU
snappy-internal.h:99
↓ 2 callersFunctionsnappy_max_compressed_length
snappy-c.cc:87
↓ 1 callersFunctionAdvanceToNextTagARMOptimized
snappy.cc:1322
↓ 1 callersFunctionAdvanceToNextTagRVOptimized
snappy.cc:1391
↓ 1 callersFunctionAdvanceToNextTagX86Optimized
snappy.cc:1345
↓ 1 callersMethodAllocate
snappy.cc:2726
↓ 1 callersMethodAppendAndTakeOwnership
snappy-sinksource.cc:58
↓ 1 callersFunctionAppendCopy
snappy_unittest.cc:395
↓ 1 callersMethodAppendFromSelf
snappy.cc:2198
↓ 1 callersFunctionAppendLiteral
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 callersMethodCheckLength
snappy.cc:2141
↓ 1 callersFunctionCheckUncompressedLength
snappy_unittest.cc:881
↓ 1 callersFunctionClearDeferred
snappy.cc:1310
↓ 1 callersMethodCompress
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 callersFunctionCompressFile
snappy_test_tool.cc:391
↓ 1 callersFunctionCompressFragmentDoubleHash
snappy.cc:982
↓ 1 callersFunctionCopy64BytesWithPatternExtension
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 callersFunctionDeclaredLength
Decodes the uncompressed-length varint a compressed stream starts with.
snappy_unittest.cc:686
↓ 1 callersMethodDecompressAllTags
snappy.cc:1640
↓ 1 callersFunctionDecompressBranchless
snappy.cc:1455
↓ 1 callersFunctionDeferMemCopy
snappy.cc:1316
↓ 1 callersFunctionExpand
Expand the input so that it is at least K times as big as block size
snappy_unittest.cc:263
↓ 1 callersFunctionExtractLowBytes
snappy.cc:1216
↓ 1 callersFunctionExtractOffset
Extract the offset for copy-1 and copy-2 returns 0 for literals or copy-4.
snappy.cc:1418
↓ 1 callersFunctionFindMatchLengthPlain
snappy-internal.h:362
↓ 1 callersMethodGet
snappy-test.h:156
↓ 1 callersMethodGetAppendBuffer
snappy-sinksource.cc:40
↓ 1 callersMethodGetAppendBufferVariable
snappy-sinksource.cc:47
↓ 1 callersMethodGetBase
snappy.cc:2152
↓ 1 callersMethodGetOutputPtr
snappy.cc:2151
↓ 1 callersMethodGetScratchInput
snappy-internal.h:150
↓ 1 callersMethodGetScratchOutput
snappy-internal.h:151
↓ 1 callersFunctionIncrementalCopySlow
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 callersFunctionInternalCompress
snappy.cc:1885
↓ 1 callersFunctionLeftShiftOverflows
snappy.cc:1229
↓ 1 callersFunctionLengthMinusOffset
snappy.cc:120
↓ 1 callersFunctionMakeEntry
snappy_unittest.cc:1145
↓ 1 callersFunctionMakeEntry
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 callersFunctionMakePatternMaskBytes
snappy.cc:293
↓ 1 callersFunctionMakePatternMaskBytesTable
snappy.cc:301
↓ 1 callersFunctionMakeTable
snappy.cc:142
↓ 1 callersFunctionMeasure
snappy_test_tool.cc:295
↓ 1 callersFunctionMeasureFile
snappy_test_tool.cc:418
↓ 1 callersFunctionMemCopy64
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 callersFunctionReport
snappy.cc:1151
↓ 1 callersMethodSetExpectedLength
snappy.cc:2139
↓ 1 callersMethodSetOutputPtr
snappy.cc:2153
↓ 1 callersMethodStart
snappy-test.h:129
↓ 1 callersMethodStop
snappy-test.h:137
↓ 1 callersFunctionTableEntry
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 callersFunctionTableEntry4ByteMatch
snappy.cc:179
↓ 1 callersFunctionTableEntry8ByteMatch
snappy.cc:187
↓ 1 callersFunctionTestFindMatchLength
snappy_unittest.cc:1017
↓ 1 callersMethodTryFastAppend
snappy.cc:2182
↓ 1 callersFunctionUNALIGNED_LOAD32
snappy-stubs-internal.h:138
↓ 1 callersMethodUncompress
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 callersFunctionUncompressFile
snappy_test_tool.cc:402
↓ 1 callersFunctionV128_DupChar
snappy-internal.h:105
↓ 1 callersFunctionV128_LoadU
snappy-internal.h:97
↓ 1 callersFunctionVerify
snappy_unittest.cc:272
next →1–100 of 268, ranked by callers