Definition at line 14 of file json_writer.cc.
◆ MaybeOnStackBuffer()
dart::MaybeOnStackBuffer::MaybeOnStackBuffer |
( |
intptr_t |
size | ) |
|
|
inlineexplicit |
Definition at line 16 of file json_writer.cc.
16 {
17 if (
size > kOnStackBufferCapacity) {
19 } else {
20 p_ = &buffer_[0];
21 }
22 }
void * malloc(size_t size)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ ~MaybeOnStackBuffer()
dart::MaybeOnStackBuffer::~MaybeOnStackBuffer |
( |
| ) |
|
|
inline |
Definition at line 23 of file json_writer.cc.
23 {
24 if (p_ != &buffer_[0]) free(p_);
25 }
◆ p()
char * dart::MaybeOnStackBuffer::p |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: