code: def murmur2_x86(data, seed):
      """Get the murmur2 hash."""
      m = 0x5BD1E995
      data = [chr(d) for d in str.encode(data, "utf8")]
      length = len(data)
      h = seed ^ length
      rounded_end = length & 0xFFFFFFFC
      for i in range(0, rounded_end, 4):
          k = (
              (ord(data[i]) & 0xFF)
              | ((ord(data[i + 1]) & 0xFF) << 8)
              | ((ord(data[i + 2]) & 0xFF) << 16)
              | (ord(data[i + 3]) << 24)
          )
          k = (k * m) & 0xFFFFFFFF
          k ^= k >> 24
          k = (k * m) & 0xFFFFFFFF
  
          h = (h * m) & 0xFFFFFFFF
          h ^= k
  
      val = length & 0x03
      k = 0
      if val == 3:
          k = (ord(data[rounded_end + 2]) & 0xFF) << 16
      if val in [2, 3]:
          k |= (ord(data[rounded_end + 1]) & 0xFF) << 8
      if val in [1, 2, 3]:
          k |= ord(data[rounded_end]) & 0xFF
          h ^= k
          h = (h * m) & 0xFFFFFFFF
  
      h ^= h >> 13
      h = (h * m) & 0xFFFFFFFF
      h ^= h >> 15
  
      return h
  
file_path: catboost/contrib/python/ipykernel/py3/ipykernel/compiler.py
imports: import os
  import sys
  import tempfile
  from IPython.core.compilerop import CachingCompiler
label_desc: Use image node_id 1 for calling a global function with example usage: murmur2_x86(data, seed) and returns: h