PageRenderTime 142ms queryFilters 0ms Sphinxql 59ms app.CodeModel.GetByIds 31ms findMatchingLines 30ms GetByIds 61ms meta 0ms repositoryFilters 30ms languageFilters 4ms sourceFilters 13ms

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

Source

Language

Repository

find_test.py https://github.com/clarkperkins/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
SystemInfo.java https://github.com/code-orchestra/code-orchestra-core.git | Java | 282 lines
53  /** @deprecated unsupported (to remove in IDEA 13) */
54  public static final boolean isWindows9x = SystemInfoRt._OS_NAME.startsWith("windows 9") || SystemInfoRt._OS_NAME.startsWith("windows me");
55  /** @deprecated unsupported (to remove in IDEA 13) */
55  /** @deprecated unsupported (to remove in IDEA 13) */
56  public static final boolean isWindowsNT = SystemInfoRt._OS_NAME.startsWith("windows nt");
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 isWindows2000 = SystemInfoRt._OS_NAME.startsWith("windows 2000");
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 isWindows2003 = SystemInfoRt._OS_NAME.startsWith("windows 2003");
61  /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */
61  /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */
62  public static final boolean isWindowsXP = SystemInfoRt._OS_NAME.startsWith("windows xp");
63  /** @deprecated use {@linkplain #OS_VERSION} (to remove in IDEA 13) */
SystemInfo.java https://github.com/code-orchestra/code-orchestra-lcs.git | Java | 109 lines
27
28  public static final boolean isWindows = OS_NAME.startsWith("windows");
29  public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt");
29  public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt");
30  public static final boolean isWindows2000 = OS_NAME.startsWith("windows 2000");
31  public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003");
31  public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003");
32  public static final boolean isWindowsXP = OS_NAME.startsWith("windows xp");
33  public static final boolean isWindowsVista = OS_NAME.startsWith("windows vista");
34  public static final boolean isWindows7 = OS_NAME.startsWith("windows 7");
35  public static final boolean isWindows9x = OS_NAME.startsWith("windows 9") || OS_NAME.startsWith("windows me");
36  public static final boolean isOS2 = OS_NAME.startsWith("os/2") || OS_NAME.startsWith("os2");
SystemInfo.java https://github.com/code-orchestra/colt-build.git | Java | 109 lines
27
28  public static final boolean isWindows = OS_NAME.startsWith("windows");
29  public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt");
29  public static final boolean isWindowsNT = OS_NAME.startsWith("windows nt");
30  public static final boolean isWindows2000 = OS_NAME.startsWith("windows 2000");
31  public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003");
31  public static final boolean isWindows2003 = OS_NAME.startsWith("windows 2003");
32  public static final boolean isWindowsXP = OS_NAME.startsWith("windows xp");
33  public static final boolean isWindowsVista = OS_NAME.startsWith("windows vista");
34  public static final boolean isWindows7 = OS_NAME.startsWith("windows 7");
35  public static final boolean isWindows9x = OS_NAME.startsWith("windows 9") || OS_NAME.startsWith("windows me");
36  public static final boolean isOS2 = OS_NAME.startsWith("os/2") || OS_NAME.startsWith("os2");
Shell.java https://github.com/dbogdanovich/hadoop2-windows-patch.git | Java | 726 lines
282  public static final boolean WINDOWS /* borrowed from Path.WINDOWS */
283                = System.getProperty("hadoop.os.name", "Linux").startsWith("Windows");
284
JobEntryShell.java https://github.com/dbogdanovich/pentaho-kettle.git | Java | 715 lines
1/*! ******************************************************************************
2 *
3 * Pentaho Data Integration
4 *
5 * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
6 *
7 *******************************************************************************
8 *
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with
11 * the License. You may obtain a copy of the License at
12 *
13 *    http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
Compiler.java https://github.com/EdgyIT/appinventor-sources.git | Java | 1,250 lines
735        .replace(YoungAndroidConstants.YAIL_EXTENSION, ".class");
736        if (System.getProperty("os.name").startsWith("Windows")) {
737          classFileName = classesDir.getAbsolutePath()
855          File.separator + "jarsigner");
856      if (System.getProperty("os.name").startsWith("Windows")) {
857        jarsignerFile = new File(javaHome + File.separator + ".." + File.separator + "bin" +
896      zipAlignTool = LINUX_ZIPALIGN_TOOL;
897    } else if (osName.startsWith("Windows")) {
898      zipAlignTool = WINDOWS_ZIPALIGN_TOOL;
1026      aaptTool = LINUX_AAPT_TOOL;
1027    } else if (osName.startsWith("Windows")) {
1028      aaptTool = WINDOWS_AAPT_TOOL;
BoostBuild.py https://github.com/eescanaverino/hmailserver.git | Python | 1,317 lines
92cygwin = hasattr(os, "uname") and os.uname()[0].lower().startswith("cygwin")
93windows = cygwin or os.environ.get("OS", "").lower().startswith("windows")
94
Compiler.java https://github.com/E-Hon/appinventor-sources.git | Java | 1,328 lines
767        .replace(YoungAndroidConstants.YAIL_EXTENSION, ".class");
768        if (System.getProperty("os.name").startsWith("Windows")) {
769          classFileName = classesDir.getAbsolutePath()
888          File.separator + "jarsigner");
889      if (System.getProperty("os.name").startsWith("Windows")) {
890        jarsignerFile = new File(javaHome + File.separator + ".." + File.separator + "bin" +
929      zipAlignTool = LINUX_ZIPALIGN_TOOL;
930    } else if (osName.startsWith("Windows")) {
931      zipAlignTool = WINDOWS_ZIPALIGN_TOOL;
1103      aaptTool = LINUX_AAPT_TOOL;
1104    } else if (osName.startsWith("Windows")) {
1105      aaptTool = WINDOWS_AAPT_TOOL;
appdirs.py https://bitbucket.org/diegobe97/firstdjangoapp.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
appdirs.py https://bitbucket.org/diegobe97/firstdjangoapp.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/inbar_donag_/advisor-pro-server-test.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
appdirs.py https://bitbucket.org/inbar_donag_/advisor-pro-server-test.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/datasciencemlm/mediaassistant.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/datasciencemlm/mediaassistant.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/alevector/instastuff.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
appdirs.py https://bitbucket.org/alevector/instastuff.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/cgillions/classification.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 api 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
appdirs.py https://bitbucket.org/cgillions/classification.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 api 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/suryanshsoni/aas.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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21