Skip to content

convert'bytes_to_bool #1

@carrot1213

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

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