5#ifndef RUNTIME_VM_UNIBROW_H_
6#define RUNTIME_VM_UNIBROW_H_
23template <
class T,
intptr_t size = 256>
27 inline intptr_t
get(int32_t c, int32_t n, int32_t*
result);
31 intptr_t CalculateValue(int32_t c, int32_t n, int32_t*
result);
33 inline CacheEntry() : code_point_(kNoChar), offset_(0) {}
34 inline CacheEntry(int32_t code_point,
signed offset)
35 : code_point_(code_point), offset_(
offset) {}
38 static constexpr intptr_t kNoChar = (1 << 21) - 1;
40 static constexpr intptr_t kSize =
size;
41 static constexpr intptr_t kMask =
kSize - 1;
42 CacheEntry entries_[
kSize];
46 static bool Is(int32_t c);
50 static intptr_t
Convert(int32_t c,
53 bool* allow_caching_ptr);
57 static intptr_t
Convert(int32_t c,
60 bool* allow_caching_ptr);
64 static intptr_t
Convert(int32_t c,
67 bool* allow_caching_ptr);
intptr_t get(int32_t c, int32_t n, int32_t *result)
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
static intptr_t Convert(int32_t c, int32_t n, int32_t *result, bool *allow_caching_ptr)
static constexpr intptr_t kMaxWidth
static intptr_t Convert(int32_t c, int32_t n, int32_t *result, bool *allow_caching_ptr)
static constexpr intptr_t kMaxWidth
static intptr_t Convert(int32_t c, int32_t n, int32_t *result, bool *allow_caching_ptr)
static constexpr intptr_t kMaxWidth
static bool Is(int32_t c)