OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:penalty
(Results
1 - 3
of
3
) sorted by relevancy
/src/games/arithmetic/
arithmetic.c
281
* Initially, each number is charged a
penalty
of WRONGPENALTY, giving it that
283
* its
penalty
is decreased by one; it is removed when it reaches 0.
285
* The
penalty
[] array gives the sum of all penalties in the list for
290
static int
penalty
[sizeof(keylist) - 1][2];
variable in typeref:typename:int[][2]
291
static struct
penalty
{
struct
292
int value,
penalty
; /* Penalised value and its
penalty
. */
member in struct:penalty
293
struct
penalty
*next;
299
* Add a
penalty
for the number `value' to the list for operation `op',
301
* forget about the
penalty
(how likely is this, anyway?)
[
all
...]
/src/sys/dev/raidframe/
rf_cvscan.c
289
long
penalty
= sectPerDisk / 5;
local in function:rf_CvscanCreate
293
hdr->change_penalty = RF_MAX(
penalty
, 0);
/src/games/snake/snake/
snake.c
75
#define cashvalue chunk*(loot-
penalty
)/25
83
#define
PENALTY
10 /* %
penalty
for invoking spacewarp */
108
static int loot,
penalty
;
variable in typeref:typename:int
193
penalty
= loot = 0;
676
loot = loot -
penalty
;
677
penalty
= 0;
680
penalty
+= loot /
PENALTY
;
906
if (loot >=
penalty
) {
[
all
...]
Completed in 12 milliseconds
Indexes created Tue Sep 30 17:09:57 GMT 2025