Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
liulx20 committed Feb 20, 2024
1 parent 189cdfb commit 4348feb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flex/utils/pthash_utils/encoders_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

namespace gs {

// This code is an adaptation from
// https://github.com/jermp/pthash/blob/master/include/encoders/encoders.hpp
struct dictionary_view {

Check warning on line 26 in flex/utils/pthash_utils/encoders_view.h

View check run for this annotation

codefactor.io / CodeFactor

flex/utils/pthash_utils/encoders_view.h#L26

Use of access() (CWE-362, CWE-367) (flawfinder7-access)
size_t size() const { return m_ranks.size(); }
uint64_t access(uint64_t i) const {

Check warning on line 28 in flex/utils/pthash_utils/encoders_view.h

View check run for this annotation

codefactor.io / CodeFactor

flex/utils/pthash_utils/encoders_view.h#L28

Use of access() (CWE-362, CWE-367) (flawfinder7-access)
Expand Down

0 comments on commit 4348feb

Please sign in to comment.