File: unlimited.lua

package info (click to toggle)
lua-sandbox-extensions 0~git20161128-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,596 kB
  • ctags: 1,458
  • sloc: ansic: 4,402; cpp: 2,102; makefile: 8
file content (12 lines) | stat: -rw-r--r-- 273 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require "cjson"

function process()
    local ls = "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
    local t = {}

    for i=1, 1000 do
        t[#t+1] = ls
    end
    write_output(cjson.encode(t))
    return 0
end