From 80b846a8b7127f16cf03e85f176ddac695523489 Mon Sep 17 00:00:00 2001 From: daniel_peintner Date: Tue, 7 Feb 2012 12:52:22 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@58 d9f2db14-54d0-4bde-b00c-16405c910529 --- src/test/main_codec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/main_codec.c b/src/test/main_codec.c index be13314..65d5d37 100644 --- a/src/test/main_codec.c +++ b/src/test/main_codec.c @@ -47,17 +47,17 @@ #if EXI_STREAM == BYTE_ARRAY /* 64 kilobytes = 65 536 bytes */ /* 1 megabyte = 1 048 576 bytes*/ -#define BUFFER_SIZE 1048576 +#define BUFFER_SIZE 200 uint8_t bufferIn[BUFFER_SIZE]; uint8_t bufferOut[BUFFER_SIZE]; #endif /* EXI_STREAM == BYTE_ARRAY */ /* avoids warning: initializer element is not computable at load time */ -#define ARRAY_SIZE_BYTES 300 +#define ARRAY_SIZE_BYTES 100 uint8_t bytesData[ARRAY_SIZE_BYTES]; -#define ARRAY_SIZE_STRINGS 30000 +#define ARRAY_SIZE_STRINGS 100 uint32_t codepoints[ARRAY_SIZE_STRINGS]; -#define ARRAY_SIZE_STRINGS_ASCII 150 +#define ARRAY_SIZE_STRINGS_ASCII 100 char charsNamespaceURI[ARRAY_SIZE_STRINGS_ASCII]; char charsLocalName[ARRAY_SIZE_STRINGS_ASCII];