Home
last modified time | relevance | path

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

123456

/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/python/asn1crypto/
Dappveyor.yml5 - PYTHON_EXE: "C:\\Python26\\python.exe"
6 - PYTHON_EXE: "C:\\Python26-x64\\python.exe"
7 - PYTHON_EXE: "C:\\Python26-x64\\python.exe"
9 - PYTHON_EXE: "C:\\Python33\\python.exe"
10 - PYTHON_EXE: "C:\\Python33\\python.exe"
12 - PYTHON_EXE: "C:\\Python33-x64\\python.exe"
13 - PYTHON_EXE: "C:\\pypy2-v5.10.0-win32\\pypy.exe"
14 - PYTHON_EXE: "C:\\pypy2-v5.10.0-win32\\pypy.exe"
17 - ps: |-
19 if (!(Test-Path "$env:PYTMP")) {
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/gce/
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/rust/crates/grpcio-sys/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/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/python/cffi/doc/source/
Dinstallation.rst5 Quick installation for CPython (cffi is distributed with PyPy):
17 libffi, so it depends on libffi being bug-free; this may not be fully
21 distributed with PyPy (CFFI 1.0 is distributed with and requires
22 PyPy 2.6).
25 either lower if you use the post-1.0 features, or much higher if you
28 so. On PyPy, this wrapper code has a minimal impact thanks to the JIT
29 compiler. This makes CFFI the recommended way to interface with C
30 libraries on PyPy.
34 * CPython 2.6 or 2.7 or 3.x, or PyPy (PyPy 2.0 for the earliest
35 versions of CFFI; or PyPy 2.6 for CFFI 1.0).
[all …]
Dgoals.rst2 -----
6 * The goal is to call C code from Python without learning a 3rd language:
9 only C and Python, minimizing the extra bits of API that need to be learned.
11 * Keep all the Python-related logic in Python so that you don't need to
12 write much C code (unlike `CPython native C extensions`_).
15 Programming Interface): the C compiler is called from the declarations
16 you write to validate and link to the C language constructs.
19 However, on non-Windows platforms, C libraries typically
20 have a specified C API but not an ABI (e.g. they may
25 which you can `manually wrap`_ in saner-looking C functions).
[all …]
Dwhatsnew.rst31 * `Direct support for pkg-config`__.
35 ``require_writable`` to refuse read-only Python buffers.
48 * CPython 2.x: ``ffi.dlopen()`` failed with non-ascii file names on Posix
50 * CPython: if a thread is started from C and then runs Python code (with
71 -------
75 field or vice-versa.
79 * ABI mode: implemented ``ffi.dlclose()`` for the in-line case (it used
80 to be present only in the out-of-line case).
82 * Fixed a corner case for ``setup.py install --record=xx --root=yy``
83 with an out-of-line ABI module. Also fixed `Issue #345`_.
[all …]
Dembedding.rst7 You can use CFFI to generate C code which exports the API of your choice
8 to any C application that wants to link with this C code. This API,
10 library---or you can statically link it within a larger application.
14 * Exposing a library written in Python directly to C/C++ programs.
16 * Using Python to make a "plug-in" for an existing C/C++ program that is
19 * Using Python to implement part of a larger C/C++ application (with
22 * Writing a small C/C++ wrapper around Python, hiding the fact that the
24 command-line interface; for distribution purposes; or simply to make
25 it a bit harder to reverse-engineer the application).
29 * You write and execute a Python script, which produces a ``.c`` file
[all …]
Dref.rst9 -------------
13 a CompiledFFI object if you import an out-of-line module. You get a FFI
37 allocate an instance according to the specified C type and return a
38 pointer to it. The specified C type must be either a pointer or an
41 array referencing it (which works mostly like a pointer, like in C).
43 non-constant length n. See the `detailed documentation`__ for other
60 `ffi.new_allocator()`_ for a way to allocate non-zero-initialized
69 **ffi.cast("C type", value)**: similar to a C cast: returns an
70 instance of the named C type initialized with the given value. The
74 .. _ffi-errno:
[all …]
/external/python/mock/.circleci/
Dconfig.yml4 python: cjw296/python-ci@2
7 check-package:
15 - image: << parameters.image >>
17 - python/check-package:
20 - run:
22 command: << parameters.python >> -c "import mock"
27 - python/pip-run-tests:
30 - python/pip-run-tests:
33 - python/pip-run-tests:
36 - python/pip-run-tests:
[all …]
/external/rust/crates/grpcio-sys/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/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/rust/crates/grpcio-sys/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/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
/external/python/pybind11/tests/
Dtest_class.py1 # -*- coding: utf-8 -*-
81 get_value(self: m.UserType) -> int
91 new_instance() -> m.class_.NoConstructor
99 """Tests that a properly qualified name is set in __qualname__ (even in pre-3.3, where we
107 __init__(self: m.class_.NestBase) -> None
113 g(self: m.class_.NestBase, arg0: m.class_.NestBase.Nested) -> None
119 __init__(self: m.class_.NestBase.Nested) -> None
125 …class_.NestBase.Nested, arg0: int, arg1: m.class_.NestBase, arg2: m.class_.NestBase.Nested) -> None
131 …(self: m.class_.NestBase.Nested, a: int, b: m.class_.NestBase, c: m.class_.NestBase.Nested) -> None
162 1. (arg0: m.class_.Dog) -> str
[all …]
Dtest_multiple_inheritance.py1 # -*- coding: utf-8 -*-
17 @pytest.mark.skipif("env.PYPY and env.PY2")
18 @pytest.mark.xfail("env.PYPY and not env.PY2")
57 @pytest.mark.skipif("env.PYPY and env.PY2")
58 @pytest.mark.xfail("env.PYPY and not env.PY2")
212 # Inherits from 4 registered C++ classes: can fit in one pointer on any modern arch:
217 # Inherits from 8: requires 1/2 pointers worth of holder flags on 32/64-bit arch:
223 c = MIMany19()
225 assert getattr(c, "f" + str(i))() == 2 * i
268 # Requires PyPy 6+
[all …]
/external/python/markupsafe/
DCHANGES.rst2 -------------
6 - Drop Python 2.7, 3.4, and 3.5 support.
7 - ``Markup.unescape`` uses :func:`html.unescape` to support HTML5
12 -------------
14 Released 2019-02-23
16 - Fix segfault when ``__html__`` method raises an exception when using
17 the C speedups. The exception is now propagated correctly. :pr:`109`
21 -------------
23 Released 2018-11-05
25 - Drop support for Python 2.6 and 3.3.
[all …]
/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 TEST_DEBUG=1
17 - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=gold
18 - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
21 - PYVER=python3.5 RUBYLIBVER=2.6
22 - PYVER=python3.6 RUBYLIBVER=2.6
[all …]
/external/python/cffi/demo/
Dembedding_test.c8 gcc -o embedding_test embedding_test.c _embedding_cffi*.so
16 There are platform-specific options to gcc to avoid needing
19 gcc -o embedding_test embedding_test.c _embedding_cffi*.so \
20 -Wl,-rpath=\$ORIGIN/
24 Compile and link the _embedding_test.c source code together with
25 this example (e.g. with PyPy):
27 gcc -o embedding_test embedding_test.c _embedding_cffi.c \
28 -I/opt/pypy/include -pthread -lpypy-c
40 res = add(100, -5); in main()
/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/python/cffi/
Dsetup.py10 sources = ['c/_cffi_backend.c']
13 '/usr/include/libffi'] # may be changed by pkg-config
21 pkg_config = os.environ.get('PKG_CONFIG','pkg-config')
33 # '-I/usr/...' -> '/usr/...'
41 # old versions of pkg-config don't support this env var,
56 tries to compile C code. (Hints: on OS/X 10.8, for errors about
57 -mno-fused-madd see http://stackoverflow.com/questions/22313407/
85 sys.stderr.write("Note: will not use '__thread' in the C code\n")
97 " in the C code\n")
111 _ask_pkg_config(include_dirs, '--cflags-only-I', '-I', sysroot=True)
[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 …]
/external/python/pybind11/tools/
Dpybind11NewTools.cmake1 # tools/pybind11NewTools.cmake -- Build system for the pybind11 modules
3 # Copyright (c) 2020 Wenzel Jakob <wenzel@inf.ethz.ch> and Henry Schreiner
6 # BSD-style license that can be found in the LICENSE file.
27 set(Python_FIND_IMPLEMENTATIONS CPython PyPy)
68 if(${_Python}_INTERPRETER_ID MATCHES "PyPy")
69 message(STATUS "PyPy ${${_Python}_PyPy_VERSION} (Py ${${_Python}_VERSION})")
86 …# Debug check - see https://stackoverflow.com/questions/646518/python-how-to-detect-debug-Interpre…
88 COMMAND "${${_Python}_EXECUTABLE}" "-c"
96 # Get the suffix - SO is deprecated, should use EXT_SUFFIX, but this is
101 "${${_Python}_EXECUTABLE}" "-c"
[all …]

123456