Searched refs:fail_after (Results 1 – 6 of 6) sorted by relevance
/external/grpc-grpc/third_party/nanopb/tests/io_errors/ |
D | io_errors.c | 14 size_t fail_after; member 23 if (state->fail_after == 0) in read_callback() 25 state->fail_after--; in read_callback() 37 if (state->fail_after == 0) in write_callback() 39 state->fail_after--; in write_callback() 68 fs.fail_after = i; in main() 86 fs.fail_after = msglen; in main() 109 fs.fail_after = i; in main() 128 fs.fail_after = msglen; in main()
|
/external/nanopb-c/tests/io_errors/ |
D | io_errors.c | 14 size_t fail_after; member 23 if (state->fail_after == 0) in read_callback() 25 state->fail_after--; in read_callback() 37 if (state->fail_after == 0) in write_callback() 39 state->fail_after--; in write_callback() 68 fs.fail_after = i; in main() 86 fs.fail_after = msglen; in main() 109 fs.fail_after = i; in main() 128 fs.fail_after = msglen; in main()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | permuter_test.cc | 52 int64 step_id, int fail_after) in FailTestRMA() argument 54 fail_after_(fail_after) {} in FailTestRMA() 132 const DeviceType& device_type, int fail_after) { in Init() argument 171 fail_after); in Init() 230 void Permute(int fail_after) { in Permute() argument 237 if (fail_after > 0) { in Permute() 250 int num_devices, int tensor_len, int fail_after) { in RunTest() argument 251 Init(num_workers, num_devices, dtype, device_type, fail_after); in RunTest() 269 Permute(fail_after); in RunTest() 274 ASSERT_GT(fail_after, 0); in RunTest()
|
D | ring_gatherer_test.cc | 48 int64 step_id, int fail_after) in FailTestRMA() argument 50 fail_after_(fail_after) {} in FailTestRMA() 140 const DeviceType& device_type, int num_subdivs, int fail_after) { in Init() argument 181 fail_after); in Init() 254 void Gather(int fail_after) { in Gather() argument 261 if (fail_after > 0) { in Gather() 275 int fail_after) { in RunTest() argument 276 Init(num_workers, num_devices, dtype, device_type, num_subdivs, fail_after); in RunTest() 298 Gather(fail_after); in RunTest() 299 if (fail_after > 0) { in RunTest()
|
D | ring_reducer_test.cc | 49 int64 step_id, int fail_after) in FailTestRMA() argument 51 fail_after_(fail_after) {} in FailTestRMA() 163 const DeviceType& device_type, int num_subdivs, int fail_after) { in Init() argument 204 fail_after); in Init() 278 void Reduce(int fail_after) { in Reduce() argument 285 if (fail_after > 0) { in Reduce() 299 int fail_after) { in RunTest() argument 300 Init(num_workers, num_devices, dtype, device_type, num_subdivs, fail_after); in RunTest() 318 Reduce(fail_after); in RunTest() 319 if (fail_after > 0) { in RunTest()
|
D | hierarchical_tree_broadcaster_test.cc | 142 int64 step_id, int fail_after) in FailTestRMA() argument 144 fail_after_(fail_after) {} in FailTestRMA() 222 const DeviceType& device_type, int fail_after) { in Init() argument 264 fail_after); in Init() 422 int num_devices, int tensor_len, int fail_after, in RunTest() argument 424 Init(num_workers, num_devices, dtype, device_type, fail_after); in RunTest() 466 ASSERT_GT(fail_after, 0); in RunTest() 514 if (fail_after > 0) { in RunTest()
|