100+ results results for 'startsWith("windows 9")' (631 ms)
63 // This is slow and could easily be optimized by directly inspecting encoding[i]. 64 if (lowercasedEncoding.startsWith("iso-8859") 65 || lowercasedEncoding.startsWith("windows")Platform.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 168 lines
91 platform_arch = "Sparc"; // NOI18N 92 else if (os_arch.equals("sparcv9")) // NOI18N 93 platform_arch = "Sparc"; // NOI18N 112 platform_os="MacOSX"; // NOI18N 113 else if (os_name.startsWith("Windows")) // NOI18N 114 platform_os="Windows"; // NOI18NWindowsFontDirFinder.java git://github.com/plutext/docx4j.git | Java | 115 lines
45 Runtime runtime = Runtime.getRuntime(); 46 if (osName.startsWith("Windows 9")) { 47 process = runtime.exec("command.com /c echo %windir%");OperatingSystem.java https://gitlab.com/rcristi/madsonic-booter | Java | 93 lines
32 return OSX; 33 if(osName.startsWith("Windows ")) 34 return WINDOWS; 68 osName += " Mountain Lion"; 69 else if(osVersion.startsWith("10.9")) 70 osName += " Mavericks";StructLayout.java http://cellengine.googlecode.com/svn/trunk/ | Java | 154 lines
125 String cpu = System.getProperty("os.arch").toLowerCase(); 126 if ((os.startsWith("windows") && cpu.equals("x86"))) { 127 // It appears that Windows uses a packing alignment of 4 bytes in 32-bit mode 128 return new StructLayout(0, 4); 129 } else if ((os.startsWith("windows") && cpu.equals("amd64")) || 130 (os.startsWith("linux") && cpu.equals("i386")) || 135 (os.startsWith("sunos") && cpu.equals("sparc")) || 136 (os.startsWith("sunos") && cpu.equals("sparcv9")) || 137 (os.startsWith("sunos") && cpu.equals("x86")) ||WebKitTextCodec.cpp https://code.google.com/p/phantomjs/ | C++ | 133 lines
63 // This is slow and could easily be optimized by directly inspecting encoding[i]. 64 if (lowercasedEncoding.startsWith("iso-8859") 65 || lowercasedEncoding.startsWith("windows")BrowserLauncher.java http://ece01sd.googlecode.com/svn/trunk/ | Java | 443 lines
97 } 98 } else if (osName.startsWith("Windows")) { 99 if (osName.indexOf("9") != -1) {WindowsFontDirFinder.java git://github.com/plutext/docx4j.git | Java | 125 lines
46 Runtime runtime = Runtime.getRuntime(); 47 if (osName.startsWith("Windows 9")) { 48 process = runtime.exec("command.com /c echo %windir%");FontUtilities.java git://pkgs.fedoraproject.org/java-1.7.0-openjdk | Java | 517 lines
91 isSolaris8 = version.startsWith("5.8"); 92 isSolaris9 = version.startsWith("5.9"); 93 float ver = Float.parseFloat(version); 119 } 120 isWindows = osName.startsWith("Windows"); 121 String jreLibDirName = System.getProperty("java.home", "")CPU.java http://cellengine.googlecode.com/svn/trunk/ | Java | 82 lines
55 String cpu = System.getProperty("os.arch").toLowerCase(); 56 if ((os.startsWith("windows") && cpu.equals("x86")) || 57 (os.startsWith("linux") && cpu.equals("i386")) || 65 is32Bit = true; 66 } else if ((os.startsWith("windows") && cpu.equals("amd64")) || 67 (os.startsWith("linux") && cpu.equals("amd64")) || 70 (os.startsWith("mac os") && cpu.equals("x86_64")) || 71 (os.startsWith("sunos") && cpu.equals("sparcv9")) || 72 (os.startsWith("sunos") && cpu.equals("amd64"))) {PlatformInfo.java git://pkgs.fedoraproject.org/java-1.7.0-openjdk | Java | 76 lines
47 return "bsd"; 48 } else if (os.startsWith("Windows")) { 49 return "win32"; 61 return "x86"; 62 } else if (cpu.equals("sparc") || cpu.equals("sparcv9")) { 63 return "sparc";EncodingUtil.java http://mobile-rss-reader.googlecode.com/svn/trunk/ | Java | 1222 lines
51 final static public boolean m_midpIso = (System.getProperty( 52 "microedition.encoding").toLowerCase().startsWith("iso-8859") || 53 System.getProperty( 53 System.getProperty( 54 "microedition.encoding").toLowerCase().startsWith("iso8859")); 55 final static public String m_isoEncoding = initIsoEncoding(); 58 System.getProperty( 59 "microedition.encoding").toLowerCase().startsWith("windows")); 60 final static public String m_winEncoding = initWinEncoding(); 230 docEncoding = ""; 231 } else if (cencoding.startsWith("ISO-8859")) { 232 if (hasIso8859Encoding) { 244 245 } else if (cencoding.startsWith("ISO8859")) { 246 if (hasIso8859Encoding) {EncodingUtil.java http://mobile-rss-reader.googlecode.com/svn/trunk/ | Java | 1220 lines
51 final static public boolean m_midpIso = (System.getProperty( 52 "microedition.encoding").toLowerCase().startsWith("iso-8859") || 53 System.getProperty( 53 System.getProperty( 54 "microedition.encoding").toLowerCase().startsWith("iso8859")); 55 final static public String m_isoEncoding = initIsoEncoding(); 58 System.getProperty( 59 "microedition.encoding").toLowerCase().startsWith("windows")); 60 final static public String m_winEncoding = initWinEncoding(); 228 docEncoding = ""; 229 } else if (cencoding.startsWith("ISO-8859")) { 230 if (hasIso8859Encoding) { 242 243 } else if (cencoding.startsWith("ISO8859")) { 244 if (hasIso8859Encoding) {WindowsFontDirFinder.java git://pkgs.fedoraproject.org/fop | Java | 109 lines
39 Runtime runtime = Runtime.getRuntime(); 40 if (osName.startsWith("Windows 9")) { 41 process = runtime.exec("command.com /c echo %windir%");FileUtility.java http://fits.googlecode.com/svn/trunk/ | Java | 256 lines
56 info.setName("file utility"); 57 if (osName.startsWith("Windows")) { 58 //use provided Windows File Utility 139 execOut.contains("Non-ISO extended-ASCII text") || 140 execOut.contains("ISO-8859")) { 141 format = "Plain text";StructLayout.java.build-s390.patch git://pkgs.fedoraproject.org/gluegen | Patch | 156 lines
125 String cpu = System.getProperty("os.arch").toLowerCase(); 126 if ((os.startsWith("windows") && cpu.equals("x86"))) { 127 // It appears that Windows uses a packing alignment of 4 bytes in 32-bit mode 128 return new StructLayout(0, 4); 129 } else if ((os.startsWith("windows") && cpu.equals("amd64")) || 130 (os.startsWith("linux") && cpu.equals("i386")) || 137 (os.startsWith("sunos") && cpu.equals("sparc")) || 138 (os.startsWith("sunos") && cpu.equals("sparcv9")) || 139 (os.startsWith("sunos") && cpu.equals("x86")) ||FileResourceLoader.java https://github.com/baileyje/jboss-modules.git | Java | 301 lines
61 realName = "macosx"; 62 } else if (sysName.startsWith("WINDOWS")) { 63 realName = "win"; 88 } 89 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 90 realArch = "sparcv9";WindowsFontDirFinder.java https://github.com/apache/fop.git | Java | 120 lines
41 Runtime runtime = Runtime.getRuntime(); 42 if (osName.startsWith("Windows 9")) { 43 process = runtime.exec("command.com /c echo %windir%");WebKitTextCodec.cpp https://review.tizen.org/git/ | C++ | 138 lines
51 // This is slow and could easily be optimized by directly inspecting encoding[i]. 52 if (lowercasedEncoding.startsWith("iso-8859") 53 || lowercasedEncoding.startsWith("windows")StructLayout.java git://pkgs.fedoraproject.org/gluegen | Java | 158 lines
125 String cpu = System.getProperty("os.arch").toLowerCase(); 126 if ((os.startsWith("windows") && cpu.equals("x86"))) { 127 // It appears that Windows uses a packing alignment of 4 bytes in 32-bit mode 128 return new StructLayout(0, 4); 129 } else if ((os.startsWith("windows") && cpu.equals("amd64")) || 130 (os.startsWith("linux") && cpu.equals("i386")) || 139 (os.startsWith("sunos") && cpu.equals("sparc")) || 140 (os.startsWith("sunos") && cpu.equals("sparcv9")) || 141 (os.startsWith("sunos") && cpu.equals("x86")) ||TestUtil.java git://pkgs.fedoraproject.org/java-1.7.0-openjdk | Java | 106 lines
88 static boolean onME() { 89 if (osName.startsWith("Windows")) { 90 if (osName.indexOf("9") > 0) 102 static boolean onWindows() { 103 return osName.startsWith("Windows"); 104 }IJ.java git://pkgs.fedoraproject.org/imagej | Java | 1841 lines
56 osname = System.getProperty("os.name"); 57 isWin = osname.startsWith("Windows"); 58 isMac = !isWin && osname.startsWith("Mac"); 61 String version = System.getProperty("java.version").substring(0,3); 62 if (version.compareTo("2.9")<=0) { // JVM on Sharp Zaurus PDA claims to be "3.1"! 63 isJava2 = version.compareTo("1.1")>0;FileUtility.java https://gitlab.com/math4youbyusgroupillinois/fits.git | Java | 281 lines
61 info.setName("file utility"); 62 if (osName.startsWith("Windows")) { 63 //use provided Windows File Utility 143 execOut.contains("Non-ISO extended-ASCII text") || 144 execOut.contains("ISO-8859")) { 145 format = "Plain text";FontUtilities.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 512 lines
87 isSolaris8 = version.startsWith("5.8"); 88 isSolaris9 = version.startsWith("5.9"); 89 float ver = Float.parseFloat(version); 115 } 116 isWindows = osName.startsWith("Windows"); 117 String jreLibDirName = System.getProperty("java.home", "")HBaseClient2Test.java https://github.com/brianfrankcooper/YCSB.git | Java | 322 lines
68 final String os = System.getProperty("os.name"); 69 return os.startsWith("Windows"); 70 } 218 Bytes.fromHex("4444"), Bytes.fromHex("5555"), Bytes.fromHex("6666"), Bytes.fromHex("7777"), 219 Bytes.fromHex("8888"), Bytes.fromHex("9999"), Bytes.fromHex("BBBB"), 220 Bytes.fromHex("CCCC"), Bytes.fromHex("DDDD"), Bytes.fromHex("EEEE"), Bytes.fromHex("FFFF") 226 testScanWithValueFiltering("greater", "8887", 3, new byte[][] { 227 Bytes.fromHex("8888"), Bytes.fromHex("9999"), Bytes.fromHex("AAAA") 228 }); 306 Bytes.fromHex("4444"), Bytes.fromHex("5555"), Bytes.fromHex("6666"), Bytes.fromHex("7777"), 307 Bytes.fromHex("8888"), Bytes.fromHex("9999"), Bytes.fromHex("AAAA"), Bytes.fromHex("BBBB"), 308 Bytes.fromHex("CCCC"), Bytes.fromHex("DDDD"), Bytes.fromHex("EEEE"), Bytes.fromHex("FFFF")IJ.java https://github.com/earrouvi/PAPPL.git | Java | 1648 lines
57 osname = System.getProperty("os.name"); 58 isWin = osname.startsWith("Windows"); 59 isMac = !isWin && osname.startsWith("Mac"); 62 String version = System.getProperty("java.version").substring(0,3); 63 if (version.compareTo("2.9")<=0) { // JVM on Sharp Zaurus PDA claims to be "3.1"! 64 isJava2 = version.compareTo("1.1")>0;WFontConfiguration.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 246 lines
85 super.setOsNameAndVersion(); 86 if (osName.startsWith("Windows")){ 87 int p, q; 212 subsetEncodingMap.put("japanese", "windows-31j"); 213 subsetEncodingMap.put("korean", "x-windows-949"); 214 subsetEncodingMap.put("latin", "windows-1252");UriImportExport.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 143 lines
116 String osname = System.getProperty("os.name"); 117 if (osname.startsWith("Windows")) { 118 testPath("C:\\doesnotexist"); 131 // file:///foo/bar/\u0440\u0443\u0441\u0441\u043A\u0438\u0439 (Russian) 132 testUri("file:///foo/bar/%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9"); 133FileResourceLoader.java https://github.com/aloubyansky/jboss-modules.git | Java | 299 lines
61 realName = "macosx"; 62 } else if (sysName.startsWith("WINDOWS")) { 63 realName = "win"; 88 } 89 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 90 realArch = "sparcv9";SystemInfoRt.java git://github.com/JetBrains/intellij-community.git | Java | 44 lines
16 private static final String _OS_NAME = OS_NAME.toLowerCase(Locale.ENGLISH); 17 public static final boolean isWindows = _OS_NAME.startsWith("windows"); 18 public static final boolean isMac = _OS_NAME.startsWith("mac"); 30 31 @ReviseWhenPortedToJDK("9") 32 public static final boolean IS_AT_LEAST_JAVA9 = isModularJava();SystemInfo.java https://github.com/jexp/idea2.git | Java | 114 lines
29 30 public static final boolean isWindows = OS_NAME.startsWith("windows"); 31 public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt"); 31 public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt"); 32 public static final boolean isWindows2000 = OS_NAME.startsWith("windows 2000"); 33 public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003"); 33 public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003"); 34 public static final boolean isWindowsXP = OS_NAME.startsWith("windows xp"); 35 public static final boolean isWindowsVista = OS_NAME.startsWith("windows vista"); 36 public static final boolean isWindows7 = OS_NAME.startsWith("windows 7"); 37 public static final boolean isWindows9x = OS_NAME.startsWith("windows 9") || OS_NAME.startsWith("windows me"); 38 public static final boolean isOS2 = OS_NAME.startsWith("os/2") || OS_NAME.startsWith("os2");OperatingSystem.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 322 lines
47 String osName = System.getProperty("os.name"); 48 if(osName.startsWith("Windows 9")) 49 os = new Windows9x(); 49 os = new Windows9x(); 50 else if(osName.startsWith("Windows")) 51 os = new WindowsNT();OperatingSystem.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 365 lines
53 String osName = System.getProperty("os.name"); 54 if(osName.startsWith("Windows 9") 55 || osName.equals("Windows ME")) 56 os = new Windows9x(); 57 else if(osName.startsWith("Windows")) 58 os = new WindowsNT();TCFSecurityManager.java https://github.com/eswartz/emul.git | Java | 231 lines
62 String osname = System.getProperty("os.name", ""); 63 if (osname.startsWith("Windows")) { 64 try { 105 if (!usr_certs.exists()) usr_certs.mkdirs(); 106 final CertificateFactory cf = CertificateFactory.getInstance("X.509"); //$NON-NLS-1$ 107 SSLContext context = SSLContext.getInstance("TLS"); //$NON-NLS-1$Platform.java https://gitlab.com/chrsmith/selenium.git | Java | 331 lines
98 99 MAVERICKS("mavericks", "os x 10.9") { 100 @Override 220 // Windows 8 can't be detected by osName alone 221 if (osVersion.equals("6.2") && osName.startsWith("windows nt")) { 222 return WIN8; 224 // Windows 8 can't be detected by osName alone 225 if (osVersion.equals("6.3") && osName.startsWith("windows nt")) { 226 return WIN8_1;WinDeviceName.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 57 lines
39 String osName = System.getProperty("os.name"); 40 if (!osName.startsWith("Windows")) { 41 return; 46 if ("CLOCK$".equals(devnames[i]) && 47 (osName.startsWith("Windows 9") || 48 osName.startsWith("Windows Me"))) {PlatformInfo.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 67 lines
39 return "linux"; 40 } else if (os.startsWith("Windows")) { 41 return "win32"; 53 return cpu; 54 } else if (cpu.equals("sparcv9")) { 55 return "sparc";OperatingSystem.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 335 lines
47 String osName = System.getProperty("os.name"); 48 if(osName.startsWith("Windows 9") 49 || osName.equals("Windows ME")) 50 os = new Windows9x(); 51 else if(osName.startsWith("Windows")) 52 os = new WindowsNT();IJ.java https://bitbucket.org/Sciumo/imagej.git | Java | 1881 lines
56 osname = System.getProperty("os.name"); 57 isWin = osname.startsWith("Windows"); 58 isMac = !isWin && osname.startsWith("Mac"); 61 String version = System.getProperty("java.version").substring(0,3); 62 if (version.compareTo("2.9")<=0) { // JVM on Sharp Zaurus PDA claims to be "3.1"! 63 isJava2 = version.compareTo("1.1")>0;WFontConfiguration.java https://github.com/srisatish/openjdk.git | Java | 252 lines
91 super.setOsNameAndVersion(); 92 if (osName.startsWith("Windows")){ 93 int p, q; 218 subsetEncodingMap.put("japanese", "windows-31j"); 219 subsetEncodingMap.put("korean", "x-windows-949"); 220 subsetEncodingMap.put("latin", "windows-1252");NativeLibraryResourceLoader.java https://github.com/emuckenhuber/jboss-modules.git | Java | 156 lines
53 realName = "macosx"; 54 } else if (sysName.startsWith("WINDOWS")) { 55 realName = "win"; 84 } 85 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 86 realArch = "sparcv9";WinDeviceName.java https://github.com/GregBowyer/ManagedRuntimeInitiative.git | Java | 57 lines
39 String osName = System.getProperty("os.name"); 40 if (!osName.startsWith("Windows")) { 41 return; 46 if ("CLOCK$".equals(devnames[i]) && 47 (osName.startsWith("Windows 9") || 48 osName.startsWith("Windows Me"))) {TestUtil.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 105 lines
88 static boolean onME() { 89 if (osName.startsWith("Windows")) { 90 if (osName.indexOf("9") > 0) 102 static boolean onWindows() { 103 return osName.startsWith("Windows"); 104 }WFontConfiguration.java https://github.com/GregBowyer/ManagedRuntimeInitiative.git | Java | 252 lines
91 super.setOsNameAndVersion(); 92 if (osName.startsWith("Windows")){ 93 int p, q; 218 subsetEncodingMap.put("japanese", "windows-31j"); 219 subsetEncodingMap.put("korean", "x-windows-949"); 220 subsetEncodingMap.put("latin", "windows-1252");NativeLibraryResourceLoader.java https://github.com/jboss-modules/jboss-modules.git | Java | 430 lines
86 } 87 } else if (sysOs.startsWith("WINDOWS")) { 88 osName = "win"; 138 sysArch = sysArch.toUpperCase(Locale.US); 139 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 140 cpuName = "sparcv9"; 156 cpuName = "armv7a"; 157 } else if (sysArch.startsWith("AARCH64") || sysArch.startsWith("ARM64") || sysArch.startsWith("ARMV8") || sysArch.startsWith("PXA9") || sysArch.startsWith("PXA10")) { 158 hasEndian = true;StructLayout.java https://github.com/mbien/gluegen.git | Java | 154 lines
125 String cpu = System.getProperty("os.arch").toLowerCase(); 126 if ((os.startsWith("windows") && cpu.equals("x86"))) { 127 // It appears that Windows uses a packing alignment of 4 bytes in 32-bit mode 128 return new StructLayout(0, 4); 129 } else if ((os.startsWith("windows") && cpu.equals("amd64")) || 130 (os.startsWith("linux") && cpu.equals("i386")) || 135 (os.startsWith("sunos") && cpu.equals("sparc")) || 136 (os.startsWith("sunos") && cpu.equals("sparcv9")) || 137 (os.startsWith("sunos") && cpu.equals("x86")) ||OperatingSystem.java https://gitlab.com/madsonic/madsonic-booter | Java | 105 lines
34 return OSX; 35 if(osName.startsWith("Windows ")) 36 return WINDOWS; 70 osName += " Mountain Lion"; 71 else if(osVersion.startsWith("10.9")) 72 osName += " Mavericks";SystemInfo.java https://github.com/joewalnes/idea-community.git | Java | 114 lines
29 30 public static final boolean isWindows = OS_NAME.startsWith("windows"); 31 public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt"); 31 public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt"); 32 public static final boolean isWindows2000 = OS_NAME.startsWith("windows 2000"); 33 public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003"); 33 public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003"); 34 public static final boolean isWindowsXP = OS_NAME.startsWith("windows xp"); 35 public static final boolean isWindowsVista = OS_NAME.startsWith("windows vista"); 36 public static final boolean isWindows7 = OS_NAME.startsWith("windows 7"); 37 public static final boolean isWindows9x = OS_NAME.startsWith("windows 9") || OS_NAME.startsWith("windows me"); 38 public static final boolean isOS2 = OS_NAME.startsWith("os/2") || OS_NAME.startsWith("os2");ConfigurationManager.java https://github.com/oboehm/maven-ooo-plugin.git | Java | 508 lines
283// 284// if (os.startsWith("windows")) { 285// // Windows environment 290// + oooBin + pathSep + oooLibs.getCanonicalPath(); 291// if (os.startsWith("windows 9")) { 292// cmd[0] = "command.com"; 337// if ("path".equalsIgnoreCase(key)) { 338// if (os.startsWith("windows")) { 339// // for windows, path env var is not case sensitive.WindowsAttachProvider.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 178 lines
40 String os = System.getProperty("os.name"); 41 if (os.startsWith("Windows 9") || os.equals("Windows Me")) { 42 throw new RuntimeException(FileUtility.java https://github.com/openplanets/ref.git | Java | 253 lines
56 info.setName("file utility"); 57 if (osName.startsWith("Windows")) { 58 //use provided Windows File Utility 137 execOut.contains("Non-ISO extended-ASCII text") || 138 execOut.contains("ISO-8859")) { 139 format = "Plain text";BrowserLaunchingFactory.java https://bitbucket.org/Morghus/hzlauncher.git | Java | 127 lines
90 } 91 else if (osName.startsWith("Windows")) { 92 logger.info("Windows OS"); 92 logger.info("Windows OS"); 93 if (osName.indexOf("9") != -1 || 94 osName.indexOf("Windows Me") != -1) {StructLayout.java https://github.com/neosam/gluegen.git | Java | 153 lines
125 String cpu = System.getProperty("os.arch").toLowerCase(); 126 if ((os.startsWith("windows") && cpu.equals("x86"))) { 127 // It appears that Windows uses a packing alignment of 4 bytes in 32-bit mode 128 return new StructLayout(0, 4); 129 } else if ((os.startsWith("windows") && cpu.equals("amd64")) || 130 (os.startsWith("linux") && cpu.equals("i386")) || 135 (os.startsWith("sunos") && cpu.equals("sparc")) || 136 (os.startsWith("sunos") && cpu.equals("sparcv9")) || 137 (os.startsWith("sunos") && cpu.equals("x86")) ||NativeLibraryResourceLoader.java https://github.com/ALRubinger/jboss-modules.git | Java | 325 lines
62 osName = "macosx"; 63 } else if (sysOs.startsWith("WINDOWS")) { 64 osName = "win"; 114 sysArch = sysArch.toUpperCase(Locale.US); 115 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 116 cpuName = "sparcv9"; 138 cpuName = "armv7a"; 139 } else if (sysArch.startsWith("AARCH64") || sysArch.startsWith("ARM64") || sysArch.startsWith("ARMV8") || sysArch.startsWith("PXA9") || sysArch.startsWith("PXA10")) { 140 hasEndian = true;NativeLibraryResourceLoader.java https://github.com/n1hility/jboss-modules.git | Java | 160 lines
53 realName = "macosx"; 54 } else if (sysName.startsWith("WINDOWS")) { 55 realName = "win"; 84 } 85 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 86 realArch = "sparcv9";BrowserLaunchingFactory.java https://github.com/tryggvil/com.idega.app.platform.git | Java | 134 lines
97 } 98 else if (osName.startsWith("Windows")) { 99 logger.info("Windows OS"); 99 logger.info("Windows OS"); 100 if (osName.indexOf("9") != -1 || 101 osName.indexOf("Windows Me") != -1) {SystemInfo.java https://github.com/rfreedman/intellij-community.git | Java | 280 lines
51 /** @deprecated unsupported (to remove in IDEA 13) */ 52 public static final boolean isWindows9x = _OS_NAME.startsWith("windows 9") || _OS_NAME.startsWith("windows me"); 53 /** @deprecated unsupported (to remove in IDEA 13) */ 53 /** @deprecated unsupported (to remove in IDEA 13) */ 54 public static final boolean isWindowsNT = _OS_NAME.startsWith("windows nt"); 55 /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */ 55 /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */ 56 public static final boolean isWindows2000 = _OS_NAME.startsWith("windows 2000"); 57 /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */ 57 /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */ 58 public static final boolean isWindows2003 = _OS_NAME.startsWith("windows 2003"); 59 /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */ 59 /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */ 60 public static final boolean isWindowsXP = _OS_NAME.startsWith("windows xp"); 61 /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */Platform.java https://github.com/mbien/gluegen.git | Java | 254 lines
103 104 if ((os_lc.startsWith("windows") && arch_lc.equals("x86")) || 105 (os_lc.startsWith("windows") && arch_lc.equals("arm")) || 116 return true; 117 } else if ((os_lc.startsWith("windows") && arch_lc.equals("amd64")) || 118 (os_lc.startsWith("linux") && arch_lc.equals("amd64")) || 122 (os_lc.startsWith("darwin") && arch_lc.equals("x86_64")) || 123 (os_lc.startsWith("sunos") && arch_lc.equals("sparcv9")) || 124 (os_lc.startsWith("sunos") && arch_lc.equals("amd64"))) {MaxPathLength.java https://github.com/Helbrass/openjdk-fontfix.git | Java | 220 lines
44 String osName = System.getProperty("os.name"); 45 if (osName.startsWith("Windows")) { 46 isWindows = true; 46 isWindows = true; 47 if (osName.startsWith("Windows 9") || 48 osName.startsWith("Windows Me"))WindowsAttachProvider.java https://github.com/GregBowyer/ManagedRuntimeInitiative.git | Java | 194 lines
40 String os = System.getProperty("os.name"); 41 if (os.startsWith("Windows 9") || os.equals("Windows Me")) { 42 throw new RuntimeException(TestUtil.java https://github.com/GregBowyer/ManagedRuntimeInitiative.git | Java | 99 lines
81 static boolean onME() { 82 if (osName.startsWith("Windows")) { 83 if (osName.indexOf("9") > 0) 95 static boolean onWindows() { 96 return osName.startsWith("Windows"); 97 }IJ.java https://gitlab.com/dcarrion87/DRAS.git | Java | 2163 lines
67 osname = System.getProperty("os.name"); 68 isWin = osname.startsWith("Windows"); 69 isMac = !isWin && osname.startsWith("Mac"); 71 String version = System.getProperty("java.version").substring(0,3); 72 if (version.compareTo("2.9")<=0) { // JVM on Sharp Zaurus PDA claims to be "3.1"! 73 isJava16 = version.compareTo("1.5")>0;FileUtility.java https://github.com/openplanets/ref.git | Java | 253 lines
56 info.setName("file utility"); 57 if (osName.startsWith("Windows")) { 58 //use provided Windows File Utility 137 execOut.contains("Non-ISO extended-ASCII text") || 138 execOut.contains("ISO-8859")) { 139 format = "Plain text";PlatformDetailsTask.java https://github.com/jfroche/hudson-plugins.git | Java | 88 lines
42 name = "solaris"; 43 } else if (name.startsWith("windows")) { 44 name = "windows"; 44 name = "windows"; 45 if (name.startsWith("windows 9")) { 46 if (version.startsWith("4.0")) { 47 version = "95"; 48 } else if (version.startsWith("4.9")) { 49 version = "me";Charset.java https://github.com/yacy/cider.git | Java | 102 lines
47 // all other names but such with "windows" use uppercase 48 if (encoding.startsWith("WINDOWS")) encoding = "windows" + encoding.substring(7); 49 if (encoding.startsWith("MACINTOSH")) encoding = "MacRoman"; 59 // patch missing '-' 60 if (encoding.startsWith("windows") && encoding.length() > 7) { 61 final char c = encoding.charAt(7); 83 // patch wrong name 84 if (encoding.startsWith("ISO-8559")) { 85 // popular typobasic.py https://bitbucket.org/moon2l/sqlmap.git | Python | 233 lines
118 if "8858" in encoding: 119 encoding = encoding.replace("8858", "8859") # iso-8858 -> iso-8859 120 elif "8559" in encoding: 120 elif "8559" in encoding: 121 encoding = encoding.replace("8559", "8859") # iso-8559 -> iso-8859 122 elif "5889" in encoding: 122 elif "5889" in encoding: 123 encoding = encoding.replace("5889", "8859") # iso-5889 -> iso-8859 124 elif "2313" in encoding: 129 # name adjustment for compatibility 130 if encoding.startswith("8859"): 131 encoding = "iso-%s" % encoding 135 encoding = "euc_%s" % encoding[4:] 136 elif encoding.startswith("windows") and not encoding.startswith("windows-"): 137 encoding = "windows-%s" % encoding[7:]FileResourceLoader.java https://github.com/alesj/jboss-modules.git | Java | 290 lines
71 realName = "macosx"; 72 } else if (sysName.startsWith("WINDOWS")) { 73 realName = "win"; 98 } 99 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 100 realArch = "sparcv9";FileResourceLoader.java https://github.com/seijoed/jboss-modules.git | Java | 305 lines
71 realName = "macosx"; 72 } else if (sysName.startsWith("WINDOWS")) { 73 realName = "win"; 98 } 99 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 100 realArch = "sparcv9";MaxPathLength.java https://github.com/GregBowyer/ManagedRuntimeInitiative.git | Java | 220 lines
44 String osName = System.getProperty("os.name"); 45 if (osName.startsWith("Windows")) { 46 isWindows = true; 46 isWindows = true; 47 if (osName.startsWith("Windows 9") || 48 osName.startsWith("Windows Me"))NativeLibraryResourceLoader.java https://github.com/fl4via/jboss-modules.git | Java | 321 lines
62 osName = "macosx"; 63 } else if (sysOs.startsWith("WINDOWS")) { 64 osName = "win"; 114 sysArch = sysArch.toUpperCase(Locale.US); 115 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 116 cpuName = "sparcv9"; 132 cpuName = "armv7a"; 133 } else if (sysArch.startsWith("AARCH64") || sysArch.startsWith("ARM64") || sysArch.startsWith("ARMV8") || sysArch.startsWith("PXA9") || sysArch.startsWith("PXA10")) { 134 hasEndian = true;IJ.java https://github.com/JoshThomas11/AMREGoodyearCSCI.git | Java | 1773 lines
56 osname = System.getProperty("os.name"); 57 isWin = osname.startsWith("Windows"); 58 isMac = !isWin && osname.startsWith("Mac"); 61 String version = System.getProperty("java.version").substring(0,3); 62 if (version.compareTo("2.9")<=0) { // JVM on Sharp Zaurus PDA claims to be "3.1"! 63 isJava2 = version.compareTo("1.1")>0;OS.java https://bitbucket.org/netbeans/main_contrib | Java | 98 lines
67 68 if (osName.startsWith("windows")) { 69 return OS.WINDOWS; 86 if (osName.equals("sunos")) { 87 if (osArch.equals("sparc") || osArch.equals("sparcv9")) 88 platform = "solaris-sparc";BrowserLauncher.java https://github.com/mru00/jade_agents.git | Java | 478 lines
206 } 207 } else if (osName.startsWith("Windows")) { 208 208 209 if (osName.indexOf("9") != -1) { 210 jvm = WINDOWS_9x;TestUtil.java https://github.com/srisatish/openjdk.git | Java | 99 lines
81 static boolean onME() { 82 if (osName.startsWith("Windows")) { 83 if (osName.indexOf("9") > 0) 95 static boolean onWindows() { 96 return osName.startsWith("Windows"); 97 }WindowsFontDirFinder.java https://github.com/apache/pdfbox.git | Java | 134 lines
40 Runtime runtime = Runtime.getRuntime(); 41 if (osName.startsWith("Windows 9")) 42 {BrowserLauncher.java https://github.com/ashortland/rundeck.git | Java | 668 lines
255 } 256 } else if (osName.startsWith("Windows")) { 257 if (osName.indexOf("9") != -1) {OSLabeler.java https://github.com/fujibee/hudson.git | Java | 100 lines
60 result.add("solaris_" + arch + "_" + version); 61 } else if (os.startsWith("windows")) { 62 result.add("windows"); 62 result.add("windows"); 63 if (os.startsWith("windows 9")) { 64 // ugh! windows 9x 68 result.add("windows_95"); 69 } else if (version.startsWith("4.9")) { 70 result.add("windows_ME"); // but could be Windows MEDetectOS.java https://github.com/molgenis/molgenis-legacy.git | Java | 52 lines
19 * unixlike, windows, windowslegacy. This way it is also possible to wrap 20 * multiple types by using eg String.startsWith("windows") or 21 * String.startsWith("unix"). See class for more details and casting 27 28 if (os.indexOf("windows 9") > -1) 29 {FileResourceLoader.java https://github.com/spreadline/jboss-modules.git | Java | 310 lines
73 realName = "macosx"; 74 } else if (sysName.startsWith("WINDOWS")) { 75 realName = "win"; 100 } 101 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 102 realArch = "sparcv9";FontUtilities.java https://bitbucket.org/screenconnect/openjdk8-jdk | Java | 517 lines
91 isSolaris8 = version.startsWith("5.8"); 92 isSolaris9 = version.startsWith("5.9"); 93 float ver = Float.parseFloat(version); 119 } 120 isWindows = osName.startsWith("Windows"); 121 String jreLibDirName = System.getProperty("java.home", "")FileResourceLoader.java https://github.com/stalep/jboss-modules.git | Java | 298 lines
61 realName = "macosx"; 62 } else if (sysName.startsWith("WINDOWS")) { 63 realName = "win"; 88 } 89 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 90 realArch = "sparcv9";Platform.java https://github.com/neosam/gluegen.git | Java | 163 lines
68 69 if ((os_lc.startsWith("windows") && arch_lc.equals("x86")) || 70 (os_lc.startsWith("windows") && arch_lc.equals("arm")) || 81 is32Bit = true; 82 } else if ((os_lc.startsWith("windows") && arch_lc.equals("amd64")) || 83 (os_lc.startsWith("linux") && arch_lc.equals("amd64")) || 87 (os_lc.startsWith("darwin") && arch_lc.equals("x86_64")) || 88 (os_lc.startsWith("sunos_lc") && arch_lc.equals("sparcv9")) || 89 (os_lc.startsWith("sunos_lc") && arch_lc.equals("amd64"))) {FileResourceLoader.java https://github.com/scottmarlow/jboss-modules.git | Java | 303 lines
71 realName = "macosx"; 72 } else if (sysName.startsWith("WINDOWS")) { 73 realName = "win"; 98 } 99 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 100 realArch = "sparcv9";Utility.java https://github.com/thatsmydoing/bluej-colno.git | Java | 1049 lines
277 // catering for stupid differences in Windows shells... 278 if (Config.osname.startsWith("Windows 9") || Config.osname.equals("Windows Me")) // win95/98/Me 279 cmd = "command.com"; 285 // more stupid Windows differences... 286 if (Config.osname.startsWith("Windows 98") || Config.osname.equals("Windows Me")) { 287 Runtime.getRuntime().exec(new String[]{cmd, "/c", "start", '"' + url + '"'});WindowsAttachProvider.java https://github.com/srisatish/openjdk.git | Java | 194 lines
40 String os = System.getProperty("os.name"); 41 if (os.startsWith("Windows 9") || os.equals("Windows Me")) { 42 throw new RuntimeException(NativeLibraryResourceLoader.java https://github.com/stuartwdouglas/jboss-modules.git | Java | 324 lines
65 osName = "macosx"; 66 } else if (sysOs.startsWith("WINDOWS")) { 67 osName = "win"; 117 sysArch = sysArch.toUpperCase(Locale.US); 118 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 119 cpuName = "sparcv9"; 141 cpuName = "armv7a"; 142 } else if (sysArch.startsWith("AARCH64") || sysArch.startsWith("ARM64") || sysArch.startsWith("ARMV8") || sysArch.startsWith("PXA9") || sysArch.startsWith("PXA10")) { 143 hasEndian = true;WinDeviceName.java https://bitbucket.org/screenconnect/openjdk8-jdk | Java | 75 lines
40 String osName = System.getProperty("os.name"); 41 if (!osName.startsWith("Windows")) { 42 return; 53 if ("CLOCK$".equals(devnames[i]) && 54 (osName.startsWith("Windows 9") || 55 osName.startsWith("Windows Me"))) {BrowserLaunchingFactory.java https://github.com/idega/com.idega.app.eplatform.git | Java | 134 lines
97 } 98 else if (osName.startsWith("Windows")) { 99 logger.info("Windows OS"); 99 logger.info("Windows OS"); 100 if (osName.indexOf("9") != -1 || 101 osName.indexOf("Windows Me") != -1) {CPU.java https://github.com/carrot-garden/carrot-jnlper.git | Java | 79 lines
55 String cpu = System.getProperty("os.arch").toLowerCase(); 56 if ((os.startsWith("windows") && cpu.equals("x86")) || 57 (os.startsWith("linux") && cpu.equals("i386")) || 64 is32Bit = true; 65 } else if ((os.startsWith("windows") && cpu.equals("amd64")) || 66 (os.startsWith("linux") && cpu.equals("amd64")) || 68 (os.startsWith("linux") && cpu.equals("ia64")) || 69 (os.startsWith("sunos") && cpu.equals("sparcv9")) || 70 (os.startsWith("sunos") && cpu.equals("amd64"))) {FontUtilities.java https://github.com/ohpauleez/soymacchiato.git | Java | 519 lines
94 isSolaris8 = version.startsWith("5.8"); 95 isSolaris9 = version.startsWith("5.9"); 96 float ver = Float.parseFloat(version); 122 } 123 isWindows = osName.startsWith("Windows"); 124 String jreLibDirName = System.getProperty("java.home", "")OSTools.java https://github.com/neeph/OpenGTSFull.git | Java | 593 lines
71 //Print.logInfo("OS: " + osName); 72 if (osName.startsWith("windows")) { 73 OSType = OS_WINDOWS; 73 OSType = OS_WINDOWS; 74 if (osName.startsWith("windows xp")) { 75 OSType |= OS_WINDOWS_XP; 76 } else 77 if (osName.startsWith("windows 9") || osName.startsWith("windows m")) { 78 OSType |= OS_WINDOWS_9X;WindowsAttachProvider.java https://bitbucket.org/screenconnect/openjdk8-jdk | Java | 179 lines
40 String os = System.getProperty("os.name"); 41 if (os.startsWith("Windows 9") || os.equals("Windows Me")) { 42 throw new RuntimeException(PlatformInfo.java https://bitbucket.org/luchsh/openjdk8-hotspot | Java | 76 lines
47 return "bsd"; 48 } else if (os.startsWith("Windows")) { 49 return "win32"; 61 return cpu; 62 } else if (cpu.equals("sparcv9")) { 63 return "sparc";PlatformInfo.java https://github.com/ohpauleez/soymacchiato.git | Java | 75 lines
47 return "bsd"; 48 } else if (os.startsWith("Windows")) { 49 return "win32"; 61 return cpu; 62 } else if (cpu.equals("sparcv9")) { 63 return "sparc";PlatformInfo.java https://bitbucket.org/jaroslav/hotspot | Java | 83 lines
47 return "bsd"; 48 } else if (os.startsWith("Windows")) { 49 return "win32"; 61 return "x86"; 62 } else if (cpu.equals("sparc") || cpu.equals("sparcv9")) { 63 return "sparc";FontUtilities.java https://bitbucket.org/hamishm/haiku-jdk-jdk | Java | 517 lines
91 isSolaris8 = version.startsWith("5.8"); 92 isSolaris9 = version.startsWith("5.9"); 93 float ver = Float.parseFloat(version); 119 } 120 isWindows = osName.startsWith("Windows"); 121 String jreLibDirName = System.getProperty("java.home", "")PlatformInfo.java https://bitbucket.org/xiaoqiangnk/hotspot-mips | Java | 68 lines
39 return "linux"; 40 } else if (os.startsWith("Windows")) { 41 return "win32"; 53 return cpu; 54 } else if (cpu.equals("sparcv9")) { 55 return "sparc";BrowserLaunchingFactory.java https://github.com/srnsw/xena.git | Java | 127 lines
90 } 91 else if (osName.startsWith("Windows")) { 92 logger.info("Windows OS"); 92 logger.info("Windows OS"); 93 if (osName.indexOf("9") != -1 || 94 osName.indexOf("Windows Me") != -1) {IJ.java https://github.com/imagej/imagej1.git | Java | 2589 lines
85 osname = System.getProperty("os.name"); 86 isWin = osname.startsWith("Windows"); 87 isMac = !isWin && osname.startsWith("Mac"); 99 javaVersion = 6; 100 else if (version.startsWith("1.9")||version.startsWith("9")) 101 javaVersion = 9;WindowsFontDirFinder.java https://bitbucket.org/kubohiroya/fop-formgenerator | Java | 110 lines
39 Runtime runtime = Runtime.getRuntime(); 40 if (osName.startsWith("Windows 9")) { 41 process = runtime.exec("command.com /c echo %windir%");IJ.java https://gitlab.com/jnorthrup1/imagej | Java | 1880 lines
56 osname = System.getProperty("os.name"); 57 isWin = osname.startsWith("Windows"); 58 isMac = !isWin && osname.startsWith("Mac"); 61 String version = System.getProperty("java.version").substring(0,3); 62 if (version.compareTo("2.9")<=0) { // JVM on Sharp Zaurus PDA claims to be "3.1"! 63 isJava2 = version.compareTo("1.1")>0;Platform.java https://github.com/rothwell/gluegen.git | Java | 170 lines
69 70 if ((os_lc.startsWith("windows") && arch_lc.equals("x86")) || 71 (os_lc.startsWith("windows") && arch_lc.equals("arm")) || 82 is32Bit = true; 83 } else if ((os_lc.startsWith("windows") && arch_lc.equals("amd64")) || 84 (os_lc.startsWith("linux") && arch_lc.equals("amd64")) || 88 (os_lc.startsWith("darwin") && arch_lc.equals("x86_64")) || 89 (os_lc.startsWith("sunos_lc") && arch_lc.equals("sparcv9")) || 90 (os_lc.startsWith("sunos_lc") && arch_lc.equals("amd64"))) {Platform.java https://github.com/Domokun/gluegen.git | Java | 253 lines
102 103 if ((os_lc.startsWith("windows") && arch_lc.equals("x86")) || 104 (os_lc.startsWith("windows") && arch_lc.equals("arm")) || 115 return true; 116 } else if ((os_lc.startsWith("windows") && arch_lc.equals("amd64")) || 117 (os_lc.startsWith("linux") && arch_lc.equals("amd64")) || 121 (os_lc.startsWith("darwin") && arch_lc.equals("x86_64")) || 122 (os_lc.startsWith("sunos") && arch_lc.equals("sparcv9")) || 123 (os_lc.startsWith("sunos") && arch_lc.equals("amd64"))) {Platform.java https://github.com/carlo-salinari/gluegen.git | Java | 272 lines
109 110 if ((os_lc.startsWith("windows") && arch_lc.equals("x86")) || 111 (os_lc.startsWith("windows") && arch_lc.equals("arm")) || 122 return true; 123 } else if ((os_lc.startsWith("windows") && arch_lc.equals("amd64")) || 124 (os_lc.startsWith("linux") && arch_lc.equals("amd64")) || 128 (os_lc.startsWith("darwin") && arch_lc.equals("x86_64")) || 129 (os_lc.startsWith("sunos") && arch_lc.equals("sparcv9")) || 130 (os_lc.startsWith("sunos") && arch_lc.equals("amd64"))) {BrowserLauncher.java https://bitbucket.org/nevo/jade.git | Java | 478 lines
206 } 207 } else if (osName.startsWith("Windows")) { 208 208 209 if (osName.indexOf("9") != -1) { 210 jvm = WINDOWS_9x;WFontConfiguration.java https://bitbucket.org/screenconnect/openjdk8-jdk | Java | 253 lines
85 super.setOsNameAndVersion(); 86 if (osName.startsWith("Windows")){ 87 int p, q; 218 subsetEncodingMap.put("japanese", "windows-31j"); 219 subsetEncodingMap.put("korean", "x-windows-949"); 220 subsetEncodingMap.put("latin", "windows-1252");FileResourceLoader.java https://github.com/dwaite/jboss-modules.git | Java | 315 lines
73 realName = "macosx"; 74 } else if (sysName.startsWith("WINDOWS")) { 75 realName = "win"; 100 } 101 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 102 realArch = "sparcv9";FileResourceLoader.java https://github.com/thanhvc/jboss-modules.git | Java | 307 lines
73 realName = "macosx"; 74 } else if (sysName.startsWith("WINDOWS")) { 75 realName = "win"; 100 } 101 if (sysArch.startsWith("SPARCV9") || sysArch.startsWith("SPARC64")) { 102 realArch = "sparcv9";