Home
last modified time | relevance | path

Searched +full:cli +full:- +full:time +full:- +full:sync (Results 1 – 25 of 177) sorted by relevance

12345678

/external/pigweed/docs/showcases/sense/tutorial/
Dhost_sim.rst1 .. _showcase-sense-tutorial-sim:
9 on your development host computer. :ref:`target-host-device-simulator` is the
11 :ref:`module-pw_console` makes it easy to connect to the simulated app. Try
14 .. _showcase-sense-tutorial-sim-comm:
16 -----------------------------------
18 -----------------------------------
24 .. tab-set::
26 .. tab-item:: VS Code
27 :sync: vsc
30 right-click **:simulator_blinky (host_device_simulator_binary)**,
[all …]
Ddevice_tests.rst1 .. _showcase-sense-tutorial-devicetests:
4 8. Run on-device tests
8 :ref:`Host tests <showcase-sense-tutorial-hosttests>` are the best way to
9 test hardware-independent logic in your codebase because they are much easier to
12 the tests host-side. Other times you really do need to run the tests on-device.
13 Pigweed provides robust and automated solutions for running hardware-in-the-loop tests.
18 setup <showcase-sense-tutorial-hardware>` and must be
27 .. _showcase-sense-tutorial-devicetests-setup:
29 --------------------
31 --------------------
[all …]
Dbuild.rst1 .. _showcase-sense-tutorial-build:
12 .. tab-set::
14 .. tab-item:: VS Code
15 :sync: vsc
17 #. In **Bazel Targets** right-click the **//apps/blinky** folder
20 … .. figure:: https://storage.googleapis.com/pigweed-media/sense/build_package_recursively_v4.png
29 .. code-block:: console
32 INFO: Elapsed time: 174.103s, Critical Path: 13.34s
33 INFO: 2375 processes: 480 internal, 1895 linux-sandbox.
47 .. tab-item:: CLI
[all …]
Drpc.rst1 .. _showcase-sense-tutorial-pico-rpc:
6 Now, let's revisit ``pw_console`` and ``pw_rpc``. This time, we'll send commands
9 .. _showcase-sense-tutorial-pico-rpc-interact:
11 ----------------------
13 ----------------------
16 .. tab-set::
18 .. tab-item:: VS Code
19 :sync: vsc
21 In **Bazel Build Targets** right-click
25 .. tab-item:: CLI
[all …]
Dhost_tests.rst1 .. _showcase-sense-tutorial-hosttests:
8 :ref:`module-pw_unit_test` provides an extensive `GoogleTest`_-compatible
23 .. code-block:: c++
29 EXPECT_EQ(event->state, State::kInactive); // add this line
30 // EXPECT_EQ(event->state, State::kActive); // comment out this line
31 EXPECT_GE(ToMs(event->timestamp - start), kIntervalMs * 0);
32 start = event->timestamp;
40 .. tab-set::
42 .. tab-item:: VS Code
43 :sync: vsc
[all …]
Dcode_intelligence.rst1 .. _showcase-sense-tutorial-intel:
6 Sense's integration with :ref:`module-pw_ide` enables fast and accurate
11 .. _showcase-sense-tutorial-intel-nav:
13 -------------------------------
15 -------------------------------
19 :ref:`module-pw_log` and that ``pw_log`` uses a special type of API called
20 a :ref:`facade <docs-facades>` where the implementation can be changed during
25 .. _Command Palette: https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette
27 .. tab-set::
29 .. tab-item:: VS Code
[all …]
Dsetup.rst1 .. _showcase-sense-tutorial-setup:
9 .. _showcase-sense-tutorial-setup-help:
11 ------------
13 ------------
19 .. _showcase-sense-tutorial-setup-prereqs:
21 -----------------------------
23 -----------------------------
24 Prepare your computer for working with Pigweed-based projects:
26 #. Complete the instructions in :ref:`docs-first-time-setup-guide-express-setup`.
29 .. _showcase-sense-tutorial-setup-sense:
[all …]
Dcrash_handler.rst1 .. _showcase-sense-tutorial-crash-handler:
7 crash. To help with this, :ref:`pw_system <module-pw_system>` provides
8 a crash handler built on :ref:`module-pw_cpu_exception` which is invoked
11 The :ref:`pw_system <module-pw_system>` crash handler will automatically
16 .. _showcase-sense-tutorial-crash-handler-crash:
18 ----------------
20 ----------------
23 .. tab-set::
25 .. tab-item:: VS Code
26 :sync: vsc
[all …]
/external/openthread/.github/workflows/
Dsimulation-1.1.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 packet-verification:
49 runs-on: ubuntu-24.04
57 - name: Harden Runner
58 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
60 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]
/external/openthread/src/cli/
Dcli_mesh_diag.cpp31 * This file implements the CLI interpreter for Mesh Diagnostics function.
38 #include "cli/cli.hpp"
39 #include "cli/cli_utils.hpp"
45 namespace Cli { namespace
55 * @cli meshdiag topology in Process()
58 * id:02 rloc16:0x0800 ext-addr:8aa57d2c603fe16c ver:4 - me - leader in Process()
59 * 3-links:{ 46 } in Process()
60 * id:46 rloc16:0xb800 ext-addr:fe109d277e0175cc ver:4 in Process()
61 * 3-links:{ 02 51 57 } in Process()
62 * id:33 rloc16:0x8400 ext-addr:d2e511a146b9e54d ver:4 in Process()
[all …]
Dcli.cpp31 * This file implements the CLI interpreter.
34 #include "cli.hpp"
70 namespace Cli { namespace
202 static_cast<Interpreter *>(aContext)->HandleDiagOutput(aFormat, aArguments); in HandleDiagOutput()
223 * @cli version in Process()
238 * @cli version api in Process()
270 * @cli reset bootloader in Process()
305 if (StringLength(aLine, kMaxLineLength) <= kMaxLineLength - 1) in ProcessLine()
314 // CLI commands. During this, `mCommandIsPending` is `true` in ProcessLine()
382 … error = entry.mCommands[i].mCommand(entry.mContext, Arg::GetArgsLength(aArgs) - 1, args + 1); in ProcessUserCommands()
[all …]
/external/aws-sdk-java-v2/archetypes/archetype-lambda/
DREADME.md4 …etype to create a lambda function template using [AWS Java SDK 2.x][aws-java-sdk-v2]. The generate…
5 has the optimized configurations and follows the best practices to reduce start up time.
9 …roject using this archetype. See [maven archetype usage guidance][maven-archetype-usage] for more …
11 - Interactive mode
15 -DarchetypeGroupId=software.amazon.awssdk \
16 -DarchetypeArtifactId=archetype-lambda \
17 -DarchetypeVersion=2.x
20 - Batch mode
24 -DarchetypeGroupId=software.amazon.awssdk \
25 -DarchetypeArtifactId=archetype-lambda \
[all …]
/external/python/bumble/rust/examples/
Dscanner.rs7 // http://www.apache.org/licenses/LICENSE-2.0
18 //! for additional features, like the ability to make deduplication time-bounded.
35 sync::{Arc, Mutex},
36 time,
40 async fn main() -> PyResult<()> { in main()
45 let cli = Cli::parse(); in main() localVariable
47 let transport = Transport::open(cli.transport).await?; in main()
56 collections::HashMap<Vec<AdvertisementDataUnit>, time::Instant>, in main()
65 let show_adv = if cli.filter_duplicates { in main()
69 let expiry_duration = time::Duration::from_secs(cli.dedup_expiry_secs); in main()
[all …]
/external/pigweed/pw_ide/guide/
Dcli.rst1 .. _module-pw_ide-guide-cli:
4 pw_ide CLI
6 .. pigweed-module-subpage::
9 The ``pw_ide`` command-line interface (CLI) provides an editor-independent
14 …Currently, the CLI only supports :ref:`bootstrap projects<module-pw_ide-design-projects-bootstrap>…
15 For :ref:`Bazel projects<module-pw_ide-design-projects-bazel>`, we recommend
16 using the :ref:`Visual Studio Code integration<module-pw_ide-guide-vscode>`.
18 --------------------------------
20 --------------------------------
32 .. code-block:: bash
[all …]
/external/icu/icu4j/perf-tests/src/main/java/com/ibm/icu/dev/test/perf/
DPerfTest.java5 * Copyright (c) 2002-2008, International Business Machines
28 import org.apache.commons.cli.CommandLine;
29 import org.apache.commons.cli.CommandLineParser;
30 import org.apache.commons.cli.DefaultParser;
31 import org.apache.commons.cli.HelpFormatter;
32 import org.apache.commons.cli.Option;
33 import org.apache.commons.cli.Options;
34 import org.apache.commons.cli.ParseException;
56 * <p>Example invocation: java -cp classes -verbose:gc
57 * com.ibm.icu.dev.test.perf.UnicodeSetPerf --gc --passes 4 --iterations 100
[all …]
/external/python/pycparser/utils/benchmark/inputs/
Dredis.c.ppout1 # 1 "src/redis-cli.c"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "src/redis-cli.c"
5 # 31 "src/redis-cli.c"
7 # 32 "src/redis-cli.c" 2
9 # 33 "src/redis-cli.c" 2
186 # 35 "src/redis-cli.c" 2
190 # 36 "src/redis-cli.c" 2
194 # 37 "src/redis-cli.c" 2
[all …]
/external/libwebsockets/READMEs/
DREADME.fault-injection.md9 test-time. It's otherwise very easy for error conditions that are low
18 user code, and provides a wide range of well-known internal faults inside lws
24 contexts" inside objects, that list named, well-known "faults" that the code
28 creation time, eg, for lws in the lws_context creation info struct, or the
31 them at creation time. Eg, if you want to cause a fault in a wsi instantiated
37 time and they will be filter down to the internal objects you want to target
40 ![Fault Injection Overview](../doc-assets/fault-injection.png)
46 structs are linked-lists of `lws_fi_t` objects. When Fault Injection is enabled
47 at build-time, the key system objects like the `lws_context`, `lws_vhost`, `wsi`
84 |---|---|
[all …]
/external/aws-sdk-java-v2/services/codestarconnections/src/main/resources/codegen-resources/
Dservice-2.json4 "apiVersion":"2019-12-01",
5 "endpointPrefix":"codestar-connections",
11 "signingName":"codestar-connections",
13 "uid":"codestar-connections-2019-12-01"
29 …ePipeline so that it can access third-party code repositories. The connection is in pending status…
42-party provider is installed. The host is used when you create connections to an installed third-p…
61 …specified external Git repository. A repository link allows Git sync to monitor and sync changes t…
80sync configuration which allows Amazon Web Services to sync content from a Git repository to updat…
145 … "documentation":"<p>Deletes the sync configuration for a specified repository and connection.</p>"
191 …s details about a repository link. A repository link allows Git sync to monitor and sync changes f…
[all …]
/external/python/bumble/rust/src/cli/l2cap/
Dserver_bridge.rs7 // http://www.apache.org/licenses/LICENSE-2.0
22 use crate::cli::l2cap::{proxy_l2cap_rx_to_tcp_tx, proxy_tcp_rx_to_l2cap_tx, BridgeData};
27 use std::{sync::Arc, time::Duration};
32 sync::{mpsc, Mutex},
44 pub async fn start(args: &Args, device: &mut Device) -> PyResult<()> { in start()
107 ) -> PyResult<()> { in proxy_data_between_l2cap_and_tcp()
152 …_ = tokio::time::sleep(Duration::from_secs(1)) => eprintln!("Timed out while calling disconnect on… in proxy_data_between_l2cap_and_tcp()
197 // de-allocation. in proxy_data_between_l2cap_and_tcp()
/external/bpftool/scripts/
DREADME.md5 ## gh-label-release-assets.sh
20 [gh]: https://cli.github.com/
22 ## sync-kernel.sh
29 Synchronization is usually performed against the `bpf-next` and `bpf` trees,
36 to the latest `bpf-next` and `bpf` tree, and records to what kernel commits it
37 was brought up-to-date. To ensure optimal compatibility between the bpftool
50 $ git clone 'https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git' linux
52 $ git remote rename origin bpf-next
53 $ git branch --move master bpf-next
57 $ git switch --create bpf
[all …]
/external/sg3_utils/
DChangeLog5 Changelog for pre-release sg3_utils-1.48 [20221112] [svn: r983]
6 - some utilities: add experimental --json[=JO] option
7 - sg_z_act_query: new utility for sending either a
9 - sg_rep_density: new utility for decoding the response of
11 - sg_rem_rest_elem: new utility for removing or restoring
13 - sg_rtpg: https://github.com/hreinecke/sg3_utils/pull/79
15 - rescan-scsi-bus.sh: with '-r' it crashed due to change in
18 - undo regression in rev 815 that added newline after
20 - rev 815 changed the order of listing hosts from
22 - https://github.com/doug-gilbert/sg3_utils/pull/17
[all …]
/external/rust/android-crates-io/crates/tokio/tests/
Drt_common.rs7 // Tests to run on both current-thread & multi-thread runtime variants.
17 fn rt() -> Arc<Runtime> {
32 fn rt() -> Arc<Runtime> {
48 fn rt() -> Arc<Runtime> {
65 fn rt() -> Arc<Runtime> {
82 fn rt() -> Arc<Runtime> {
97 fn is_send<T: Send + Sync>() {} in send_sync_bound() argument
109 use tokio::sync::oneshot;
110 use tokio::{task, time};
120 use std::sync::mpsc;
[all …]
/external/pigweed/pw_ide/py/pw_ide/
Dcommands.py7 # https://www.apache.org/licenses/LICENSE-2.0
14 """pw_ide CLI command handlers."""
80 # we can still access it to auto-generate CLI documentation.
87 ) -> None:
97 def _report_unrecognized_editor(reporter: StatusReporter, editor: str) -> None:
100 reporter.wrn('This may not be an automatically-supported editor.')
101 reporter.wrn(f'Automatically-supported editors: {supported_editors}')
108 ) -> None:
109 """Setup or sync your Pigweed project IDE features.
119 your downstream project), you can re-run this command to set up the new
[all …]
/external/bazelbuild-rules_rust/crate_universe/tests/
Dcargo_integration_test.rs8 use cargo_bazel::cli::{splice, SpliceOptions};
15 fn should_skip_test() -> bool { in should_skip_test()
29 fn setup_cargo_env() -> Result<(PathBuf, PathBuf)> { in setup_cargo_env()
65 fn run(repository_name: &str, manifests: HashMap<String, String>, lockfile: &str) -> Value { in run()
94 "wasm32-unknown-unknown", in run()
95 "x86_64-apple-darwin", in run()
96 "x86_64-pc-windows-msvc", in run()
97 "x86_64-unknown-linux-gnu", in run()
150 metadata["metadata"]["cargo-bazel"]["tree_metadata"]["wgpu-hal 0.14.1"], in feature_generator()
161 "raw-window-handle 0.5.0", in feature_generator()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/clap-4.5.21/src/
D_faq.rs4 //! 1. [How does `clap` compare to structopt?](#how-does-clap-compare-to-structopt)
5 …2. [What are some reasons to use `clap`? (The Pitch)](#what-are-some-reasons-to-use-clap-the-pitch)
6 …me reasons *not* to use `clap`? (The Anti Pitch)](#what-are-some-reasons-not-to-use-clap-the-anti-
7 //! 4. [Reasons to use `clap`](#reasons-to-use-clap)
8 … [How many approaches are there to create a parser?](#how-many-approaches-are-there-to-create-a-pa…
9 //! 3. [When should I use the builder vs derive APIs?](#when-should-i-use-the-builder-vs-derive-api…
10 //! 4. [Why is there a default subcommand of help?](#why-is-there-a-default-subcommand-of-help)
22 //! [argparse-benchmarks](https://github.com/rust-cli/argparse-benchmarks-rs).
29 //! [maintenance mode](https://github.com/TeXitoi/structopt/issues/516#issuecomment-989566094)
33 //! - Easier cross-linking in documentation
[all …]

12345678