public static long parseLong(String s, long defaultValue) {
		try {
			return parseLong(s);
		}
		catch (NumberFormatException e) {
			return defaultValue;
		}
	}
Parses the given decimal/hex string as an {@code long} value. This method allows values with
the top bit set to be implicitly parsed as negative values.

@param s the string to parse
@param defaultValue the default value to return if the string does not represent a valid
  {@code long} value
@return the parsed {@code long} value or the {@code defaultValue} if the string does not
  represent a valid {@code long} value
Ghidra/Framework/Generic/src/main/java/ghidra/util/NumericUtilities.java