Enable repeat mode
553343
def enable_repeat(self, value=None):
        
        if value is None:
            value = not self.repeated
        spotifyconnect.Error.maybe_raise(lib.SpPlaybackEnableRepeat(value))
744497
public function repeat(Repeat $repeat = null)
    {
        if (is_null($repeat)) {
            return $this->repeat;
        }

        $this->repeat = $repeat;

        return $this;
    }
398773
def set_replay(self, sess, replay):
    """"""
    sess.run(self._set_replay, {self._set_replay_ph: replay})
1263967
def _start_refresh_timer(self):
        
        if not self._timer:
            self._timer = self._vim.eval(
                "timer_start({}, 'EnTick', {{'repeat': -1}})"
                .format(REFRESH_TIMER)
            )
184705
def get_allow_repeat_items_metadata(self):
        """"""
        metadata = dict(self._allow_repeat_items_metadata)
        metadata.update({'existing_id_values': self.my_osid_object_form._my_map['allowRepeatItems']})
        return Metadata(**metadata)
393345
function Repeat (opts) {
    var d = opts.action.duration * opts.times

    Repeat.superclass.constructor.call(this, {duration: d})

    this.times = opts.times
    this.other = opts.action.copy()
    this.total = 0
}
584765
def p_repeat(self, p):
        ''
        p[0] = Repeat(p[3], p[2], lineno=p.lineno(1))
        p.set_lineno(0, p.lineno(1))
473875
def replay_scope(self, sess):
    """"""
    current_replay = self.replay(sess)
    try:
      self.set_replay(sess, True)
      yield
    finally:
      self.set_replay(sess, current_replay)
1159951
public function repeat()
    {
        if ($this->getParameter('value') == null)
            return;

        $value = $this->getParameter('value');
        $multiplier = $this->getParameter('multiplier');
        $offset = $this->getParameter('offset');
        return str_repeat($value, (int)$multiplier + (int)$offset);
    }
945066
def add_repetition(pRepetition)
      return nil unless pRepetition.is_a?(Languages::RepetitionData)
      pRepetition.level = @currentLevel
      @basicStructure.push(pRepetition)
    end
460546
def _repeat(func):
    """"""
    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        """Repeats the call until True is returned."""
        ret = None
        while ret is None:
            ret = func(*args, **kwargs)
        return ret
    return wrapper
176047
function repeat(input, times){
    var output = "";
    for (var i = 0; i < times; i++){
        output += input;
    }
    return output;
}
1001522
public void setRadarChartMode(final RadarChart.Mode MODE) {
        if (null == radarChartMode) {
            _radarChartMode = MODE;
            fireTileEvent(RECALC_EVENT);
        } else {
            radarChartMode.set(MODE);
        }
    }
1210634
function(callback, delay, repetitions) {
  var x = 0;
  var intervalID = setInterval(function () {
    if (++x === repetitions) {
      clearInterval(intervalID);
      receive_interval_timer = false;
    }
    callback();
  }, delay);
  return intervalID;
}
488007
def play_mode(self, playmode):
        """"""
        playmode = playmode.upper()
        if playmode not in PLAY_MODES.keys():
            raise KeyError("'%s' is not a valid play mode" % playmode)

        self.avTransport.SetPlayMode([
            ('InstanceID', 0),
            ('NewPlayMode', playmode)
        ])
848552
def resume(self):
        """"""
        directive = self._play_directive('REPLACE_ALL')
        directive['audioItem'] = self._audio_item()
        self._response['directives'].append(directive)
        return self
244775
def repeatForm(self):
        
        liveForm = self.parameter.asLiveForm()
        liveForm.setFragmentParent(self)
        return liveForm