/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
3-1.c | 16 * We have four threads, main(also a reader), writer1, reader, writer2 17 * main has the highest priority, writer1 and reader has same priority, writer2 has lowest 26 * 5. Create a writer2 thread, with priority sched_get_priority_min(). It should block 29 * writer1, reader, writer2. 156 printf("writer2: attempt write lock\n"); 166 printf("writer2: acquired writer lock\n"); 173 printf("writer2: unlock writer lock\n"); 191 pthread_t writer1, reader, writer2; local 264 /* Writer2 is the lowest priority thread */ 268 printf("main: create writer2, with priority: %d\n", priority) [all...] |
/cts/tests/tests/os/src/android/os/health/cts/ |
HealthStatsTest.java | 191 HealthStatsWriter writer2 = new HealthStatsWriter(CONSTANTS); local 192 writer2.addMeasurement(MEASUREMENT_2, Long.MIN_VALUE); 193 writer.addStats(STATS_0, "a", writer2);
|
/external/perfetto/src/tracing/core/ |
startup_trace_writer_unittest.cc | 297 auto writer2 = registry->CreateUnboundTraceWriter(); local 301 // Return |writer2|. It should be kept alive until the registry is bound. 302 registry->ReturnUnboundTraceWriter(std::move(writer2)); 308 // Binding |writer1| writing should fail, but |writer2| should be bound.
|
tracing_service_impl_unittest.cc | 633 auto writer2 = producer->CreateTraceWriter("ds_2"); local 649 writer2->Flush(); 1923 auto writer2 = producer2->CreateTraceWriter("ds_2A"); local [all...] |
/external/tensorflow/tensorflow/python/summary/writer/ |
writer_test.py | 489 writer2 = writer.FileWriter(session=sess, logdir=logdir) 490 writer2.add_summary(self._createTaggedSummary("two"), 2) 491 writer2.flush() 541 writer2 = summary_ops_v2.create_file_writer(logdir=logdir) 542 with summary_ops_v2.always_record_summaries(), writer2.as_default(): 544 sess.run(writer2.init()) 546 sess.run(writer2.flush())
|
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 441 final FileOutputStream writer2 = new AutoCloseOutputStream(pipe2[1])) { 457 writer2.close(); 523 final FileOutputStream writer2 = new AutoCloseOutputStream(pipe2[1])) { 539 writer2.close(); [all...] |
/external/tensorflow/tensorflow/contrib/summary/ |
summary_ops_graph_test.py | 152 writer2 = summary_ops.create_file_writer(logdir, name=shared_name) 153 with writer2.as_default(): 164 sess.run(writer2.init()) 168 sess.run([writer1.flush(), writer2.flush(), writer3.flush()])
|
summary_ops_test.py | 221 writer2 = summary_ops.create_file_writer(logdir, name=shared_name) 222 with writer2.as_default():
|
/external/python/cpython2/Lib/bsddb/test/ |
test_associate.py | 422 t2 = Thread(target = self.writer2, 438 def writer2(self, d): member in class:ThreadedAssociateTestCase
|
/external/deqp-deps/SPIRV-Tools/test/ |
bit_stream.cpp | 493 BitWriterWord64 writer2(16384); 497 writer2.WriteBits(i, 16); 498 ASSERT_EQ(writer1.GetNumBits(), writer2.GetNumBits());
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
bit_stream.cpp | 493 BitWriterWord64 writer2(16384); 497 writer2.WriteBits(i, 16); 498 ASSERT_EQ(writer1.GetNumBits(), writer2.GetNumBits());
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
summary_ops_test.py | 605 writer2 = summary_ops.create_file_writer_v2(logdir) 606 with writer2.as_default(): 616 with writer2.as_default(): [all...] |