Searched refs:comb_buffer (Results 1 – 3 of 3) sorted by relevance
927 return comb_buffer[i].score_adj - comb_buffer[j].score_adj; in comb_sort_compare()933 memcpy(&tmpv, comb_buffer + i, sizeof(vote_combination_t)); in comb_sort_exchange()934 memcpy(comb_buffer + i, comb_buffer + j, sizeof(vote_combination_t)); in comb_sort_exchange()935 memcpy(comb_buffer + j, &tmpv, sizeof(vote_combination_t)); in comb_sort_exchange()2201 vote_combination_t * comb_buffer = (vote_combination_t *) topbuf -> comb_buffer; in process_voting_junction_PE_topK() local2346 if(comb_buffer[target_index].score_adj < adjusted_votes) break; in process_voting_junction_PE_topK()2355 memcpy(comb_buffer + move_i, comb_buffer + move_i - 1 , sizeof(vote_combination_t) ); in process_voting_junction_PE_topK()2357 comb_buffer[target_index].r1_loc = vote_simple_1_buffer+i; in process_voting_junction_PE_topK()2358 comb_buffer[target_index].r2_loc = vote_simple_2_buffer+j; in process_voting_junction_PE_topK()2359 comb_buffer[target_index].score_adj = adjusted_votes; in process_voting_junction_PE_topK()[all …]
467 void * comb_buffer; member
3372 …topKbuff -> comb_buffer = malloc(global_context -> config.max_vote_combinations * sizeof(vote_comb…3381 free(topKbuff ->comb_buffer);