25 uint32_t
data[kBytes/4], tweaked[kBytes/4];
35 for (
size_t j = 0; j <
std::size(tweaked); ++j) {
36 const uint32_t saved = tweaked[j];
37 tweaked[j] = rand.
nextU();
58 float a[9] = { 0, 1, 2,
61 float b[9] = { 1, 2, 0,
68 double a[9] = { 0, 1, 2,
71 double b[9] = { 1, 2, 0,
83 for (
int i = 0;
i < 256;
i++) {
87 REPORTER_ASSERT(r, hash_bytes( 0) == 0xe2bde459,
"%08x", hash_bytes( 0));
88 REPORTER_ASSERT(r, hash_bytes( 1) == 0xe5f8bd85,
"%08x", hash_bytes( 1));
89 REPORTER_ASSERT(r, hash_bytes( 2) == 0x77acd42a,
"%08x", hash_bytes( 2));
90 REPORTER_ASSERT(r, hash_bytes( 7) == 0x78d0861f,
"%08x", hash_bytes( 7));
91 REPORTER_ASSERT(r, hash_bytes( 32) == 0x4e73df6d,
"%08x", hash_bytes( 32));
92 REPORTER_ASSERT(r, hash_bytes( 63) == 0x5e66a3f4,
"%08x", hash_bytes( 63));
93 REPORTER_ASSERT(r, hash_bytes( 64) == 0x962d6746,
"%08x", hash_bytes( 64));
94 REPORTER_ASSERT(r, hash_bytes( 99) == 0x79e09416,
"%08x", hash_bytes( 99));
95 REPORTER_ASSERT(r, hash_bytes(255) == 0x85f837f0,
"%08x", hash_bytes(255));
99 constexpr char kMessage[] =
"Checksums are supported for SkString, string, and string_view.";
static constexpr T SkAlign4(T x)
static uint32_t hash(const SkShaderBase::GradientInfo &v)
#define REPORTER_ASSERT(r, cond,...)
uint32_t Hash32(const void *data, size_t bytes, uint32_t seed)
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
std::shared_ptr< const fml::Mapping > data