Home
last modified time | relevance | path

Searched refs:observed (Results 1 – 25 of 213) sorted by relevance

123456789

/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DColorUtils.java28 public static void verifyColor(int expected, int observed) { in verifyColor() argument
29 verifyColor(expected, observed, 0); in verifyColor()
32 public static void verifyColor(int expected, int observed, int tolerance) { in verifyColor() argument
33 verifyColor("", expected, observed, tolerance); in verifyColor()
44 public static void verifyColor(@NonNull String s, int expected, int observed, int tolerance) { in verifyColor() argument
49 + Integer.toHexString(observed) in verifyColor()
52 String red = verifyChannel("red", expected, observed, tolerance, (i) -> Color.red(i)); in verifyColor()
53 String green = verifyChannel("green", expected, observed, tolerance, (i) -> Color.green(i)); in verifyColor()
54 String blue = verifyChannel("blue", expected, observed, tolerance, (i) -> Color.blue(i)); in verifyColor()
55 String alpha = verifyChannel("alpha", expected, observed, tolerance, (i) -> Color.alpha(i)); in verifyColor()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DChiSquareTestImpl.java66 public double chiSquare(double[] expected, long[] observed) in chiSquare() argument
72 if (expected.length != observed.length) { in chiSquare()
74 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, expected.length, observed.length); in chiSquare()
77 checkNonNegative(observed); in chiSquare()
80 for (int i = 0; i < observed.length; i++) { in chiSquare()
82 sumObserved += observed[i]; in chiSquare()
91 for (int i = 0; i < observed.length; i++) { in chiSquare()
93 final double dev = observed[i] - ratio * expected[i]; in chiSquare()
96 final double dev = observed[i] - expected[i]; in chiSquare()
115 public double chiSquareTest(double[] expected, long[] observed) in chiSquareTest() argument
[all …]
DTestUtils.java226 public static double t(double mu, double[] observed) in t() argument
228 return tTest.t(mu, observed); in t()
326 public static double chiSquare(double[] expected, long[] observed) in chiSquare() argument
328 return chiSquareTest.chiSquare(expected, observed); in chiSquare()
342 public static boolean chiSquareTest(double[] expected, long[] observed, in chiSquareTest() argument
345 return chiSquareTest.chiSquareTest(expected, observed, alpha); in chiSquareTest()
351 public static double chiSquareTest(double[] expected, long[] observed) in chiSquareTest() argument
353 return chiSquareTest.chiSquareTest(expected, observed); in chiSquareTest()
DChiSquareTest.java54 double chiSquare(double[] expected, long[] observed) in chiSquare() argument
86 double chiSquareTest(double[] expected, long[] observed) in chiSquareTest() argument
121 boolean chiSquareTest(double[] expected, long[] observed, double alpha) in chiSquareTest() argument
DTTestImpl.java188 public double t(double mu, double[] observed) in t() argument
190 checkSampleData(observed); in t()
191 return t(StatUtils.mean(observed), mu, StatUtils.variance(observed), in t()
192 observed.length); in t()
DTTest.java157 double t(double mu, double[] observed) in t() argument
/external/swiftshader/src/Vulkan/
DVkSemaphoreExternalFuchsia.hpp80 zx_signals_t observed = 0; in wait() local
82 handle, ZX_EVENT_SIGNALED, ZX_TIME_INFINITE, &observed); in wait()
88 if(observed != ZX_EVENT_SIGNALED) in wait()
90 DABORT("zx_object_wait_one() returned observed %x (%x expected)", observed, ZX_EVENT_SIGNALED); in wait()
104 zx_signals_t observed = 0; in tryWait() local
106 handle, ZX_EVENT_SIGNALED, zx_clock_get_monotonic(), &observed); in tryWait()
112 if(observed != ZX_EVENT_SIGNALED) in tryWait()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DCurveFitter.java92 public void addObservedPoint(WeightedObservedPoint observed) { in addObservedPoint() argument
93 observations.add(observed); in addObservedPoint()
171 for (WeightedObservedPoint observed : observations) { in jacobian()
172 jacobian[i++] = f.gradient(observed.getX(), point); in jacobian()
187 for (WeightedObservedPoint observed : observations) { in value()
188 values[i++] = f.value(observed.getX(), point); in value()
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c292 unsigned int expected, unsigned int observed) in log_anamoly() argument
297 tid, (unsigned long)addr, expected, observed); in log_anamoly()
299 fprintf(f, "Thread %02d: Observed Thread id = %02d\n", tid, extract_tid(observed)); in log_anamoly()
301 fprintf(f, "Thread %02d: Observed Word offset = %03d\n", tid, extract_word_offset(observed)); in log_anamoly()
303 fprintf(f, "Thread %02d: Observed sweep-id = 0x%x\n", tid, extract_sweep_id(observed)); in log_anamoly()
364 unsigned int observed; in verify_chunk() local
386 observed = *iter_ptr; in verify_chunk()
388 if (observed != expected) { in verify_chunk()
390 log_anamoly(tid, iter_ptr, expected, observed); in verify_chunk()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DCoroutineSchedulerStressTest.kt52 val observed = observedThreads.size in testInternalTasksSubmissionProgress() constant
54 …assertTrue(observed in (AVAILABLE_PROCESSORS - 1)..(AVAILABLE_PROCESSORS + 1), "Observed $observed in testInternalTasksSubmissionProgress()
/external/perfetto/protos/perfetto/config/chrome/
Dscenario_config.proto67 // Start rules from all scenarios in the config are observed by default (when no
70 // are only observed once the parent scenario becomes active.
80 // scenario. All nested scenarios within the parent scenario will be observed
85 // observed again.
98 // discards the trace. All scenarios will be observed again.
101 // to upload the trace. All scenarios will be observed again.
/external/libchrome/base/files/
Dfile_path_unittest.cc147 FilePath observed = input.DirName(); in TEST_F() local
148 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
234 FilePath observed = input.BaseName(); in TEST_F() local
235 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
391 FilePath observed = input.StripTrailingSeparators(); in TEST_F() local
392 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
459 bool observed = input.IsAbsolute(); in TEST_F() local
460 EXPECT_EQ(cases[i].expected, observed) << in TEST_F()
508 FilePath::StringType observed; in TEST_F() local
510 observed.append(FILE_PATH_LITERAL("|"), 1); in TEST_F()
[all …]
/external/cronet/base/files/
Dfile_path_unittest.cc161 FilePath observed = input.DirName(); in TEST_F() local
162 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
248 FilePath observed = input.BaseName(); in TEST_F() local
249 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
405 FilePath observed = input.StripTrailingSeparators(); in TEST_F() local
406 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
531 FilePath::StringType observed; in TEST_F() local
533 observed.append(FILE_PATH_LITERAL("|"), 1); in TEST_F()
534 observed.append(j); in TEST_F()
536 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed) << in TEST_F()
[all …]
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DContextTest.java82 private Context observed; field in ContextTest
86 observed = Context.current();
274 private final AtomicReference<Context> observed; in notifyListenersOnCancel() field in ContextTest.SetContextCancellationListener
276 public SetContextCancellationListener(AtomicReference<Context> observed) { in notifyListenersOnCancel() argument
277 this.observed = observed; in notifyListenersOnCancel()
282 observed.set(context); in notifyListenersOnCancel()
459 assertSame(base, observed); in testWrapRunnable()
463 assertSame(current, observed); in testWrapRunnable()
499 assertSame(base, observed); in testWrapCallable()
503 assertSame(current, observed); in testWrapCallable()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java203 Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
209 observed.add(object);
211 assertTrue("All stripes observed", observed.size() == striped.size());
215 assertTrue(observed.contains(striped.get(new Object())));
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java203 Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
209 observed.add(object);
211 assertTrue("All stripes observed", observed.size() == striped.size());
215 assertTrue(observed.contains(striped.get(new Object())));
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/
DHpackDecodeTestBase.java85 String message, List<Header> expected, List<Header> observed) { in assertSetEquals() argument
86 assertEquals(message, new LinkedHashSet<>(expected), new LinkedHashSet<>(observed)); in assertSetEquals()
/external/libjpeg-turbo/.github/ISSUE_TEMPLATE/
Dbug-report.md31 **Platform(s) (compiler version, operating system version, CPU) on which the bug was observed:**
34 **libjpeg-turbo release(s), commit(s), or branch(es) in which the bug was observed (always test the…
/external/pdfium/fpdfsdk/pwl/
Dcpwl_special_button_embeddertest.cpp73 ObservedPtr<CPDFSDK_Widget> observed(widget); in FormFillerAndWindowSetup() local
74 EXPECT_TRUE(interactive_formfiller->OnSetFocus(observed, {})); in FormFillerAndWindowSetup()
/external/cronet/third_party/metrics_proto/ukm/
Dreport.proto67 // Number of unique sources that URLs were observed for. This counts
70 optional int32 observed = 1; field
71 // Number of navigation sources that URLs were observed for, including
/external/cronet/third_party/icu/source/data/translit/
Des_FONIPA_zh.txt41 # it was <u> plus <ai>. This is not borne out by the observed data, which
80 bwin } $not_vowel → 布因 ; # Nonstandard, but fits observed data.
181 gwan } [$] → 古安 ; # Nonstandard, but fits observed data.
297 mwin } $not_vowel → 穆因 ; # Nonstandard, but fits observed data.
428 # entirely from the observed data. They apply mostly to native toponyms
/external/icu/icu4c/source/data/translit/
Des_FONIPA_zh.txt41 # it was <u> plus <ai>. This is not borne out by the observed data, which
80 bwin } $not_vowel → 布因 ; # Nonstandard, but fits observed data.
181 gwan } [$] → 古安 ; # Nonstandard, but fits observed data.
297 mwin } $not_vowel → 穆因 ; # Nonstandard, but fits observed data.
428 # entirely from the observed data. They apply mostly to native toponyms
/external/python/cpython3/Lib/test/
Dtest_shlex.py264 observed = []
273 observed.append((t, tt))
274 self.assertEqual(observed, expected)
/external/tensorflow/tensorflow/lite/tools/evaluation/proto/
Devaluation_stages.proto48 // Maximum latency observed for any Run.
50 // Minimum latency observed for any Run.
64 // Maximum value observed for any Run.
66 // Minimum value observed for any Run.
/external/virglrenderer/.gitlab-ci/expectations/virt/
Dvenus-fails.txt1 # Failures likely due to lavapipe (i.e. the intersection of observed failures and lvp-fails.txt)

123456789