Searched refs:dice (Results 1 - 8 of 8) sorted by relevance
/netbsd-current/games/backgammon/common_source/ |
H A D | back.h | 47 #define D0 dice[0] 48 #define D1 dice[1] 57 int dice[2]; /* value of dice */ member in struct:move 62 int d0; /* flag if dice have been reversed from
|
H A D | save.c | 126 write(fdesc, mm->dice, sizeof mm->dice); 157 read(fdesc, mm->dice, sizeof mm->dice);
|
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/ |
H A D | random.d | 2189 Rolls a dice with relative probabilities stored in $(D 2206 size_t dice(Rng, Num)(ref Rng rnd, Num[] proportions...) 2213 size_t dice(R, Range)(ref R rnd, Range proportions) 2220 size_t dice(Range)(Range proportions) 2227 size_t dice(Num)(Num[] proportions...) 2236 auto x = dice(0.5, 0.5); // x is 0 or 1 in equal proportions 2237 auto y = dice(50, 50); // y is 0 or 1 in equal proportions 2238 auto z = dice(70, 20, 10); // z is 0 70% of the time, 1 20% of the time, 2254 enforce(sum > 0, "Proportions in a dice cannot sum to zero"); 2273 auto i = dice(rn [all...] |
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | random.d | 17 $(LREF dice) 158 // Throw a dice with custom proportions 160 auto val = rnd.dice(0.2, 0.1, 0.6); 3011 Rolls a dice with relative probabilities stored in $(D 3028 size_t dice(Rng, Num)(ref Rng rnd, Num[] proportions...) 3035 size_t dice(R, Range)(ref R rnd, Range proportions) 3042 size_t dice(Range)(Range proportions) 3049 size_t dice(Num)(Num[] proportions...) 3058 auto x = dice(0.5, 0.5); // x is 0 or 1 in equal proportions 3059 auto y = dice(5 [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/binutils/ |
H A D | od-macho.c | 1400 struct mach_o_data_in_code_entry_external *dice; 1405 dice = (struct mach_o_data_in_code_entry_external *) p; 1407 offset = bfd_get_32 (abfd, dice->offset); 1408 length = bfd_get_16 (abfd, dice->length); 1409 kind = bfd_get_16 (abfd, dice->kind); 1414 p += sizeof (*dice); 1406 struct mach_o_data_in_code_entry_external *dice; local
|
/netbsd-current/external/gpl3/binutils/dist/binutils/ |
H A D | od-macho.c | 1400 struct mach_o_data_in_code_entry_external *dice; 1405 dice = (struct mach_o_data_in_code_entry_external *) p; 1407 offset = bfd_get_32 (abfd, dice->offset); 1408 length = bfd_get_16 (abfd, dice->length); 1409 kind = bfd_get_16 (abfd, dice->kind); 1414 p += sizeof (*dice); 1399 struct mach_o_data_in_code_entry_external *dice; local
|
/netbsd-current/external/gpl3/gdb.old/dist/binutils/ |
H A D | od-macho.c | 1409 struct mach_o_data_in_code_entry_external *dice; 1414 dice = (struct mach_o_data_in_code_entry_external *) p; 1416 offset = bfd_get_32 (abfd, dice->offset); 1417 length = bfd_get_16 (abfd, dice->length); 1418 kind = bfd_get_16 (abfd, dice->kind); 1423 p += sizeof (*dice); 1408 struct mach_o_data_in_code_entry_external *dice; local
|
/netbsd-current/games/backgammon/backgammon/ |
H A D | move.c | 206 /* if recursed through all dice values, compare move */ 211 /* make sure dice in always same order */ 215 rval = mm->dice[mvnum != 0]; 219 /* fix order of dice */ 245 /* swap dice and try again */
|
Completed in 309 milliseconds