28+ results for '.startswith("windows 9"' (0 ms)
Not the results you expected?
EnvironmentUtil.java (https://github.com/oberlies/tycho.git) Java · 114 lines
StoreAppFactory.cs (https://github.com/Klocman/Bulk-Crap-Uninstaller.git) C# · 108 lines
DefaultProvider.java (https://github.com/openjdk/jdk.git) Java · 94 lines
OperatingSystem.java (https://github.com/MyCATApache/Mycat-Server.git) Java · 145 lines
SimpleConfiguration.java (https://github.com/luntain/vrapper.git) Java · 66 lines
PingConfigLoader.java (http://xerela.googlecode.com/svn/trunk/) Java · 160 lines
FileSystem.java (https://github.com/jexp/idea2.git) Java · 106 lines
not-found.component.ts (https://github.com/cyph/cyph.git) TypeScript · 103 lines
OperatingSystem.java (https://github.com/tongcheng-elong/flink.git) Java · 154 lines
OperatingSystems.java (git://github.com/jclouds/jclouds.git) Java · 93 lines
45 else if (description.startsWith(RHEL)) return OsFamily.RHEL;
46 else if (description.startsWith(UBUNTU)) return OsFamily.UBUNTU;
47 else if (description.startsWith(WINDOWS)) return OsFamily.WINDOWS;
48 else if (description.startsWith(CLOUD_LINUX)) return OsFamily.CLOUD_LINUX;
49 else if (description.startsWith(VYATTACE)) return OsFamily.LINUX;
LocalNetwork.java (https://github.com/WeBankFinTech/Qualitis.git) Java · 80 lines
FileSystem.java (git://github.com/JetBrains/intellij-community.git) Java · 112 lines
GridRowCtx.java (https://bitbucket.org/idempiere/idempiere/) Java · 240 lines
Uri.kt (https://github.com/TeamCodeStream/CodeStream.git) Kotlin · 54 lines
GoPathContext.java (https://github.com/SonarSource/sonar-go.git) Java · 108 lines
UDPListener.cs (https://github.com/cqjjjzr/WindowsGoodbye.git) C# · 92 lines
65 var info = Encoding.UTF8.GetString(buffer.ToArray());
66 if (info.StartsWith(WindowsGoodbyeAuthTask.DeviceAlivePrefix) &&
67 info.Length > WindowsGoodbyeAuthTask.DeviceAlivePrefix.Length)
68 {
73 if (session != null) session.Status = DeviceStatus.Established;
74 WindowsGoodbyeAuthTask.findAuth = false;
75 } else if (info.StartsWith(WindowsGoodbyeAuthTask.AuthResponsePrefix) &&
76 info.Length > WindowsGoodbyeAuthTask.AuthResponsePrefix.Length)
77 {
EnvironmentUtil.java (https://github.com/jsievers/sonatype-tycho.git) Java · 80 lines
PathUtils.java (https://bitbucket.org/daigua/diablo.git) Java · 24 lines
ProjectUtils.java (https://github.com/alaksh10/phresco.git) Java · 120 lines
OperatingSystem.java (https://github.com/bjoernlohrmann/nephele-streaming.git) Java · 143 lines
OperatingSystemType.java (https://github.com/dreedyman/Rio.git) Java · 130 lines
103 public static boolean isWindows() {
104 String opSys = System.getProperty("os.name");
105 return opSys.startsWith(WINDOWS);
106 }
114 public static boolean isWindows2K() {
115 String opSys = System.getProperty("os.name");
116 return opSys.startsWith(WINDOWS_2K);
117 }
125 public static boolean isWindowsXP() {
126 String opSys = System.getProperty("os.name");
127 return opSys.startsWith(WINDOWS_XP);
128 }
BrowserLauncher.java (https://github.com/harrisonrw/Dyna.git) Java · 91 lines
BinarySelector.java (https://bitbucket.org/muxa/conesc.git) Java · 89 lines
PlatformUtils.java (https://github.com/ayasuda2003/docwaza.git) Java · 161 lines
FlexUnitLauncher.java (https://github.com/jhabegger/flexunit.git) Java · 94 lines
OperatingSystemType.java (https://github.com/jramsdale/Rio.git) Java · 167 lines
108 public static boolean isWindows() {
109 String opSys = System.getProperty("os.name");
110 return (opSys.startsWith(WINDOWS));
111 }
119 public static boolean isWindows2K() {
120 String opSys = System.getProperty("os.name");
121 return (opSys.startsWith(WINDOWS_2K));
122 }
130 public static boolean isWindowsXP() {
131 String opSys = System.getProperty("os.name");
132 return (opSys.startsWith(WINDOWS_XP));
133 }
WindowState.ts (https://github.com/android/platform_development.git) TypeScript · 127 lines
27 const identifierName = proto.windowContainer.identifier?.title ?? proto.identifier?.title ?? ""
28 var windowType = 0
29 if (identifierName.startsWith(WindowState.STARTING_WINDOW_PREFIX)) {
30 windowType = WindowState.WINDOW_TYPE_STARTING
31 } else if (proto.animatingExit) {
32 windowType = WindowState.WINDOW_TYPE_EXITING
33 } else if (identifierName.startsWith(WindowState.DEBUGGER_WINDOW_PREFIX)) {
34 windowType = WindowState.WINDOW_TYPE_STARTING
35 }
37 var nameOverride = identifierName
39 if (identifierName.startsWith(WindowState.STARTING_WINDOW_PREFIX)) {
40 nameOverride = identifierName.substring(WindowState.STARTING_WINDOW_PREFIX.length)
41 } else if (identifierName.startsWith(WindowState.DEBUGGER_WINDOW_PREFIX)) {