Searched refs:MyContext (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | mutex_test.cc | 140 struct MyContext { struct 146 bool MyContext::MyTurn() { in MyTurn() 152 MyContext mc; in TestAwait() 158 cxt->mu.Await(absl::Condition(&mc, &MyContext::MyTurn)); in TestAwait()
|
/third_party/python/Lib/test/ |
D | test_decimal.py | 4154 class MyContext(Context): class 4181 d = MyContext() 4187 self.assertRaises(ValueError, MyContext, **{'prec':-1}) 4188 c = MyContext(prec=1) 4193 self.assertRaises(TypeError, MyContext, **{'rounding':'XYZ'}) 4194 c = MyContext(rounding=ROUND_DOWN, prec=1) 4199 self.assertRaises(ValueError, MyContext, **{'Emin':5}) 4200 c = MyContext(Emin=-1, prec=1) 4208 self.assertRaises(ValueError, MyContext, **{'Emax':-1}) 4209 c = MyContext(Emax=1, prec=1) [all …]
|
D | test_context.py | 68 class MyContext(contextvars.Context): class
|