PageRenderTime 164ms queryFilters 0ms Sphinxql 59ms app.CodeModel.GetByIds 57ms findMatchingLines 28ms GetByIds 85ms meta 0ms repositoryFilters 29ms languageFilters 1ms sourceFilters 8ms

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

Source

Language

Repository

appdirs.py https://bitbucket.org/RperezF/idp.git | Python | 552 lines
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3# Copyright (c) 2005-2010 ActiveState Software Inc.
4# Copyright (c) 2013 Eddy Petrișor
5
6"""Utilities for determining application-specific dirs.
7
8See <http://github.com/ActiveState/appdirs> for details and usage.
9"""
10# Dev Notes:
11# - MSDN on where to store app data files:
12#   http://support.microsoft.com/default.aspx?scid=kb;en-us;310294#XSLTH3194121123120121120120
13# - Mac OS X: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/index.html
14# - XDG spec for Un*x: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
15
appdirs.py https://bitbucket.org/winsold/python-telegram_bot.git | Python | 552 lines
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3# Copyright (c) 2005-2010 ActiveState Software Inc.
4# Copyright (c) 2013 Eddy Petrișor
5
6"""Utilities for determining application-specific dirs.
7
8See <http://github.com/ActiveState/appdirs> for details and usage.
9"""
10# Dev Notes:
11# - MSDN on where to store app data files:
12#   http://support.microsoft.com/default.aspx?scid=kb;en-us;310294#XSLTH3194121123120121120120
13# - macOS: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/index.html
14# - XDG spec for Un*x: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
15
RBusinessManager.java https://github.com/bioclipse/bioclipse.statistics.git | Java | 661 lines
187            	pr = rt.exec(new String[] { "bash", "-c", command });
188            else if (OS.startsWith("Windows")) {
189            	String prog = R_HOME + "\\bin\\" + "R";
227    private boolean runRCmd(String Rcommand) {
228    	if (OS.startsWith("Windows")) {
229    		Rcommand = Rcommand.replace("R -e \"", "");
242    	runRCmd("R -e \"getRversion()\" -s");
243    	int st = compare(status.substring(5, (status.length() - 2)), "2.12.9");
244		if (st < 0) {
274				rPluginPath = FileUtil.getFilePath("bc2r_1.0.tar.gz", "net.bioclipse.r.business");
275				if (OS.startsWith("Windows")) {
276					rPluginPath = rPluginPath.substring(1).replace(fileseparator, "/");
359			}
360		} else if (OS.startsWith("Windows")) {
361			if (path == null) {
Triple.cpp git://git.minix3.org/minix | C++ | 1,097 lines
353    .StartsWith("win32", Triple::Win32)
354    .StartsWith("windows", Triple::Win32)
355    .StartsWith("haiku", Triple::Haiku)
Config.java https://bitbucket.org/weijun/jdk8-tl-jdk | Java | 1,325 lines
680                        new sun.security.action.GetPropertyAction("os.name"));
681                if (osname.startsWith("Windows")) {
682                    try {
1101                    String osname = System.getProperty("os.name");
1102                    if (osname.startsWith("Windows")) {
1103                        return System.getenv("USERDNSDOMAIN");
1148                    String osname = System.getProperty("os.name");
1149                    if (osname.startsWith("Windows")) {
1150                        String logonServer = System.getenv("LOGONSERVER");
Config.java https://bitbucket.org/hamishm/haiku-jdk-jdk | Java | 1,315 lines
672                        new sun.security.action.GetPropertyAction("os.name"));
673                if (osname.startsWith("Windows")) {
674                    try {
1091                    String osname = System.getProperty("os.name");
1092                    if (osname.startsWith("Windows")) {
1093                        return System.getenv("USERDNSDOMAIN");
1138                    String osname = System.getProperty("os.name");
1139                    if (osname.startsWith("Windows")) {
1140                        String logonServer = System.getenv("LOGONSERVER");
Program.cs https://github.com/rhomobile/rhodes.git | C# | 137 lines
65                    cDevice = UWPSDK.GetConnectableDevices(false).First(d => d.Name.StartsWith("Device") || d.Name.StartsWith("Windows Phone 10 Device") || 
66                    d.Name.StartsWith("Windows Phone Device") || d.Name.StartsWith("Windows phone"));
67            }
Utils.py https://github.com/engla/kupfer.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://repo.or.cz/Samba.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
Program.cs git://github.com/rhomobile/rhodes.git | C# | 137 lines
65                    cDevice = UWPSDK.GetConnectableDevices(false).First(d => d.Name.StartsWith("Device") || d.Name.StartsWith("Windows Phone 10 Device") || 
66                    d.Name.StartsWith("Windows Phone Device") || d.Name.StartsWith("Windows phone"));
67            }
Builder.java git://github.com/bigbluebutton/bigbluebutton.git | Java | 809 lines
311        String text = "";
312        boolean windows = platform.startsWith("windows");
313        for (String s : command) {
Simulation.java https://github.com/abinit/abinitgui.git | Java | 434 lines
190
191        if (isLocalMachine && Utils.osName().startsWith("Windows")) {
192            mf.printERR("Please connect to a remote host before submitting a simulation on Windows platform !");
293                    || isRemoteAbinitMachine) {
294                if (Utils.osName().startsWith("Windows")) {
295                    mach.sendCommand("dos2unix " + inputFileR, mf);
351
352                if (Utils.osName().startsWith("Windows")) {
353                    Utils.dos2unix(new File(configFile));
357
358                //if (Utils.osName().startsWith("Windows")) {
359                //    sendCommand("dos2unix " + configFileR);
379
380                    if (Utils.osName().startsWith("Windows")) {
381                        mach.sendCommand("dos2unix " + sgeSHFileR, mf);
Program.cs https://github.com/abmahmoodi/rhodes.git | C# | 117 lines
57            if (useEmulator)
58           //     WP8Device = WP8SDK.GetDevices().First(d => d.Name.StartsWith("Windows Phone Emulator") || d.Name.StartsWith("Windows Phone 8 Emulator"));
59                WP8Device = WP8SDK.GetDevices().First(d => d.Name.StartsWith("Emulator WVGA"));
60            else
61                WP8Device = WP8SDK.GetDevices().First(d => d.Name.StartsWith("Windows Phone Device") || d.Name.StartsWith("Windows Phone 8 Device") || d.Name.StartsWith("Device"));
62
basic.py https://github.com/akoserwal/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:]
Utilities.java https://github.com/akuhtz/swingx.git | Java | 977 lines
153                operatingSystem = OS_WIN2000;
154            } else if (osName.startsWith("Windows ")) { // NOI18N
155                operatingSystem = OS_WIN_OTHER;
SdkConstants.java https://github.com/Angelcold/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$
SweetHome3DBootstrap.java https://github.com/arturo-mayorga/sh3d.git | Java | 166 lines
147    String applicationClassName = "com.eteks.sweethome3d.SweetHome3D";
148    ClassLoader java3DClassLoader = operatingSystemName.startsWith("Windows")
149        ? new ExtensionsClassLoader(
SdkConstants.java https://github.com/atsoi/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$
basic.py https://github.com/bashb0y/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:]
Platform.java https://github.com/biwin-wangli/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;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21