summaryrefslogtreecommitdiffstats
path: root/src/storage
Commit message (Collapse)AuthorAgeFilesLines
* Update check_pinyin_options and check_chewing_options functionsHEADmainfuzzy-correctPeng Wu31 hours2-4/+5
|
* Update src/storage/pinyin_parser_table.hPeng Wu31 hours1-0/+2
|
* Add CMake workflowQijia Liu9 days1-0/+3
|
* Fix some typoPeng Wu2025-11-181-1/+1
|
* Update Makefile.amPeng Wu2025-11-181-1/+3
|
* Fix crashPeng Wu2025-11-134-5/+9
|
* Rename store_db method to save_db methodPeng Wu2025-11-1314-19/+19
|
* Update Makefile.amPeng Wu2025-11-131-0/+11
|
* Update chewing_large_table2.hPeng Wu2025-11-131-0/+6
|
* Write chewing_large_table2_tkrzwdb.cppPeng Wu2025-11-131-0/+544
|
* Write chewing_large_table2_tkrzwdb.hPeng Wu2025-11-131-0/+133
|
* Fix some typosPeng Wu2025-11-122-1/+7
|
* Write phrase_large_table3_tkrzwdb.cppPeng Wu2025-11-121-0/+317
|
* Write phrase_large_table3_tkrzwdb.hPeng Wu2025-11-121-0/+77
|
* Fix some typosPeng Wu2025-11-123-2/+8
|
* Write ngram_tkrzwdb.cppPeng Wu2025-11-121-0/+213
|
* Write ngram_tkrzwdb.hPeng Wu2025-11-111-0/+154
|
* Fix some typosPeng Wu2025-11-106-7/+18
|
* Write flexible_ngram_tkrzwdb.hPeng Wu2025-11-101-0/+435
|
* Write punct_table_tkrzwdb.cppPeng Wu2025-11-071-0/+185
|
* Write punct_table_tkrzwdb.hPeng Wu2025-11-071-0/+71
|
* Write tkrzwdb_utils.hPeng Wu2025-11-071-0/+77
|
* Fix unaligned access in get_range()John Paul Adrian Glaubitz2025-10-311-1/+1
|
* Fix memory leaks in kyotodb based tablesczxdev2025-05-072-0/+10
|
* Update class PunctTablePeng Wu2024-09-295-64/+62
|
* Update class PunctTablePeng Wu2024-09-274-23/+42
|
* Fix compilePeng Wu2024-09-245-19/+19
|
* Update src/storage/Makefile.amPeng Wu2024-09-241-4/+10
|
* Write class PunctTable with Kyoto Cabinet in progressPeng Wu2024-09-232-0/+272
|
* Write class PunctTable with Berkeley DB in progressPeng Wu2024-09-232-0/+333
|
* Write class PunctArray in progressPeng Wu2024-09-182-0/+227
|
* Fix warningsPeng Wu2024-07-312-5/+5
|
* Update class UserTableInfoPeng Wu2024-07-032-0/+30
|
* Fix code stylePeng Wu2023-01-142-3/+3
|
* Fix libpinyin crash on ARMv7Matias Larsson2022-11-295-20/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the alignment trap in get_unigram_frequency(). Fix also other places where this same trap could happen (depending on compiler and surrounding code). The trap happened when the ARM GCC generated a SIMD instruction (specifically VLDR) to load 32 bits in a single instruction, and when the memory address was not aligned to 32 bits. VLDR traps if the address is not aligned. GCC generated the instruction because of the cast to uint32 from the address. The fix is to allocate a uint32 variable in stack and use memcpy to copy the data to that variable. This way we ensure that appropriate instructions are generated. **Links** About the issue with GCC: https://trust-in-soft.com/blog/2020/04/06/gcc-always-assumes-aligned-pointer-accesses/ How Linux does it: https://elixir.bootlin.com/linux/v5.10.155/source/include/linux/unaligned/memmove.h#L13 ARM documentation: https://documentation-service.arm.com/static/5f8dc043f86e16515cdbbc92?token= See 'A3.2.1 Unaligned data access'
* Support longer candidatePeng Wu2022-09-211-1/+1
|
* Write search_suggestion_with_matrix functionPeng Wu2022-09-142-0/+99
|
* Write FacadeChewingTable2::search_suggestion methodPeng Wu2022-09-091-0/+26
|
* Write ChewingLargeTable2::search_suggesion method for Kyoto CabinetPeng Wu2022-09-083-1/+167
|
* Write ChewingLargeTable2::search_suggesion method for Berkeley DBPeng Wu2022-09-072-0/+164
|
* Write ChewingTableEntry::search_suggestion methodPeng Wu2022-09-022-4/+82
|
* Fix Kyoto Cabinet usagePeng Wu2022-08-302-3/+8
|
* Fix pinyin.cppPeng Wu2022-08-291-1/+1
|
* Write FacadePhraseTable3::search_suggestion methodPeng Wu2022-08-251-0/+25
|
* Fix a typoPeng Wu2022-08-251-1/+1
|
* Write search_suggestion methodPeng Wu2022-07-265-5/+119
|
* Write compare_phrase functionPeng Wu2022-07-192-0/+76
|
* Use abort function instead of assert macroPeng Wu2022-06-0612-40/+40
|
* Use check_result macro in src directoryPeng Wu2022-06-0110-37/+41
|
* Switch from GrassDB to ProtoTreeDBPeng Wu2022-03-302-4/+4
|