Searched refs:max_drops (Results 1 – 7 of 7) sorted by relevance
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | harvest.cpp | 199 int max_drops = std::min<int>( en.max, std::round( std::max( 0.0f, max_f ) ) ); in describe() local 201 if( max_drops <= 0 ) { in describe() 206 ss += "<bold>" + item::nname( itype_id( en.drop ), max_drops ) + "</bold>"; in describe() 208 if( max_drops >= 1000 && min_drops <= 0 ) { in describe() 212 if( min_drops == max_drops ) { in describe() 214 } else if( max_drops < 1000 ) { in describe() 215 ss += string_format( "<stat>%d-%d</stat>", min_drops, max_drops ); in describe()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | harvest.cpp | 199 int max_drops = std::min<int>( en.max, std::round( std::max( 0.0f, max_f ) ) ); in describe() local 201 if( max_drops <= 0 ) { in describe() 206 ss += "<bold>" + item::nname( itype_id( en.drop ), max_drops ) + "</bold>"; in describe() 208 if( max_drops >= 1000 && min_drops <= 0 ) { in describe() 212 if( min_drops == max_drops ) { in describe() 214 } else if( max_drops < 1000 ) { in describe() 215 ss += string_format( "<stat>%d-%d</stat>", min_drops, max_drops ); in describe()
|
/dports/net/kea/kea-2.0.1/src/bin/perfdhcp/ |
H A D | basic_scen.cc | 69 bool max_drops = false; in checkExitConditions() local 73 max_drops = true; in checkExitConditions() 80 max_drops = true; in checkExitConditions() 83 if (max_drops) { in checkExitConditions()
|
/dports/net/ipsumdump/ipsumdump-1.86/src/ |
H A D | fromdevice.cc | 597 FromDevice::kernel_drops(bool& known, int& max_drops) const in kernel_drops() 599 known = false, max_drops = -1; in kernel_drops() 604 known = true, max_drops = stats.ps_drop; in kernel_drops() 612 known = true, max_drops = stats.tp_drops; in kernel_drops() 622 int max_drops; in read_handler() local 624 fd->kernel_drops(known, max_drops); in read_handler() 626 return String(max_drops); in read_handler() 627 else if (max_drops >= 0) in read_handler() 628 return "<" + String(max_drops); in read_handler()
|
H A D | ipsumdump.cc | 374 int max_drops = 0; in record_drops_hook() local 387 max_drops += md; in record_drops_hook() 397 td->write_line(head + "<" + String(max_drops) + "\n"); in record_drops_hook() 399 td->write_line(head + String(max_drops) + "\n"); in record_drops_hook()
|
H A D | fromdevice.hh | 213 void kernel_drops(bool& known, int& max_drops) const;
|
/dports/x11/xlockmore/xlockmore-5.67/modes/ |
H A D | rain.c | 206 int i, nr_drops, max_drops; in init_rain() local 218 max_drops = MI_WIDTH(mi) / 50; in init_rain() 219 i = MAX(max_drops / 2, 2); in init_rain() 222 nr_drops = MIN(nr_drops, max_drops); in init_rain()
|