PageRenderTime 208ms queryFilters 0ms Sphinxql 60ms app.CodeModel.GetByIds 76ms findMatchingLines 36ms GetByIds 112ms meta 0ms repositoryFilters 9ms languageFilters 0ms sourceFilters 5ms

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

Source

Language

Repository

find_test.py https://github.com/belvedere-trading/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
Util.java https://github.com/eduardogreco/jabref.git | Java | 3,514 lines
703		String cmd;
704		if (Globals.osName.startsWith("Windows 9")) {
705			cmd = "command.com /c start " + link;
Util.java https://github.com/edukempf/jabref.git | Java | 3,514 lines
703		String cmd;
704		if (Globals.osName.startsWith("Windows 9")) {
705			cmd = "command.com /c start " + link;
WebShellFolderManager.java https://bitbucket.org/isharasamantha/webswing.git | Java | 217 lines
41		}
42		windows = System.getProperty("os.name", "").startsWith("Windows");
43
WebShellFolderManager.java https://bitbucket.org/manishgarg90/webswing.git | Java | 217 lines
41		}
42		windows = System.getProperty("os.name", "").startsWith("Windows");
43
Processor.java https://github.com/carrot-garden/osgi_bnd.git | Java | 1,781 lines
1528			String sysPropOsVersion = System.getProperty("os.version");
1529			if (sysPropOsName.startsWith("Windows")) {
1530				if (sysPropOsVersion.startsWith("6.2")) {
find_test.py https://github.com/patrickw-nf/salt.git | Python | 564 lines
1# Import python libs
2import os
3import sys
4import shutil
5import tempfile
6import stat
7
8# Import salt libs
9import salt.utils
10import salt.utils.find
11from saltunittest import TestCase, TestLoader, TextTestRunner, skipIf
12
13
14class TestFind(TestCase):
15
Main.java https://bitbucket.org/LucaREz/alchemistwithosm | Java | 1,165 lines
804            platform = new PlatformHookUnixoid();
805        } else if (os.toLowerCase().startsWith("windows")) {
806            platform = new PlatformHookWindows();
basic.py https://gitlab.com/qiusct/sqlmap-im.git | Python | 320 lines
151    if "8858" in encoding:
152        encoding = encoding.replace("8858", "8859")  # iso-8858 -> iso-8859
153    elif "8559" in encoding:
153    elif "8559" in encoding:
154        encoding = encoding.replace("8559", "8859")  # iso-8559 -> iso-8859
155    elif "5889" in encoding:
155    elif "5889" in encoding:
156        encoding = encoding.replace("5889", "8859")  # iso-5889 -> iso-8859
157    elif "5589" in encoding:
157    elif "5589" in encoding:
158        encoding = encoding.replace("5589", "8859")  # iso-5589 -> iso-8859
159    elif "2313" in encoding:
172        encoding = "euc_%s" % encoding[4:]
173    elif encoding.startswith("windows") and not encoding.startswith("windows-"):
174        encoding = "windows-%s" % encoding[7:]
SdkConstants.java https://gitlab.com/ROM-PacMe/android_sdk.git | Java | 508 lines
446        String cmd = "android";                             //$NON-NLS-1$
447        if (os.startsWith("Windows")) {                     //$NON-NLS-1$
448            cmd += ".bat";                                  //$NON-NLS-1$
457        String cmd = "mksdcard";                            //$NON-NLS-1$
458        if (os.startsWith("Windows")) {                     //$NON-NLS-1$
459            cmd += ".exe";                                  //$NON-NLS-1$
473            return PLATFORM_DARWIN;
474        } else if (os.startsWith("Windows")) {              //$NON-NLS-1$
475            return PLATFORM_WINDOWS;
491            return "Mac OS X";                              //$NON-NLS-1$
492        } else if (os.startsWith("Windows")) {              //$NON-NLS-1$
493            return "Windows";                               //$NON-NLS-1$
Node.java https://github.com/freenet/legacy.git | Java | 5,311 lines
225		sysName = sysName.toLowerCase();
226		if (sysName.startsWith("windows")) {
227			maxFileDefault = 1024;
228			// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt__setmaxstdio.asp
229			if (sysName.startsWith("windows ce"))
230				isWinCE = true;
230				isWinCE = true;
231			else if (sysName.startsWith("windows 95")) {
232				isWin95 = true;
235			} else if (
236				sysName.startsWith("windows 98")
237					|| (sysName.startsWith("windows")
238						&& (sysName.indexOf("millennium") != -1))
239					|| (sysName.startsWith("windows me"))) {
240				// Detected Windows 9X
basic.py https://github.com/0x337/sqlmap.git | Python | 320 lines
151    if "8858" in encoding:
152        encoding = encoding.replace("8858", "8859")  # iso-8858 -> iso-8859
153    elif "8559" in encoding:
153    elif "8559" in encoding:
154        encoding = encoding.replace("8559", "8859")  # iso-8559 -> iso-8859
155    elif "5889" in encoding:
155    elif "5889" in encoding:
156        encoding = encoding.replace("5889", "8859")  # iso-5889 -> iso-8859
157    elif "5589" in encoding:
157    elif "5589" in encoding:
158        encoding = encoding.replace("5589", "8859")  # iso-5589 -> iso-8859
159    elif "2313" in encoding:
172        encoding = "euc_%s" % encoding[4:]
173    elif encoding.startswith("windows") and not encoding.startswith("windows-"):
174        encoding = "windows-%s" % encoding[7:]
SdkConstants.java https://github.com/88oio/buck.git | Java | 1,138 lines
459        String cmd = "android";                             //$NON-NLS-1$
460        if (os.startsWith("Windows")) {                     //$NON-NLS-1$
461            cmd += ".bat";                                  //$NON-NLS-1$
470        String cmd = "mksdcard";                            //$NON-NLS-1$
471        if (os.startsWith("Windows")) {                     //$NON-NLS-1$
472            cmd += ".exe";                                  //$NON-NLS-1$
486            return PLATFORM_DARWIN;
487        } else if (os.startsWith("Windows")) {              //$NON-NLS-1$
488            return PLATFORM_WINDOWS;
504            return "Mac OS X";                              //$NON-NLS-1$
505        } else if (os.startsWith("Windows")) {              //$NON-NLS-1$
506            return "Windows";                               //$NON-NLS-1$
ClustepDiag.java https://github.com/abinit/abinitgui.git | Java | 1,170 lines
406            public void run() {
407                if (MF.localAbinitRadioButton().isSelected() && Utils.osName().startsWith("Windows")) {
408                    MF.printERR("Please connect to a remote CLUSTEP host before submitting a simulation !");
665                    if (MF.remoteGatewayRadioButton().isSelected() || MF.remoteAbinitRadioButton().isSelected()) {
666                        if (Utils.osName().startsWith("Windows")) {
667                            Utils.dos2unix(new File(inputFile));
672                    //                    if (remoteGatewayRadioButton.isSelected() || remoteAbinitRadioButton.isSelected()) {
673                    //                        if (Utils.osName().startsWith("Windows")) {
674                    //                            sendCommand("dos2unix " + inputFileR);
681                    if (MF.remoteGatewayRadioButton().isSelected() || MF.remoteAbinitRadioButton().isSelected()) {
682                        if (Utils.osName().startsWith("Windows")) {
683                            Utils.dos2unix(new File(positionFile));
688                    //                    if (remoteGatewayRadioButton.isSelected() || remoteAbinitRadioButton.isSelected()) {
689                    //                        if (Utils.osName().startsWith("Windows")) {
690                    //                            sendCommand("dos2unix " + positionFileR);
PlayerSessionManager.java https://github.com/adufilie/flex-sdk.git | Java | 1,135 lines
209		}
210		else if (osName.startsWith("windows")) //$NON-NLS-1$
211		{
Platform.java https://github.com/amergey/jna.git | Java | 287 lines
68        }
69        else if (osName.startsWith("Windows CE")) {
70            osType = WINDOWSCE;
71        }
72        else if (osName.startsWith("Windows")) {
73            osType = WINDOWS;
Platform.java https://github.com/AmesianX/jna.git | Java | 287 lines
68        }
69        else if (osName.startsWith("Windows CE")) {
70            osType = WINDOWSCE;
71        }
72        else if (osName.startsWith("Windows")) {
73            osType = WINDOWS;
librat.py https://github.com/anarisris/esa-beam.git | Python | 2,520 lines
1#
2# Copyright (C) 2010-2014 Netcetera Switzerland (info@netcetera.com)
3# 
4# This program is free software; you can redistribute it and/or modify it
5# under the terms of the GNU General Public License as published by the Free
6# Software Foundation; either version 3 of the License, or (at your option)
7# any later version.
8# This program is distributed in the hope that it will be useful, but WITHOUT
9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11# more details.
12# 
13# You should have received a copy of the GNU General Public License along
14# with this program; if not, see http://www.gnu.org/licenses/
15# 
find_test.py https://github.com/andreasgerstmayr/salt.git | Python | 561 lines
1import os
2import sys
3import shutil
4import tempfile
5import stat
6import platform
7from saltunittest import TestCase, TestLoader, TextTestRunner, skipIf
8
9import salt.utils.find
10
11
12class TestFind(TestCase):
13
14    def test_parse_interval(self):
15        self.assertRaises(ValueError, salt.utils.find._parse_interval, 'w')
Triple.cpp https://github.com/AntiMoron/llvm.git | C++ | 1,003 lines
285    .StartsWith("win32", Triple::Win32)
286    .StartsWith("windows", Triple::Win32)
287    .StartsWith("haiku", Triple::Haiku)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21