Home
last modified time | relevance | path

Searched +full:test +full:- +full:cython (Results 1 – 25 of 48) sorted by relevance

12

/external/grpc-grpc/src/python/grpcio/grpc/_cython/
DREADME.rst1 GRPC Python Cython layer
4 Package for the GRPC Python Cython layer.
6 What is Cython?
7 ---------------
9 Cython is both a superset of the Python language with extensions for dealing
14 See the wonderful `Cython website`_.
16 Why Cython?
17 -----------
19 - **Python 2 and 3 support**
20 Cython generated C code has precompiler macros to target both Python 2 and
[all …]
/external/rust/crates/grpcio-sys/grpc/summerofcode/2018/
Dnaresh.md11 [Bazel](https://bazel.build/) is the open-sourced variant of Google's internal
20 …storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/5316764725411840_152204…
32 Python](https://groups.google.com/forum/#!topic/bazel-sig-python/iQjV9sfSufw)
56 ### Building Cython code
58 Building Cython code is still not supported by Bazel, but the team at
59 [cython/cython](https://github.com/cython/cython) have added support for Bazel
60 on their side. The way it works is by including Cython as a third-party Bazel
61 dependency and using custom Bazel rules for building our Cython code using the
66 pip and PyPI still remain the de-facto standard for distributing Python
78 to install the required dependencies (which were python-dev and Bazel) and a
[all …]
/external/grpc-grpc/summerofcode/2018/
Dnaresh.md11 [Bazel](https://bazel.build/) is the open-sourced variant of Google's internal
20 …storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/5316764725411840_152204…
32 Python](https://groups.google.com/forum/#!topic/bazel-sig-python/iQjV9sfSufw)
56 ### Building Cython code
58 Building Cython code is still not supported by Bazel, but the team at
59 [cython/cython](https://github.com/cython/cython) have added support for Bazel
60 on their side. The way it works is by including Cython as a third-party Bazel
61 dependency and using custom Bazel rules for building our Cython code using the
66 pip and PyPI still remain the de-facto standard for distributing Python
78 to install the required dependencies (which were python-dev and Bazel) and a
[all …]
/external/capstone/bindings/python/
DBUILDING.txt16 2. For better Python performance, install cython-based binding with:
20 Note that this requires Cython installed first. To install Cython, see
23 3. To install Cython, you have to ensure that the header files
28 $ sudo apt-get install python-dev
31 Cython with either:
33 $ sudo pip install cython
35 $ sudo easy_install cython
38 install the required Cython version using your repository.
42 $ sudo apt-get install cython
44 However, our cython-based binding requires Cython version 0.19 or newer,
[all …]
DMakefile10 rm -rf src/
11 if test -n "${DESTDIR}"; then \
12 $(PYTHON2) setup.py build install --root="${DESTDIR}"; \
18 rm -rf src/
19 if test -n "${DESTDIR}"; then \
20 $(PYTHON3) setup.py build install --root="${DESTDIR}"; \
25 # NOTE: Newer cython can be installed by: sudo pip install --upgrade cython
27 rm -rf src/
28 if test -n "${DESTDIR}"; then \
29 $(PYTHON2) setup_cython.py build install --root="${DESTDIR}"; \
[all …]
/external/grpc-grpc/src/python/grpcio/
Dcommands.py7 # http://www.apache.org/licenses/LICENSE-2.0
32 from setuptools.command import test
60 A key-value pair included in the HTTP header. It is a
61 2-tuple where the first entry is the key and the
65 the key must end with '-bin', i.e.
66 ``('binary-metadata-bin', b'\\x00\\xFF')``
78 # https://bitbucket.org/pypa/pypi/issues/120/binary-wheels-for-linux-are-not-supported
82 If we can retrieve a pre-compiled bdist from online, uses it. Else, emits a
133 '', '--force', '--full', '-H', metadata.name, '-A', metadata.author,
134 '-V', metadata.version, '-R', metadata.version, '-o',
[all …]
/external/rust/crates/grpcio-sys/grpc/bazel/
Dgrpc_python_deps.bzl1 """Load dependencies needed to compile and test the grpc python library as a 3rd-party consumer."""
15 …rg/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz"],
22 strip_prefix = "enum34-1.1.6",
24 …/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz"],
31 strip_prefix = "futures-3.3.0",
33 …packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00/futures-3.3.0.tar.gz"],
39 …url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.g…
48 strip_prefix = "rules_python-9d68f24659e8ce8b736590ba1e4418af06ec2552",
58 if "cython" not in native.existing_rules():
60 name = "cython",
[all …]
/external/fonttools/
Dsetup.py36 __import__("cython")
48 # --with-cython/--without-cython options override environment variables
49 opt_with_cython = {'--with-cython'}.intersection(sys.argv)
50 opt_without_cython = {'--without-cython'}.intersection(sys.argv)
53 "error: the options '--with-cython' and '--without-cython' are "
57 sys.argv.remove("--with-cython")
60 sys.argv.remove("--without-cython")
64 setup_requires.append("cython")
78 # read/write XML files (faster/safer than built-in ElementTree)
90 # of the Unicode Character Database instead of the built-in unicodedata
[all …]
D.gitignore1 # Byte-compiled / optimized / DLL files
14 *.egg-info/
19 pip-log.txt
20 pip-delete-this-directory.txt
22 # Unit test / coverage reports
55 # Cython sources (e.g. cu2qu)
/external/rust/crates/grpcio-sys/grpc/
Dsetup.py7 # http://www.apache.org/licenses/LICENSE-2.0
44 # Redirect the manifest template from MANIFEST.in to PYTHON-MANIFEST.in.
45 egg_info.manifest_maker.template = 'PYTHON-MANIFEST.in'
53 ABSL_INCLUDE = (os.path.join('third_party', 'abseil-cpp'),)
69 SSL_INCLUDE = (os.path.join('third_party', 'boringssl-with-bazel', 'src',
73 'upb-generated'),)
75 'upbdefs-generated'),)
83 # Break import-style to ensure we can actually find our in-repo dependencies.
96 'Development Status :: 5 - Production/Stable',
112 # Environment variable to determine whether or not the Cython extension should
[all …]
D.pylintrc-tests12 dummy-variables-rgx=^ignored_|^unused_
17 # be what works for us at the moment (excepting the dead-code-walking Beta
19 max-args=6
30 extension-pkg-whitelist=grpc._cython.cygrpc
38 # Eventually, the hope is to eliminate the .pylintrc-tests
40 pointless-statement,
41 no-member,
42 no-self-use,
43 attribute-defined-outside-init,
44 unused-argument,
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dcustom_call_for_test.pyx1 # cython: language_level=2
4 # Test case for defining a XLA custom call target in Cython, and registering
13 out[0] = a - b
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpcio_tools/
Dsetup.py7 # http://www.apache.org/licenses/LICENSE-2.0
35 # TODO(atash) add flag to disable Cython use
56 'Development Status :: 5 - Production/Stable',
69 # Environment variable to determine whether or not the Cython extension should
70 # *use* Cython or use the generated C files. Note that this requires the C files
71 # to have been generated by building first *with* Cython support.
76 """Test if linker on system needs libatomic."""
80 cpp_test = subprocess.Popen([cxx, '-x', 'c++', '-std=c++11', '-'],
87 # Double-check to see if -latomic actually can solve the problem.
90 [cxx, '-x', 'c++', '-std=c++11', '-latomic', '-'],
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/_cython/
D_server_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Test servers at the level of the Cython API."""
23 class Test(unittest.TestCase): class
D_no_messages_single_server_completion_queue_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Test a corner-case at the level of the Cython API."""
25 class Test(_common.RpcTest, unittest.TestCase): class
86 'test details', _common.EMPTY_FLAGS),
D_no_messages_server_completion_queue_per_call_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Test a corner-case at the level of the Cython API."""
25 class Test(_common.RpcTest, unittest.TestCase): class
88 b'test details', _common.EMPTY_FLAGS),
D_read_some_but_not_all_responses_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Test a corner-case at the level of the Cython API."""
203 (), cygrpc.StatusCode.ok, b'test details',
222 cygrpc.StatusCode.cancelled, 'Cancelled during test!')
/external/oss-fuzz/projects/libplist/
Dbuild.sh1 #!/bin/bash -eu
9 # http://www.apache.org/licenses/LICENSE-2.0
19 ./autogen.sh --without-cython --enable-debug
20 make -j$(nproc) clean
21 make -j$(nproc) all
24 $CXX $CXXFLAGS -std=c++11 -Iinclude/ \
25 fuzz/$fuzzer.cc -o $OUT/$fuzzer \
26 $LIB_FUZZING_ENGINE src/.libs/libplist-2.0.a
29 zip -j $OUT/bplist_fuzzer_seed_corpus.zip test/data/*.bplist
30 zip -j $OUT/xplist_fuzzer_seed_corpus.zip test/data/*.plist
/external/tensorflow/tensorflow/core/platform/default/
Dbuild_config.bzl1 # Platform-specific build configurations.
44 tf_dep += ":" + dep_pieces[len(dep_pieces) - 1]
50 # Modified from @cython//:Tools/rules.bzl
61 First runs Cython to create .cpp files for each input .pyx or .py + .pxd
69 deps: C/C++ dependencies of the Cython (e.g. Numpy headers).
81 src[:-3] + ".pxd" in srcs):
90 # Invoke cython to produce the shared object libraries.
98 …cmd = "PYTHONHASHSEED=0 $(location @cython//:cython_binary) --cplus $(SRCS) --output-file $(OUTS)",
100 tools = ["@cython//:cython_binary"] + pxd_srcs,
128 ret = [s[:-len(".proto")] + ".pb.h" for s in srcs]
[all …]
/external/fonttools/.github/workflows/
Dtest.yml1 name: Test
11 runs-on: ubuntu-latest
12 # https://github.community/t/github-actions-does-not-respect-skip-ci/17325/8
15 - uses: actions/checkout@v2
16 - name: Set up Python 3.x
17 uses: actions/setup-python@v2
19 python-version: "3.x"
20 - name: Install packages
22 - name: Run Tox
23 run: tox -e mypy,package_readme
[all …]
/external/python/setuptools/
DCHANGES.rst2 -------
11 -------
17 -------
22 * #296: Removed long-deprecated support for iteration on
30 -------
32 * #1288: Add support for maintainer in PKG-INFO.
35 -------
37 * #1292: Avoid generating ``Provides-Extra`` in metadata when
41 -------
46 -------
[all …]
/external/kmod/
Dconfigure.ac4 [linux-modules@vger.kernel.org],
11 AC_CONFIG_AUX_DIR([build-aux])
17 AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects …
19 LT_INIT([disable-static pic-only])
21 AS_IF([test "x$enable_static" = "xyes"], [AC_MSG_ERROR([--enable-static is not supported by kmod])])
22 AS_IF([test "x$enable_largefile" = "xno"], [AC_MSG_ERROR([--disable-largefile is not supported by k…
64 [AC_LANG_SOURCE([[_Static_assert(1, "Test");]])],
78 # --with-
82 AS_HELP_STRING([--with-rootlibdir=DIR], [rootfs directory to install shared libraries]),
87 AS_HELP_STRING([--with-zstd], [handle Zstandard-compressed modules @<:@default=disabled@:>@]),
[all …]
/external/tensorflow/tensorflow/
Dworkspace.bzl13 load("//third_party/toolchains/embedded/arm-linux:arm_linux_toolchain_configure.bzl", "arm_linux_to…
121 build_file = clean_dep("//third_party/toolchains/embedded/arm-linux:BUILD"),
133 # curl -L <url> | sha256sum
138 strip_prefix = "XNNPACK-094e692629d57ddb932fcc993193626f60daa61b",
148 strip_prefix = "FXdiv-63058eff77e11aa15bf531df5dd34395ec3017c8",
158 strip_prefix = "pthreadpool-77f9d3bcfabd1bdb910dd33b549d5290b968ef05",
169 strip_prefix = "oneDNN-0.21.3",
171 …"https://storage.googleapis.com/mirror.tensorflow.org/github.com/oneapi-src/oneDNN/archive/v0.21.3…
172 "https://github.com/oneapi-src/oneDNN/archive/v0.21.3.tar.gz",
180 strip_prefix = "oneDNN-1.6.4",
[all …]
/external/python/cpython3/Doc/faq/
Dextending.rst16 -----------------------------------
18 Yes, you can create built-in modules containing functions, variables, exceptions
20 :ref:`extending-index`.
26 -------------------------------------
34 .. _c-wrapper-software:
37 ----------------------------------------------
44 `Cython <http://cython.org>`_ and its relative `Pyrex
47 C code. Cython and Pyrex make it possible to write an extension without having
61 -----------------------------------------------------
63 The highest-level function to do this is :c:func:`PyRun_SimpleString` which takes
[all …]
/external/python/cpython2/Doc/faq/
Dextending.rst13 -----------------------------------
15 Yes, you can create built-in modules containing functions, variables, exceptions
17 :ref:`extending-index`.
23 -------------------------------------
31 .. _c-wrapper-software:
34 ----------------------------------------------
39 .. XXX make sure these all work; mention Cython
43 time-critical functions in your code, and gain a significant improvement with
45 x86-compatible processor.
47 `Cython <http://cython.org>`_ and its relative `Pyrex
[all …]

12