Searched refs:idx (Results 1 – 3 of 3) sorted by relevance
269 for(size_t idx = 0; idx < N; idx++) in TaskPool() local271 PoolItem* pElement = Buffer() + idx; in TaskPool()281 for(size_t idx = 0; idx < N; idx++) in ~TaskPool() local283 PoolItem* pElement = Buffer() + idx; in ~TaskPool()299 int idx = index.IncFetch() - 1; in TryAlloc() local301 int clampedIdx = (idx & MASK); in TryAlloc()
116 int idx = 0; in Compress3() local123 idx = j; in Compress3()128 closest[i] = ( u8 )idx; in Compress3()169 int idx = 0; in Compress4() local176 idx = j; in Compress4()181 closest[i] = ( u8 )idx; in Compress4()
662 int idx = task.group.GetValidIndex(); in RunTasksImpl() local663 MT_ASSERT(idx >= 0 && idx < TaskGroup::MT_MAX_GROUPS_COUNT, "Invalid index"); in RunTasksImpl()664 newTaskCountInGroup[idx]++; in RunTasksImpl()853 int idx = group.GetValidIndex(); in CreateGroup() local854 MT_USED_IN_ASSERT(idx); in CreateGroup()855 MT_ASSERT(groupStats[idx].GetDebugIsFree() == true, "Bad logic!"); in CreateGroup()857 groupStats[idx].SetDebugIsFree(false); in CreateGroup()868 int idx = group.GetValidIndex(); in ReleaseGroup() local869 MT_USED_IN_ASSERT(idx); in ReleaseGroup()872 groupStats[idx].SetDebugIsFree(true); in ReleaseGroup()[all …]