public long decode(String nm) {
			if (nm.startsWith("0x") || nm.startsWith("0X") ||
				nm.startsWith("-0x") || nm.startsWith("-0X")) {
				return Long.parseLong(nm, 16);
			}
			if (nm.startsWith("0n") || nm.startsWith("0N") ||
				nm.startsWith("-0n") || nm.startsWith("-0N")) {
				return Long.parseLong(nm, 10);
			}
			return Long.parseLong(nm, n);
		}
Get the radix specified by the given string

@param s the name of the specified radix
@return the radix
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/time/schedule/TraceSchedule.java