Changeset 9de60a in git
- Timestamp:
- Apr 4, 2017, 5:33:27 PM (7 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 4a0e4ea61e709d6664315404b52dd64b5469d1dd6c688bd32235d71dd4d5ed60cc4bc0c2aec6969d
- Parents:
- ae88f61bc549fc10cc2a54fe1aaf8e8c68190b9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
rae88f6 r9de60a 8539 8539 if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 8540 8540 else i=setmaxT; 8541 i=((i+IDELEMS(F)+IDELEMS(P)+ 15)/16)*16;8541 i=((i+IDELEMS(F)+IDELEMS(P)+setmax-1)/setmax)*setmax; 8542 8542 strat->ecartS=initec(i); 8543 8543 strat->sevS=initsevS(i); … … 8684 8684 if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 8685 8685 else i=setmaxT; 8686 i=((i+IDELEMS(F)+IDELEMS(P)+ 15)/16)*16;8686 i=((i+IDELEMS(F)+IDELEMS(P)+setmax-1)/setmax)*setmax; 8687 8687 strat->sevS=initsevS(i); 8688 8688 strat->sevSig=initsevS(i); … … 9337 9337 strat->sevS = (unsigned long*) omRealloc0Size(strat->sevS, 9338 9338 IDELEMS(strat->Shdl)*sizeof(unsigned long), 9339 (IDELEMS(strat->Shdl)+setmax Tinc)9339 (IDELEMS(strat->Shdl)+setmax) 9340 9340 *sizeof(unsigned long)); 9341 9341 strat->sevSig = (unsigned long*) omRealloc0Size(strat->sevSig, 9342 9342 IDELEMS(strat->Shdl)*sizeof(unsigned long), 9343 (IDELEMS(strat->Shdl)+setmax Tinc)9343 (IDELEMS(strat->Shdl)+setmax) 9344 9344 *sizeof(unsigned long)); 9345 9345 strat->ecartS = (intset)omReallocSize(strat->ecartS, 9346 9346 IDELEMS(strat->Shdl)*sizeof(int), 9347 (IDELEMS(strat->Shdl)+setmax Tinc)9347 (IDELEMS(strat->Shdl)+setmax) 9348 9348 *sizeof(int)); 9349 9349 strat->S_2_R = (int*) omRealloc0Size(strat->S_2_R, 9350 9350 IDELEMS(strat->Shdl)*sizeof(int), 9351 (IDELEMS(strat->Shdl)+setmax Tinc)9351 (IDELEMS(strat->Shdl)+setmax) 9352 9352 *sizeof(int)); 9353 9353 if (strat->lenS!=NULL) 9354 9354 strat->lenS=(int*)omRealloc0Size(strat->lenS, 9355 9355 IDELEMS(strat->Shdl)*sizeof(int), 9356 (IDELEMS(strat->Shdl)+setmax Tinc)9356 (IDELEMS(strat->Shdl)+setmax) 9357 9357 *sizeof(int)); 9358 9358 if (strat->lenSw!=NULL) 9359 9359 strat->lenSw=(wlen_type*)omRealloc0Size(strat->lenSw, 9360 9360 IDELEMS(strat->Shdl)*sizeof(wlen_type), 9361 (IDELEMS(strat->Shdl)+setmax Tinc)9361 (IDELEMS(strat->Shdl)+setmax) 9362 9362 *sizeof(wlen_type)); 9363 9363 if (strat->fromQ!=NULL) … … 9365 9365 strat->fromQ = (intset)omReallocSize(strat->fromQ, 9366 9366 IDELEMS(strat->Shdl)*sizeof(int), 9367 (IDELEMS(strat->Shdl)+setmax Tinc)*sizeof(int));9368 } 9369 pEnlargeSet(&strat->S,IDELEMS(strat->Shdl),setmax Tinc);9370 pEnlargeSet(&strat->sig,IDELEMS(strat->Shdl),setmax Tinc);9371 IDELEMS(strat->Shdl)+=setmax Tinc;9367 (IDELEMS(strat->Shdl)+setmax)*sizeof(int)); 9368 } 9369 pEnlargeSet(&strat->S,IDELEMS(strat->Shdl),setmax); 9370 pEnlargeSet(&strat->sig,IDELEMS(strat->Shdl),setmax); 9371 IDELEMS(strat->Shdl)+=setmax; 9372 9372 strat->Shdl->m=strat->S; 9373 9373 } … … 9673 9673 if (strat->syzl == strat->syzmax-1) 9674 9674 { 9675 pEnlargeSet(&strat->syz,strat->syzmax,setmax Tinc);9675 pEnlargeSet(&strat->syz,strat->syzmax,setmax); 9676 9676 strat->sevSyz = (unsigned long*) omRealloc0Size(strat->sevSyz, 9677 9677 (strat->syzmax)*sizeof(unsigned long), 9678 ((strat->syzmax)+setmax Tinc)9678 ((strat->syzmax)+setmax) 9679 9679 *sizeof(unsigned long)); 9680 strat->syzmax += setmax Tinc;9680 strat->syzmax += setmax; 9681 9681 } 9682 9682 if (atT < strat->syzl)
Note: See TracChangeset
for help on using the changeset viewer.