Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #9814 from vespa-engine/balder/use-from_chars-in-stream | Henning Baldersheim | 2019-06-20 | 1 | -12/+23 |
|\ | | | | | Use std::from_chars in stream. | ||||
| * | verify that whitespace is eaten. | Henning Baldersheim | 2019-06-15 | 1 | -4/+15 |
| | | |||||
| * | Use std::from_chars in stream. | Henning Baldersheim | 2019-06-14 | 1 | -8/+8 |
| | | |||||
* | | Replace GCC-only `std::_Identity` and `std::_Select1st` with own code | Tor Brede Vekterli | 2019-06-17 | 1 | -1/+2 |
|/ | | | | | | | Put in `stllike` submodule since it's technically hoisted from _a_ STL implementation...! `vespalib::Identity` can be replaced with `std::identity` once on a C++20 compiler. | ||||
* | make allow-underflow common code | Arne Juul | 2019-06-12 | 1 | -0/+17 |
| | |||||
* | simplify test | Arne Juul | 2019-06-12 | 1 | -10/+2 |
| | |||||
* | * no exception on underflow in strtof() and strtod() | Arne Juul | 2019-06-12 | 1 | -4/+61 |
| | | | | | | * still throw exception on overflow instead of returning HUGE_VAL * change exception message to make it readable * unit test float and double conversion from denormalized numbers | ||||
* | Use normal unordered set. | Tor Egge | 2019-06-06 | 2 | -6/+6 |
| | |||||
* | Verify both signed char and unsigned char | Henning Baldersheim | 2019-05-23 | 1 | -0/+2 |
| | |||||
* | Use fundamental types in vespalib::asciistream operators. | Tor Egge | 2019-03-12 | 1 | -10/+10 |
| | |||||
* | Remove files used by old unit test runner. | Tor Egge | 2019-02-19 | 2 | -4/+0 |
| | |||||
* | Eliminate clang warning in vespalib | Tor Egge | 2019-02-06 | 1 | -2/+17 |
| | |||||
* | Ensure that asciistream moves and swaps have expected semantics | Tor Brede Vekterli | 2019-01-17 | 1 | -0/+19 |
| | | | | | | | | | | | Defaulted move ctor and assignment will not have the expected behavior for the current _rbuf pointer when it points into a short-string optimized _wbuf buffer. I.e. it will be pointing into the buffer in the object that was just moved away from. Update swap() to give the correct semantics when either/both arguments point to a read-only buffer. Would previously reset _rbuf to _wbuf unconditionally, effectively forgetting the string that was referenced. | ||||
* | Also test with hash_map | Henning Baldersheim | 2018-11-28 | 1 | -2/+34 |
| | |||||
* | Randomize keys | Henning Baldersheim | 2018-11-28 | 1 | -5/+9 |
| | |||||
* | Use template args for the class, not on the find method. | Henning Baldersheim | 2018-11-01 | 1 | -4/+4 |
| | |||||
* | Use a templated find() to enable lookup without object creation when objects ↵ | Henning Baldersheim | 2018-11-01 | 1 | -3/+3 |
| | | | | are comparable. | ||||
* | GC HashMap | Henning Baldersheim | 2018-09-28 | 1 | -0/+8 |
| | |||||
* | Remove stringref::c_str() | Tor Brede Vekterli | 2018-07-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation. | ||||
* | Handle insertion of non-copyable keys and values in hash map. | Tor Egge | 2018-05-27 | 1 | -0/+39 |
| | | | | Handle insertion of non-copyable keys in hash set. | ||||
* | Correct function cast | Henning Baldersheim | 2018-05-11 | 1 | -2/+3 |
| | |||||
* | Add an explicitt test that begin() == end() on empty hashtables. | Henning Baldersheim | 2018-01-08 | 1 | -0/+7 |
| | |||||
* | Add a test for for_each | Henning Baldersheim | 2018-01-03 | 1 | -4/+23 |
| | |||||
* | Include what you need. | Henning Baldersheim | 2017-08-18 | 2 | -0/+2 |
| | |||||
* | Update copyright headers | Jon Bratseth | 2017-06-14 | 8 | -8/+8 |
| | |||||
* | Revert "Update copyright headers" | Jon Bratseth | 2017-06-14 | 8 | -8/+8 |
| | |||||
* | Update copyright headers | Jon Bratseth | 2017-06-14 | 8 | -8/+8 |
| | |||||
* | Revert "Copyright header" | Jon Bratseth | 2017-06-13 | 8 | -8/+8 |
| | |||||
* | Copyright header | Jon Bratseth | 2017-06-13 | 8 | -8/+8 |
| | |||||
* | Checkpount for removing fastos from tests | Henning Baldersheim | 2017-06-01 | 3 | -3/+0 |
| | |||||
* | Due to c++17 eval order in gcc 7 we need to be more careful. | Henning Baldersheim | 2017-05-06 | 1 | -1/+2 |
| | | | | | From gcc 7 release notes. "The C++17 evaluation order requirements can be selected in other modes with the -fstrong-eval-order flag, or disabled in C++17 mode with -fno-strong-eval-order." | ||||
* | Add override in vespalib module | Henning Baldersheim | 2017-04-04 | 1 | -5/+2 |
| | |||||
* | Add equality code | Henning Baldersheim | 2016-12-15 | 1 | -0/+1 |
| | |||||
* | Make some more test build too. | Henning Baldersheim | 2016-12-15 | 2 | -10/+6 |
| | |||||
* | Make it compile with gcc 6 | Henning Baldersheim | 2016-12-15 | 2 | -2/+2 |
| | |||||
* | Add test for new docid sorting. | Henning Baldersheim | 2016-12-12 | 1 | -1/+1 |
| | |||||
* | Add asciistream::StateSaver and use it in BucketSpace/BucketId | Bjørn Christian Seime | 2016-11-22 | 1 | -0/+17 |
| | |||||
* | Removed TestApp::GetSourceDirectory | Arnstein Ressem | 2016-11-02 | 1 | -1/+2 |
| | |||||
* | Aressem/cmake more out of source tests (#441) | Arnstein Ressem | 2016-08-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vespalib tests run out of source. * staging_vespalib run tests out of source. * fastos tests run out of source. * Fixed storage tests out of source. * Fixed some of the config tests. * config* tests run out of source. * document_* tests run out of source. * documentapi_ tests run out of source. * Fixed fsa out of source tests. * Fix jrt_test out of source. * More tests run out of source. * Fix some slobrok and messagebus tests. * More fixes for out of source tests. * Done with first pass of regular tests out of source. * Only use SOURCE_DIRECTORY in a limited set of places. * Fix some remaining tests. * Some cleanups. * No need for extra slash. | ||||
* | Also check first character in vespalib::stringref::rfind method. | Tor Egge | 2016-08-10 | 1 | -0/+5 |
| | |||||
* | Declared test executables as tests with TEST parameter | Vegard Sjonfjell | 2016-06-16 | 1 | -5/+5 |
| | |||||
* | Publish | Jon Bratseth | 2016-06-15 | 12 | -0/+2053 |