original_docstring: Return the ids of all the NUMA nodes in the system.
docstring: Return the ids of all the NUMA nodes in the system.
docstring_tokens: Return the ids of all the NUMA nodes in the system .
code: def numa_nodes():
       """Return the ids of all the NUMA nodes in the system."""
       node_paths = glob.glob('/sys/devices/system/node/node*')
       nodes = [int(re.sub(r'.*node(\d+)', r'\1', x)) for x in node_paths]
       return (sorted(nodes))
code_tokens: def numa_nodes ( ) : node_paths = glob . glob ( '/sys/devices/system/node/node*' ) nodes = [ int ( re . sub ( r'.*node(\d+)' , r'\1' , x ) ) for x in node_paths ] return ( sorted ( nodes ) )
short_docstring: Return the ids of all the NUMA nodes in the system.
short_docstring_tokens: Return the ids of all the NUMA nodes in the system .
comment: """Return the ids of all the NUMA nodes in the system."""