test_class.file: flink-runtime/src/test/java/org/apache/flink/runtime/instance/HardwareTest.java
test_class.identifier: HardwareTest
test_case.body: @Test
  	public void testCpuCores() {
  		try {
  			assertTrue(Hardware.getNumberCPUCores() >= 0);
  		}
  		catch (Exception e) {
  			e.printStackTrace();
  			fail(e.getMessage());
  		}
  	}
test_case.class_method_signature: HardwareTest.testCpuCores()
test_case.full_signature: @Test public void testCpuCores()
test_case.identifier: testCpuCores
test_case.invocations: assertTrue getNumberCPUCores printStackTrace fail getMessage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCpuCores()
focal_class.declarator: LOG = LoggerFactory.getLogger(Hardware.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(Hardware.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: LINUX_MEMORY_INFO_PATH = "/proc/meminfo"
focal_class.modifier: private static final
focal_class.original_string: private static final String LINUX_MEMORY_INFO_PATH = "/proc/meminfo";
focal_class.type: String
focal_class.var_name: LINUX_MEMORY_INFO_PATH
focal_class.declarator: LINUX_MEMORY_REGEX = Pattern.compile("^MemTotal:\\s*(\\d+)\\s+kB$")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern LINUX_MEMORY_REGEX = Pattern.compile("^MemTotal:\\s*(\\d+)\\s+kB$");
focal_class.type: Pattern
focal_class.var_name: LINUX_MEMORY_REGEX
focal_class.file: flink-runtime/src/main/java/org/apache/flink/runtime/instance/Hardware.java
focal_class.identifier: Hardware
focal_class.class_method_signature: Hardware.getNumberCPUCores()
focal_class.full_signature: public static int getNumberCPUCores()
focal_class.identifier: getNumberCPUCores
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumberCPUCores()
focal_class.class_method_signature: Hardware.getSizeOfPhysicalMemory()
focal_class.full_signature: public static long getSizeOfPhysicalMemory()
focal_class.identifier: getSizeOfPhysicalMemory
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSizeOfPhysicalMemory()
focal_class.class_method_signature: Hardware.getSizeOfPhysicalMemoryForLinux()
focal_class.full_signature: private static long getSizeOfPhysicalMemoryForLinux()
focal_class.identifier: getSizeOfPhysicalMemoryForLinux
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSizeOfPhysicalMemoryForLinux()
focal_class.class_method_signature: Hardware.getSizeOfPhysicalMemoryForMac()
focal_class.full_signature: private static long getSizeOfPhysicalMemoryForMac()
focal_class.identifier: getSizeOfPhysicalMemoryForMac
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSizeOfPhysicalMemoryForMac()
focal_class.class_method_signature: Hardware.getSizeOfPhysicalMemoryForFreeBSD()
focal_class.full_signature: private static long getSizeOfPhysicalMemoryForFreeBSD()
focal_class.identifier: getSizeOfPhysicalMemoryForFreeBSD
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSizeOfPhysicalMemoryForFreeBSD()
focal_class.class_method_signature: Hardware.getSizeOfPhysicalMemoryForWindows()
focal_class.full_signature: private static long getSizeOfPhysicalMemoryForWindows()
focal_class.identifier: getSizeOfPhysicalMemoryForWindows
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSizeOfPhysicalMemoryForWindows()
focal_class.class_method_signature: Hardware.Hardware()
focal_class.full_signature: private  Hardware()
focal_class.identifier: Hardware
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Hardware()
focal_method.body: public static int getNumberCPUCores() {
  		return Runtime.getRuntime().availableProcessors();
  	}
focal_method.class_method_signature: Hardware.getNumberCPUCores()
focal_method.full_signature: public static int getNumberCPUCores()
focal_method.identifier: getNumberCPUCores
focal_method.invocations: availableProcessors getRuntime
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int getNumberCPUCores()