| /src/games/phantasia/ | 
| misc.c | 165 	double  cost;		/* cost of purchase */  local in function:tradingpost 166 	double  blessingcost;	/* cost of blessing */
 182 	/* set up cost of blessing */
 191 			cost = blessingcost;
 193 			cost = Menu[loop].cost;
 194 		printw("(%d) %-12s: %6.0f\n", loop + 1, Menu[loop].item, cost);
 232 					    Menu[0].cost, floor(Player.p_gold / Menu[0].cost));
 [all...]
 | 
| phantstruct.h | 129     double	cost;		/* cost of item */  member in struct:menuitem 
 | 
| /src/games/trek/ | 
| computer.c | 79 **	warpcost -- Gives you the cost in time and units to move for 117 	int		cost;  local in function:computer
 228 			cost = pow(0.90, dist) * 98.0 + 0.5;
 230 				cost);
 233 		  case 6:			/* warp cost (time/energy) */
 240 			cost = (dist + 0.05) * warpfact * warpfact * warpfact;
 242 			printf("Warp %.2f distance %.2f cost %.2f "
 244 				warpfact, dist, time, cost, cost + cost);
 [all...]
 | 
| /src/sys/arch/mvme68k/stand/sboot/ | 
| oc_cksum.s | 59 | bad alignment adds ~10% to the per-call cost.  Since, by the nature 61 | always longword aligned, there is no benefit to this added cost
 72 | loop branch cost and unroll-16 doesn't.  But the tests also showed
 84 | The cost of calling this routine was typically 10% of the per-
 85 | kilobyte cost.  E.g., checksumming zero bytes on a 3/60 cost 9us
 86 | and each additional byte cost 125ns.  With the high fixed cost,
 
 | 
| /src/games/monop/ | 
| morg.c | 144 	price = board[propnum].cost/2; 207 	price = board[propnum].cost/2;
 210 	printf("That cost you $%d\n",price);
 
 | 
| print.c | 107 			printf(" - %-8.8s %3d", pp->mon_desc->name, sqp->cost); 113 			sqp->cost);
 
 | 
| monop.h | 77 	int	cost;			/* cost				*/  member in struct:sqr_st 
 | 
| prop.c | 221 		worth += op->sqr->cost; 
 | 
| execute.c | 176 			printf("That would cost $%d\n", sqp->cost); 179 				cur_p->money -= sqp->cost;
 
 | 
| /src/sys/arch/m68k/m68k/ | 
| oc_cksum.s | 55 | bad alignment adds ~10% to the per-call cost.  Since, by the nature 57 | always longword aligned, there is no benefit to this added cost
 68 | loop branch cost and unroll-16 doesn't.  But the tests also showed
 80 | The cost of calling this routine was typically 10% of the per-
 81 | kilobyte cost.  E.g., checksumming zero bytes on a 3/60 cost 9us
 82 | and each additional byte cost 125ns.  With the high fixed cost,
 
 | 
| /src/usr.bin/make/unit-tests/ | 
| directive-elif.mk | 11 # deciding this would cost time. 
 | 
| /src/libexec/lfs_cleanerd/ | 
| lfs_cleanerd.c | 746 	int64_t age, benefit, cost;  local in function:calc_cb 784 	 * The non-degenerate case.  Use Rosenblum's cost-benefit algorithm.
 787 	 * and weigh that against the cost (bytes read plus bytes written).
 800 	cost = lfs_sb_getssize(fs) + t->nbytes;
 801 	t->priority = (256 * benefit * age) / cost;
 850  * Comparator for sort_segments: cost-benefit equation.
 1024  * a hidden cleaning cost, since we are unaware of it until we
 1025  * have already read the segments.  Return the total cost, and fill
 1026  * in *ifc with the part of that cost due to rewriting the Ifile.
 1110 			/* Compute cost-benefit coefficient *
 [all...]
 | 
| /src/sys/kern/ | 
| kern_entropy.c | 41  *	    floor, at the cost of sometimes having to do cryptography. 837 			 * negligible performance cost.
 1608 		unsigned cost = MIN(len, ENTROPY_CAPACITY)*NBBY;  local in function:entropy_extract
 1612 		bitsneeded += MIN(MINENTROPYBITS - bitsneeded, cost);
 1613 		samplesneeded += MIN(MINSAMPLES - samplesneeded, cost);
 
 | 
| /src/tests/usr.bin/printf/ | 
| printf.sh | 1353 	expect	ad		%.1s%x%b%c%x	all 13 '\cars' cost 12 
 | 
| /src/tools/compat/ | 
| configure | 4417    has little cost and some practical benefit (sr 110532).  */ 4540    has little cost and some practical benefit (sr 110532).  */
 4608    has little cost and some practical benefit (sr 110532).  */
 7297    has little cost and some practical benefit (sr 110532).  */
 7347    has little cost and some practical benefit (sr 110532).  */
 7416    has little cost and some practical benefit (sr 110532).  */
 
 | 
| /src/sys/arch/m68k/060sp/dist/ | 
| fplsp.s | 6838 #		cost to much than the flag is worth in practical uses.	# 
 | 
| fpsp.s | 6944 #		cost to much than the flag is worth in practical uses.	# 
 | 
| /src/sys/external/isc/libsodium/dist/m4/ | 
| libtool.m4 | 5635     # does not break anything, and helps significantly (at the cost of a little 
 |