testing/clusterfuzz/common/fuzzy_types.py
def Insert(self, value, location=None, amount=None, max_exponent=14):
    """Insert amount elements starting at location.

    Value can be a function of no arguments, in which case it will be called
    every time a new value is needed.
    """
    if location is None:
      location = random.randint(0, max(0, len(self) - 1))
    if amount is None:
      amount = utils.UniformExpoInteger(0, max_exponent)
    if hasattr(value, "__call__"):
      new_elements = (value() for i in range(amount))
    else:
      new_elements = itertools.repeat(value, amount)
    self[location:location] = new_elements
Insert amount elements starting at location.

    Value can be a function of no arguments, in which case it will be called
    every time a new value is needed.
    
Insert amount elements starting at location.
Value can be a function of no arguments, in which case it will be called
every time a new value is needed.
Insert amount elements starting at location . Value can be a function of no arguments in which case it will be called every time a new value is needed .
def Insert(self, value, location=None, amount=None, max_exponent=14):
    if location is None:
      location = random.randint(0, max(0, len(self) - 1))
    if amount is None:
      amount = utils.UniformExpoInteger(0, max_exponent)
    if hasattr(value, "__call__"):
      new_elements = (value() for i in range(amount))
    else:
      new_elements = itertools.repeat(value, amount)
    self[location:location] = new_elements
def Insert ( self , value , location = None , amount = None , max_exponent = 14 ) : if location is None : location = random . randint ( 0 , max ( 0 , len ( self ) - 1 ) ) if amount is None : amount = utils . UniformExpoInteger ( 0 , max_exponent ) if hasattr ( value , "__call__" ) : new_elements = ( value ( ) for i in range ( amount ) ) else : new_elements = itertools . repeat ( value , amount ) self [ location : location ] = new_elements
Insert amount elements starting at location.
Insert amount elements starting at location .
"""Insert amount elements starting at location.

    Value can be a function of no arguments, in which case it will be called
    every time a new value is needed.
    """
self
value
location
amount
max_exponent