Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/snappy
/ types & classes
Types & classes
42 in github.com/google/snappy
⨍
Functions
268
◇
Types & classes
42
↓ 3 callers
Class
StatusStub
Stubs the class absl::Status. This class should not be instantiated explicitly. It should only be used by passing the result of file::GetContents() /
snappy-test.h:94
↓ 1 callers
Class
OptionsStub
Stubs the class file::Options. This class should not be instantiated explicitly. It should only be used by passing file::Defaults() to file::GetConte
snappy-test.h:79
Class
::timeval
snappy-test.h:148
Class
Bits
Some bit-manipulation functions.
snappy-stubs-internal.h:286
Class
ByteArraySource
A Source implementation that yields the contents of a flat array
snappy-sinksource.h:146
Class
CompressionContext
Scratch memory for compression, reusable across compressions. Callers that compress frequently, or that need to avoid large heap allocations can alloc
snappy.h:89
Class
CompressionOptions
snappy.h:57
Enum
CompressorType
snappy_test_tool.cc:122
Class
CountingSink
Counts every appended byte and keeps the first few, which is where the uncompressed-length varint lives.
snappy_unittest.cc:674
Class
CycleTimer
A wall-time clock. This stub is not super-accurate, nor resistant to the system time changing.
snappy-test.h:124
Class
DataEndingAtUnreadablePage
To test against code that reads beyond its input, this class copies a string to a newly allocated group of pages, the last of which is made unreadable
snappy_unittest.cc:63
Class
Datablock
snappy.cc:2749
Class
LittleEndian
Convert to little-endian storage, opposite of network format. Convert x from host to little endian: x = LittleEndian.FromHost(x); convert x from littl
snappy-stubs-internal.h:176
Class
LogMessage
snappy-test.h:169
Class
LogMessageCrash
snappy-test.h:178
Class
LogMessageVoidify
snappy-test.h:188
Class
OversizedSource
Reports an arbitrary number of bytes available without materializing them.
snappy_unittest.cc:656
Class
Sink
snappy.h:51
Class
Sink
A Sink is an interface that consumes a sequence of bytes.
snappy-sinksource.h:37
Class
SnappyArrayWriter
snappy.cc:2292
Class
SnappyDecompressionValidator
snappy.cc:2402
Class
SnappyDecompressor
Helper class for decompression
snappy.cc:1574
Class
SnappyIOVecReader
A `Source` implementation that yields the contents of an `iovec` array. Note that `total_size` is the total number of bytes to be read from the elemen
snappy.cc:2033
Class
SnappyIOVecWriter
A type that writes to an iovec. Note that this is not a "ByteSink", but a type that matches the Writer template argument to SnappyDecompressor::Decomp
snappy.cc:2094
Class
SnappyScatteredWriter
snappy.cc:2548
Class
SnappySinkAllocator
snappy.cc:2722
Class
Source
snappy.h:50
Class
Source
A Source is an interface that yields a sequence of bytes
snappy-sinksource.h:111
Class
SourceFiles
snappy_benchmark.cc:84
Class
UncheckedByteArraySink
A Sink implementation that writes to a flat array without any bound checks.
snappy-sinksource.h:159
Class
Varint
Variable-length integer encoding.
snappy-stubs-internal.h:435
Class
WorkingMemory
snappy.h:54
Class
WorkingMemory
Working memory performs a single allocation to hold all scratch space required for compression.
snappy-internal.h:133
Class
ZLib
Object-oriented wrapper around zlib.
snappy-test.h:222
Class
index_sequence
snappy.cc:133
Class
iovec
snappy.h:173
Class
iovec
snappy_benchmark.cc:178
Class
iovec
snappy_unittest.cc:142
Class
iovec
snappy.cc:2035
Class
iovec
snappy.cc:2098
Class
make_index_sequence
snappy.cc:136
Class
make_index_sequence<0, Is...>
snappy.cc:139