<commit_before># Player:
#  @gl: WebGLContext
#  @audio: AudioContext
#  @input: custom class, see Input for implementation
#  @core: retro.Core
#  @game: buffer of game data or path
#  @save: buffer of save data (optional)
module.exports = class Player
  variablesUpdate: false
  overscan: false
  can_dupe: true
  running: false
  latency: 180
  bufferSize: 256

  constructor: (@gl, @audio, @inputs, @core, @game, @save) ->
    @initGL()

    @pixelFormat = @core.PIXEL_FORMAT_0RGB1555

    @info = @core.get_system_info()
    @av_info = @core.get_system_av_info()
    @fpsInterval = 1000 / @av_info.timing.fps

    # audio
    @then = 0
    @sampleRate = @av_info.timing.sample_rate
    @numBuffers = Math.floor @latency * @sampleRate / (1000 * @bufferSize)
    if @numBuffers < 2
      @numBuffers = 2
    i = 0
    @buffers = []
    while i < @numBuffers<commit_msg>Change variableUpdate flag to 'update'.<commit_after># Player:
#  @gl: WebGLContext
#  @audio: AudioContext
#  @input: custom class, see Input for implementation
#  @core: retro.Core
#  @game: buffer of game data or path
#  @save: buffer of save data (optional)
module.exports = class Player
  update: false
  overscan: false
  can_dupe: true
  running: false
  latency: 180
  bufferSize: 256

  constructor: (@gl, @audio, @inputs, @core, @game, @save) ->
    @initGL()

    @pixelFormat = @core.PIXEL_FORMAT_0RGB1555

    @info = @core.get_system_info()
    @av_info = @core.get_system_av_info()
    @fpsInterval = 1000 / @av_info.timing.fps

    # audio
    @then = 0
    @sampleRate = @av_info.timing.sample_rate
    @numBuffers = Math.floor @latency * @sampleRate / (1000 * @bufferSize)
    if @numBuffers < 2
      @numBuffers = 2
    i = 0
    @buffers = []
    while i < @numBuffers
{'fraction_non_alphanumeric': 0.12208972174900624, 'fraction_numerical': 0.02612152186257808, 'mean_word_length': 3.297560975609756, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4365316', 'n_tokens_mistral': 669, 'n_tokens_neox': 622, 'n_words': 167}