aboutsummaryrefslogtreecommitdiff
path: root/tests/sockets/test_sockets_bigdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sockets/test_sockets_bigdata.h')
-rw-r--r--tests/sockets/test_sockets_bigdata.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/sockets/test_sockets_bigdata.h b/tests/sockets/test_sockets_bigdata.h
deleted file mode 100644
index 17149ad6..00000000
--- a/tests/sockets/test_sockets_bigdata.h
+++ /dev/null
@@ -1,20 +0,0 @@
-
-#include <stdlib.h>
-
-#define DATA_SIZE (256*256*2)
-// 1500 fails
-
-char *generateData() {
- char *ret = malloc(256*256*2);
- char *curr = ret;
- for (int i = 0; i < 256; i++) {
- for (int j = 0; j < 256; j++) {
- *curr = i;
- curr++;
- *curr = j;
- curr++;
- }
- }
- return ret;
-}
-