I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 366ed2b6 authored by dev's avatar dev
Browse files

Formatting, tabs->spaces

parent 26899e48
No related branches found
No related tags found
No related merge requests found
...@@ -159,11 +159,11 @@ public class CPUID { ...@@ -159,11 +159,11 @@ public class CPUID {
CPUIDResult c = doCPUID(1); CPUIDResult c = doCPUID(1);
return c.ECX; return c.ECX;
} }
private static int getExtendedEBXCPUFlags() private static int getExtendedEBXCPUFlags()
{ {
CPUIDResult c = doCPUID(0x80000001); CPUIDResult c = doCPUID(0x80000001);
return c.EBX; return c.EBX;
} }
private static int getExtendedECXCPUFlags() private static int getExtendedECXCPUFlags()
{ {
CPUIDResult c = doCPUID(0x80000001); CPUIDResult c = doCPUID(0x80000001);
...@@ -253,8 +253,8 @@ public class CPUID { ...@@ -253,8 +253,8 @@ public class CPUID {
protected static boolean isAthlon64Compatible = false; protected static boolean isAthlon64Compatible = false;
protected static boolean isBobcatCompatible = false; protected static boolean isBobcatCompatible = false;
//AMD-family = getCPUFamily()+getCPUExtendedFamily() //AMD-family = getCPUFamily()+getCPUExtendedFamily()
//AMD-model = getCPUModel()+getCPUExtendedModel() //AMD-model = getCPUModel()+getCPUExtendedModel()
public boolean IsK6Compatible(){ return isK6Compatible; } public boolean IsK6Compatible(){ return isK6Compatible; }
public boolean IsK6_2_Compatible(){ return isK6_2_Compatible; } public boolean IsK6_2_Compatible(){ return isK6_2_Compatible; }
public boolean IsK6_3_Compatible(){ return isK6_3_Compatible; } public boolean IsK6_3_Compatible(){ return isK6_3_Compatible; }
...@@ -483,7 +483,7 @@ public class CPUID { ...@@ -483,7 +483,7 @@ public class CPUID {
} }
} }
throw new UnknownCPUException("Unknown AMD CPU; Family="+(getCPUFamily() + getCPUExtendedFamily())+", Model="+(getCPUModel() + getCPUExtendedModel())); throw new UnknownCPUException("Unknown AMD CPU; Family="+(getCPUFamily() + getCPUExtendedFamily())+", Model="+(getCPUModel() + getCPUExtendedModel()));
} }
} }
protected static class IntelInfoImpl extends CPUIDCPUInfo implements IntelCPUInfo protected static class IntelInfoImpl extends CPUIDCPUInfo implements IntelCPUInfo
...@@ -504,7 +504,7 @@ public class CPUID { ...@@ -504,7 +504,7 @@ public class CPUID {
public boolean IsPentium4Compatible(){ return isPentium4Compatible; } public boolean IsPentium4Compatible(){ return isPentium4Compatible; }
public boolean IsAtomCompatible(){ return isAtomCompatible; } public boolean IsAtomCompatible(){ return isAtomCompatible; }
public boolean IsCore2Compatible(){ return isCore2Compatible; } public boolean IsCore2Compatible(){ return isCore2Compatible; }
public boolean IsCoreiCompatible(){ return isCoreiCompatible; } public boolean IsCoreiCompatible(){ return isCoreiCompatible; }
public String getCPUModelString() throws UnknownCPUException public String getCPUModelString() throws UnknownCPUException
{ {
...@@ -933,8 +933,8 @@ public class CPUID { ...@@ -933,8 +933,8 @@ public class CPUID {
return "jcpuid-x86-windows"; // The convention on Windows return "jcpuid-x86-windows"; // The convention on Windows
if(isFreebsd) if(isFreebsd)
return "jcpuid-x86-freebsd"; // The convention on freebsd... return "jcpuid-x86-freebsd"; // The convention on freebsd...
if(isSunos) if(isSunos)
return "jcpuid-x86-solaris"; // The convention on SunOS return "jcpuid-x86-solaris"; // The convention on SunOS
//throw new RuntimeException("Dont know jcpuid library name for os type '"+System.getProperty("os.name")+"'"); //throw new RuntimeException("Dont know jcpuid library name for os type '"+System.getProperty("os.name")+"'");
// use linux as the default, don't throw exception // use linux as the default, don't throw exception
return "jcpuid-x86-linux"; return "jcpuid-x86-linux";
...@@ -946,8 +946,8 @@ public class CPUID { ...@@ -946,8 +946,8 @@ public class CPUID {
return "jcpuid-x86_64-windows"; return "jcpuid-x86_64-windows";
if(isFreebsd) if(isFreebsd)
return "jcpuid-x86_64-freebsd"; return "jcpuid-x86_64-freebsd";
if(isSunos) if(isSunos)
return "jcpuid-x86_64-solaris"; return "jcpuid-x86_64-solaris";
// use linux as the default, don't throw exception // use linux as the default, don't throw exception
return "jcpuid-x86_64-linux"; return "jcpuid-x86_64-linux";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment