| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
|
|
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.
|
|
|
|
|
|
Implemented DataType specializations for:
o StringData
o *DataRange*
Added a new meta type called Terminated<char, T>
|
|
Implements DataRange and DataRangeCursor, bounded Status returning
variants of DataView and DataCursor.
Implements DataType::Handler<> to allow for specialization by type.
* Endian specializations
* BSONObj specialization
Fix for endian conversions for floats and doubles to avoid some
signaling bit patterns.
|