/dports/games/fmars/fmars-0.0.207/ |
H A D | fmars.c | 57 if (coresize <= 0) 58 coresize = 1; 82 mars->coresize = coresize; 144 if (coresize <= 0) coresize = 1; in fmars_alloc() 173 mars->coresize = coresize; in fmars_alloc() 323 int coresize = mars->coresize; in fmars_load_warrior() local 329 position += mars->coresize; in fmars_load_warrior() 342 if (k >= coresize) in fmars_load_warrior() 343 k -= coresize; in fmars_load_warrior() 350 const unsigned coresize = mars->coresize; in fmars_clear_core() local [all …]
|
H A D | fm_asm.h | 21 int coresize, int processes, int cycles, int pspacesize, 24 int fm_disasm_line (char *buf, size_t size, insn_t in, int coresize); 26 void fm_disasm_core (insn_t *code, int start, int end, int coresize, 29 void fm_disasm_war (warrior_t *war, int coresize);
|
/dports/games/exhaust-ma/exhaust-ma-1.9/ |
H A D | sim.c | 150 Coresize = coresize; in sim_alloc_bufs2() 163 pspace = coresize/16 == 0 ? 1 : coresize/16; in sim_alloc_bufs() 510 #define ADDMOD(z,x,y) do { (z) = (x)+(y); if ((z)>=coresize) (z) -= coresize; } while (0) 513 #define SUBMOD(z,x,y) do { (z) = (x)-(y); if ((z)>=coresize) (z) += coresize; } while (0) 653 dis1( debug_line, insn, coresize); in sim_proper() 1149 ptb->b = (rb_b * ra_b) % coresize; in sim_proper() 1151 ptb->a = (rb_a * ra_a) % coresize; in sim_proper() 1154 ptb->b = (rb_b * ra_b) % coresize; in sim_proper() 1157 ptb->a = (rb_a * ra_b) % coresize; in sim_proper() 1159 ptb->b = (rb_b * ra_a) % coresize; in sim_proper() [all …]
|
/dports/games/tycho/species/ |
H A D | build_freq_tables.cpp | 34 unsigned coresize; in Operand() local 47 coresize = atoi(args[2]); in Operand() 48 if(coresize <= 0 || coresize > 0xFFFF) in Operand() 50 table = new COperandTable(coresize); in Operand() 68 unsigned coresize, threshold; in Markov2() local 81 coresize = atoi(args[2]); in Markov2() 82 if(coresize <= 0 || coresize > 0xFFFF) in Markov2() 87 markov = new CInstGeneratorMarkov2(coresize); in Markov2()
|
H A D | operand.cpp | 48 COperand::COperand(const field_t coresize) { in COperand() argument 49 _coresize = coresize; in COperand() 52 COperand *COperand::NewDefault(const field_t coresize) { in NewDefault() argument 53 return new COperandDistribution(coresize); in NewDefault() 56 COperand *COperand::read_ini(INIFile &ini,const field_t coresize) { in read_ini() argument 62 ret = NewDefault(coresize); in read_ini() 66 ret = new COperandDistribution(coresize); in read_ini() 69 ret = new COperandTable(coresize); in read_ini()
|
H A D | reproduction.cpp | 77 RUNTEST_DUMMY_POS = warrior.kingdom()->coresize() >> 1; in runtest() 450 while(coresize <= dest.a) // fold? in copy_instruction() 451 dest.a -= coresize; in copy_instruction() 456 while(coresize <= dest.b) // fold? in copy_instruction() 457 dest.b -= coresize; in copy_instruction() 470 if(coresize == ++chromosome.code(i).a) // inc, possibly fold? in adjust_addressing_before() 475 if(coresize == ++chromosome.code(i).b) // inc, possibly fold? in adjust_addressing_before() 486 const field_t coresize = chromosome.type()->species()->kingdom()->coresize(); // cache it in breed_random() local 504 copy_instruction(chromosome,i,*parent,cursor,adjustment,coresize); in breed_random() 522 copy_instruction(chromosome,i+1,*parent,cursor,adjustment,coresize); in breed_random() [all …]
|
H A D | sim.c | 159 Coresize = coresize; in sim_alloc_bufs2() 173 pspace = coresize/16 == 0 ? 1 : coresize/16; in sim_alloc_bufs() 515 #define ADDMOD(z,x,y) do { (z) = (x)+(y); if ((z)>=coresize) (z) -= coresize; } while (0) 627 coresize = Coresize; in sim_proper() 672 dis1( debug_line, insn, coresize); in sim_proper() 1095 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1097 core[db].a = (rb_a * ra_a) % coresize; in sim_proper() 1100 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1103 core[db].a = (rb_a * ra_b) % coresize; in sim_proper() 1105 core[db].b = (rb_b * ra_a) % coresize; in sim_proper() [all …]
|
/dports/games/species/species/ |
H A D | build_freq_tables.cpp | 34 unsigned coresize; in Operand() local 47 coresize = atoi(args[2]); in Operand() 48 if(coresize <= 0 || coresize > 0xFFFF) in Operand() 50 table = new COperandTable(coresize); in Operand() 68 unsigned coresize, threshold; in Markov2() local 81 coresize = atoi(args[2]); in Markov2() 82 if(coresize <= 0 || coresize > 0xFFFF) in Markov2() 87 markov = new CInstGeneratorMarkov2(coresize); in Markov2()
|
H A D | operand.cpp | 48 COperand::COperand(const field_t coresize) { in COperand() argument 49 _coresize = coresize; in COperand() 52 COperand *COperand::NewDefault(const field_t coresize) { in NewDefault() argument 53 return new COperandDistribution(coresize); in NewDefault() 56 COperand *COperand::read_ini(INIFile &ini,const field_t coresize) { in read_ini() argument 62 ret = NewDefault(coresize); in read_ini() 66 ret = new COperandDistribution(coresize); in read_ini() 69 ret = new COperandTable(coresize); in read_ini()
|
H A D | reproduction.cpp | 77 RUNTEST_DUMMY_POS = warrior.kingdom()->coresize() >> 1; in runtest() 450 while(coresize <= dest.a) // fold? in copy_instruction() 451 dest.a -= coresize; in copy_instruction() 456 while(coresize <= dest.b) // fold? in copy_instruction() 457 dest.b -= coresize; in copy_instruction() 470 if(coresize == ++chromosome.code(i).a) // inc, possibly fold? in adjust_addressing_before() 475 if(coresize == ++chromosome.code(i).b) // inc, possibly fold? in adjust_addressing_before() 486 const field_t coresize = chromosome.type()->species()->kingdom()->coresize(); // cache it in breed_random() local 504 copy_instruction(chromosome,i,*parent,cursor,adjustment,coresize); in breed_random() 522 copy_instruction(chromosome,i+1,*parent,cursor,adjustment,coresize); in breed_random() [all …]
|
H A D | sim.c | 159 Coresize = coresize; in sim_alloc_bufs2() 173 pspace = coresize/16 == 0 ? 1 : coresize/16; in sim_alloc_bufs() 515 #define ADDMOD(z,x,y) do { (z) = (x)+(y); if ((z)>=coresize) (z) -= coresize; } while (0) 627 coresize = Coresize; in sim_proper() 672 dis1( debug_line, insn, coresize); in sim_proper() 1095 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1097 core[db].a = (rb_a * ra_a) % coresize; in sim_proper() 1100 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1103 core[db].a = (rb_a * ra_b) % coresize; in sim_proper() 1105 core[db].b = (rb_b * ra_a) % coresize; in sim_proper() [all …]
|
/dports/games/spring/spring_98.0/rts/Sim/Projectiles/WeaponProjectiles/ |
H A D | LaserProjectile.cpp | 208 const float coresize = size * weaponDef->visuals.corethickness; in Draw() local 229 …va->AddVertexQTC(drawPos + (dir1 * coresize)-(dir2 * coresize), weaponDef->visuals.texture2->xstar… in Draw() 230 …va->AddVertexQTC(drawPos - (dir1 * coresize)-(dir2 * coresize), weaponDef->visuals.texture2->xstar… in Draw() 236 …va->AddVertexQTC(drawPos - (dir1 * coresize), weaponDef->visuals.texture1->xstart + texStartOffset… in Draw() 237 …va->AddVertexQTC(drawPos + (dir1 * coresize), weaponDef->visuals.texture1->xstart + texStartOffset… in Draw() 247 …va->AddVertexQTC(pos2 + (dir1 * coresize) + (dir2 * coresize), weaponDef->visuals.texture2->xen… in Draw() 248 …va->AddVertexQTC(pos2 - (dir1 * coresize) + (dir2 * coresize), weaponDef->visuals.texture2->xen… in Draw() 267 …va->AddVertexQTC(pos1 - (dir1 * coresize), weaponDef->visuals.texture1->xstart + texStartOffset, w… in Draw() 268 …va->AddVertexQTC(pos1 + (dir1 * coresize), weaponDef->visuals.texture1->xstart + texStartOffset, w… in Draw() 269 …va->AddVertexQTC(pos2 + (dir1 * coresize), weaponDef->visuals.texture1->xend + texEndOffset, w… in Draw() [all …]
|
/dports/lang/perl5.32/perl-5.32.1/Porting/ |
H A D | perlhist_calculate.pl | 24 my $coresize = 0; 27 $coresize += (-s $corefile) / 1000; 31 $coresize = int $coresize; 33 return $coresize, $corenumber;
|
/dports/lang/perl5.30/perl-5.30.3/Porting/ |
H A D | perlhist_calculate.pl | 24 my $coresize = 0; 27 $coresize += (-s $corefile) / 1000; 31 $coresize = int $coresize; 33 return $coresize, $corenumber;
|
/dports/lang/perl5.34/perl-5.34.0/Porting/ |
H A D | perlhist_calculate.pl | 24 my $coresize = 0; 27 $coresize += (-s $corefile) / 1000; 31 $coresize = int $coresize; 33 return $coresize, $corenumber;
|
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/Porting/ |
H A D | perlhist_calculate.pl | 24 my $coresize = 0; 27 $coresize += (-s $corefile) / 1000; 31 $coresize = int $coresize; 33 return $coresize, $corenumber;
|
/dports/math/ipopt/Ipopt-3.12.13/ThirdParty/Metis/metis-4.0/Lib/ |
H A D | estmem.c | 26 int coresize, gdata, rdata; in METIS_EstimateMemory() local 38 coresize = nedges; in METIS_EstimateMemory() 40 coresize = 0; in METIS_EstimateMemory() 41 …coresize += nedges + 11*(*nvtxs) + 4*1024 + 2*(NEG_GAINSPAN+PLUS_GAINSPAN+1)*(sizeof(ListNodeType … in METIS_EstimateMemory() 42 coresize += 2*(*nvtxs); /* add some more fore other vectors */ in METIS_EstimateMemory() 56 *nbytes = sizeof(idxtype)*(coresize+gdata+rdata+(*nvtxs)); in METIS_EstimateMemory()
|
/dports/graphics/colmap/colmap-3.6/lib/Graclus/metisLib/ |
H A D | estmem.c | 26 int coresize, gdata, rdata; in METIS_EstimateMemory() local 38 coresize = nedges; in METIS_EstimateMemory() 40 coresize = 0; in METIS_EstimateMemory() 41 …coresize += nedges + 11*(*nvtxs) + 4*1024 + 2*(NEG_GAINSPAN+PLUS_GAINSPAN+1)*(sizeof(ListNodeType … in METIS_EstimateMemory() 42 coresize += 2*(*nvtxs); /* add some more fore other vectors */ in METIS_EstimateMemory() 56 *nbytes = sizeof(idxtype)*(coresize+gdata+rdata+(*nvtxs)); in METIS_EstimateMemory()
|
/dports/science/siconos/siconos-4.4.0/externals/lbl/metis4/ |
H A D | estmem.c | 26 int coresize, gdata, rdata; in METIS_EstimateMemory() local 38 coresize = nedges; in METIS_EstimateMemory() 40 coresize = 0; in METIS_EstimateMemory() 41 …coresize += nedges + 11*(*nvtxs) + 4*1024 + 2*(NEG_GAINSPAN+PLUS_GAINSPAN+1)*(sizeof(ListNodeType … in METIS_EstimateMemory() 42 coresize += 2*(*nvtxs); /* add some more fore other vectors */ in METIS_EstimateMemory() 56 *nbytes = sizeof(idxtype)*(coresize+gdata+rdata+(*nvtxs)); in METIS_EstimateMemory()
|
/dports/games/tycho/tycho/ |
H A D | sim.c | 190 Coresize = coresize; in sim_alloc_bufs2() 204 pspace = coresize/16 == 0 ? 1 : coresize/16; in sim_alloc_bufs() 546 #define ADDMOD(z,x,y) do { (z) = (x)+(y); if ((z)>=coresize) (z) -= coresize; } while (0) 658 coresize = Coresize; in sim_proper() 705 dis1( debug_line, insn, coresize); in sim_proper() 1130 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1132 core[db].a = (rb_a * ra_a) % coresize; in sim_proper() 1135 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1138 core[db].a = (rb_a * ra_b) % coresize; in sim_proper() 1140 core[db].b = (rb_b * ra_a) % coresize; in sim_proper() [all …]
|
/dports/games/species/tycho/ |
H A D | sim.c | 190 Coresize = coresize; in sim_alloc_bufs2() 204 pspace = coresize/16 == 0 ? 1 : coresize/16; in sim_alloc_bufs() 546 #define ADDMOD(z,x,y) do { (z) = (x)+(y); if ((z)>=coresize) (z) -= coresize; } while (0) 658 coresize = Coresize; in sim_proper() 705 dis1( debug_line, insn, coresize); in sim_proper() 1130 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1132 core[db].a = (rb_a * ra_a) % coresize; in sim_proper() 1135 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1138 core[db].a = (rb_a * ra_b) % coresize; in sim_proper() 1140 core[db].b = (rb_b * ra_a) % coresize; in sim_proper() [all …]
|
/dports/games/exhaust-doc/exhaust-1.9.2/ |
H A D | sim.c | 151 Coresize = coresize; in sim_alloc_bufs2() 165 pspace = coresize/16 == 0 ? 1 : coresize/16; in sim_alloc_bufs() 507 #define ADDMOD(z,x,y) do { (z) = (x)+(y); if ((z)>=coresize) (z) -= coresize; } while (0) 619 coresize = Coresize; in sim_proper() 664 dis1( debug_line, insn, coresize); in sim_proper() 1083 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1085 core[db].a = (rb_a * ra_a) % coresize; in sim_proper() 1088 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1091 core[db].a = (rb_a * ra_b) % coresize; in sim_proper() 1093 core[db].b = (rb_b * ra_a) % coresize; in sim_proper() [all …]
|
/dports/games/exhaust/exhaust-1.9.2/ |
H A D | sim.c | 151 Coresize = coresize; in sim_alloc_bufs2() 165 pspace = coresize/16 == 0 ? 1 : coresize/16; in sim_alloc_bufs() 507 #define ADDMOD(z,x,y) do { (z) = (x)+(y); if ((z)>=coresize) (z) -= coresize; } while (0) 619 coresize = Coresize; in sim_proper() 664 dis1( debug_line, insn, coresize); in sim_proper() 1083 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1085 core[db].a = (rb_a * ra_a) % coresize; in sim_proper() 1088 core[db].b = (rb_b * ra_b) % coresize; in sim_proper() 1091 core[db].a = (rb_a * ra_b) % coresize; in sim_proper() 1093 core[db].b = (rb_b * ra_a) % coresize; in sim_proper() [all …]
|
/dports/math/parmetis/parmetis-4.0.3/metis/GKlib/ |
H A D | mcore.c | 18 gk_mcore_t *gk_mcoreCreate(size_t coresize) in gk_mcoreCreate() argument 25 mcore->coresize = coresize; in gk_mcoreCreate() 28 mcore->core = (coresize == 0 ? NULL : gk_malloc(mcore->coresize, "gk_mcoreCreate: core")); in gk_mcoreCreate() 81 mcore->coresize, mcore->nmops, mcore->cmop, in gk_mcoreDestroy() 147 if (mcore->corecpos + nbytes < mcore->coresize) { in gk_mcoreMalloc() 210 mcore->coresize, mcore->corecpos, mcore->mops[mcore->cmop].nbytes); in gk_mcorePop()
|
/dports/math/py-PyMetis/PyMetis-2020.1/src/metis/GKlib/ |
H A D | mcore.c | 18 gk_mcore_t *gk_mcoreCreate(size_t coresize) in gk_mcoreCreate() argument 25 mcore->coresize = coresize; in gk_mcoreCreate() 28 mcore->core = (coresize == 0 ? NULL : gk_malloc(mcore->coresize, "gk_mcoreCreate: core")); in gk_mcoreCreate() 81 mcore->coresize, mcore->nmops, mcore->cmop, in gk_mcoreDestroy() 147 if (mcore->corecpos + nbytes < mcore->coresize) { in gk_mcoreMalloc() 210 mcore->coresize, mcore->corecpos, mcore->mops[mcore->cmop].nbytes); in gk_mcorePop()
|