Skip to content

convert'bytes_to_bool #1

Description

@carrot1213

Is there a problem with the convert'bytes_to_bool construction in the file main_bench_test.go (although it seems not to have been used in testing)
for _, in := range byteArray {
for i := 7; i > 0; i-- {
if in&(1<<i) > 0 {
X[i] = true
}
}
}
X will be repeatedly overwritten by the top 7 digits

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions