alibaba / libgrape-lite

🍇 A C++ library for parallel graph processing (GRAPE) 🍇
https://alibaba.github.io/libgrape-lite/
Apache License 2.0
395 stars 93 forks source link

Fix resize bug and add move constructor for Bitset #149

Closed zhanglei1949 closed 1 year ago

zhanglei1949 commented 1 year ago

The resize function of Bitset generates memory error.

codecov-commenter commented 1 year ago

Codecov Report

Merging #149 (2c5a138) into master (25d1284) will not change coverage. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/alibaba/libgrape-lite/pull/149/graphs/tree.svg?width=650&height=150&src=pr&token=Jwwd96nVmz&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba)](https://app.codecov.io/gh/alibaba/libgrape-lite/pull/149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba) ```diff @@ Coverage Diff @@ ## master #149 +/- ## ======================================= Coverage 63.96% 63.96% ======================================= Files 67 67 Lines 6310 6310 ======================================= Hits 4036 4036 Misses 2274 2274 ``` | Flag | Coverage Δ | | |---|---|---| | app_tests | `63.96% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/alibaba/libgrape-lite/pull/149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba) | Coverage Δ | | |---|---|---| | [grape/utils/bitset.h](https://app.codecov.io/gh/alibaba/libgrape-lite/pull/149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Z3JhcGUvdXRpbHMvYml0c2V0Lmg=) | `75.00% <ø> (ø)` | |