143 {
144 struct Rec {
146 bool fIsFinite;
147 };
148
149 float max = 3.402823466e+38f;
151 float nan = inf * 0;
152
160
162 { 0, true },
163 { 1, true },
164 { -1, true },
165 {
max * 0.75f,
true },
167 { -
max * 0.75f,
true },
169 { inf, false },
170 { -inf, false },
171 { nan, false },
172 };
173
178 };
182 };
183
185
186 for (
i = 0;
i < n; ++
i) {
187 for (
size_t k = 0; k <
std::size(gProc1); ++k) {
188 const Rec& rec =
data[
i];
189 bool finite = gProc1[k](rec.fValue);
191 }
192 }
193
194 for (
i = 0;
i < n; ++
i) {
195 const Rec& rec0 =
data[
i];
196 for (size_t j = 0; j < n; ++j) {
197 const Rec& rec1 =
data[j];
198 for (
size_t k = 0; k <
std::size(gProc1); ++k) {
200
202 bool finite = gProc2[
m](rec0.fValue, rec1.fValue, proc1);
203 bool finite2 = rec0.fIsFinite && rec1.fIsFinite;
205 }
206 }
207 }
208 }
209
211}
static bool isFinite_mulzero(float x)
static bool isFinite2_and(float x, float y, IsFiniteProc1 proc)
bool(* IsFiniteProc2)(float, float, IsFiniteProc1)
static void test_isRectFinite(skiatest::Reporter *reporter)
static bool isFinite_int(float x)
static void test_floatclass(skiatest::Reporter *reporter, float value, FloatClass fc)
static bool isFinite2_mulzeroadd(float x, float y, IsFiniteProc1 proc)
bool(* IsFiniteProc1)(float)
static bool isFinite_float(float x)
static float max(float r, float g, float b)
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