Home
last modified time | relevance | path

Searched refs:squares_per_col (Results 1 – 1 of 1) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dlolwut5.c177 lwCanvas *lwDrawSchotter(int console_cols, int squares_per_row, int squares_per_col) { in lwDrawSchotter() argument
182 int canvas_height = square_side * squares_per_col + padding*2; in lwDrawSchotter()
185 for (int y = 0; y < squares_per_col; y++) { in lwDrawSchotter()
193 float r1 = (float)rand() / RAND_MAX / squares_per_col * y; in lwDrawSchotter()
194 float r2 = (float)rand() / RAND_MAX / squares_per_col * y; in lwDrawSchotter()
195 float r3 = (float)rand() / RAND_MAX / squares_per_col * y; in lwDrawSchotter()
249 long squares_per_col = 12; in lolwut5Command() local
261 getLongFromObjectOrReply(c,c->argv[3],&squares_per_col,NULL) != C_OK) in lolwut5Command()
270 if (squares_per_col < 1) squares_per_col = 1; in lolwut5Command()
271 if (squares_per_col > 200) squares_per_col = 200; in lolwut5Command()
[all …]