OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:spares
(Results
1 - 2
of
2
) sorted by null
/external/autotest/site_utils/
lab_inventory_unittest.py
647
good, bad, idle,
spares
= counts
648
if
spares
> bad + idle:
650
StatusCounts(good + bad +idle -
spares
, 0, 0),
651
StatusCounts(
spares
- bad - idle, bad, idle),
653
elif
spares
< bad:
655
StatusCounts(good, bad -
spares
, idle),
656
StatusCounts(0,
spares
, 0),
660
StatusCounts(good, 0, idle + bad -
spares
),
661
StatusCounts(0, bad,
spares
- bad),
666
good, bad, idle,
spares
= count
[
all
...]
lab_inventory.py
413
"""Return the the nominal number of working
spares
.
415
Calculates and returns how many working
spares
there would
416
be in the
spares
pool if all broken DUTs were in the
spares
420
@return The total number DUTs in the
spares
pool, less the total
562
spares
= poolset.get_total(spare_pool)
564
if
spares
!= 0 and
spares
!= total:
614
the model's
spares
buffer.
650
#
spares
count, and count how many times that worst case occurs
[
all
...]
Completed in 102 milliseconds