parameters: (self)
return_statement: return self.max_counters
docstring: Return the number of counters in active use.
docstring_summary: Return the number of counters in active use.
docstring_tokens: Return the number of counters in active use .
function: def CountersInUse(self):
      """Return the number of counters in active use."""
      for i in range(self.max_counters):
        name_offset = self.counter_names_offset + i * self._COUNTER_NAME_SIZE
        if self.data.ByteAt(name_offset) == 0:
          return i
      return self.max_counters
function_tokens: def CountersInUse ( self ) : for i in range ( self . max_counters ) : name_offset = self . counter_names_offset + i * self . _COUNTER_NAME_SIZE if self . data . ByteAt ( name_offset ) == 0 : return i return self . max_counters