summaryrefslogtreecommitdiff
path: root/src/mongo/util/bufreader.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+1
|
* SERVER-40356 Make ConstDataRange constructable from any byte-like typeJonathan Reams2019-04-061-3/+3
|
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-2/+2
| | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-3/+4
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37258 Fix UB in MurmurHash3Jason Carey2018-10-231-1/+1
| | | | | | | | | | | | | | When we did the data view integration into murmurhash3 (to make it big endian safe) we missed that murmurhash3 uses negative offsets of pointers. Because DataView took size_t for offsetting parameters, this involved wrapping pointers around (adding very large numbers to pointers to produce negative offsets). That's UB, and newer ubsan caught it. This change fixes that by making the DataView offsetting logic ptrdiff_t based. It also introduces test vectors for murmurhash3 that I've used to verify that we haven't changed its output.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-28508 Make BufReader propagate the actual errorsMathias Stearn2017-04-121-24/+6
|
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-0/+1
| | | | | | | The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h.
* Initialize more variables to make gcc happyJason Carey2016-03-021-2/+2
| | | | | | For some reason gcc is unhappy with the included callsites which use bufreader, but only in the presence of the enterprise module. Initialize them to quiet the compiler warnings.
* SERVER-21466 Upgrade BufReader to use dataXJason Carey2016-03-021-26/+29
| | | | Allows BufReader to use DataType primitives to read little endian.
* SERVER-19444 Add polyfill for strnlenJonathan Reams2015-08-271-0/+1
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-91/+107
|
* SERVER-18991 Replace all usages of boost::noncopyable with ↵Andrew Morrow2015-06-161-3/+2
| | | | MONGO_DISALLOW_COPYING
* SERVER-13256: Remove pch - qualify std in headersMark Benvenuto2014-05-191-1/+1
|
* SERVER-8886 Correct license exception for headersIan Whalen2013-09-061-1/+1
|
* SERVER-8886 Add OpenSSL license exception to util filesIan Whalen2013-08-281-0/+12
|
* SERVER-9444 improve Sorter serialization of Document and ValueMathias Stearn2013-07-101-9/+10
| | | | This is needed for correct handling of missing values.
* SERVER-9411 First pass at new Sorter frameworkMathias Stearn2013-05-131-2/+18
| | | | | | Note that some of this is just scaffolding that will be replaced with better implementations later. In particular, most of the I/O code will be replaced.
* Include What You Use for bufreader.hMathias Stearn2013-05-031-0/+5
|
* replace assert with verify SERVER-1259Eliot Horowitz2012-03-261-1/+1
|
* Compile cleanly with -Werror on clang++ 3.0.Mathias Stearn2011-12-301-1/+1
| | | | | | | Warnings: * incrementing a bool (deprecated) * hiding virtual method with overload (usually incorrect signature) * operator ?: and << precedence issues
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+100