whole_func_string: function checksum(str) {
    let hash = 0
    const strlen = str.length
    if (strlen === 0) {
      return hash
    }
  
    for (let i = 0; i < strlen; i++) {
      hash = (hash << 5) - hash + str.charCodeAt(i)
      hash &= hash // Convert to 32bit integer
    }
  
    return hash
  }
func_code_string: function checksum(str) {
    let hash = 0
    const strlen = str.length
    if (strlen === 0) {
      return hash
    }
  
    for (let i = 0; i < strlen; i++) {
      hash = (hash << 5) - hash + str.charCodeAt(i)
      hash &= hash // Convert to 32bit integer
    }
  
    return hash
  }
func_documentation_string: /* eslint-disable no-bitwise