Home
last modified time | relevance | path

Searched full:snapshot (Results 1 – 25 of 2448) sorted by relevance

12345678910>>...98

/external/antlr/runtime/C/dist/
Dlibantlr3c-3.1.4-SNAPSHOT.tar.gz
Dlibantlr3c-3.3.1-SNAPSHOT.tar.gz
/external/pigweed/pw_snapshot/py/
Dmetadata_test.py15 """Tests for snapshot metadata processing."""
41 snapshot = snapshot_pb2.Snapshot()
42 snapshot.metadata.reason = b'\xc3\xc4\x9b\x3a'
43 snapshot.metadata.project_name = b'$' + base64.b64encode(
46 snapshot.metadata.device_name = b'hyper-fast-gshoe'
47 snapshot.metadata.software_version = 'gShoe-debug-1.2.1-6f23412b+'
48 snapshot.metadata.snapshot_uuid = b'\x00\x00\x00\x01'
50 self.snapshot = snapshot
53 meta = MetadataProcessor(self.snapshot.metadata, self.detok)
57 self.snapshot.metadata.reason = (
[all …]
Dgenerate_example_snapshot.py15 """Generates an example snapshot useful for updating documentation."""
25 def _add_threads(snapshot: snapshot_pb2.Snapshot) -> snapshot_pb2.Snapshot: argument
33 snapshot.threads.append(thread)
43 snapshot.threads.append(thread)
45 return snapshot
49 snapshot = snapshot_pb2.Snapshot()
51 snapshot.metadata.reason = (
54 snapshot.metadata.fatal = True
55 snapshot.metadata.project_name = 'gShoe'.encode('utf-8')
56 snapshot.metadata.software_version = 'QUANTUM_CORE-0.1.325-e4a84b1a'
[all …]
/external/pigweed/pw_snapshot/
Dmodule_usage.rst8 mechanism to fetch a snapshot from a device. These must be set up independently
12 Building a Snapshot
14 Even though a Snapshot is just a proto message, the potential size of the proto
21 of snapshot-like protos can quickly near 10KB in size. Allocating 10KB
25 write a few fields in a snapshot, you can do so with minimal memory overhead.
31 #include "pw_snapshot_protos/snapshot.pwpb.h"
38 // Create a snapshot proto encoder.
39 pw::snapshot::Snapshot::StreamEncoder snapshot_encoder(
43 pw::snapshot::Metadata::StreamEncoder metadata_encoder =
57 There are two main ways to add custom project-specific data to a snapshot. Tags
[all …]
Ddocs.rst9 This module is unstable and under active development. The snapshot proto
30 Life of a Snapshot
32 A "snapshot" is just a `proto message
33 <https://cs.pigweed.dev/pigweed/+/HEAD:pw_snapshot/pw_snapshot_protos/snapshot.proto>`_
35 snapshot was captured. The serialized proto can then be stored and transfered
38 #. **Snapshot capture triggered** - The device encounters a condition that
39 indicates a snapshot should be captured. This could be through a crash
44 #. **Snapshot captured** - The device collects information throughout the
45 system through a project-provided snapshot collection logic flow. This data
46 is stored as a serialized Snapshot proto message for later retrieval.
[all …]
Dproto_format.rst4 Snapshot Proto Format
6 The Snapshot proto format depends on proto handling properties that directly
54 This is exactly how the Snapshot proto is set up. While a SnapshotMetadata proto
55 message provides a good portion of the valuable snapshot contents, the larger
56 Snapshot message specifies field numbers and reserved field ranges to clarify
64 Some upstream Pigweed modules provide a ``Snapshot*`` message that overlays the
65 main Snapshot message. These messages share a field number with the Snapshot
67 Snapshot proto without explicitly depending on the Snapshot proto.
72 // snapshot.proto
73 message Snapshot {
[all …]
/external/python/google-api-python-client/docs/dyn/
Ddataflow_v1b3.projects.locations.snapshots.html82 <p class="firstline">Deletes a snapshot.</p>
85 <p class="firstline">Gets information about a snapshot.</p>
97 <pre>Deletes a snapshot.
100 projectId: string, The ID of the Cloud Platform project that the snapshot belongs to. (required)
101 location: string, The location that contains this snapshot. (required)
102 snapshotId: string, The ID of the snapshot. (required)
111 { # Response from deleting a snapshot.
117 <pre>Gets information about a snapshot.
120 projectId: string, The ID of the Cloud Platform project that the snapshot belongs to. (required)
121 location: string, The location that contains this snapshot. (required)
[all …]
Ddataflow_v1b3.projects.snapshots.html82 <p class="firstline">Gets information about a snapshot.</p>
94 <pre>Gets information about a snapshot.
97 projectId: string, The ID of the Cloud Platform project that the snapshot belongs to. (required)
98 snapshotId: string, The ID of the snapshot. (required)
99 location: string, The location that contains this snapshot.
108 { # Represents a snapshot of a job.
109 &quot;creationTime&quot;: &quot;A String&quot;, # The time this snapshot was created.
110 …&quot;description&quot;: &quot;A String&quot;, # User specified description of the snapshot. Maybe…
111 …&quot;diskSizeBytes&quot;: &quot;A String&quot;, # The disk byte size of the snapshot. Only availa…
112 &quot;id&quot;: &quot;A String&quot;, # The unique ID of this snapshot.
[all …]
Dgames_v1.snapshots.html82 <p class="firstline">Retrieves the metadata for a given snapshot ID.</p>
97 <pre>Retrieves the metadata for a given snapshot ID.
100 snapshotId: string, The ID of the snapshot. (required)
110 { # An snapshot object.
111 …&quot;coverImage&quot;: { # An image of a snapshot. # The cover image of this snapshot. May be abs…
118 &quot;description&quot;: &quot;A String&quot;, # The description of this snapshot.
119 …ring&quot;, # The ID of the file underlying this snapshot in the Drive API. Only present if the sn…
120 …&quot;durationMillis&quot;: &quot;A String&quot;, # The duration associated with this snapshot, in…
121 &quot;id&quot;: &quot;A String&quot;, # The ID of the snapshot.
122 …# Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshot`.
[all …]
Dgames_v1.snapshotsExtended.html82 …rding to the resolution policy specified in the request and returns the snapshot head after the re…
91 …rding to the resolution policy specified in the request and returns the snapshot head after the re…
94 snapshotName: string, Required. Name of the snapshot. (required)
112snapshot&quot;: { # A snapshot represents a saved game state referred to using the developer-provi…
114 { # A Snapshot revision resource. Snapshot revisions are immutable.
115 …&quot;blob&quot;: { # Identifies a snapshot data resource. The data is provided by the game. # Ref…
121 …&quot;coverImage&quot;: { # Identifies a snapshot cover image resource. The image is provided by t…
129 …quot;: &quot;A String&quot;, # Output only. A server generated identifier of the snapshot revision.
130 …bout a snapshot revision. Snapshot metadata is immutable - a metadata change corresponds to a new
131 &quot;description&quot;: &quot;A String&quot;, # The description of this snapshot.
[all …]
Dpubsub_v1.projects.snapshots.html82snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pu…
84 <code><a href="#delete">delete(snapshot, x__xgafv=None)</a></code></p>
85snapshot. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) oper…
87 <code><a href="#get">get(snapshot, x__xgafv=None)</a></code></p>
88snapshot. Snapshots are used in Seek operations, which allow you to manage message acknowledgments…
94 …knowledgment state of messages in an existing subscription to the state captured by a snapshot.</p>
100snapshot. Snapshots are used in Seek operations, which allow you to manage message acknowledgments…
115snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pu…
118 …rovided name for this snapshot. If the name is not provided in the request, the server will assign…
126 …;, # Required. The subscription whose backlog the snapshot retains. Specifically, the created snap…
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DSummaryTest.java22 import io.opencensus.metrics.export.Summary.Snapshot;
23 import io.opencensus.metrics.export.Summary.Snapshot.ValueAtPercentile;
61 Snapshot snapshot = in createAndGet_Snapshot() local
62 Snapshot.create( in createAndGet_Snapshot()
64 assertThat(snapshot.getCount()).isEqualTo(10); in createAndGet_Snapshot()
65 assertThat(snapshot.getSum()).isWithin(TOLERANCE).of(87.07); in createAndGet_Snapshot()
66 assertThat(snapshot.getValueAtPercentiles()) in createAndGet_Snapshot()
72 Snapshot snapshot = in createAndGet_Snapshot_WithNullCountAndSum() local
73 Snapshot.create( in createAndGet_Snapshot_WithNullCountAndSum()
75 assertThat(snapshot.getCount()).isNull(); in createAndGet_Snapshot_WithNullCountAndSum()
[all …]
/external/rust/crates/tokio/src/runtime/task/
Dstate.rs13 pub(super) struct Snapshot(usize); struct
15 type UpdateResult = Result<Snapshot, Snapshot>;
109 pub(super) fn load(&self) -> Snapshot { in load() argument
110 Snapshot(self.val.load(Acquire)) in load()
183 pub(super) fn transition_to_complete(&self) -> Snapshot { in transition_to_complete() argument
186 let prev = Snapshot(self.val.fetch_xor(DELTA, AcqRel)); in transition_to_complete()
190 Snapshot(prev.0 ^ DELTA) in transition_to_complete()
198 let prev = Snapshot(self.val.fetch_sub(count * REF_ONE, AcqRel)); in transition_to_terminal()
215 self.fetch_update_action(|mut snapshot| { in transition_to_notified_by_val()
218 if snapshot.is_running() { in transition_to_notified_by_val()
[all …]
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dsnapshot.py15 """Dataset snapshot and related functionality."""
30 """A Dataset that captures a snapshot or reads from a snapshot."""
100 None, "Use `tf.data.experimental.snapshot(...)` instead.")
115 """Writes to/reads from a snapshot of a dataset.
117 This function attempts to determine whether a valid snapshot exists at the
118 `path`, and reads from the snapshot if so. If not, it will run the
119 preprocessing pipeline as usual, and write out a snapshot of the data
124 previously saved snapshot.
131 shard_size_bytes: The size of each shard to be written by the snapshot
134 snapshot op considers a previously unfinished snapshot to be stale.
[all …]
/external/pigweed/pw_snapshot/py/pw_snapshot/
Dprocessor.py14 """Tool for processing and outputting Snapshot protos as text"""
44 ElfMatcher = Callable[[snapshot_pb2.Snapshot], Optional[Path]]
47 # function names. As a single snapshot may contain embedded snapshots from
48 # multiple devices, there's a need to match ELF files to the correct snapshot to
51 # A SymbolizerMatcher is a function that takes a snapshot and investigates its
54 SymbolizerMatcher = Callable[[snapshot_pb2.Snapshot], Symbolizer]
63 """Processes a single snapshot."""
74 snapshot = snapshot_pb2.Snapshot()
75 snapshot.ParseFromString(serialized_snapshot)
78 symbolizer = symbolizer_matcher(snapshot)
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dsnapshot_test.py24 from tensorflow.python.data.experimental.ops import snapshot
56 tmpdir = os.path.join(tmpdir, "snapshot")
102 "snapshot.metadata")
117 dataset.snapshot(path=self._snapshot_dir)
130 dataset = dataset.snapshot(path=self._snapshot_dir)
140 dataset2 = dataset2.snapshot(path=self._snapshot_dir)
154 dataset = dataset.snapshot(path=self._snapshot_dir, compression="AUTO")
159 dataset2 = dataset2.snapshot(path=self._snapshot_dir, compression="SNAPPY")
173 dataset = dataset.snapshot(
184 dataset2 = dataset2.snapshot(
[all …]
/external/leveldb/db/
Dsnapshot.h17 class SnapshotImpl : public Snapshot {
60 SnapshotImpl* snapshot = new SnapshotImpl(sequence_number); in New() local
63 snapshot->list_ = this; in New()
65 snapshot->next_ = &head_; in New()
66 snapshot->prev_ = head_.prev_; in New()
67 snapshot->prev_->next_ = snapshot; in New()
68 snapshot->next_->prev_ = snapshot; in New()
69 return snapshot; in New()
74 // The snapshot must have been created by calling New() on this list.
76 // The snapshot pointer should not be const, because its memory is
[all …]
/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc93 ActivityUserData::Snapshot&& data) { in HandleProcessExit()
107 ActivityUserData::Snapshot exit_data_;
157 ThreadActivityTracker::Snapshot snapshot; in TEST_F() local
159 ASSERT_TRUE(tracker->CreateSnapshot(&snapshot)); in TEST_F()
160 ASSERT_EQ(0U, snapshot.activity_stack_depth); in TEST_F()
161 ASSERT_EQ(0U, snapshot.activity_stack.size()); in TEST_F()
166 ASSERT_TRUE(tracker->CreateSnapshot(&snapshot)); in TEST_F()
167 ASSERT_EQ(1U, snapshot.activity_stack_depth); in TEST_F()
168 ASSERT_EQ(1U, snapshot.activity_stack.size()); in TEST_F()
169 EXPECT_NE(0, snapshot.activity_stack[0].time_internal); in TEST_F()
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-snapshot.tc3 # description: event trigger - test snapshot-trigger
4 # requires: set_event events/sched/sched_process_fork/trigger snapshot
11 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger`
13 echo "snapshot trigger is not supported"
17 echo "Test snapshot trigger"
18 echo 0 > snapshot
21 echo 'snapshot:1' > events/sched/sched_process_fork/trigger
23 grep sched_process_fork snapshot > /dev/null || \
24 fail "snapshot trigger on sched_process_fork did not work"
27 echo 0 > snapshot
[all …]
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/
Dsnapshot_dataset_benchmark.py15 """Benchmarks for `tf.data.experimental.snapshot()`."""
20 from tensorflow.python.data.experimental.ops import snapshot
27 """Benchmarks for `tf.data.experimental.snapshot()`."""
31 tmp_dir = os.path.join(tmp_dir, "snapshot")
40 compression=snapshot.COMPRESSION_NONE):
49 snapshot.legacy_snapshot(tmp_dir, compression=compression))
56 num_elements=num_elements, compression=snapshot.COMPRESSION_GZIP)
64 "model_name": "snapshot.benchmark.1",
72 num_elements=num_elements, compression=snapshot.COMPRESSION_SNAPPY)
80 "model_name": "snapshot.benchmark.2",
[all …]
/external/trace-cmd/Documentation/trace-cmd/
Dtrace-cmd-snapshot.1.txt1 TRACE-CMD-SNAPSHOT(1)
6 trace-cmd-snapshot - take, reset, free, or show a Ftrace kernel snapshot
10 *trace-cmd snapshot* ['OPTIONS']
14 The trace-cmd(1) snapshot controls or displays the Ftrace Linux kernel
15 snapshot feature (if the kernel supports it). This is useful to "freeze"
19 trace-cmd snapshot -s
20 trace-cmd snapshot
21 [ dumps the content of buffer at 'trace-cmd snapshot -s' ]
22 trace-cmd snapshot -s
23 trace-cmd snapshot
[all …]
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DRpczZPageHandler.java305 PrintWriter out, Formatter formatter, StatsSnapshot snapshot, String method) { in emitSummaryTableRows() argument
309 formatter.format("<td class=\"borderLC\">%d</td>", snapshot.countLastMinute); in emitSummaryTableRows()
310 formatter.format("<td class=\"borderLC\">%d</td>", snapshot.countLastHour); in emitSummaryTableRows()
311 formatter.format("<td class=\"borderLC\">%d</td>", snapshot.countTotal); in emitSummaryTableRows()
312 formatter.format("<td class=\"borderLC\">%.3f</td>", snapshot.avgLatencyLastMinute); in emitSummaryTableRows()
313 formatter.format("<td class=\"borderLC\">%.3f</td>", snapshot.avgLatencyLastHour); in emitSummaryTableRows()
314 formatter.format("<td class=\"borderLC\">%.3f</td>", snapshot.avgLatencyTotal); in emitSummaryTableRows()
315 formatter.format("<td class=\"borderLC\">%.3f</td>", snapshot.rpcRateLastMinute); in emitSummaryTableRows()
316 formatter.format("<td class=\"borderLC\">%.3f</td>", snapshot.rpcRateLastHour); in emitSummaryTableRows()
317 formatter.format("<td class=\"borderLC\">%.3f</td>", snapshot.rpcRateTotal); in emitSummaryTableRows()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DSummary.java46 * @param snapshot bucket boundaries of a histogram.
50 public static Summary create(@Nullable Long count, @Nullable Double sum, Snapshot snapshot) { in create() argument
52 Utils.checkNotNull(snapshot, "snapshot"); in create()
53 return new AutoValue_Summary(count, sum, snapshot); in create()
75 * Returns the {@link Snapshot}.
77 * @return the {@code Snapshot}.
80 public abstract Snapshot getSnapshot(); in getSnapshot()
89 public abstract static class Snapshot { class in Summary
91 * Returns the number of values in this {@code Snapshot}. If not available returns {@code null}.
93 * @return the number of values in this {@code Snapshot}.
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DThreadReferenceImpl.java267 LocalCache snapshot = localCache; in jdwpStatus() local
268 JDWP.ThreadReference.Status myStatus = snapshot.status; in jdwpStatus()
274 snapshot.status = myStatus; in jdwpStatus()
332 LocalCache snapshot = localCache; in frameCount() local
334 if (snapshot.frameCount == -1) { in frameCount()
335 snapshot.frameCount = JDWP.ThreadReference.FrameCount in frameCount()
347 return snapshot.frameCount; in frameCount()
364 private boolean isSubrange(LocalCache snapshot, in isSubrange() argument
366 if (start < snapshot.framesStart) { in isSubrange()
370 return (snapshot.framesLength == -1); in isSubrange()
[all …]

12345678910>>...98