summaryrefslogtreecommitdiff
path: root/src/lib/util/memory_segment.h
AgeCommit message (Collapse)Author
2015-12-16[4236] Updated copyright dates in all files.Marcin Siodelski
2015-12-16[4236] Replaced license text in all files containing it.Marcin Siodelski
2013-05-28[2850] Unify commentsMukund Sivaraman
2013-05-24[2850] Update if statement slightly (doesn't change behavior)Mukund Sivaraman
2013-05-23[2850] style matter: combined two short lines.JINMEI Tatuya
2013-05-21[2850] Validate names in all name-related methodsMukund Sivaraman
2013-05-20[2850] Reject empty names too in setNamedAddress()Mukund Sivaraman
2013-05-20[2850] Reserve names beginning with _ for internal use onlyMukund Sivaraman
2013-05-20[2850] Constify allMemoryDeallocated() againMukund Sivaraman
2013-05-13[2850] Fix MemorySegmentMapped::allMemoryDeallocated() and make it non-constMukund Sivaraman
2013-05-06[2850] Add tests for the various open modesMukund Sivaraman
2013-05-06[2850] Constify getNamedAddress()Mukund Sivaraman
2013-05-06[2850] Make a minor comment updateMukund Sivaraman
2013-05-02[2850] Make getNamedAddress() return a std::pairMukund Sivaraman
2013-04-12[2831] Make minor comment updatesMukund Sivaraman
2013-04-09[2831] corrected example code in docJINMEI Tatuya
2013-04-09[2831] use \throw to describe exceptions where appropriate.JINMEI Tatuya
also changed some of `InvalidOperation` cases to `MemorySegmentError` as it should be basically generic enough at the base class level.
2013-04-09[2831] handle NULL name values for xxxNamedAddress explicitly.JINMEI Tatuya
2013-04-09[2831] more explicitly clarify passing NULL to setNamedAddress.JINMEI Tatuya
2013-04-09[2831] explain the rational behind the difference between allocate/set nameJINMEI Tatuya
regarding the case where the segment has grown due to the allocation.
2013-04-09[2831] explain the design rationale of MemorySegmentGrownJINMEI Tatuya
2013-04-04[2831] Add punctuation to better follow the documentationMukund Sivaraman
Also make a minor typo fix.
2013-04-04[2831] Rearrange sentences in API doc commentMukund Sivaraman
2013-03-11[2831] more documentation and some more testsJINMEI Tatuya
2013-03-11[2831] make shrinkToFit non virtual; add more docJINMEI Tatuya
2013-03-11[2831] handle the case where setNamedAddress failed due to short space.JINMEI Tatuya
also clarify these in doc.
2013-03-11[2831] added some documentationJINMEI Tatuya
2013-03-11[2831] supported shrinkToFit().JINMEI Tatuya
2013-03-09[2831] added get/set/clearNamedAddress interfacesJINMEI Tatuya
2013-03-08[2831] introduced file-mapped memory segment with some basic functionalities.JINMEI Tatuya
committing mostly as a backup.
2012-10-25[2357] Update scaffolding using fix-scaffolding.py toolMukund Sivaraman
See bug #2367 for the fix-scaffolding.py tool.
2012-07-13[2088] Add comments about size argument to deallocate()Mukund Sivaraman
2012-07-12[2088] Throw isc::OutOfRange when size passed to deallocate() is larger than ↵Mukund Sivaraman
what was allocated
2012-07-12[2088] Throw bad_alloc when MemorySegment cannot allocate the required spaceMukund Sivaraman
2012-07-12[2088] Add virtual destructor to MemorySegmentMukund Sivaraman
2012-07-06[2088] Document MemorySegment classesMukund Sivaraman
2012-07-06[2088] Add initial MemorySegment and MemorySegmentLocal classesMukund Sivaraman
These could very well not be the implementations we are looking for. From the bug report, it's not clear how these methods will be used: * Is deallocate() meant to free smaller blocks than what allocate() returns? * Because these methods will be virtual, a MemorySegment object is necessary. Will this be a singleton? * Does allMemoryDeallocated() need anything fancy like a set of all allocated buffers kept, or is just a counter of total size of memory allocated sufficient? (The counter is implemented.)