Home
last modified time | relevance | path

Searched refs:s_counter (Results 1 – 25 of 52) sorted by relevance

123

/dports/devel/R-cran-Hmisc/Hmisc/src/
H A Dnstr.c10 int s_counter = 0, n_counter = 0; in do_nstr() local
35 SET_STRING_ELT(ans, i, duplicate(STRING_ELT(s, s_counter))); in do_nstr()
43 seg = CHAR(STRING_ELT(s, s_counter)); in do_nstr()
58 s_counter = (++s_counter < s_length) ? s_counter : 0; in do_nstr()
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/drd/tests/
H A Dpth_spinlock.c17 static int s_counter; variable
28 s_counter++; in thread_func()
51 if (s_counter == n_threads * s_iterations) in main()
55 s_counter, n_threads * s_iterations); in main()
H A Dannotate_sem.c24 static unsigned int s_counter; variable
66 sum += s_counter; in thread_func()
70 s_counter++; in thread_func()
89 assert(s_counter == THREADS * ITERATIONS); in main()
H A Drwlock_test.c24 static int s_counter; /* protected by s_rwlock. */ variable
35 sum1 += s_counter; in thread_func()
40 sum2 += s_counter++; in thread_func()
108 s_counter - expected_counter); in main()
H A Dthread_name.c17 static int s_counter; variable
34 while (s_counter != thread_num) in thread_func()
38 s_counter++; in thread_func()
H A Dannotate_rwlock.c35 static int s_counter; variable
131 sum += s_counter; in thread_func()
134 s_counter++; in thread_func()
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/drd/tests/
H A Dpth_spinlock.c17 static int s_counter; variable
28 s_counter++; in thread_func()
51 if (s_counter == n_threads * s_iterations) in main()
55 s_counter, n_threads * s_iterations); in main()
H A Dannotate_sem.c24 static unsigned int s_counter; variable
66 sum += s_counter; in thread_func()
70 s_counter++; in thread_func()
89 assert(s_counter == THREADS * ITERATIONS); in main()
H A Drwlock_test.c24 static int s_counter; /* protected by s_rwlock. */ variable
35 sum1 += s_counter; in thread_func()
40 sum2 += s_counter++; in thread_func()
108 s_counter - expected_counter); in main()
H A Dthread_name.c17 static int s_counter; variable
34 while (s_counter != thread_num) in thread_func()
38 s_counter++; in thread_func()
H A Dannotate_rwlock.c35 static int s_counter; variable
131 sum += s_counter; in thread_func()
134 s_counter++; in thread_func()
/dports/science/pagmo2/pagmo2-2.18.0/tests/
H A Ddefault_bfe.cpp64 ++s_counter; in batch_fitness()
67 static unsigned s_counter; member
70 unsigned bf0::s_counter = 0; member in bf0
120 BOOST_CHECK(bf0::s_counter == 1u); in BOOST_AUTO_TEST_CASE()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudaimgproc/src/cuda/
H A Dcanny.cu506 __shared__ int s_counter; in edgesHysteresisGlobalKernel() local
511 s_counter = 0; in edgesHysteresisGlobalKernel()
531 ind = Emulation::smem::atomicAdd(&s_counter, 1); in edgesHysteresisGlobalKernel()
539 while (s_counter > 0 && s_counter <= stack_size - blockDim.x) in edgesHysteresisGlobalKernel()
542 const int portion = ::min(s_counter, blockDim.x >> 3); in edgesHysteresisGlobalKernel()
545 pos = s_st[s_counter - 1 - subTaskIdx]; in edgesHysteresisGlobalKernel()
550 s_counter -= portion; in edgesHysteresisGlobalKernel()
572 if (s_counter > 0) in edgesHysteresisGlobalKernel()
576 s_ind = ::atomicAdd(d_counter, s_counter); in edgesHysteresisGlobalKernel()
578 if (s_ind + s_counter > map.cols * map.rows) in edgesHysteresisGlobalKernel()
[all …]
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/runners/calculator/
H A Dqalculate_engine.cpp25 QAtomicInt QalculateEngine::s_counter; member in QalculateEngine
30 s_counter.ref(); in QalculateEngine()
43 if (s_counter.deref()) { in ~QalculateEngine()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/
H A DBlockedRuntimeTypeNameGenerator.cs31 uint count = s_counter++; in Factory()
35 private static uint s_counter; field in System.Reflection.Runtime.General.BlockedRuntimeTypeNameGenerator.BlockedRuntimeTypeNameTable
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/helgrind/tests/
H A Dannotate_rwlock.c45 static int s_counter; variable
145 sum += s_counter; in thread_func()
148 s_counter++; in thread_func()
H A Drwlock_test.stderr.exp2 s_counter - expected_counter = 0
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/helgrind/tests/
H A Dannotate_rwlock.c45 static int s_counter; variable
145 sum += s_counter; in thread_func()
148 s_counter++; in thread_func()
/dports/devel/gdb/gdb-11.1/gdb/testsuite/lib/
H A Drange-stepping-support.exp26 set s_counter 0
31 incr s_counter
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.MemoryMappedFiles/src/Microsoft/Win32/
H A DSafeMemoryMappedFileHandle.Unix.cs18 private static long s_counter = 0; field in Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle
66 … int nextHandleValue = (int)((Interlocked.Increment(ref s_counter) % (int.MaxValue - 1)) + 1); in SafeMemoryMappedFileHandle()
/dports/math/piranha/piranha-0.11/tests/
H A Dmemory.cpp173 if (++s_counter == 500u) { in faulty_string()
174 s_counter.store(0u); in faulty_string()
178 static std::atomic<unsigned> s_counter; member
181 std::atomic<unsigned> faulty_string::s_counter(0u); member in faulty_string
/dports/math/py-piranha/piranha-0.11/tests/
H A Dmemory.cpp173 if (++s_counter == 500u) { in faulty_string()
174 s_counter.store(0u); in faulty_string()
178 static std::atomic<unsigned> s_counter; member
181 std::atomic<unsigned> faulty_string::s_counter(0u); member in faulty_string
/dports/databases/mantis/mantisbt-2.25.2/plugins/SourceHgWeb/
H A DSourceHgWeb.php205 static $s_counter = 0;
215 while( count( $s_parents ) > 0 && $s_counter < 200 ) {
236 $s_counter = 0;
/dports/databases/mantis/mantisbt-2.25.2/plugins/SourceGitlab/
H A DSourceGitlab.php309 static $s_counter = 0;
320 while( count( $s_parents ) > 0 && $s_counter < 200 ) {
343 $s_counter = 0;
/dports/emulators/dolphin-emu/dolphin-3152428/Source/UnitTests/Core/
H A DCoreTimingTest.cpp111 static unsigned int s_counter = 0; variable
119 EXPECT_EQ(ID, s_counter); in FifoCallback()
121 ++s_counter; in FifoCallback()
148 s_counter = 0; in TEST()

123