Home
last modified time | relevance | path

Searched +full:check +full:- +full:examples (Results 1 – 25 of 1074) sorted by relevance

12345678910>>...43

/external/python/uritemplates/tests/
Dtest_from_fixtures.py16 with io.open(path, 'r', encoding="utf-8") as examples_file:
17 examples = json.load(examples_file)
18 return examples
29 test = self.examples.get(section, {})
41 examples = load_examples('spec-examples') variable in TestSpecExamples
44 """Check that uritemplate.expand matches Level 1 expectations."""
45 self._test('Level 1 Examples')
48 """Check that uritemplate.expand matches Level 2 expectations."""
49 self._test('Level 2 Examples')
52 """Check that uritemplate.expand matches Level 3 expectations."""
[all …]
/external/opencensus-java/buildscripts/
Dtravis_script4 # https://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps.
6 set -o errexit
7 set -o xtrace
11 python "$(dirname "$0")"/check-git-history.py
18 ./gradlew clean assemble check --stacktrace
21 ./gradlew clean assemble check --stacktrace
24 ./gradlew clean assemble check --stacktrace
27 ./gradlew clean assemble --stacktrace
28 ./gradlew check :opencensus-all:jacocoTestReport
39 # https://docs.travis-ci.com/user/reference/osx/#JDK-and-OS-X
[all …]
/external/rust/crates/virtio-drivers/.github/workflows/
Dmain.yml9 check:
10 runs-on: ubuntu-latest
12 - uses: actions/checkout@v4
13 - name: Check code format
14 uses: actions-rs/cargo@v1
17 args: --all -- --check
18 - name: Clippy
19 uses: actions-rs/clippy-check@v1
24 runs-on: ubuntu-latest
26 - uses: actions/checkout@v4
[all …]
/external/rust/crates/plotters/examples/
DREADME.md1 # plotters examples
3 … to independent git repository under plotters-rs organization, please check the [Example Project](…
5 To run any example, from within the repo, run `cargo run --example <example_name>` where `<example …
7 All the examples assumes the directory [plotters-doc-data](https://github.com/38/plotters-doc-data)…
9 …hese example files are used to generate the [plotters-doc-data](https://github.com/38/plotters-doc
10 We also rely on the output of examples to detect potential layout changes.
13 The examples that have their own directories and `Cargo.toml` files work differently. They are run …
17 - For WebAssembly sample project, check [plotters-wasm-demo](https://github.com/plotters-rs/plotter…
18 - For Frame Buffer, Realtime Readering example, check [plotters-minifb-demo](https://github.com/plo…
19 - For GTK integration, check [plotters-gtk-demo](https://github.com/plotters-rs/plotters-gtk-demo)
/external/bcc/
DCONTRIBUTING-SCRIPTS.md11 - **/examples**: intended as short examples of bcc & eBPF code. You should focus on keeping it shor…
12 - **/tools**: intended as production safe performance and troubleshooting tools. You should focus o…
16 ## Examples section in Contributing bcc/eBPF scripts
26 …as it is, we don't need more "I guess that's useful" tools, we need more "ah-hah! I couldn't do th…
27-benchmark, or just improvising at the shell. If you don't know how to create a workload, learn! F…
28 …hing and do it well. netstat doesn't have an option to dump packets, tcpdump-style. They are two d…
29 1. **Check your tool correctly measures your known workload**. If possible, run a prime number of e…
30-check or sanity check**. Eg, imagine you write a PCI bus tool that shows current throughput is 28…
31 …nning a micro-benchmark, how much slower is it with the tool running. Is more CPU consumed? Try to…
33-p for filtering on a PID? -T for timestamps? -i for interval? See other tools for examples, and c…
[all …]
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dtest_tutorials.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 # This script tests the tutorials and examples in TensorFlow source code
24 # Usage: test_tutorials.sh [--virtualenv]
26 # If the flag --virtualenv is set, the script will use "python" as the Python
38 if [[ -z "${TUT_TESTS_DENYLIST}" ]]; then
53 SCRIPT_DIR=$( cd ${0%/*} && pwd -P )
59 if [[ -z "$(which ${TIMEOUT_BIN})" ]]; then
61 if [[ -z "$(which ${TIMEOUT_BIN})" ]]; then
70 mkdir -p "${LOGS_DIR}" || die "Failed to create logs directory"
71 mkdir -p "${TUT_TEST_ROOT}" || die "Failed to create test directory"
[all …]
/external/curl/projects/
Dchecksrc.bat22 rem * SPDX-License-Identifier: curl
27 rem Check we are running on a Windows NT derived OS
43 if /i "%~1" == "-?" (
45 ) else if /i "%~1" == "-h" (
47 ) else if /i "%~1" == "-help" (
64 ) else if /i "%~1" == "examples" (
80 rem Check we have Perl in our path
81 perl --version <NUL 1>NUL 2>&1
83 rem It isn't so check we have it installed and set the path if it is
116 rem Check the src directory
[all …]
/external/opencensus-java/.github/workflows/
Dbuild-gradle-examples.yml1 name: Build Gradle Examples
6 - master
7 - v0.*
11 name: Build Gradle Examples Ubuntu
12 runs-on: ubuntu-latest
14 - uses: actions/checkout@v2.3.4
16 fetch-depth: 0
17 - id: setup-java
19 uses: actions/setup-java@v2
22 java-version: 8
[all …]
/external/rust/crates/combine/
Dci.sh1 #!/bin/bash -x
2 set -ex
5 cargo "$@" test --all-features
6 cargo "$@" test --all-features --examples
8 cargo "$@" test --bench json --bench http -- --test
9 cargo "$@" check --bench mp4 --features mp4
11 cargo "$@" build --no-default-features --features alloc
12 cargo "$@" test --no-default-features --features alloc --examples
14 cargo "$@" build --no-default-features
15 cargo "$@" test --no-default-features --examples
[all …]
/external/rust/crates/config/.github/workflows/
Dmsrv.yml6 check:
7 name: Check
8 runs-on: ubuntu-latest
12 - 1.56.1
13 - stable
14 - beta
15 - nightly
18 - name: Checkout sources
21 - name: Install toolchain
22 uses: actions-rs/toolchain@v1
[all …]
/external/tink/docs/
DGOLANG-HOWTO.md1 # Tink for Go HOW-TO
69 ----------------- | ------------------------------------------------
89 activities Tink provides a command-line tool, [Tinkey](TINKEY.md), which can be
113 keyURI = "gcp-kms://projects/tink-examples/locations/global/keyRings/foo/cryptoKeys/bar"
161 Check out the
162 [AEAD examples](https://pkg.go.dev/github.com/google/tink/go/aead#example-package).
175 Check out the
176 [Deterministic AEAD examples](https://pkg.go.dev/github.com/google/tink/go/daead#example-package).
185 Check out the
186 [MAC examples](https://pkg.go.dev/github.com/google/tink/go/mac#example-package).
[all …]
/external/rust/crates/num-traits/src/
Dfloat.rs15 /// # Examples
21 /// fn check<T: FloatCore>(x: T) {
25 /// check(f32::INFINITY);
26 /// check(f64::INFINITY);
28 fn infinity() -> Self; in infinity()
32 /// # Examples
38 /// fn check<T: FloatCore>(x: T) {
42 /// check(f32::NEG_INFINITY);
43 /// check(f64::NEG_INFINITY);
45 fn neg_infinity() -> Self; in neg_infinity()
[all …]
/external/sg3_utils/
DMakefile.in4 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
18 if test -z '$(MAKELEVEL)'; then \
20 elif test -n '$(MAKE_HOST)'; then \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 case $${target_option-} in \
32 "target option '$${target_option-}' specified" >&2; \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
[all …]
/external/rust/crates/prettyplease/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
23 runs-on: ubuntu-latest
25 fail-fast: false
28 timeout-minutes: 45
30 - uses: actions/checkout@v3
31 - uses: dtolnay/rust-toolchain@master
34 - run: cargo check
35 - run: cargo check --features verbatim
36 - run: cargo test
38 RUSTFLAGS: ${{env.RUSTFLAGS}} ${{matrix.rust == 'nightly' && '--cfg exhaustive' || ''}}
[all …]
/external/rust/crates/minimal-lexical/tests/
Dlemire_tests.rs8 fn compute_error32(q: i32, w: u64) -> (i32, u64) { in compute_error32()
13 fn compute_error64(q: i32, w: u64) -> (i32, u64) { in compute_error64()
18 fn compute_error_scaled32(q: i32, w: u64, lz: i32) -> (i32, u64) { in compute_error_scaled32()
23 fn compute_error_scaled64(q: i32, w: u64, lz: i32) -> (i32, u64) { in compute_error_scaled64()
28 fn compute_float32(q: i32, w: u64) -> (i32, u64) { in compute_float32()
33 fn compute_float64(q: i32, w: u64) -> (i32, u64) { in compute_float64()
40 // These test near-halfway cases for single-precision floats. in compute_error32_test()
47 // These are examples of the above tests, with in compute_error32_test()
50 compute_error32(-10, 167772160000000000), in compute_error32_test()
54 compute_error32(-10, 167772170000000000), in compute_error32_test()
[all …]
/external/grpc-grpc/tools/distrib/python/xds_protos/envoy/service/event_reporting/v2alpha/
Devent_reporting_service_pb2_grpc.py2 """Client and server classes corresponding to protobuf-defined services."""
9 """[#protodoc-title: gRPC Event Reporting Service]
11 [#not-implemented-hide:]
12 Service for streaming different types of events from Envoy to a server. The examples of
13 such events may be health check or outlier detection events.
30 """[#protodoc-title: gRPC Event Reporting Service]
32 [#not-implemented-hide:]
33 Service for streaming different types of events from Envoy to a server. The examples of
34 such events may be health check or outlier detection events.
62 """[#protodoc-title: gRPC Event Reporting Service]
[all …]
/external/grpc-grpc/tools/distrib/python/xds_protos/envoy/service/event_reporting/v3/
Devent_reporting_service_pb2_grpc.py2 """Client and server classes corresponding to protobuf-defined services."""
9 """[#protodoc-title: gRPC Event Reporting Service]
11 [#not-implemented-hide:]
12 Service for streaming different types of events from Envoy to a server. The examples of
13 such events may be health check or outlier detection events.
30 """[#protodoc-title: gRPC Event Reporting Service]
32 [#not-implemented-hide:]
33 Service for streaming different types of events from Envoy to a server. The examples of
34 such events may be health check or outlier detection events.
62 """[#protodoc-title: gRPC Event Reporting Service]
[all …]
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
DCMakeLists.txt1 project(lws-minimal-secure-streams-smd C)
19 add_executable(${PROJECT_NAME} minimal-secure-streams-smd.c)
26 add_test(NAME ss-smd COMMAND
27 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
28 $<TARGET_FILE:lws-minimal-secure-streams-smd>)
31 add_test(NAME ss-smd COMMAND lws-minimal-secure-streams-smd)
33 set_tests_properties(ss-smd
35 … WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/secure-streams/minimal-secure-streams-smd
40 add_test(NAME ss-smd-fi1 COMMAND
41 ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
[all …]
/external/grpc-grpc-java/examples/example-hostname/
DREADME.md8 The example requires grpc-java to already be built. You are strongly encouraged
9 to check out a git release tag, since there will already be a build of grpc
14 1. Build the hello-world example client. See [the examples README](../README.md)
16 2. Build this server. From the `grpc-java/examples/examples-hostname` directory:
21 This creates the script `build/install/hostname-server/bin/hostname-server` that
27 $ ./build/install/hostname-server/bin/hostname-server
30 And in a different terminal window run the hello-world client:
33 $ ../build/install/examples/bin/hello-world-client
39 1. Build the hello-world example client. See [the examples README](../README.md)
44 $ # Run the server (from the examples-hostname directory)
[all …]
/external/pigweed/pw_allocator/
Dguide.rst1 .. _module-pw_allocator-guides:
6 .. pigweed-module-subpage::
9 .. _module-pw_allocator-get-started:
11 -----------
13 -----------
14 .. tab-set::
16 .. tab-item:: Bazel
20 .. code-block::
40 .. tab-item:: GN
44 .. code-block::
[all …]
/external/rust/crates/maybe-async/.github/workflows/
Dlinux.yml8 runs-on: ubuntu-latest
11 - uses: actions/checkout@v2
13 - name: rustfmt
14 uses: actions-rs/cargo@v1
17 args: --all -- --check
19 - name: check build (async)
20 uses: actions-rs/cargo@v1
22 command: check
23 args: --all --bins --examples --tests
25 - name: tests (async)
[all …]
/external/google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/nio/
DStat.java8 * http://www.apache.org/licenses/LICENSE-2.0
17 package com.google.cloud.examples.nio;
29 * Stat is a super-simple program that just displays the size of the file passed as argument.
33 * <p>You can either use the '--check' argument to see whether Google Cloud Storage is enabled, or
38 …* href="https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-examples/README.m…
41 * <pre>{@code target/appassembler/bin/Stat --help | --check | --list | <file>}</pre>
43 * <p>In short, this version (in google-cloud-examples) is in a package that lists google-cloud-nio
50 if (args.length == 0 || args[0].equals("--help")) { in main()
54 if (args[0].equals("--list")) { in main()
58 if (args[0].equals("--check")) { in main()
[all …]
/external/tensorflow/tensorflow/examples/label_image/
DREADME.md3 This example shows how you can load a pre-trained TensorFlow network and use it
7 example](https://godoc.org/github.com/tensorflow/tensorflow/tensorflow/go#ex-package).
21 $ curl -L "https://storage.googleapis.com/download.tensorflow.org/models/inception_v3_2016_08_28_fr…
22 tar -C tensorflow/examples/label_image/data -xz
35 $ bazel build tensorflow/examples/label_image/...
41 $ bazel-bin/tensorflow/examples/label_image/label_image
48 I tensorflow/examples/label_image/main.cc:206] military uniform (653): 0.834306
49 I tensorflow/examples/label_image/main.cc:206] mortarboard (668): 0.0218692
50 I tensorflow/examples/label_image/main.cc:206] academic gown (401): 0.0103579
51 I tensorflow/examples/label_image/main.cc:206] pickelhaube (716): 0.00800814
[all …]
/external/rust/crates/same-file/src/
Dlib.rs5 Most uses of this crate should be limited to the top-level [`is_same_file`]
13 # fn try_main() -> Result<(), Box<Error>> {
24 equality check depending on your access pattern. For example, if one wanted to
25 check whether any path in a list of paths corresponded to the process' stdout
26 handle, then one could build a handle once for stdout. The equality check for
34 # fn try_main() -> Result<(), Box<Error>> {
36 "examples/is_same_file.rs",
37 "examples/is_stderr.rs",
38 "examples/stderr",
57 See [`examples/is_stderr.rs`] for a runnable example and compare the output of:
[all …]
/external/bazelbuild-rules_python/.bazelci/
Dpresubmit.yml7 # http://www.apache.org/licenses/LICENSE-2.0
15 ---
17 # keep these arguments in sync with .pre-commit-config.yaml
29 - "--"
30 - "..."
31 # As a regression test for #225, check that wheel targets still build when
33 - "@rules_python//examples/wheel/..."
35 - "--keep_going"
37 - "--"
38 - "..."
[all …]

12345678910>>...43