PageRenderTime 225ms queryFilters 0ms Sphinxql 89ms app.CodeModel.GetByIds 100ms findMatchingLines 19ms GetByIds 119ms meta 0ms repositoryFilters 14ms languageFilters 8ms sourceFilters 4ms

80,567 results for 'startsWith("windows 9")' (225 ms)

Source

Language

Repository

WebAppStat.java https://github.com/captain1896/druid.git | Java | 1,179 lines
605
606        if (userAgent.startsWith("Windows", 13)) {
607            isWindows = true;
800    private void computeUserAgentFirefoxWindowsVersion(String userAgent) {
801        if (userAgent.startsWith("Windows NT 5.1", 13)) {
802            osWindowsXPCount.incrementAndGet();
802            osWindowsXPCount.incrementAndGet();
803        } else if (userAgent.startsWith("Windows NT 5.1", 25)) {
804            osWindowsXPCount.incrementAndGet();
805
806        } else if (userAgent.startsWith("Windows NT 6.0", 13)) {
807            osWindowsVistaCount.incrementAndGet();
808
809        } else if (userAgent.startsWith("Windows NT 6.1", 13)) {
810            osWindows7Count.incrementAndGet();
WebAppStat.java https://github.com/chenleijava/druid.git | Java | 1,179 lines
605
606        if (userAgent.startsWith("Windows", 13)) {
607            isWindows = true;
800    private void computeUserAgentFirefoxWindowsVersion(String userAgent) {
801        if (userAgent.startsWith("Windows NT 5.1", 13)) {
802            osWindowsXPCount.incrementAndGet();
802            osWindowsXPCount.incrementAndGet();
803        } else if (userAgent.startsWith("Windows NT 5.1", 25)) {
804            osWindowsXPCount.incrementAndGet();
805
806        } else if (userAgent.startsWith("Windows NT 6.0", 13)) {
807            osWindowsVistaCount.incrementAndGet();
808
809        } else if (userAgent.startsWith("Windows NT 6.1", 13)) {
810            osWindows7Count.incrementAndGet();
WebAppStat.java https://github.com/chenxi21039/druid.git | Java | 1,179 lines
605
606        if (userAgent.startsWith("Windows", 13)) {
607            isWindows = true;
800    private void computeUserAgentFirefoxWindowsVersion(String userAgent) {
801        if (userAgent.startsWith("Windows NT 5.1", 13)) {
802            osWindowsXPCount.incrementAndGet();
802            osWindowsXPCount.incrementAndGet();
803        } else if (userAgent.startsWith("Windows NT 5.1", 25)) {
804            osWindowsXPCount.incrementAndGet();
805
806        } else if (userAgent.startsWith("Windows NT 6.0", 13)) {
807            osWindowsVistaCount.incrementAndGet();
808
809        } else if (userAgent.startsWith("Windows NT 6.1", 13)) {
810            osWindows7Count.incrementAndGet();
WebAppStat.java https://github.com/cquptlujianbo/druid.git | Java | 1,179 lines
605
606        if (userAgent.startsWith("Windows", 13)) {
607            isWindows = true;
800    private void computeUserAgentFirefoxWindowsVersion(String userAgent) {
801        if (userAgent.startsWith("Windows NT 5.1", 13)) {
802            osWindowsXPCount.incrementAndGet();
802            osWindowsXPCount.incrementAndGet();
803        } else if (userAgent.startsWith("Windows NT 5.1", 25)) {
804            osWindowsXPCount.incrementAndGet();
805
806        } else if (userAgent.startsWith("Windows NT 6.0", 13)) {
807            osWindowsVistaCount.incrementAndGet();
808
809        } else if (userAgent.startsWith("Windows NT 6.1", 13)) {
810            osWindows7Count.incrementAndGet();
Constants.java https://github.com/dev693/swe.git | Java | 366 lines
42		// Initialize OS, JAVAIMPL AND UMLETTYPE variable
43		if (System.getProperty("os.name").toUpperCase().startsWith("WINDOWS")) OS = Os.WINDOWS;
44		else if (System.getProperty("os.name").toUpperCase().startsWith("MAC")) OS = Os.MAC;
Utils.py https://bitbucket.org/jamescrook/audacity.git | Python | 1,035 lines
1#!/usr/bin/env python
2# encoding: utf-8
3# Thomas Nagy, 2005-2018 (ita)
4
5"""
6Utilities and platform-specific fixes
7
8The portability fixes try to provide a consistent behavior of the Waf API
9through Python versions 2.5 to 3.X and across different platforms (win32, linux, etc)
10"""
11
12from __future__ import with_statement
13
14import atexit, os, sys, errno, inspect, re, datetime, platform, base64, signal, functools, time
15
Utils.py https://bitbucket.org/jamescrook/audacity.git | Python | 1,035 lines
1#!/usr/bin/env python
2# encoding: utf-8
3# Thomas Nagy, 2005-2018 (ita)
4
5"""
6Utilities and platform-specific fixes
7
8The portability fixes try to provide a consistent behavior of the Waf API
9through Python versions 2.5 to 3.X and across different platforms (win32, linux, etc)
10"""
11
12from __future__ import with_statement
13
14import atexit, os, sys, errno, inspect, re, datetime, platform, base64, signal, functools, time
15
Utils.py https://bitbucket.org/jamescrook/audacity.git | Python | 1,035 lines
1#!/usr/bin/env python
2# encoding: utf-8
3# Thomas Nagy, 2005-2018 (ita)
4
5"""
6Utilities and platform-specific fixes
7
8The portability fixes try to provide a consistent behavior of the Waf API
9through Python versions 2.5 to 3.X and across different platforms (win32, linux, etc)
10"""
11
12from __future__ import with_statement
13
14import atexit, os, sys, errno, inspect, re, datetime, platform, base64, signal, functools, time
15
Utils.py https://bitbucket.org/jamescrook/audacity.git | Python | 1,035 lines
1#!/usr/bin/env python
2# encoding: utf-8
3# Thomas Nagy, 2005-2018 (ita)
4
5"""
6Utilities and platform-specific fixes
7
8The portability fixes try to provide a consistent behavior of the Waf API
9through Python versions 2.5 to 3.X and across different platforms (win32, linux, etc)
10"""
11
12from __future__ import with_statement
13
14import atexit, os, sys, errno, inspect, re, datetime, platform, base64, signal, functools, time
15
Utils.py https://bitbucket.org/jamescrook/audacity.git | Python | 1,035 lines
1#!/usr/bin/env python
2# encoding: utf-8
3# Thomas Nagy, 2005-2018 (ita)
4
5"""
6Utilities and platform-specific fixes
7
8The portability fixes try to provide a consistent behavior of the Waf API
9through Python versions 2.5 to 3.X and across different platforms (win32, linux, etc)
10"""
11
12from __future__ import with_statement
13
14import atexit, os, sys, errno, inspect, re, datetime, platform, base64, signal, functools, time
15
find_test.py https://github.com/spmurrayzzz/salt.git | Python | 586 lines
1# -*- coding: utf-8 -*-
2
3# Import python libs
4import os
5import sys
6import shutil
7import tempfile
8import stat
9
10# Import Salt Testing libs
11from salttesting import skipIf, TestCase
12from salttesting.helpers import ensure_in_syspath
13ensure_in_syspath('../../')
14
15# Import salt libs
WebToolkit.java https://bitbucket.org/meszarv/webswing.git | Java | 831 lines
99		try {
100			if (!System.getProperty("os.name", "").startsWith("Windows") && !System.getProperty("os.name", "").startsWith("Mac")) {
101				Class<?> c = ClassLoader.getSystemClassLoader().loadClass("sun.awt.X11GraphicsEnvironment");
108		}
109		if (System.getProperty("os.name", "").startsWith("Windows")) {
110			String path = System.getenv("USERPROFILE") + "\\Desktop";
225		} else {
226			if (System.getProperty("os.name", "").startsWith("Windows")) {
227				this.desktopProperties.put("Shell.shellFolderManager", "sun.awt.shell.Win32ShellFolderManager2");
328		this.desktopProperties.put("win.xpstyle.themeActive", true);
329		if (System.getProperty("os.name", "").startsWith("Windows")) {
330			try {
SystemInfo.java https://github.com/alperovich/MPS.git | Java | 87 lines
14  public static final String SUN_DESKTOP = System.getProperty("sun.desktop");
15  public static final boolean isWindows = OS_NAME.startsWith("windows");
16  public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt");
16  public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt");
17  public static final boolean isWindows2000 = OS_NAME.startsWith("windows 2000");
18  public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003");
18  public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003");
19  public static final boolean isWindowsXP = OS_NAME.startsWith("windows xp");
20  public static final boolean isWindowsVista = OS_NAME.startsWith("windows vista");
21  public static final boolean isWindows7 = OS_NAME.startsWith("windows 7");
22  public static final boolean isWindows9x = OS_NAME.startsWith("windows 9") || OS_NAME.startsWith("windows me");
23  public static final boolean isOS2 = OS_NAME.startsWith("os/2") || OS_NAME.startsWith("os2");
find_test.py https://github.com/andrew-vant/salt.git | Python | 589 lines
1# -*- coding: utf-8 -*-
2
3# Import python libs
4from __future__ import absolute_import
5import os
6import sys
7import shutil
8import tempfile
9import stat
10
11# Import Salt Testing libs
12from salttesting import skipIf, TestCase
13from salttesting.helpers import ensure_in_syspath
14ensure_in_syspath('../../')
15
Config.java https://github.com/aolshevskiy/openjdk-fontfix.git | Java | 1,416 lines
732        String osname = getProperty("os.name");
733        if (osname.startsWith("Windows")) {
734            try {
1172                    String osname = System.getProperty("os.name");
1173                    if (osname.startsWith("Windows")) {
1174                        return System.getenv("USERDNSDOMAIN");
1219                    String osname = System.getProperty("os.name");
1220                    if (osname.startsWith("Windows")) {
1221                        String logonServer = System.getenv("LOGONSERVER");
Triple.cpp https://github.com/appleseedhq/windows-deps.git | C++ | 1,630 lines
489    .StartsWith("win32", Triple::Win32)
490    .StartsWith("windows", Triple::Win32)
491    .StartsWith("haiku", Triple::Haiku)
find_test.py https://github.com/arnisoph/salt.git | Python | 589 lines
1# -*- coding: utf-8 -*-
2
3# Import python libs
4from __future__ import absolute_import
5import os
6import sys
7import shutil
8import tempfile
9import stat
10
11# Import Salt Testing libs
12from salttesting import skipIf, TestCase
13from salttesting.helpers import ensure_in_syspath
14ensure_in_syspath('../../')
15
find_test.py https://github.com/avandendorpe/salt.git | Python | 589 lines
1# -*- coding: utf-8 -*-
2
3# Import python libs
4from __future__ import absolute_import
5import os
6import sys
7import shutil
8import tempfile
9import stat
10
11# Import Salt Testing libs
12from salttesting import skipIf, TestCase
13from salttesting.helpers import ensure_in_syspath
14ensure_in_syspath('../../')
15
find_test.py https://github.com/babilen5/salt.git | Python | 594 lines
1# -*- coding: utf-8 -*-
2
3# Import python libs
4from __future__ import absolute_import
5import os
6import sys
7import shutil
8import tempfile
9import stat
10
11# Import Salt Testing libs
12from salttesting import skipIf, TestCase
13from salttesting.helpers import ensure_in_syspath
14ensure_in_syspath('../../')
15
Config.java https://github.com/baratali/jdk8.git | Java | 1,242 lines
697        String osname = getProperty("os.name");
698        if (osname.startsWith("Windows")) {
699            try {
998                    String osname = System.getProperty("os.name");
999                    if (osname.startsWith("Windows")) {
1000                        return System.getenv("USERDNSDOMAIN");
1045                    String osname = System.getProperty("os.name");
1046                    if (osname.startsWith("Windows")) {
1047                        String logonServer = System.getenv("LOGONSERVER");
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21