OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PagedByteArray
(Results
1 - 4
of
4
) sorted by null
/external/piex/src/binary_parse/
cached_paged_byte_array.h
17
// LRU cache decorator for binary_parse::
PagedByteArray
subclasses.
33
class CachedPagedByteArray : public
PagedByteArray
{
37
explicit CachedPagedByteArray(const
PagedByteArray
* paged_byte_array,
46
PagedByteArray
::PagePtr* page) const;
51
PagedByteArray
::PagePtr page;
65
const
PagedByteArray
* paged_byte_array_;
cached_paged_byte_array.cc
30
const
PagedByteArray
* paged_byte_array, size_t cache_size)
36
PagedByteArray
::PagePtr* page) const {
49
// Cache miss, ask
PagedByteArray
to load the page.
range_checked_byte_ptr.h
57
// In essence, RangeCheckedBytePtr and
PagedByteArray
together provide a poor
68
// different threads to access the same
PagedByteArray
concurrently, assuming
69
// that the
PagedByteArray
implementation is thread-safe.)
70
class
PagedByteArray
{
72
// Base class for pages in the byte array. Implementations of
PagedByteArray
75
//
PagedByteArray
backed by a file might define a Page subclass like this:
108
virtual ~
PagedByteArray
();
131
// remain valid until the SharedPtr is released or the
PagedByteArray
object
134
//
PagedByteArray
object is destroyed, even if the caller does not hold on to
142
typedef std::shared_ptr<
PagedByteArray
> PagedByteArrayPtr
[
all
...]
range_checked_byte_ptr.cc
33
class MemoryPagedByteArray : public
PagedByteArray
{
69
void operator()(
PagedByteArray
* /* p */) const {}
73
PagedByteArray
::~
PagedByteArray
() {}
101
RangeCheckedBytePtr::RangeCheckedBytePtr(
PagedByteArray
*array)
204
//
PagedByteArray
interface).
Completed in 281 milliseconds