code: def test_lambda_in_loop_code_cached():
      # Compiling a UDF defined in a loop should result in the code cache being
      # reused for each loop iteration after the first. We check for this by
      # ensuring that there is only one entry in the code cache after the loop.
  
      for i in range(3):
          cudautils.compile_udf(lambda x: x + 1, (types.float32,))
  
      assert_cache_size(1)
  
file_path: cudf/python/cudf/cudf/tests/test_compile_udf.py
imports: from numba import types
  from cudf.utils import cudautils
label_desc: Use image node_id 7 for calling a global function with example usage: test_lambda_in_loop_code_cached() without return types