Showing 10 of 10 total issues
File sum.py
has 293 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import peachpy.x86_64
class State:
def __init__(self):
Function update
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def update(plo, phi, state):
PADDQ(state.v1lo, plo)
PADDQ(state.v1hi, phi)
PADDQ(state.v1lo, state.mul0lo)
PADDQ(state.v1hi, state.mul0hi)
Function memcpy16
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def memcpy16(xmm0, p, l):
b = GeneralPurposeRegister64()
offs = GeneralPurposeRegister64()
XOR(offs, offs)
Function zipper
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def zipper(mask, mlo, mhi, vlo, vhi):
exported type Lanes should have comment or be unexported Open
Open
type Lanes [NumLanes]uint64
- Exclude checks
exported function Hash should have comment or be unexported Open
Open
func Hash(key Lanes, bytes []byte) uint64 {
- Exclude checks
exported const NumLanes should have comment (or a comment on this block) or be unexported Open
Open
NumLanes = 4
- Exclude checks
2: cannot find package "github.com/intel-go/cpuid" in any of: Open
Open
"github.com/intel-go/cpuid"
- Exclude checks
TODO found Open
Open
# TODO(dgryski): remove this variable; reuse reg_p_len
- Exclude checks
TODO found Open
Open
# TODO(dgryski): copy(finalPacket[28:], bytes[len(bytes)-4:])
- Exclude checks