Home
last modified time | relevance | path

Searched refs:allocated_cut_num (Results 1 – 9 of 9) sorted by relevance

/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/src/CutPool/
H A Dcp_proccomm.c150 if (cp->allocated_cut_num < cp->cut_num){ in cp_process_message()
151 cp->allocated_cut_num = cp->cut_num + cp->par.block_size; in cp_process_message()
153 cp->cuts = (cp_cut_data **) malloc(cp->allocated_cut_num * in cp_process_message()
226 if (cnt + cp->cut_num > cp->allocated_cut_num && in cut_pool_receive_cuts()
243 if (cp->cut_num + cnt <= cp->allocated_cut_num) in cut_pool_receive_cuts()
246 if (cp->allocated_cut_num + cnt + cp->par.block_size <= in cut_pool_receive_cuts()
248 cp->allocated_cut_num += cnt + cp->par.block_size; in cut_pool_receive_cuts()
250 (cp->cuts, cp->allocated_cut_num * sizeof(cp_cut_data *)); in cut_pool_receive_cuts()
256 (cp->cuts, cp->allocated_cut_num * sizeof(cp_cut_data *)); in cut_pool_receive_cuts()
260 cp->allocated_cut_num = cp->cut_num + cp->par.block_size; in cut_pool_receive_cuts()
[all …]
H A Dcp_func.c94 cp->allocated_cut_num = cp->par.block_size; in cp_initialize()
305 fprintf(f, "CUTNUM: %i %i %i\n", cp->allocated_cut_num, cp->cut_num, in write_cp_cut_list()
336 fscanf(f, "%s %i %i %i", str, &cp->allocated_cut_num, &cp->cut_num, in read_cp_cut_list()
339 malloc(cp->allocated_cut_num*sizeof(cp_cut_data *)); in read_cp_cut_list()
375 fscanf(f, "%s %i %i", str, &cp->cut_num, &cp->allocated_cut_num); in cp_read_tm_cut_list()
377 malloc(cp->allocated_cut_num*sizeof(cp_cut_data *)); in cp_read_tm_cut_list()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/include/
H A Dsym_cp.h52 int allocated_cut_num; /* the possible number of cuts */ member
H A Dsym_tm.h111 int allocated_cut_num; member
H A Dsym_types.h893 int allocated_cut_num; member
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/src/Master/
H A Dmaster.c1172 tm->allocated_cut_num = env->warm_start->allocated_cut_num;
1397 env->warm_start->allocated_cut_num = env->tm->allocated_cut_num;
1468 tm->cut_num = tm->allocated_cut_num = 0;
1783 upd_cuts = (cut_data **)malloc(sizeof(cut_data *)*env->warm_start->allocated_cut_num);
4882 ws->allocated_cut_num);
4993 ws->allocated_cut_num = temp;
H A Dmaster_func.c3436 int i, num=0, allocated_cut_num = 0; in create_copy_warm_start() local
3448 allocated_cut_num = ws_copy->allocated_cut_num; in create_copy_warm_start()
3450 calloc(allocated_cut_num, sizeof(cut_data*)); in create_copy_warm_start()
3815 (cp_cut_data**)malloc(env_copy->cp[i]->allocated_cut_num* in create_copy_environment()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/src/TreeManager/
H A Dtm_func.c2057 REALLOC(tm->cuts, cut_data *, tm->allocated_cut_num, tm->cut_num + 1,
3364 fprintf(f, "CUTNUM: %i %i\n", tm->cut_num, tm->allocated_cut_num);
3392 fscanf(f, "%s %i %i", str, &tm->cut_num, &tm->allocated_cut_num);
3393 tm->cuts = (cut_data **) malloc(tm->allocated_cut_num*sizeof(cut_data *));
H A Dtm_proccomm.c1138 REALLOC(tm->cuts, cut_data *, tm->allocated_cut_num, old_cutnum + in unpack_cut_set()