summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* tsan digest toolHåvard Pettersen2022-04-254-1/+290
|
* Merge pull request #22233 from ↵Henning Baldersheim2022-04-251-0/+1
|\ | | | | | | | | vespa-engine/toregge/include-header-files-neeed-on-fedora-36 Include header files needed on Fedora 36
| * Include vector header file, needed for std::vector.Tor Egge2022-04-231-0/+1
| |
* | Pretend to not ignore result from nice().Tor Egge2022-04-232-2/+2
|/
* Block compaction while buffers are held.Tor Egge2022-04-213-3/+4
|
* Merge pull request #21972 from alexeyche/alexeyche/fuzzy-query-annotationsGeir Storli2022-04-115-32/+104
|\ | | | | Propagating annotations for fuzzy query [WIP]
| * Propagating annotations for fuzzy queryAlexey Chernyshev2022-04-075-32/+104
| |
* | Merge pull request #22061 from ↵Geir Storli2022-04-081-0/+1
|\ \ | | | | | | | | | | | | vespa-engine/toregge/update-signatures-for-get-attribute-values-member-functions Update signatures for getAttributeValues member functions.
| * | Use data() member function to get pointer to the underlying array.Tor Egge2022-04-081-0/+1
| | |
* | | remove FastOS_ApplicationHåvard Pettersen2022-04-087-209/+42
|/ / | | | | | | | | | | | | | | fixup (per application): - maybe ignore SIGPIPE - wire argc/argv untangle Vespa Test Framework strip down deprecated TestApp
* | Fix typos in class comments. Rename get_read_view() to make_read_view().Tor Egge2022-04-061-2/+2
| |
* | Add MultiValueMappingReadView, used by readers to get limited read accessTor Egge2022-04-062-1/+11
| | | | | | | | to a MultiValueMapping.
* | Merge pull request #21987 from ↵Henning Baldersheim2022-04-065-7/+18
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/make-buffertype-empty-entry-sentinel-static Let empty entry BufferType sentinel be static instead of global [run-systemtest]
| * | Let empty entry BufferType sentinel be static instead of globalTor Brede Vekterli2022-03-285-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids issue where a global BufferType with a transitive Alloc instance binds to a null reference allocator since the global allocator instance has not yet been initialized as part of global constructor invocation. Manually hoist empty sentinel ref outside of loops since it might not be obvious to the compiler that the same object is reused over and over.
* | | Add missing include statements. Check for atomic wait support.Tor Egge2022-04-051-0/+4
| | |
* | | Avoid INT64_MIN - 1 overflow for max-computation by explicitly using ↵Tor Brede Vekterli2022-04-051-2/+2
| | | | | | | | | | | | | | | | | | unsigned sub-expression Also use for min-computation for good measure.
* | | Use unsigned for intermediate expressions to avoid signed overflowTor Brede Vekterli2022-04-051-2/+2
| | |
* | | Don't try to memcpy from nullptr Array source even with zero sizeTor Brede Vekterli2022-04-051-1/+3
| |/ |/|
* | Fix forward declarations in vespalib.Tor Egge2022-04-013-3/+3
| |
* | use getopt/getopt_long directlyHåvard Pettersen2022-04-011-6/+4
| |
* | GC unused Context parameterHenning Baldersheim2022-03-313-12/+12
| |
* | Merge pull request #21868 from vespa-engine/balder/avoid-fieldpathupdate-cpHenning Baldersheim2022-03-292-166/+11
|\ \ | | | | | | CloneablePtr -> std::unique_ptr
| * | CloneablePtr -> std::unique_ptrHenning Baldersheim2022-03-292-166/+11
| | |
* | | Remove const type qualifier from member functions that should only beTor Egge2022-03-291-3/+22
|/ / | | | | | | | | called from writer in RcuVector, MultiValueMappingBase and CondensedBitVector.
* | Merge pull request #21855 from ↵Geir Storli2022-03-281-1/+2
|\ \ | | | | | | | | | | | | vespa-engine/toregge/trim-down-rcuvector-interface Trim down rcuvector interface.
| * | Trim down rcuvector interface.Tor Egge2022-03-281-1/+2
| | |
* | | Merge pull request #21854 from ↵Henning Baldersheim2022-03-281-1/+4
|\ \ \ | |_|/ |/| | | | | | | | vespa-engine/vekterli/do-not-create-string-from-nullptr Don't attempt to create a string from nullptr if demangling fails
| * | Don't attempt to create a string from nullptr if demangling failsTor Brede Vekterli2022-03-281-1/+4
| |/
* | Merge pull request #21843 from vespa-engine/vekterli/fix-more-undefined-behaviorTor Brede Vekterli2022-03-281-1/+1
|\ \ | |/ |/| Vekterli/fix more undefined behavior
| * Explicit initialize _shutdown fieldTor Brede Vekterli2022-03-281-1/+1
| |
| * Ensure default ctor initializes blocked-field explicitlyTor Brede Vekterli2022-03-251-1/+1
| |
* | Fix typo (levenstein -> levenshtein).Geir Storli2022-03-257-18/+18
|/
* Merge pull request #21811 from ↵Henning Baldersheim2022-03-242-0/+41
|\ | | | | | | | | vespa-engine/vekterli/use-vespalib-string-in-tas-condition-2 Use vespalib::string in TestAndSetCondition - take 2, passing tests edition™
| * Use vespalib::string in TestAndSetConditionTor Brede Vekterli2022-03-242-0/+41
| | | | | | | | | | Avoids some implicit conversions. Add `starts_with` to `vespalib::string` and `vespalib::stringref` to allow drop-in replacement for Document API code.
* | Merge pull request #21813 from ↵Tor Egge2022-03-241-2/+2
|\ \ | |/ |/| | | | | vespa-engine/vekterli/avoid-compile-time-possible-nullptr-warnings Make it obvious to the compiler that nullptr format string is not possible
| * Make it obvious to the compiler that nullptr format string is not possibleTor Brede Vekterli2022-03-241-2/+2
| |
* | Revert "Use vespalib::string in TestAndSetCondition"Tor Brede Vekterli2022-03-242-41/+0
|/
* Use vespalib::string in TestAndSetConditionTor Brede Vekterli2022-03-242-0/+41
| | | | | Avoids some implicit conversions. Add `starts_with` to `vespalib::string` and `vespalib::stringref` to allow drop-in replacement for Document API code.
* Added a comment to LevensteinDistance classAlexey Chernyshev2022-03-231-0/+10
|
* Addressing more commentsAlexey Chernyshev2022-03-2310-142/+202
|
* Addressing comments + fixing testAlexey Chernyshev2022-03-231-18/+2
|
* Introducing fuzzy searchAlexey Chernyshev2022-03-238-0/+259
|
* Add function to lowercase an utf8 string while converting it to ucs4 codepoints.Geir Storli2022-03-183-7/+34
|
* Always use array of AtomicEntryRef in unique store remapper.Tor Egge2022-03-172-18/+13
|
* Use AtomicEntryRef and AtomicValueWrapper<uint32_t> in reference attribute.Tor Egge2022-03-171-0/+9
|
* Add acquire_elem_ref() member function to rcu vector.Tor Egge2022-03-153-6/+173
|
* Merge pull request #21662 from ↵Henning Baldersheim2022-03-142-0/+65
|\ | | | | | | | | vespa-engine/vekterli/use-atomic-values-in-btree-bucket-database-impl Make B-tree bucket database values atomic to ensure well-defined access [run-systemtest]
| * Make B-tree bucket database values atomic to ensure well-defined accessTor Brede Vekterli2022-03-112-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | Existing implementation already used explicit acquire/release fences to ensure visibility from writer to concurrent readers, but the values written/read were not of an atomic type and thus _technically_ considered a data race. This commit adds an AtomicValueWrapper wrapper to vespalib which looks and acts much like the existing AtomicEntryRef, but for primitive types that are not related to EntryRefs. The bucket DB B-tree primitive u64 value type is replaced with an atomic wrapper and explicit memory fences are replaced with release stores and acquire loads on the atomic values themselves to ensure they form correct pairs between writer and readers.
* | Convert rcu vector unit test to gtest.Tor Egge2022-03-145-137/+164
|/ | | | Factor out generation holder test to separate unit test.
* Add noexceptHenning Baldersheim2022-03-106-24/+24
|