code: def test_ray_get_args():
      def with_dese():
          print("Putting test objects:")
          refs = []
          for _ in trange(MAX_RAY_GET_ARGS):
              obj = list(range(10000))
              refs.append(ray.put(obj))
  
          print("Getting objects")
          results = ray.get(refs)
          assert len(results) == MAX_RAY_GET_ARGS
  
          print("Asserting correctness")
          for obj in tqdm(results):
              expected = list(range(10000))
              assert obj == expected
  
      def with_zero_copy():
          print("Putting test objects:")
          refs = []
          for _ in trange(MAX_RAY_GET_ARGS):
              obj = np.arange(10000)
              refs.append(ray.put(obj))
  
          print("Getting objects")
          results = ray.get(refs)
          assert len(results) == MAX_RAY_GET_ARGS
  
          print("Asserting correctness")
          for obj in tqdm(results):
              expected = np.arange(10000)
              assert (obj == expected).all()
  
      with_dese()
      print("Done with dese")
      with_zero_copy()
      print("Done with zero copy")
  
file_path: ray/release/benchmarks/single_node/test_single_node.py
imports: import numpy
  import time
  import ray
  import ray.autoscaler.sdk
  from ray._private.test_utils import Semaphore
  import json
  import os
  from time import perf_counter
  from tqdm import trange, tqdm
label_desc: Use image node_id 4 for calling a global function with example usage: test_ray_get_args() without return types