Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/third_party/node/tools/snapshot/
DREADME.md1 # Node.js startup snapshot builder
3 This is the V8 startup snapshot builder of Node.js. Not to be confused with
4 V8's own snapshot builder, which builds a snapshot containing JavaScript
5 builtins, this builds a snapshot containing Node.js builtins that can be
6 deserialized on top of V8's own startup snapshot. When Node.js is launched,
8 an embedded snapshot, which readily contains the result of the bootstrap, so
11 Currently only the main context of the main Node.js instance supports snapshot
12 deserialization, and the snapshot does not yet cover the entire bootstrap
17 The snapshot builder is built with the `node_mksnapshot` target in `node.gyp`
21 In the default build of the Node.js executable, to embed a V8 startup snapshot
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_handle_test.cc64 auto* snapshot = new CordzSnapshot(); in TEST() local
65 EXPECT_TRUE(snapshot->is_snapshot()); in TEST()
66 EXPECT_TRUE(snapshot->SafeToDelete()); in TEST()
67 EXPECT_THAT(DeleteQueue(), ElementsAre(snapshot)); in TEST()
68 delete snapshot; in TEST()
74 auto* snapshot = new CordzSnapshot(); in TEST() local
79 EXPECT_THAT(DeleteQueue(), ElementsAre(handle, snapshot)); in TEST()
83 delete snapshot; in TEST()
91 CordzSnapshot* snapshot[3]; in TEST() local
94 snapshot[i] = new CordzSnapshot(); in TEST()
[all …]
Dcordz_info_test.cc135 CordzSnapshot snapshot; in TEST() local
139 EXPECT_THAT(DeleteQueue(), ElementsAre(info, &snapshot)); in TEST()
196 CordzSnapshot snapshot; in TEST() local
197 EXPECT_THAT(CordzInfo::Head(snapshot), Eq(nullptr)); in TEST()
202 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info1)); in TEST()
203 EXPECT_THAT(info1->Next(snapshot), Eq(nullptr)); in TEST()
208 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info2)); in TEST()
209 EXPECT_THAT(info2->Next(snapshot), Eq(info1)); in TEST()
210 EXPECT_THAT(info1->Next(snapshot), Eq(nullptr)); in TEST()
213 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info1)); in TEST()
[all …]
/third_party/python/Lib/test/
Dtest_tracemalloc.py58 snapshot = tracemalloc.Snapshot(raw_traces, traceback_limit)
72 return (snapshot, snapshot2)
303 snapshot = tracemalloc.take_snapshot()
306 self.assertGreater(snapshot.traces[1].traceback.total_nframe, 10)
309 snapshot.dump(support.TESTFN)
314 self.assertEqual(snapshot2.traces, snapshot.traces)
326 snapshot = tracemalloc.take_snapshot()
327 snapshot.test_attr = "new"
328 snapshot.dump(support.TESTFN)
377 snapshot = tracemalloc.take_snapshot()
[all …]
/third_party/jerryscript/tools/
Dcheck-sonarqube.sh24 --jerry-cmdline-snapshot=on \
29 --snapshot-save=on \
30 --snapshot-exec=on \
38 --jerry-cmdline-snapshot=on \
43 --snapshot-save=on \
44 --snapshot-exec=on \
/third_party/typescript/tests/baselines/reference/
Dparserindenter.js30 public snapshot: ITextSnapshot,
36 this.indentationBag = new IndentationBag(this.snapshot);
159 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition());
166 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
404 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition);
406 var currentIndentText = this.snapshot.GetText(currentIndentSpan);
497 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition);
499 var currentIndent = this.snapshot.GetText(currentIndentSpan);
535 …var origIndentText = this.snapshot.GetText(new Span(indentEditInfo.OrigIndentPosition, indentEditI…
556 …var childTokenLineStartPosition = this.snapshot.GetLineFromPosition(childTokenStartPosition).start…
[all …]
Dparserindenter.types43 public snapshot: ITextSnapshot,
44 >snapshot : any
59 this.indentationBag = new IndentationBag(this.snapshot);
60 >this.indentationBag = new IndentationBag(this.snapshot) : any
64 >new IndentationBag(this.snapshot) : any
66 >this.snapshot : any
68 >snapshot : any
602 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition());
604 >this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()) : any
605 >this.snapshot.GetLineNumberFromPosition : any
[all …]
Dparserindenter.symbols42 public snapshot: ITextSnapshot,
43 >snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35))
57 this.indentationBag = new IndentationBag(this.snapshot);
61 >this.snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35))
63 >snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35))
367 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition());
369 >this.snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35))
371 >snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35))
399 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
401 >this.snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35))
[all …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart_runner/embedder/
Dsnapshot.cc.tmpl5 // This file is linked into the dart executable when it has a snapshot
8 #include "embedder/snapshot.h"
13 // generated snapshot binary file for the vm isolate. This string forms the
14 // content of the dart vm isolate snapshot which is loaded into the vm isolate.
19 // generated snapshot binary file for a regular dart isolate.
20 // This string forms the content of a regular dart isolate snapshot which
/third_party/typescript/src/testRunner/unittests/services/
DdocumentRegistry.ts60 const snapshot = ts.ScriptSnapshot.fromString(contents); constant
63snapshot.getChangeRange = () => ts.createTextChangeRange(ts.createTextSpan(0, contents.length), co…
66 … documentRegistry.acquireDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "1");
69 … documentRegistry.acquireDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "1");
72 … documentRegistry.updateDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "2");
75 … documentRegistry.updateDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "3");
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserindenter.ts29 public snapshot: ITextSnapshot,
35 this.indentationBag = new IndentationBag(this.snapshot);
158 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition());
165 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
403 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition);
405 var currentIndentText = this.snapshot.GetText(currentIndentSpan);
496 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition);
498 var currentIndent = this.snapshot.GetText(currentIndentSpan);
534 …var origIndentText = this.snapshot.GetText(new Span(indentEditInfo.OrigIndentPosition, indentEditI…
555 …var childTokenLineStartPosition = this.snapshot.GetLineFromPosition(childTokenStartPosition).start…
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/
Dbuild-all.sh40 if [ ! -e release/c/wuffs-unsupported-snapshot.c ]; then
58 release/c/wuffs-unsupported-snapshot.c -o /dev/null
60 release/c/wuffs-unsupported-snapshot.c -o /dev/null
64 release/c/wuffs-unsupported-snapshot.c -o /dev/null
66 release/c/wuffs-unsupported-snapshot.c -o /dev/null
/third_party/flutter/flutter/dev/integration_tests/platform_interaction/lib/src/
Dtest_step.dart18 factory TestStepResult.fromSnapshot(AsyncSnapshot<TestStepResult> snapshot) {
19 switch (snapshot.connectionState) {
25 if (snapshot.hasData) {
26 return snapshot.data;
28 final TestStepResult result = snapshot.error;
33 throw 'Unsupported state ${snapshot.connectionState}';
/third_party/grpc/src/core/ext/xds/
Dxds_client_stats.cc77 Snapshot snapshot; in GetSnapshotAndReset() local
78 snapshot.uncategorized_drops = GetAndResetCounter(&uncategorized_drops_); in GetSnapshotAndReset()
80 snapshot.categorized_drops = std::move(categorized_drops_); in GetSnapshotAndReset()
81 return snapshot; in GetSnapshotAndReset()
135 Snapshot snapshot = {GetAndResetCounter(&total_successful_requests_), in GetSnapshotAndReset() local
143 snapshot.backend_metrics = std::move(backend_metrics_); in GetSnapshotAndReset()
144 return snapshot; in GetSnapshotAndReset()
/third_party/glib/gmodule/
Dgmodule-win32.c126 HANDLE snapshot; in find_in_any_module_using_toolhelp() local
138 snapshot = CreateToolhelp32Snapshot (TH32CS_SNAPMODULE, 0); in find_in_any_module_using_toolhelp()
139 if (snapshot == INVALID_HANDLE_VALUE && GetLastError () == ERROR_BAD_LENGTH) in find_in_any_module_using_toolhelp()
147 if (snapshot == INVALID_HANDLE_VALUE) in find_in_any_module_using_toolhelp()
152 if (Module32First (snapshot, &me32)) in find_in_any_module_using_toolhelp()
157 } while (Module32Next (snapshot, &me32)); in find_in_any_module_using_toolhelp()
160 CloseHandle (snapshot); in find_in_any_module_using_toolhelp()
/third_party/node/test/sequential/
Dtest-heapdump.js39 const snapshot = getHeapSnapshot(); constant
40 snapshot.setEncoding('utf-8');
41 snapshot.on('data', common.mustCallAtLeast((chunk) => {
44 snapshot.on('end', common.mustCall(() => {
/third_party/grpc/test/core/debug/
Dstats_test.cc52 std::unique_ptr<Snapshot> snapshot(new Snapshot); in TEST() local
57 EXPECT_EQ(snapshot->delta().counters[i], 1); in TEST()
62 std::unique_ptr<Snapshot> snapshot(new Snapshot); in TEST() local
67 EXPECT_EQ(snapshot->delta().counters[GRPC_STATS_COUNTER_SYSCALL_POLL], 1); in TEST()
95 std::unique_ptr<Snapshot> snapshot(new Snapshot); in TEST_P() local
100 auto delta = snapshot->delta(); in TEST_P()
/third_party/flutter/engine/flutter/runtime/
Ddart_snapshot.cc160 auto snapshot = in VMSnapshotFromSettings() local
164 if (snapshot->IsValid()) { in VMSnapshotFromSettings()
165 return snapshot; in VMSnapshotFromSettings()
173 auto snapshot = in IsolateSnapshotFromSettings() local
177 if (snapshot->IsValid()) { in IsolateSnapshotFromSettings()
178 return snapshot; in IsolateSnapshotFromSettings()
/third_party/node/test/parallel/
Dtest-inspector-heapdump.js26 assert(profile.snapshot.meta);
27 assert(profile.snapshot.node_count > 0);
28 assert(profile.snapshot.edge_count > 0);
/third_party/flutter/engine/flutter/testing/
Dtesting.gni34 # Generates the Dart kernel snapshot.
39 # dart_kernel (required): The path to the ouput kernel snapshot in the out
52 # This generates the Frontend server snapshot used in this Dart action as
58 deps += [ "$flutter_root/lib/snapshot:strong_platform" ]
61 script = "$root_out_dir/frontend_server.dart.snapshot"
98 # Generates an AOT snapshot from a kernel snapshot.
102 # dart_kernel (required): The path to the kernel snapshot.
143 # Generates a kernel or AOT snapshot as necessary from the main Dart file.
238 # If a Dart file is specified, snapshot it and place it in the generated
/third_party/boost/libs/unordered/ci/
Ddownload-boost-snapshot.py5 def download(snapshot): argument
6 if snapshot == 'stable':
12 …sponse = urllib.urlopen('https://api.bintray.com/packages/boostorg/%s/snapshot/files' % (snapshot))
26 …downloads = ['http://dl.bintray.com/boostorg/%s/%s' % (snapshot, file['path']) for file in file_li…
/third_party/skia/tests/
DPathBuilderTest.cpp21 is_empty(reporter, b.snapshot()); in DEF_TEST()
26 SkPath p0 = b.snapshot(); in DEF_TEST()
27 SkPath p1 = b.snapshot(); in DEF_TEST()
41 is_empty(reporter, b.snapshot()); in DEF_TEST()
54 for (const SkPath& path : { b.snapshot(), b.detach() }) { in DEF_TEST()
104 REPORTER_ASSERT(reporter, check_points(b.snapshot(), pts0, SK_ARRAY_COUNT(pts0))); in DEF_TEST()
111 REPORTER_ASSERT(reporter, check_points(b.snapshot(), pts1, SK_ARRAY_COUNT(pts1))); in DEF_TEST()
257 auto p1 = builder.snapshot(); in DEF_TEST()
260 auto p2 = builder.snapshot(); in DEF_TEST()
303 SkPath s = b.snapshot(), in DEF_TEST()
/third_party/node/src/
Dheap_utils.cc236 HeapSnapshotPointer&& snapshot, in HeapSnapshotStream() argument
240 snapshot_(std::move(snapshot)) { in HeapSnapshotStream()
311 HeapSnapshotPointer snapshot { in TakeSnapshot() local
313 snapshot->Serialize(out, HeapSnapshot::kJSON); in TakeSnapshot()
328 void DeleteHeapSnapshot(const HeapSnapshot* snapshot) { in DeleteHeapSnapshot() argument
329 const_cast<HeapSnapshot*>(snapshot)->Delete(); in DeleteHeapSnapshot()
333 Environment* env, HeapSnapshotPointer&& snapshot) { in CreateHeapSnapshotStream() argument
354 return MakeBaseObject<HeapSnapshotStream>(env, std::move(snapshot), obj); in CreateHeapSnapshotStream()
359 HeapSnapshotPointer snapshot { in CreateHeapSnapshotStream() local
361 CHECK(snapshot); in CreateHeapSnapshotStream()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dasync.dart190 /// * [StreamBuilder], which builds itself based on a snapshot from interacting
192 /// * [FutureBuilder], which builds itself based on a snapshot from interacting
244 /// Returns a snapshot like this one, but in the specified [state].
250 /// Returns whether this snapshot contains a non-null [data] value.
258 /// Returns whether this snapshot contains a non-null [error] value.
289 /// itself based on a snapshot from interacting with a [Stream].
291 /// itself based on a snapshot from interacting with a [Future].
292 typedef AsyncWidgetBuilder<T> = Widget Function(BuildContext context, AsyncSnapshot<T> snapshot);
294 /// Widget that builds itself based on the latest snapshot of interaction with
322 /// generation introduces snapshot pairs of the form:
[all …]
/third_party/grpc/src/csharp/Grpc.Core/
DGrpcEnvironment.cs156 HashSet<Channel> snapshot = null; in ShutdownChannelsAsync()
159 snapshot = new HashSet<Channel>(registeredChannels); in ShutdownChannelsAsync()
161 return Task.WhenAll(snapshot.Select((channel) => channel.ShutdownAsync())); in ShutdownChannelsAsync()
169 HashSet<Server> snapshot = null; in KillServersAsync()
172 snapshot = new HashSet<Server>(registeredServers); in KillServersAsync()
174 return Task.WhenAll(snapshot.Select((server) => server.KillAsync())); in KillServersAsync()

12345678910>>...15