X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/57a6839dcb3bba09e8228b822b290604668416fe..refs/heads/master:/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp diff --git a/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp b/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp index be59fc30..fb16e4f6 100644 --- a/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp +++ b/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp @@ -1,12 +1,17 @@ /* - ********************************************************************** - * Copyright (c) 2011-2014,International Business Machines + *********************************************************************** + * © 2016 and later: Unicode, Inc. and others. + * License & terms of use: http://www.unicode.org/copyright.html#License + *********************************************************************** + *********************************************************************** + * Copyright (c) 2011-2016,International Business Machines * Corporation and others. All Rights Reserved. - ********************************************************************** + *********************************************************************** */ #include #include +#include "cmemory.h" #include "sieve.h" #include "unicode/utimer.h" #include "udbgutil.h" @@ -698,7 +703,7 @@ QuickTest(NumParseTestbeng,{ static UChar pattern[] = { 0x23 }; NumParseTe UDateFormat *DateFormatTest_fmt = NULL; UDate sometime = 100000000.0; UChar onekbuf[1024]; -const int32_t onekbuf_len = sizeof(onekbuf)/sizeof(onekbuf[0]); +const int32_t onekbuf_len = UPRV_LENGTHOF(onekbuf); QuickTest(DateFormatTestBasic, \