Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Compute the total number of hits in a sequence of clues.

@param clues: Sequence of clues.
@type clues: C{list}

@return: Total hits.
@rtype: C{int}

        def hits(clues):
    """Compute the total number of hits in a sequence of clues.

    @param clues: Sequence of clues.
    @type clues: C{list}

    @return: Total hits.
    @rtype: C{int}
    """
    return sum([clue.getCount() for clue in clues])
        


src/h/a/halberd-0.2.4/Halberd/reportlib.py   halberd(Download)
 
    clues = scantask.analyzed
    hits = analysis.hits(clues)
    logger = Halberd.logger.getLogger()
 

src/h/a/halberd-HEAD/Halberd/reportlib.py   halberd(Download)
 
    clues = scantask.analyzed
    hits = analysis.hits(clues)
    logger = Halberd.logger.getLogger()