Lines Matching refs:uint

142   volatile uint _bottom;
186 static uint increment_index(uint ind) {
189 static uint decrement_index(uint ind) {
195 uint dirty_size(uint bot, uint top) const {
200 uint size(uint bot, uint top) const {
201 uint sz = dirty_size(bot, top);
229 uint size() const {
233 uint dirty_size() const {
244 uint max_elems() const { return N - 2; }
247 static const uint total_size() { return N; }
277 bool push_slow(E t, uint dirty_n_elems);
278 bool pop_local_slow(uint localBot, Age oldAge);
324 uint iters = size();
325 uint index = _bottom;
326 for (uint i = 0; i < iters; ++i) {
339 bool GenericTaskQueue<E, F, N>::push_slow(E t, uint dirty_n_elems) {
342 uint localBot = _bottom;
359 bool GenericTaskQueue<E, F, N>::pop_local_slow(uint localBot, Age oldAge) {
394 uint localBot = _bottom;
395 uint n_elems = size(localBot, oldAge.top());
486 uint _n;
500 bool steal_1_random(uint queue_num, int* seed, E& t);
501 bool steal_best_of_2(uint queue_num, int* seed, E& t);
502 bool steal_best_of_all(uint queue_num, int* seed, E& t);
504 void register_queue(uint i, T* q);
506 T* queue(uint n);
513 bool steal(uint queue_num, int* seed, E& t);
519 GenericTaskQueueSet<T, F>::register_queue(uint i, T* q) {
525 GenericTaskQueueSet<T, F>::queue(uint i) {
530 GenericTaskQueueSet<T, F>::steal(uint queue_num, int* seed, E& t) {
531 for (uint i = 0; i < 2 * _n; i++) {
542 GenericTaskQueueSet<T, F>::steal_best_of_all(uint queue_num, int* seed, E& t) {
545 uint best_sz = 0;
546 for (uint k = 0; k < _n; k++) {
548 uint sz = _queues[k]->size();
566 GenericTaskQueueSet<T, F>::steal_1_random(uint queue_num, int* seed, E& t) {
568 uint k = queue_num;
582 GenericTaskQueueSet<T, F>::steal_best_of_2(uint queue_num, int* seed, E& t) {
584 uint k1 = queue_num;
586 uint k2 = queue_num;
589 uint sz1 = _queues[k1]->size();
590 uint sz2 = _queues[k2]->size();
595 uint k = (queue_num + 1) % 2;
606 for (uint j = 0; j < _n; j++) {
631 static uint _total_yields;
632 static uint _total_spins;
633 static uint _total_peeks;
639 void sleep(uint millis);
670 static uint total_yields() { return _total_yields; }
671 static uint total_spins() { return _total_spins; }
672 static uint total_peeks() { return _total_peeks; }
679 uint localBot = _bottom;
682 uint dirty_n_elems = dirty_size(localBot, top);
697 uint localBot = _bottom;
702 uint dirty_n_elems = dirty_size(localBot, _age.top());