Home
last modified time | relevance | path

Searched +full:pypy +full:- +full:c (Results 1 – 25 of 65) sorted by relevance

123

/external/python/oauth2client/docs/
Dindex.rst6 ``oauth2client`` makes it easy to interact with OAuth2-protected resources,
12 ---------------
16 .. code-block:: bash
18 $ pip install --upgrade oauth2client
22 .. code-block:: bash
28 Using ``pypy``
29 --------------
31 - In order to use crypto libraries (e.g. for service accounts) you will
33 - Using ``pycrypto`` with ``pypy`` will be in general problematic. If
35 attempt to build ``_fastmath.c``. However, this file uses CPython
[all …]
/external/grpc-grpc/summerofcode/2016/
Dsiddharth_shukla.md14 - [CPython](https://www.python.org/): The reference implementation
15 - [Jython](http://www.jython.org/): Python implemented in Java
16 - [Python for .NET](http://pythonnet.sourceforge.net/): CPython implementation that enables .NET li…
17 - [IronPython](http://ironpython.net/): Python implemented in .NET
18 - [PyPy](http://pypy.org/): Python implemented completely in Python
19 - [Stackless](https://bitbucket.org/stackless-dev/stackless/wiki/Home): Replaces the dependency for…
26 PyPy implementation. Special changes were required to enable PyPy
27 support because PyPy has a non-deterministic garbage collector that does
33 Python 3.x and PyPy compatible.
38 - [Enable py35 and py36 testing](https://github.com/grpc/grpc/commit/c478214e475e103c5cdf477f0adc18…
[all …]
/external/grpc-grpc/tools/profiling/perf/
Drun_perf_unconstrained.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 # $ echo '{...}' | python -mjson.tool
18 read -r -d '' SCENARIOS_JSON_ARG <<'EOF'
51 "spawn_local_worker_count": -2
58 set -ex
62 CPUS=`python -c 'import multiprocessing; print multiprocessing.cpu_count()'`
64 # try to use pypy for generating reports
65 # each trace dumps 7-8gig of text to disk, and processing this into a report is
66 # heavyweight - so any speed boost is worthwhile
67 # TODO(ctiller): consider rewriting report generation in C++ for performance
[all …]
/external/grpc-grpc/tools/internal_ci/linux/
Drun_performance_profile_daily.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
20 # try to use pypy for generating reports
21 # each trace dumps 7-8gig of text to disk, and processing this into a report is
22 # heavyweight - so any speed boost is worthwhile
23 # TODO(ctiller): consider rewriting report generation in C++ for performance
24 if which pypy >/dev/null; then
25 PYTHON=pypy
34 $PYTHON tools/run_tests/run_microbenchmark.py --collect summary perf latency -b $BENCHMARKS_TO_RUN
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/
DCHANGES19 *) Lifted max restrictions for pypy versions. Added pypy3 support.
25 *) Added support for pypy 2.2
43 mark (-b)
45 *) Added command line option for disabling the C implemention (-p)
56 *) Fix inconsistency between Python and C (Python implementation was buggy).
66 *) Added support for pypy (1.9, 2.0)
80 *) Collapsion protection was reduced to "+ +" and "- -" sequences (which
86 *) "+ ++" and "- --" sequences are no longer collapsed. They were before,
106 *) Add C extension reimplementing the regex from rjsmin.py
DCLASSIFIERS1 Development Status :: 5 - Production/Stable
7 Programming Language :: C
13 Programming Language :: Python :: Implementation :: PyPy
/external/selinux/
D.travis.yml2 language: c
8 - clang
9 - gcc
14 - PYVER=python3.7 RUBYLIBVER=2.6
15 - PYVER=python3.7 RUBYLIBVER=2.6 TEST_FLAGS_OVERRIDE=1
16 - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
17 - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
20 - PYVER=python2.7 RUBYLIBVER=2.6
21 - PYVER=python3.5 RUBYLIBVER=2.6
22 - PYVER=python3.6 RUBYLIBVER=2.6
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/_cython/
DREADME.rst7 ---------------
10 with C types and a tool that transpiles this superset into C code. It provides
13 Python/C interop by allowing fluid use of APIs in both from the same source.
17 -----------
19 - **Python 2 and 3 support**
20 Cython generated C code has precompiler macros to target both Python 2 and
21 Python 3 C APIs, even while acting as a superset of just the Python 2
23 - **Significantly less semantic noise**
24 A lot of CPython code is just glue, especially human-error-prone
25 ``Py_INCREF``-ing and ``Py_DECREF``-ing around error handlers and such.
[all …]
/external/grpc-grpc/tools/gce/
Dlinux_performance_worker_init.sh8 # http://www.apache.org/licenses/LICENSE-2.0
20 set -ex
22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
30 autotools-dev \
31 build-essential \
36 gcc-multilib \
41 libc6-dbg \
[all …]
Dlinux_kokoro_performance_worker_init.sh8 # http://www.apache.org/licenses/LICENSE-2.0
20 set -ex
22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
30 autotools-dev \
31 build-essential \
36 gcc-multilib \
41 libc6-dbg \
[all …]
/external/python/cpython2/Doc/reference/
Dintroduction.rst15 tried to re-implement Python from this document alone, you might have to guess
20 language, maybe you could volunteer your time --- or invent a cloning machine
21 :-).
24 document --- the implementation may change, and other implementations of the
31 Every Python implementation comes with a number of built-in and standard
32 modules. These are documented in :ref:`library-index`. A few built-in modules
49 This is the original and most-maintained implementation of Python, written in C.
70 PyPy
76 available on `the PyPy project's home page <http://pypy.org/>`_.
80 standard Python documentation. Please refer to the implementation-specific
/external/python/cpython3/Doc/reference/
Dintroduction.rst15 tried to re-implement Python from this document alone, you might have to guess
20 language, maybe you could volunteer your time --- or invent a cloning machine
21 :-).
24 document --- the implementation may change, and other implementations of the
32 Every Python implementation comes with a number of built-in and standard
33 modules. These are documented in :ref:`library-index`. A few built-in modules
50 This is the original and most-maintained implementation of Python, written in C.
71 PyPy
77 available on `the PyPy project's home page <http://pypy.org/>`_.
81 standard Python documentation. Please refer to the implementation-specific
/external/scapy/scapy/arch/
Dcommon.py3 ## Copyright (C) Philippe Biondi <phil@secdev.org>
40 """Get old-format BPF Pointer. Deprecated"""
47 # Thanks to http://www.netprojects.de/scapy-with-pypy-solved/ for the pypy trick
/external/scapy/.travis/
Dtest.sh3 python -c 'import sys; print("sys.path:" , sys.path)'
6 …python -c 'import '$DEPENDENCY'; print("'$DEPENDENCY': "+str(getattr('$DEPENDENCY', "__version__",…
7 echo "----"
15 python --version
16 python -c "from scapy.all import *; print(conf)"
19 if [ -z "$SCAPY_SUDO" -o "$SCAPY_SUDO" = "false" ]
21 UT_FLAGS="-K netaccess -K needs_root -K manufdb"
24 SCAPY_SUDO="$SCAPY_SUDO -H"
29 UT_FLAGS+=" -K not_pcapdnet"
32 UT_FLAGS+=" -K ipv6"
[all …]
Dinstall.sh1 PIP=`which pip || (python --version 2>&1 | grep -q 'Python 2' && which pip2) || (python --version 2…
4 if [ -z "$SCAPY_SUDO" -o "$SCAPY_SUDO" = "false" ]
9 PIP_INSTALL_FLAGS="--user"
12 SCAPY_SUDO="$SCAPY_SUDO -H"
15 $SCAPY_SUDO $PIP install $PIP_INSTALL_FLAGS -U mock
17 if python --version 2>&1 | grep -q '^Python 3\.[0123]'
20 $SCAPY_SUDO $PIP install $PIP_INSTALL_FLAGS -U enum34
23 if ! python --version 2>&1 | grep -q PyPy; then
24 # cryptography requires PyPy >= 2.6, Travis CI uses 2.5.0
25 $SCAPY_SUDO $PIP install $PIP_INSTALL_FLAGS -U cryptography
[all …]
/external/protobuf/python/google/protobuf/internal/
Dapi_implementation.py1 # Protocol Buffers - Google's data interchange format
3 # https://developers.google.com/protocol-buffers/
39 # pylint: disable=g-import-not-at-top
41 # The compile-time constants in the _api_implementation module can be used to
46 _api_version = -1 # Unspecified by compiler flags.
56 # pylint: disable=g-import-not-at-top
65 if sys.version_info[0] >= 3: # Python 3 defaults to C++ impl v2.
67 # TODO(b/17427486): Make Python 2 default to C++ impl v2.
73 # of the Python API, overriding the compile-time constants in the
82 if 'PyPy' in sys.version and _implementation_type == 'cpp':
[all …]
/external/python/httplib2/tests/
Dtest_other.py56 http.request("http://random-domain:81/", connection_type=tests.MockHTTPConnection)
58 assert tuple(http.connections) == ("http:random-domain:81",)
138 c = httplib2.HTTPSConnectionWithTimeout("localhost", 80, timeout=47)
139 assert 47 == c.timeout
156 for c in http.connections.values():
157 assert c.sock is not None
166 response = {"content-type": "application/atom+xml", "te": "deflate"}
168 assert "content-type" in end2end
174 "connection": "content-type",
175 "content-type": "application/atom+xml",
[all …]
/external/python/cpython2/Lib/test/
Dtest_platform.py16 cmd = [python, '-c',
114 ("2.7.4 (IronPython 2.7.4 (2.7.0.40) on Mono 4.0.30319.1 (32-bit))", None, "cli")
117 "Mono 4.0.30319.1 (32-bit)"),
125 ("2.5.2 (63378, Mar 26 2009, 18:03:29)\n[PyPy 1.0.0]",
126 ('PyPy', 'trunk', '63378'), self.save_platform)
128 ("PyPy", "2.5.2", "trunk", "63378", ('63378', 'Mar 26 2009'),
164 # http://blogs.msdn.com/david.wang/archive/2006/03/26/HOWTO-Detect-Process-Bitness.aspx
205 real_ver = ln.strip().split()[-1]
211 len_diff = len(result_list) - len(expect_list)
260 f.write(b'x'*(16384-10))
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/docs/
DCLASSIFIERS1 Development Status :: 5 - Production/Stable
7 Programming Language :: C
13 Programming Language :: Python :: Implementation :: PyPy
/external/python/cpython3/Lib/test/
Dtest_platform.py31 cmd = [python, '-c',
137 ("2.7.4 (IronPython 2.7.4 (2.7.0.40) on Mono 4.0.30319.1 (32-bit))", None, "cli")
140 "Mono 4.0.30319.1 (32-bit)"),
148 ("2.5.2 (63378, Mar 26 2009, 18:03:29)\n[PyPy 1.0.0]",
149 ('PyPy', 'trunk', '63378'), self.save_platform)
151 ("PyPy", "2.5.2", "trunk", "63378", ('63378', 'Mar 26 2009'),
193 # http://blogs.msdn.com/david.wang/archive/2006/03/26/HOWTO-Detect-Process-Bitness.aspx
227 real_ver = ln.strip().split()[-1]
233 len_diff = len(result_list) - len(expect_list)
289 f.write(b'x'*(16384-10))
[all …]
/external/python/cpython3/Lib/
Dplatform.py3 """ This module tries to retrieve as much platform-identifying data as
11 # This module is maintained by Marc-Andre Lemburg <mal@egenix.com>.
16 # * support for MS-DOS (PythonDX ?)
20 # Many thanks to all those who helped adding platform-specific
35 # 1.0.8 - changed Windows support to read version from kernel32.dll
36 # 1.0.7 - added DEV_NULL
37 # 1.0.6 - added linux_distribution()
38 # 1.0.5 - fixed Java support to allow running the module on Jython
39 # 1.0.4 - added IronPython support
40 # 1.0.3 - added normalization of Windows system name
[all …]
/external/python/dateutil/
Dtox.ini8 pypy,
19 commands = python -m pytest -m "not xfail" {posargs: "{toxinidir}/dateutil/test" --cov-config="{tox…
20 python -m pytest -m "xfail" {posargs: "{toxinidir}/dateutil/test"}
21 deps = -rrequirements-dev.txt
31 coverage report --rcfile={toxinidir}/tox.ini
38 commands = codecov --file {toxworkdir}/coverage.xml
43 commands = python -m pip list --format=columns
44 python -c 'import sys; print(sys.executable)'
54 description = invoke sphinx-build to build the HTML docs, check that URIs are valid
58 commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" {posargs:-W --c…
[all …]
/external/python/cpython2/Lib/
Dplatform.py3 """ This module tries to retrieve as much platform-identifying data as
11 # This module is maintained by Marc-Andre Lemburg <mal@egenix.com>.
19 # * support for MS-DOS (PythonDX ?)
23 # Many thanks to all those who helped adding platform-specific
38 # 1.0.8 - changed Windows support to read version from kernel32.dll
39 # 1.0.7 - added DEV_NULL
40 # 1.0.6 - added linux_distribution()
41 # 1.0.5 - fixed Java support to allow running the module on Jython
42 # 1.0.4 - added IronPython support
43 # 1.0.3 - added normalization of Windows system name
[all …]
/external/python/cpython2/Doc/howto/
Dargparse.rst7 .. _argparse-tutorial:
10 recommended command-line parsing module in the Python standard library.
17 :mod:`getopt` (an equivalent for :c:func:`getopt` from the C
29 .. code-block:: sh
32 cpython devguide prog.py pypy rm-unused-function.patch
33 $ ls pypy
34 ctypes_configure demo dotviewer include lib_pypy lib-python ...
35 $ ls -l
37 drwxr-xr-x 19 wena wena 4096 Feb 18 18:51 cpython
38 drwxr-xr-x 4 wena wena 4096 Feb 8 12:04 devguide
[all …]
/external/libchrome/third_party/jinja2/
Ddebug.py1 # -*- coding: utf-8 -*-
10 :copyright: (c) 2017 by the Jinja Team.
20 # on pypy we can take advantage of transparent proxies
106 return u'%s\n\n<!--\n%s\n-->' % (
108 self.render_as_text().decode('utf-8', 'replace')
123 """Standard python exc_info for re-raising"""
126 # we are on pypy or a python implementation with support for tproxy
215 cur_depth = local_overrides.get(name, (-1,))[0]
255 code = compile('\n' * (lineno - 1) + raise_helper, filename, 'exec')
265 location = 'top-level template code'
[all …]

123