text:
/* config.h.  Generated from config.h.in by configure.  */
/* config.h.in.  Generated from configure.ac by autoheader.  */

/* Define if the compiler is building for multiple architectures of Apple
   platforms at once. */
/* #undef AA_APPLE_UNIVERSAL_BUILD */

/* Define to the number of bits in type 'ptrdiff_t'. */
#define BITSIZEOF_PTRDIFF_T 32

/* Define to the number of bits in type 'sig_atomic_t'. */
#define BITSIZEOF_SIG_ATOMIC_T 32

/* Define to the number of bits in type 'size_t'. */
#define BITSIZEOF_SIZE_T 32

/* Define to the number of bits in type 'wchar_t'. */
#define BITSIZEOF_WCHAR_T 32

/* Define to the number of bits in type 'wint_t'. */
#define BITSIZEOF_WINT_T 32

/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
   systems. This function is required for `alloca.c' support on those systems.
   */
/* #undef CRAY_STACKSEG_END */

/* Define if mono is the preferred C# implementation. */
/* #undef CSHARP_CHOICE_MONO */

/* Define if pnet is the preferred C# implementation. */
/* #undef CSHARP_CHOICE_PNET */

/* Define to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */

/* Define to 1 if // is a file system root distinct from /. */
/* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */

/* Define to 1 if translation of program messages to the user's native
   language is requested. */
#define ENABLE_NLS 1

/* Define to 1 if the package shall run at any location in the file system. */
/* #define ENABLE_RELOCATABLE 1 */

/* Define on systems for which file names may have a so-called `drive letter'
   prefix, define this to compute the length of that prefix, including the
   colon. */
#define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0

/* Define if the backslash character may also serve as a file name component
   separator. */
#define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0

/* Define if a drive letter prefix denotes a relative path if it is not
   followed by a file name component separator. */
#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0

/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
   and handles trailing slash correctly. */
/* #undef FUNC_REALPATH_WORKS */

/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
   whether the gnulib module canonicalize-lgpl shall be considered present. */
#define GNULIB_CANONICALIZE_LGPL 1

/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
   whether the gnulib module fwriteerror shall be considered present. */
#define GNULIB_FWRITEERROR 1

/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
   whether the gnulib module sigpipe shall be considered present. */
#define GNULIB_SIGPIPE 1

/* Define to 1 when the gnulib module canonicalize_file_name should be tested.
   */
#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1

/* Define to 1 when the gnulib module environ should be tested. */
#define GNULIB_TEST_ENVIRON 1

/* Define to 1 when the gnulib module getopt-gnu should be tested. */
#define GNULIB_TEST_GETOPT_GNU 1

/* Define to 1 when the gnulib module lstat should be tested. */
#define GNULIB_TEST_LSTAT 1

/* Define to 1 when the gnulib module malloc-posix should be tested. */
#define GNULIB_TEST_MALLOC_POSIX 1

/* Define to 1 when the gnulib module mbrtowc should be tested. */
#define GNULIB_TEST_MBRTOWC 1

/* Define to 1 when the gnulib module mbsinit should be tested. */
#define GNULIB_TEST_MBSINIT 1

/* Define to 1 when the gnulib module mbslen should be tested. */
#define GNULIB_TEST_MBSLEN 1

/* Define to 1 when the gnulib module mbsstr should be tested. */
#define GNULIB_TEST_MBSSTR 1

/* Define to 1 when the gnulib module memchr should be tested. */
#define GNULIB_TEST_MEMCHR 1

/* Define to 1 when the gnulib module readlink should be tested. */
#define GNULIB_TEST_READLINK 1

/* Define to 1 when the gnulib module realpath should be tested. */
#define GNULIB_TEST_REALPATH 1

/* Define to 1 when the gnulib module sigprocmask should be tested. */
#define GNULIB_TEST_SIGPROCMASK 1

/* Define to 1 when the gnulib module stat should be tested. */
#define GNULIB_TEST_STAT 1

/* Define to 1 when the gnulib module strerror should be tested. */
#define GNULIB_TEST_STRERROR 1

/* Define to 1 when the gnulib module strnlen should be tested. */
#define GNULIB_TEST_STRNLEN 1

/* Define to 1 when the gnulib module wcwidth should be tested. */
#define GNULIB_TEST_WCWIDTH 1

/* Define to 1 if you have `alloca', as a function or macro. */
#define HAVE_ALLOCA 1

/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
   */
#define HAVE_ALLOCA_H 1

/* Define to 1 if you have the `argz_count' function. */
/* #define HAVE_ARGZ_COUNT 1 */

/* Define to 1 if you have the <argz.h> header file. */
/* #undef HAVE_ARGZ_H */

/* Define to 1 if you have the `argz_next' function. */
/* #define HAVE_ARGZ_NEXT 1 */

/* Define to 1 if you have the `argz_stringify' function. */
/* #define HAVE_ARGZ_STRINGIFY 1 */

/* Define to 1 if you have the `asprintf' function. */
#define HAVE_ASPRINTF 1

/* Define to 1 if you have the `atexit' function. */
#define HAVE_ATEXIT 1

/* Define to 1 if you have the <bp-sym.h> header file. */
/* #undef HAVE_BP_SYM_H */

/* Define to 1 if the compiler understands __builtin_expect. */
#define HAVE_BUILTIN_EXPECT 1

/* Define to 1 if you have the `canonicalize_file_name' function. */
#define HAVE_CANONICALIZE_FILE_NAME 1

/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
   CoreFoundation framework. */
/* #undef HAVE_CFLOCALECOPYCURRENT */

/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
   the CoreFoundation framework. */
/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */

/* Define if the GNU dcgettext() function is already present or preinstalled.
   */
/* #undef HAVE_DCGETTEXT */

/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_CLEARERR_UNLOCKED 0

/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
   don't. */
#define HAVE_DECL_FEOF_UNLOCKED 0

/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_FERROR_UNLOCKED 0

/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_FFLUSH_UNLOCKED 0

/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_FGETS_UNLOCKED 0

/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_FPUTC_UNLOCKED 0

/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_FPUTS_UNLOCKED 0

/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_FREAD_UNLOCKED 0

/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_FWRITE_UNLOCKED 0

/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_GETCHAR_UNLOCKED 1

/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
   don't. */
#define HAVE_DECL_GETC_UNLOCKED 1

/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
   */
#define HAVE_DECL_GETENV 1

/* Define to 1 if you have the declaration of `getopt_clip', and to 0 if you
   don't. */
/* #undef HAVE_DECL_GETOPT_CLIP */

/* Define to 1 if you have the declaration of `optreset', and to 0 if you
   don't. */
#define HAVE_DECL_OPTRESET 1

/* Define to 1 if you have the declaration of `program_invocation_name', and
   to 0 if you don't. */
#define HAVE_DECL_PROGRAM_INVOCATION_NAME 0

/* Define to 1 if you have the declaration of `program_invocation_short_name',
   and to 0 if you don't. */
#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0

/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
   you don't. */
#define HAVE_DECL_PUTCHAR_UNLOCKED 1

/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
   don't. */
#define HAVE_DECL_PUTC_UNLOCKED 1

/* Define to 1 if you have the declaration of `strerror', and to 0 if you
   don't. */
/* #undef HAVE_DECL_STRERROR */

/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
   don't. */
#define HAVE_DECL_STRERROR_R 1

/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
   don't. */
#define HAVE_DECL_STRNLEN 1

/* Define to 1 if you have the declaration of `wcwidth', and to 0 if you
   don't. */
#define HAVE_DECL_WCWIDTH 1

/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
   don't. */
#define HAVE_DECL__SNPRINTF 0

/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
   don't. */
#define HAVE_DECL__SNWPRINTF 0

/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define if you have the declaration of environ. */
#define HAVE_ENVIRON_DECL 1

/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1

/* Define to 1 if you have the `fwprintf' function. */
#define HAVE_FWPRINTF 1

/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1

/* Define to 1 if you have the `getegid' function. */
#define HAVE_GETEGID 1

/* Define to 1 if you have the `geteuid' function. */
#define HAVE_GETEUID 1

/* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1

/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1

/* Define to 1 if you have the `getopt_long_only' function. */
#define HAVE_GETOPT_LONG_ONLY 1

/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1

/* Define if the GNU gettext() function is already present or preinstalled. */
/* #undef HAVE_GETTEXT */

/* Define to 1 if you have the `getuid' function. */
#define HAVE_GETUID 1

/* Define if you have the iconv() function and it works. */
/* #undef HAVE_ICONV */

/* Define to 1 if you have the <iconv.h> header file. */
/* #undef HAVE_ICONV_H */

/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
#define HAVE_INTMAX_T 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
   declares uintmax_t. */
#define HAVE_INTTYPES_H_WITH_UINTMAX 1

/* Define to 1 if you have the `iswblank' function. */
#define HAVE_ISWBLANK 1

/* Define to 1 if you have the `iswcntrl' function. */
#define HAVE_ISWCNTRL 1

/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
/* #undef HAVE_LANGINFO_CODESET */

/* Define if your <locale.h> file defines LC_MESSAGES. */
#define HAVE_LC_MESSAGES 1

/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1

/* Define to 1 if the system has the type `long long int'. */
#define HAVE_LONG_LONG_INT 1

/* Define to 1 if you have the `lstat' function. */
#define HAVE_LSTAT 1

/* Define to 1 if you have the <mach-o/dyld.h> header file. */
/* #undef HAVE_MACH_O_DYLD_H */

/* Define if the 'malloc' function is POSIX compliant. */
#define HAVE_MALLOC_POSIX 1

/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
   config.h and <sys/mman.h>. */
#define HAVE_MAP_ANONYMOUS 1

/* Define to 1 if you have the `mbrtowc' function. */
#define HAVE_MBRTOWC 1

/* Define to 1 if you have the `mbsinit' function. */
#define HAVE_MBSINIT 1

/* Define to 1 if you have the `mbslen' function. */
#define HAVE_MBSLEN 1

/* Define to 1 if <wchar.h> declares mbstate_t. */
#define HAVE_MBSTATE_T 1

/* Define to 1 if you have the `memchr' function. */
#define HAVE_MEMCHR 1

/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `mempcpy' function. */
/* #define HAVE_MEMPCPY 1 */

/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */

/* Define to 1 if you have the `mprotect' function. */
#define HAVE_MPROTECT 1

/* Define to 1 if you have the `munmap' function. */
#define HAVE_MUNMAP 1

/* Define to 1 if you have the `newlocale' function. */
/* #define HAVE_NEWLOCALE 1 */

/* Define to 1 if you have the `pathconf' function. */
#define HAVE_PATHCONF 1

/* Define if your printf() function supports format strings with positions. */
#define HAVE_POSIX_PRINTF 1

/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
/* #undef HAVE_PTHREAD_MUTEX_RECURSIVE */

/* Define if the POSIX multithreading library has read/write locks. */
/* #undef HAVE_PTHREAD_RWLOCK */

/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1

/* Define to 1 if you have the <random.h> header file. */
/* #undef HAVE_RANDOM_H */

/* Define to 1 if atoll is declared even after undefining macros. */
#define HAVE_RAW_DECL_ATOLL 1

/* Define to 1 if btowc is declared even after undefining macros. */
#define HAVE_RAW_DECL_BTOWC 1

/* Define to 1 if canonicalize_file_name is declared even after undefining
   macros. */
/* #undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME */

/* Define to 1 if chown is declared even after undefining macros. */
#define HAVE_RAW_DECL_CHOWN 1

/* Define to 1 if dprintf is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_DPRINTF */

/* Define to 1 if dup2 is declared even after undefining macros. */
#define HAVE_RAW_DECL_DUP2 1

/* Define to 1 if dup3 is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_DUP3 */

/* Define to 1 if endusershell is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_ENDUSERSHELL */

/* Define to 1 if environ is declared even after undefining macros. */
#define HAVE_RAW_DECL_ENVIRON 1

/* Define to 1 if euidaccess is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_EUIDACCESS */

/* Define to 1 if faccessat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_FACCESSAT */

/* Define to 1 if fchdir is declared even after undefining macros. */
#define HAVE_RAW_DECL_FCHDIR 1

/* Define to 1 if fchmodat is declared even after undefining macros. */
#define HAVE_RAW_DECL_FCHMODAT 1

/* Define to 1 if fchownat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_FCHOWNAT */

/* Define to 1 if fpurge is declared even after undefining macros. */
#define HAVE_RAW_DECL_FPURGE 1

/* Define to 1 if fseeko is declared even after undefining macros. */
#define HAVE_RAW_DECL_FSEEKO 1

/* Define to 1 if fstatat is declared even after undefining macros. */
#define HAVE_RAW_DECL_FSTATAT 1

/* Define to 1 if fsync is declared even after undefining macros. */
#define HAVE_RAW_DECL_FSYNC 1

/* Define to 1 if ftello is declared even after undefining macros. */
#define HAVE_RAW_DECL_FTELLO 1

/* Define to 1 if ftruncate is declared even after undefining macros. */
#define HAVE_RAW_DECL_FTRUNCATE 1

/* Define to 1 if futimens is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_FUTIMENS */

/* Define to 1 if getcwd is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETCWD 1

/* Define to 1 if getdelim is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_GETDELIM */

/* Define to 1 if getdomainname is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETDOMAINNAME 1

/* Define to 1 if getdtablesize is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETDTABLESIZE 1

/* Define to 1 if getgroups is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETGROUPS 1

/* Define to 1 if gethostname is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETHOSTNAME 1

/* Define to 1 if getline is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_GETLINE */

/* Define to 1 if getloadavg is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_GETLOADAVG */

/* Define to 1 if getlogin is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETLOGIN 1

/* Define to 1 if getlogin_r is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETLOGIN_R 1

/* Define to 1 if getpagesize is declared even after undefining macros. */
#define HAVE_RAW_DECL_GETPAGESIZE 1

/* Define to 1 if getsubopt is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_GETSUBOPT */

/* Define to 1 if getusershell is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_GETUSERSHELL */

/* Define to 1 if grantpt is declared even after undefining macros. */
#define HAVE_RAW_DECL_GRANTPT 1

/* Define to 1 if initstat_r is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_INITSTAT_R */

/* Define to 1 if lchmod is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_LCHMOD */

/* Define to 1 if lchown is declared even after undefining macros. */
#define HAVE_RAW_DECL_LCHOWN 1

/* Define to 1 if link is declared even after undefining macros. */
#define HAVE_RAW_DECL_LINK 1

/* Define to 1 if linkat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_LINKAT */

/* Define to 1 if lseek is declared even after undefining macros. */
#define HAVE_RAW_DECL_LSEEK 1

/* Define to 1 if lstat is declared even after undefining macros. */
#define HAVE_RAW_DECL_LSTAT 1

/* Define to 1 if mbrlen is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBRLEN 1

/* Define to 1 if mbrtowc is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBRTOWC 1

/* Define to 1 if mbsinit is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBSINIT 1

/* Define to 1 if mbsnrtowcs is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MBSNRTOWCS */

/* Define to 1 if mbsrtowcs is declared even after undefining macros. */
#define HAVE_RAW_DECL_MBSRTOWCS 1

/* Define to 1 if memmem is declared even after undefining macros. */
#define HAVE_RAW_DECL_MEMMEM 1

/* Define to 1 if mempcpy is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MEMPCPY */

/* Define to 1 if memrchr is declared even after undefining macros. */
#define HAVE_RAW_DECL_MEMRCHR 1

/* Define to 1 if mkdirat is declared even after undefining macros. */
#define HAVE_RAW_DECL_MKDIRAT 1

/* Define to 1 if mkdtemp is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MKDTEMP */

/* Define to 1 if mkfifo is declared even after undefining macros. */
#define HAVE_RAW_DECL_MKFIFO 1

/* Define to 1 if mkfifoat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MKFIFOAT */

/* Define to 1 if mknod is declared even after undefining macros. */
#define HAVE_RAW_DECL_MKNOD 1

/* Define to 1 if mknodat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MKNODAT */

/* Define to 1 if mkostemp is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MKOSTEMP */

/* Define to 1 if mkostemps is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MKOSTEMPS */

/* Define to 1 if mkstemp is declared even after undefining macros. */
#define HAVE_RAW_DECL_MKSTEMP 1

/* Define to 1 if mkstemps is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_MKSTEMPS */

/* Define to 1 if pipe2 is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_PIPE2 */

/* Define to 1 if popen is declared even after undefining macros. */
#define HAVE_RAW_DECL_POPEN 1

/* Define to 1 if pread is declared even after undefining macros. */
#define HAVE_RAW_DECL_PREAD 1

/* Define to 1 if ptsname is declared even after undefining macros. */
#define HAVE_RAW_DECL_PTSNAME 1

/* Define to 1 if pwrite is declared even after undefining macros. */
#define HAVE_RAW_DECL_PWRITE 1

/* Define to 1 if random_r is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_RANDOM_R */

/* Define to 1 if rawmemchr is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_RAWMEMCHR */

/* Define to 1 if readlink is declared even after undefining macros. */
#define HAVE_RAW_DECL_READLINK 1

/* Define to 1 if readlinkat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_READLINKAT */

/* Define to 1 if realpath is declared even after undefining macros. */
#define HAVE_RAW_DECL_REALPATH 1

/* Define to 1 if renameat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_RENAMEAT */

/* Define to 1 if rmdir is declared even after undefining macros. */
#define HAVE_RAW_DECL_RMDIR 1

/* Define to 1 if rpmatch is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_RPMATCH */

/* Define to 1 if setenv is declared even after undefining macros. */
#define HAVE_RAW_DECL_SETENV 1

/* Define to 1 if setstate_r is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_SETSTATE_R */

/* Define to 1 if setusershell is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_SETUSERSHELL */

/* Define to 1 if sigaction is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGACTION 1

/* Define to 1 if sigaddset is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGADDSET 1

/* Define to 1 if sigdelset is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGDELSET 1

/* Define to 1 if sigemptyset is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGEMPTYSET 1

/* Define to 1 if sigfillset is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGFILLSET 1

/* Define to 1 if sigismember is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGISMEMBER 1

/* Define to 1 if sigpending is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGPENDING 1

/* Define to 1 if sigprocmask is declared even after undefining macros. */
#define HAVE_RAW_DECL_SIGPROCMASK 1

/* Define to 1 if sleep is declared even after undefining macros. */
#define HAVE_RAW_DECL_SLEEP 1

/* Define to 1 if snprintf is declared even after undefining macros. */
#define HAVE_RAW_DECL_SNPRINTF 1

/* Define to 1 if srandom_r is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_SRANDOM_R */

/* Define to 1 if stat is declared even after undefining macros. */
#define HAVE_RAW_DECL_STAT 1

/* Define to 1 if stpcpy is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_STPCPY */

/* Define to 1 if stpncpy is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_STPNCPY */

/* Define to 1 if strcasestr is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRCASESTR 1

/* Define to 1 if strchrnul is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_STRCHRNUL */

/* Define to 1 if strdup is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRDUP 1

/* Define to 1 if strncat is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRNCAT 1

/* Define to 1 if strndup is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRNDUP 1

/* Define to 1 if strnlen is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRNLEN 1

/* Define to 1 if strpbrk is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRPBRK 1

/* Define to 1 if strsep is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRSEP 1

/* Define to 1 if strsignal is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRSIGNAL 1

/* Define to 1 if strtod is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOD 1

/* Define to 1 if strtok_r is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOK_R 1

/* Define to 1 if strtoll is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOLL 1

/* Define to 1 if strtoull is declared even after undefining macros. */
#define HAVE_RAW_DECL_STRTOULL 1

/* Define to 1 if strverscmp is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_STRVERSCMP */

/* Define to 1 if symlink is declared even after undefining macros. */
#define HAVE_RAW_DECL_SYMLINK 1

/* Define to 1 if symlinkat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_SYMLINKAT */

/* Define to 1 if tmpfile is declared even after undefining macros. */
#define HAVE_RAW_DECL_TMPFILE 1

/* Define to 1 if ttyname_r is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_TTYNAME_R */

/* Define to 1 if unlink is declared even after undefining macros. */
#define HAVE_RAW_DECL_UNLINK 1

/* Define to 1 if unlinkat is declared even after undefining macros. */
#define HAVE_RAW_DECL_UNLINKAT 1

/* Define to 1 if unlockpt is declared even after undefining macros. */
#define HAVE_RAW_DECL_UNLOCKPT 1

/* Define to 1 if unsetenv is declared even after undefining macros. */
#define HAVE_RAW_DECL_UNSETENV 1

/* Define to 1 if usleep is declared even after undefining macros. */
#define HAVE_RAW_DECL_USLEEP 1

/* Define to 1 if utimensat is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_UTIMENSAT */

/* Define to 1 if vdprintf is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_VDPRINTF */

/* Define to 1 if vsnprintf is declared even after undefining macros. */
#define HAVE_RAW_DECL_VSNPRINTF 1

/* Define to 1 if wcrtomb is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCRTOMB 1

/* Define to 1 if wcsnrtombs is declared even after undefining macros. */
/* #undef HAVE_RAW_DECL_WCSNRTOMBS */

/* Define to 1 if wcsrtombs is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCSRTOMBS 1

/* Define to 1 if wctob is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCTOB 1

/* Define to 1 if wcwidth is declared even after undefining macros. */
#define HAVE_RAW_DECL_WCWIDTH 1

/* Define to 1 if you have the `readlink' function. */
#define HAVE_READLINK 1

/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1

/* Define to 1 if you have the <search.h> header file. */
/* #undef HAVE_SEARCH_H */

/* Define to 1 if you have the `setenv' function. */
#define HAVE_SETENV 1

/* Define to 1 if you have the `setlocale' function. */
/* #define HAVE_SETLOCALE 1 */

/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1

/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
#define HAVE_SIGNED_SIG_ATOMIC_T 1

/* Define to 1 if 'wchar_t' is a signed integer type. */
/* #undef HAVE_SIGNED_WCHAR_T */

/* Define to 1 if 'wint_t' is a signed integer type. */
#define HAVE_SIGNED_WINT_T 1

/* Define to 1 if the system has the type `sigset_t'. */
/* #undef HAVE_SIGSET_T */

/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1

/* Define to 1 if stdbool.h conforms to C99. */
#define HAVE_STDBOOL_H 1

/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
   uintmax_t. */
#define HAVE_STDINT_H_WITH_UINTMAX 1

/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the `stpcpy' function. */
/* #define HAVE_STPCPY 1 */

/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1

/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1

/* Define to 1 if you have the `strerror_r' function. */
#define HAVE_STRERROR_R 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strnlen' function. */
#define HAVE_STRNLEN 1

/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1

/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1

/* Define to 1 if the system has the type `struct random_data'. */
/* #undef HAVE_STRUCT_RANDOM_DATA */

/* Define to 1 if you have the <sys/bitypes.h> header file. */
/* #undef HAVE_SYS_BITYPES_H */

/* Define to 1 if you have the <sys/inttypes.h> header file. */
/* #undef HAVE_SYS_INTTYPES_H */

/* Define to 1 if you have the <sys/mman.h> header file. */
#define HAVE_SYS_MMAN_H 1

/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1

/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1

/* Define to 1 if you have the `tsearch' function. */
/*#define HAVE_TSEARCH 1*/

/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
#define HAVE_UINTMAX_T 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if the system has the type `unsigned long long int'. */
#define HAVE_UNSIGNED_LONG_LONG_INT 1

/* Define to 1 if you have the `uselocale' function. */
/* #define HAVE_USELOCALE 1 */

/* Define to 1 or 0, depending whether the compiler supports simple visibility
   declarations. */
#define HAVE_VISIBILITY 1

/* Define to 1 if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1

/* Define if you have the 'wchar_t' type. */
#define HAVE_WCHAR_T 1

/* Define to 1 if you have the `wcrtomb' function. */
#define HAVE_WCRTOMB 1

/* Define to 1 if you have the `wcslen' function. */
#define HAVE_WCSLEN 1

/* Define to 1 if you have the `wcsnlen' function. */
#define HAVE_WCSNLEN 1

/* Define to 1 if you have the <wctype.h> header file. */
#define HAVE_WCTYPE_H 1

/* Define to 1 if you have the `wcwidth' function. */
#define HAVE_WCWIDTH 1

/* Define to 1 if you have the <winsock2.h> header file. */
/* #undef HAVE_WINSOCK2_H */

/* Define if you have the 'wint_t' type. */
#define HAVE_WINT_T 1

/* Define to 1 if O_NOATIME works. */
#define HAVE_WORKING_O_NOATIME 0

/* Define to 1 if O_NOFOLLOW works. */
#define HAVE_WORKING_O_NOFOLLOW 0

/* Define to 1 if the system has the type `_Bool'. */
#define HAVE__BOOL 1

/* Define to 1 if you have the `_NSGetExecutablePath' function. */
/* #undef HAVE__NSGETEXECUTABLEPATH */

/* Define to 1 if you have the `__fsetlocking' function. */
/* FSETLOCKING_BYCALLER undefined */
/* #define HAVE___FSETLOCKING 1 */

/* Define as const if the declaration of iconv() needs const. */
/* #undef ICONV_CONST */

/* Define to a symbolic name denoting the flavor of iconv_open()
   implementation. */
/* #undef ICONV_FLAVOR */

/* Define to the value of ${prefix}, as a string. */
#define INSTALLPREFIX "/usr/local"

/* Define if integer division by zero raises signal SIGFPE. */
#define INTDIV0_RAISES_SIGFPE 0

#if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
# define ISSLASH(C) ((C) == '/' || (C) == '\\')
#else
# define ISSLASH(C) ((C) == '/')
#endif

/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
   slash. */
/* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */

/* Define to the sub-directory in which libtool stores uninstalled libraries.
   */
#define LT_OBJDIR ".libs/"

/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
#define MALLOC_0_IS_NONNULL 0

/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
/* #undef MAP_ANONYMOUS */

/* Define if the mbrtowc function has the NULL string argument bug. */
/* #undef MBRTOWC_NULL_ARG_BUG */

/* Define if the mbrtowc function does not return 0 for a NUL character. */
/* #undef MBRTOWC_NUL_RETVAL_BUG */

/* Define if the mbrtowc function returns a wrong return value. */
/* #undef MBRTOWC_RETVAL_BUG */

/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */

/* Name of package */
#define PACKAGE "gettext-runtime"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""

/* Define to the full name of this package. */
#define PACKAGE_NAME ""

/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION ""

/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
/* #undef PRI_MACROS_BROKEN */

/* Define if the pthread_in_use() detection is hard. */
/* #undef PTHREAD_IN_USE_DETECTION_HARD */

/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
   'ptrdiff_t'. */
#define PTRDIFF_T_SUFFIX

/* Define to 1 if readlink fails to recognize a trailing slash. */
#define READLINK_TRAILING_SLASH_BUG 1

/* Define to 1 if stat needs help when passed a directory name with a trailing
   slash */
/* #undef REPLACE_FUNC_STAT_DIR */

/* Define to 1 if stat needs help when passed a file name with a trailing
   slash */
#define REPLACE_FUNC_STAT_FILE 1

/* Define this to 1 if strerror is broken. */
/* #undef REPLACE_STRERROR */

/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
   'sig_atomic_t'. */
#define SIG_ATOMIC_T_SUFFIX

/* Define as the maximum value of type 'size_t', if the system doesn't define
   it. */
#ifndef SIZE_MAX
/* # undef SIZE_MAX */
#endif

/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
   'size_t'. */
#define SIZE_T_SUFFIX u

/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at runtime.
  STACK_DIRECTION > 0 => grows toward higher addresses
  STACK_DIRECTION < 0 => grows toward lower addresses
  STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */

/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define to 1 if strerror_r returns char *. */
/* #undef STRERROR_R_CHAR_P */

/* Define to the prefix of C symbols at the assembler and linker level, either
   an underscore or empty. */
#define USER_LABEL_PREFIX

/* Define if the POSIX multithreading library can be used. */
/* #undef USE_POSIX_THREADS */

/* Define if references to the POSIX multithreading library should be made
   weak. */
/* #undef USE_POSIX_THREADS_WEAK */

/* Define if the GNU Pth multithreading library can be used. */
/* #undef USE_PTH_THREADS */

/* Define if references to the GNU Pth multithreading library should be made
   weak. */
/* #undef USE_PTH_THREADS_WEAK */

/* Define if the old Solaris multithreading library can be used. */
/* #undef USE_SOLARIS_THREADS */

/* Define if references to the old Solaris multithreading library should be
   made weak. */
/* #undef USE_SOLARIS_THREADS_WEAK */

/* Define to 1 if you want getc etc. to use unlocked I/O if available.
   Unlocked I/O can improve performance in unithreaded apps, but it is not
   safe for multithreaded apps. */
#define USE_UNLOCKED_IO 1

/* Define if the Win32 multithreading API can be used. */
/* #undef USE_WIN32_THREADS */

/* Version number of package */
#define VERSION "0.18.1"

/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
   'wchar_t'. */
#define WCHAR_T_SUFFIX u

/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
   'wint_t'. */
#define WINT_T_SUFFIX

/* Define to 1 if on MINIX. */
/* #undef _MINIX */

/* Define to 2 if the system does not provide POSIX.1 features except with
   this defined. */
/* #undef _POSIX_1_SOURCE */

/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */

/* Define to 500 only on HP-UX. */
/* #undef _XOPEN_SOURCE */

/* Enable extensions on AIX 3, Interix.  */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them.  */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable threading extensions on Solaris.  */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop.  */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris.  */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif

/* Define to rpl_ if the getopt replacement functions and variables should be
   used. */
#define __GETOPT_PREFIX rpl_

/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */

/* Define to `__inline__' or `__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
#ifndef __cplusplus
/* #undef inline */
#endif

/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
   the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
   earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
   __APPLE__ && __MACH__ test for MacOS X.
   __APPLE_CC__ tests for the Apple compiler and its version.
   __STDC_VERSION__ tests for the C99 mode.  */
#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
# define __GNUC_STDC_INLINE__ 1
#endif

/* Define to a type if <wchar.h> does not define. */
/* #undef mbstate_t */

/* Define to the type of st_nlink in struct stat, or a supertype. */
/* #undef nlink_t */

/* Define as the type of the result of subtracting two pointers, if the system
   doesn't define it. */
/* #undef ptrdiff_t */

/* Define to the equivalent of the C99 'restrict' keyword, or to
   nothing if this is not supported.  Do not define if restrict is
   supported directly.  */
#define restrict __restrict
/* Work around a bug in Sun C++: it does not support _Restrict or
   __restrict__, even though the corresponding Sun C compiler ends up with
   "#define restrict _Restrict" or "#define restrict __restrict__" in the
   previous line.  Perhaps some future version of Sun C++ will work with
   restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
#if defined __SUNPRO_CC && !defined __RESTRICT
# define _Restrict
# define __restrict__
#endif

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define as a signed type of the same size as size_t. */
/* #undef ssize_t */

/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */

/* Define to unsigned long or unsigned long long if <stdint.h> and
   <inttypes.h> don't define. */
/* #undef uintmax_t */

/* Define as a marker that can be attached to declarations that might not
    be used.  This helps to reduce warnings, such as from
    GCC -Wunused-parameter.  */
#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
# define _GL_UNUSED __attribute__ ((__unused__))
#else
# define _GL_UNUSED
#endif
/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
   is a misnomer outside of parameter lists.  */
#define _UNUSED_PARAMETER_ _GL_UNUSED

#define __libc_lock_t                   gl_lock_t
#define __libc_lock_define              gl_lock_define
#define __libc_lock_define_initialized  gl_lock_define_initialized
#define __libc_lock_init                gl_lock_init
#define __libc_lock_lock                gl_lock_lock
#define __libc_lock_unlock              gl_lock_unlock
#define __libc_lock_recursive_t                   gl_recursive_lock_t
#define __libc_lock_define_recursive              gl_recursive_lock_define
#define __libc_lock_define_initialized_recursive  gl_recursive_lock_define_initialized
#define __libc_lock_init_recursive                gl_recursive_lock_init
#define __libc_lock_lock_recursive                gl_recursive_lock_lock
#define __libc_lock_unlock_recursive              gl_recursive_lock_unlock
#define glthread_in_use  libintl_thread_in_use
#define glthread_lock_init_func     libintl_lock_init_func
#define glthread_lock_lock_func     libintl_lock_lock_func
#define glthread_lock_unlock_func   libintl_lock_unlock_func
#define glthread_lock_destroy_func  libintl_lock_destroy_func
#define glthread_rwlock_init_multithreaded     libintl_rwlock_init_multithreaded
#define glthread_rwlock_init_func              libintl_rwlock_init_func
#define glthread_rwlock_rdlock_multithreaded   libintl_rwlock_rdlock_multithreaded
#define glthread_rwlock_rdlock_func            libintl_rwlock_rdlock_func
#define glthread_rwlock_wrlock_multithreaded   libintl_rwlock_wrlock_multithreaded
#define glthread_rwlock_wrlock_func            libintl_rwlock_wrlock_func
#define glthread_rwlock_unlock_multithreaded   libintl_rwlock_unlock_multithreaded
#define glthread_rwlock_unlock_func            libintl_rwlock_unlock_func
#define glthread_rwlock_destroy_multithreaded  libintl_rwlock_destroy_multithreaded
#define glthread_rwlock_destroy_func           libintl_rwlock_destroy_func
#define glthread_recursive_lock_init_multithreaded     libintl_recursive_lock_init_multithreaded
#define glthread_recursive_lock_init_func              libintl_recursive_lock_init_func
#define glthread_recursive_lock_lock_multithreaded     libintl_recursive_lock_lock_multithreaded
#define glthread_recursive_lock_lock_func              libintl_recursive_lock_lock_func
#define glthread_recursive_lock_unlock_multithreaded   libintl_recursive_lock_unlock_multithreaded
#define glthread_recursive_lock_unlock_func            libintl_recursive_lock_unlock_func
#define glthread_recursive_lock_destroy_multithreaded  libintl_recursive_lock_destroy_multithreaded
#define glthread_recursive_lock_destroy_func           libintl_recursive_lock_destroy_func
#define glthread_once_func            libintl_once_func
#define glthread_once_singlethreaded  libintl_once_singlethreaded
#define glthread_once_multithreaded   libintl_once_multithreaded

/* On Windows, variables that may be in a DLL must be marked specially.  */
#if (defined _MSC_VER && defined _DLL) && !defined IN_RELOCWRAPPER
# define DLL_VARIABLE __declspec (dllimport)
#else
# define DLL_VARIABLE
#endif

/* Extra OS/2 (emx+gcc) defines.  */
#ifdef __EMX__
# include "intl/os2compat.h"
#endif


text:
package gov.nih.nci.common.search.cache;

import gov.nih.nci.common.search.SearchCriteria;
import gov.nih.nci.common.search.SearchResult;
import gov.nih.nci.common.util.COREUtilities;

class SRCache implements java.io.Serializable {

    private Boolean _hasMore = null;
    private Integer _startsAt = null, _endsAt = null, _count = null;
    private SearchCriteria _nextCriteria = null;
    public final String[] identities;

    public SRCache(SearchResult sr) {
        _hasMore = new Boolean(sr.hasMore());
        _startsAt = sr.getStartsAt();
        _endsAt = sr.getEndsAt();
        _count = sr.getCount();
        _nextCriteria = sr.getNextCriteria();
        Object[] objs = sr.getResultSet();
        String[] idents = new String[objs.length];
        for (int i = 0; i < objs.length; i++) {
            try {
                idents[i] = objs[i].getClass().getName()
                        + ":"
                        + COREUtilities.invoke(objs[i], "getId", new Object[0]).toString();
            }
            catch (Exception ex) {
                ex.printStackTrace();
                throw new RuntimeException("Error creating identities: "
                        + ex.getMessage());
            }
        }
        identities = idents;
    }

    public SearchResult newSearchResult(Object[] objs) {
        SearchResult sr = new SearchResult();
        sr.setHasMore(_hasMore.booleanValue());
        sr.setStartsAt(_startsAt);
        sr.setEndsAt(_endsAt);
        sr.setCount(_count);
        sr.setNextCriteria(_nextCriteria);
        sr.setResultSet(objs);
        return sr;
    }
}

redpajama_set_name: RedPajamaGithub


text:
package fi.laverca.examples.etsi;

import java.io.File;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.cert.X509Certificate;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;

import eu.europa.esig.dss.asic.cades.ASiCWithCAdESSignatureParameters;
import eu.europa.esig.dss.asic.cades.signature.ASiCWithCAdESService;
import eu.europa.esig.dss.enumerations.ASiCContainerType;
import eu.europa.esig.dss.enumerations.DigestAlgorithm;
import eu.europa.esig.dss.enumerations.SignatureAlgorithm;
import eu.europa.esig.dss.enumerations.SignatureLevel;
import eu.europa.esig.dss.enumerations.SignaturePackaging;
import eu.europa.esig.dss.model.DSSDocument;
import eu.europa.esig.dss.model.FileDocument;
import eu.europa.esig.dss.model.SignatureValue;
import eu.europa.esig.dss.model.ToBeSigned;
import eu.europa.esig.dss.model.x509.CertificateToken;
import eu.europa.esig.dss.validation.CommonCertificateVerifier;
import fi.laverca.CmsSignature;
import fi.laverca.MSS_Formats;
import fi.laverca.SignatureProfiles;
import fi.laverca.etsi.EtsiClient;
import fi.laverca.etsi.EtsiRequest;
import fi.laverca.etsi.EtsiResponse;
import fi.laverca.jaxb.mss.MessagingModeType;
import fi.laverca.mss.MssConf;
import fi.laverca.mss.ProfileQueryResponse;
import fi.laverca.util.DTBS;
import fi.laverca.util.X509CertificateChain;

/**
 * ASiC signing example
 *
 *
Performs the following steps
 *

 *
Gets the Signing Certificate either with a ProfileQuery, or a dummy SignatureRequest
 *
Constructs {@link DTBS} from the input documents
 *
Sends a SignatureRequest to the MSSP
 *
Constructs an ASiC file
 *

 *
 */
public class ASiC {

    private static final DigestAlgorithm    DIGEST_ALG    = DigestAlgorithm.SHA256;
    private static final SignatureAlgorithm SIG_ALG       = SignatureAlgorithm.RSA_SHA256;
    private static final String             DTBS_MIMETYPE = DTBS.MIME_SHA256;
    private static final String             RESULT_FILE   = "signed.asics";

    // MSS SignatureProfile
    private static final String MSS_SIG_PROF = SignatureProfiles.ALAUDA_SIGNING;

    private String msisdn;
    private List<String> filesToSign;
    private List<DSSDocument>   docs;

    // ASiC service
    private ASiCWithCAdESService             service;
    private ASiCWithCAdESSignatureParameters parameters;

    // MSS
    private MssConf    conf;
    private EtsiClient client;

    public static void main(final String[] args) {
        new ASiC(args).run();
    }

    /**
     * Create an ASiC example instance.
     * @param args command arguments to parse
     */
    public ASiC(final String[] args) {

        if (args.length < 2) {
            System.err.println("Usage: msisdn filename1 filename2 ...");
            return;
        }
        // Read args
        this.msisdn      = args[0];
        this.filesToSign = Arrays.stream(args).skip(1).collect(Collectors.toList());
        this.docs        = this.filesToSign.stream().map(FileDocument::new).collect(Collectors.toList());

        // Init ASiC service, parameters, and handler
        this.service    = new ASiCWithCAdESService(new CommonCertificateVerifier());
        this.parameters = new ASiCWithCAdESSignatureParameters();
        this.parameters.setSignatureLevel(SignatureLevel.CAdES_BASELINE_B);
        this.parameters.setSignaturePackaging(SignaturePackaging.ENVELOPING);
        this.parameters.setDigestAlgorithm(DIGEST_ALG);
        this.parameters.aSiC().setContainerType(ASiCContainerType.ASiC_S);
        this.parameters.aSiC().setZipComment(true);
        this.parameters.bLevel().setSigningDate(new Date());

        this.conf   = MssConf.fromPropertyFile("conf/examples.conf");
        this.client = new EtsiClient(this.conf);
    }

    /**
     * Run the example
     */
    public void run() {

        // Create AP_TransID to use. This can be any unique String.
        String apTransId = "A" + System.currentTimeMillis();

        // 1. Get Signing Certificate
        X509CertificateChain chain = null;
        try {
            chain = this.getCertChain(this.msisdn, apTransId);
        } catch (IOException ioe) {
            System.out.println("Failed to get certs from MSSP.");
            ioe.printStackTrace();
            this.client.shutdown();
            return;
        }

        // 2. Fill certs to SignatureParameters
        final X509Certificate       signingCert = chain.getSigningCert();
        final List<CertificateToken> tokenChain = chain.stream()
                                                       .map(CertificateToken::new)
                                                       .collect(Collectors.toList());

        this.parameters.setCertificateChain(tokenChain);
        this.parameters.setSigningCertificate(new CertificateToken(signingCert));

        // 3. Send the ASiC signature request
        try {
            final ToBeSigned dataToSign   = this.service.getDataToSign(this.docs, this.parameters);
            final byte[] dataToSignBytes  = dataToSign.getBytes();
            final byte[] dataToSignDigest = digest(dataToSignBytes);

            DTBS dtbs = new DTBS(dataToSignDigest, DTBS.ENCODING_BASE64, DTBS_MIMETYPE);

            // Data to be displayed
            String dtbd = dtbs.toString();

            EtsiRequest req = this.client.createRequest(apTransId,               // AP Transaction ID
                                                        this.msisdn,             // MSISDN
                                                        dtbs,                    // Data to be signed
                                                        dtbd,                    // Data to be displayed
                                                        null,                    // Additional services
                                                        MSS_SIG_PROF,            // Signature profile
                                                        MSS_Formats.KIURU_PKCS1, // MSS Format
                                                        MessagingModeType.ASYNCH_CLIENT_SERVER);

            // 4. Send Signature request
            EtsiResponse resp = this.client.send(req);

            System.out.println("Got a response");
            System.out.println("  StatusCode   : " + resp.getStatusCode());
            System.out.println("  StatusMessage: " + resp.getStatusMessage());
            System.out.println("  Signature    : " + resp.getSignature().getBase64Signature());

            DSSDocument signedDocument = null;
            try {
                // 5. Attach signature to ASiC package
                SignatureValue signatureValue = new SignatureValue(SIG_ALG, resp.getSignature().getRawSignature());
                signedDocument = this.service.signDocument(this.docs, this.parameters, signatureValue);
            } catch (Throwable e) {
                System.out.println("ASiC sign failed:");
                e.printStackTrace();
            }

            try {
                // 6. Save signed file
                if (signedDocument != null) {
                    signedDocument.save(RESULT_FILE);
                    System.out.println("Saved signed document to " + new File(RESULT_FILE).getAbsolutePath());
                }

            } catch (IOException e) {
                System.out.println("Failed to save signed document:");
                e.printStackTrace();
            }

        } catch (Exception e) {
            System.out.println("Got an Exception:");
            e.printStackTrace();
        }
        // Kill the thread pool - otherwise this example would wait 60 seconds for the thread to die
        this.client.shutdown();
    }

    /**
     * Get the certificate chain.
     *
First tries to get the chain with ProfileQuery extension.
     * If unsuccessful, results to sending a dummy signature request to the MSSP to get the chain.
     *
     * @param _msisdn    Target MSISDN
     * @param apTransId AP transaction ID
     * @return Certificate chain (may be empty in which case the signing will fail)
     * @throws IOException
     */
    private X509CertificateChain getCertChain(final String _msisdn, final String apTransId)
        throws IOException
    {

        // Send a ProfileQueryReq. Depending on the MSSP configuration, the response may contain the needed certs.
        ProfileQueryResponse profileResp = this.client.sendProfileQuery(_msisdn, apTransId);
        X509CertificateChain certChain   = profileResp.getCertificate(MSS_SIG_PROF);

        // If ProfileQueryResponse does not contain certs, get the certs from a Signature.
        if (certChain.isEmpty()) {
            certChain = getCertsWithSign(_msisdn, apTransId);
        }

        return certChain;
    }

    /**
     * Get the certificate chain by sending a dummy signature request to the MSSP for the user to sign.
     *
     * @param _msisdn    Target MSISDN
     * @param apTransId AP transaction ID
     * @return Certificate chain (may be empty in which case the signing will fail)
     * @throws IOException
     */
    private X509CertificateChain getCertsWithSign(final String _msisdn, final String apTransId)
        throws IOException
    {
        DTBS   dtbs = new DTBS("CAdES dummy signature to pick certificates.");
        String dtbd = dtbs.toString();

        EtsiRequest req = this.client.createRequest(apTransId,         // AP Transaction ID
                                                    _msisdn,           // MSISDN
                                                    dtbs,              // Data to be signed
                                                    dtbd,              // Data to be displayed
                                                    null,              // Additional services
                                                    MSS_SIG_PROF,      // Signature profile
                                                    MSS_Formats.PKCS7, // MSS Format
                                                    MessagingModeType.ASYNCH_CLIENT_SERVER);

        EtsiResponse resp = this.client.send(req);
        return ((CmsSignature)resp.getSignature()).getCertificateChain();
    }

    /**
     * Digest the given data with {@code DIGEST_ALG}
     *
     * @param data Data to digest
     * @return digest
     * @throws NoSuchAlgorithmException
     */
    private byte[] digest(final byte[] data) throws NoSuchAlgorithmException {
        MessageDigest md = MessageDigest.getInstance(DIGEST_ALG.getJavaName());
        md.reset();
        md.update(data);
        return md.digest();
    }

}


text:
<?php

namespace JMS\JobQueueBundle\Command;

use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\ORM\EntityManager;
use JMS\JobQueueBundle\Entity\Job;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class CleanUpCommand extends ContainerAwareCommand
{
    protected function configure()
    {
        $this
            ->setName('jms-job-queue:clean-up')
            ->setDescription('Cleans up jobs which exceed the maximum retention time.')
            ->addOption('max-retention', null, InputOption::VALUE_REQUIRED, 'The maximum retention time (value must be parsable by DateTime).', '30 days')
        ;
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        /** @var ManagerRegistry $registry */
        $registry = $this->getContainer()->get('doctrine');

        /** @var EntityManager $em */
        $em = $registry->getManagerForClass('JMSJobQueueBundle:Job');

        $jobs = $em->createQuery("SELECT j FROM JMSJobQueueBundle:Job j WHERE j.closedAt < :maxRetentionTime AND j.originalJob IS NULL")
            ->setParameter('maxRetentionTime', new \DateTime('-'.$input->getOption('max-retention')))
            ->setMaxResults(1000)
            ->getResult();

        foreach ($jobs as $job) {
            /** @var Job $job */

            $incomingDepsCount = (integer) $em->createQuery("SELECT COUNT(j) FROM JMSJobQueueBundle:Job j WHERE :job MEMBER OF j.dependencies")
                ->setParameter('job', $job)
                ->getSingleScalarResult();

            if ($incomingDepsCount > 0) {
                continue;
            }

            $em->remove($job);
        }

        $em->flush();
    }
}


text:
using System;
using System.Net.Http;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;

namespace AppAnywhere.Io.Azure.Function
{
    public class FirstFunction
    {
        TraceWriter Tracewriter;

        public FirstFunction(TraceWriter tracewriter)
        {
            Tracewriter = tracewriter;
        }

        public void Run(string input)
        {
            Tracewriter.Info($"Starting First Function with input: {input}.");

            Tracewriter.Info($"Doing First function work...");

            string output = "Output of First Function.";

            Tracewriter.Info($"Finishing First Function, calling second function with output: {output}");

            new SecondFunction(Tracewriter).Run(output);

        }
    }
}


text:
"""Subscriber model tracking preferences for each email."""
from __future__ import unicode_literals, absolute_import
from django.db import models as md
from hashlib import md5
from datetime import datetime
from constants import UNICODE

def _hash():
    """Generate a simple hash for default of unsubscribe_hash."""
    now = UNICODE(datetime.now()).encode('ascii')
    return md5(now).hexdigest()

def get_hour(n):
    """Convert from 24-hour number range to 12-hour AM/PM format."""
    return (n, '{}:00 {}'.format(n % 12 or 12, 'AM' if n < 12 else 'PM'))

HOUR_CHOICES = map(get_hour, range(24))

class Subscriber(md.Model):
    """Subscriber model tracking preferences for each email."""

    email = md.EmailField()
    send_hour = md.IntegerField(choices=HOUR_CHOICES, default=8)
    subreddits = md.ManyToManyField('SubReddit', related_name='subscribers')
    unsubscribe_hash = md.CharField(default=_hash, max_length=255, unique=True)

    def __str__(self):
        """String representation of subscriber's email."""
        return self.email

    def subreddit_names(self):
        """Generate just the names of related subreddits."""
        for subreddit in self.subreddits.all():
            yield subreddit.display_name

class SubReddit(md.Model):
    """Subreddit chosen by Subscriber through Many-To-Many Relationship."""

    display_name = md.CharField(max_length=21, unique=True)

    def __str__(self):
        """String representation of subreddit's display name."""
        return self.display_name

    @classmethod
    def all_pks(cls):
        """Generate the pks of all SubReddits for preselected form defaults."""
        for sr in cls.objects.all():
            yield sr.pk


text:
package com.zuoxiaolong.niubi.job.api.curator;

import com.zuoxiaolong.niubi.job.api.MasterSlavePathApi;
import com.zuoxiaolong.niubi.job.api.StandbyPathApi;
import com.zuoxiaolong.niubi.job.core.exception.NiubiException;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.recipes.cache.ChildData;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.data.Stat;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * 抽象的ZK CURD操作API实现类
 *
 * @author Xiaolong Zuo
 * @since 0.9.3
 */
public abstract class AbstractCurdApiImpl {

    private static final Stat EMPTY_STAT = new Stat();

    private CuratorFramework client;

    private StandbyPathApi standbyPathApi = StandbyPathApiImpl.INSTANCE;

    private MasterSlavePathApi masterSlavePathApi = MasterSlavePathApiImpl.INSTANCE;

    public AbstractCurdApiImpl(CuratorFramework client) {
        this.client = client;
    }

    /**
     * 子类可以通过该方法获取curator客户端
     *
     * @return curator客户端
     */
    protected CuratorFramework getClient() {
        return client;
    }

    /**
     * 获取主备模式下的PATH API
     *
     * @return 主备模式下的PATH API
     */
    protected StandbyPathApi getStandbyPathApi() {
        return standbyPathApi;
    }

    /**
     * 获取主从模式下的PATH API
     *
     * @return 主从模式下的PATH API
     */
    protected MasterSlavePathApi getMasterSlavePathApi() {
        return masterSlavePathApi;
    }

    /**
     * 获取该path下的所有子节点
     *
     * @param path 父节点路径
     * @return 所有子节点
     */
    protected List<ChildData> getChildren(String path) {
        if (!checkExists(path)) {
            return new ArrayList<>();
        }
        try {
            List<ChildData> childDataList = new ArrayList<>();
            List<String> children = client.getChildren().forPath(path);
            childDataList.addAll(children.stream().map(child -> getData(path + "/" + child)).collect(Collectors.toList()));
            return childDataList;
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    /**
     * 获取该节点的数据
     *
     * @param path 节点路径
     * @return 节点数据
     */
    protected ChildData getData(String path) {
        try {
            return new ChildData(path, EMPTY_STAT, client.getData().forPath(path));
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    /**
     * 检查该节点是否存在
     *
     * @param path 节点路径
     * @return 如果存在返回true,否则为false
     */
    protected boolean checkExists(String path) {
        try {
            return client.checkExists().forPath(path) != null;
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    /**
     * 创建一个节点
     *
     * @param path 节点路径
     * @param data 节点数据
     * @return 节点路径
     */
    protected String create(String path, byte[] data) {
        try {
            return getClient().create().creatingParentsIfNeeded().forPath(path, data);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    protected String createWithProtection(String path, byte[] data) {
        try {
            return getClient().create().creatingParentsIfNeeded().withProtection().forPath(path, data);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    protected String createPersistentWithProtection(String path, byte[] data) {
        try {
            return getClient().create().creatingParentsIfNeeded().withMode(CreateMode.PERSISTENT).forPath(path, data);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    protected String createPersistentSequentialWithProtection(String path, byte[] data) {
        try {
            return getClient().create().creatingParentsIfNeeded().withProtection().withMode(CreateMode.PERSISTENT_SEQUENTIAL).forPath(path, data);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    protected String createPersistentSequential(String path, byte[] data) {
        try {
            return getClient().create().creatingParentsIfNeeded().withMode(CreateMode.PERSISTENT_SEQUENTIAL).forPath(path, data);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    protected String createEphemeralSequential(String path, byte[] data) {
        try {
            return getClient().create().creatingParentsIfNeeded().withMode(CreateMode.EPHEMERAL_SEQUENTIAL).forPath(path, data);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    protected void delete(String path) {
        try {
            getClient().delete().deletingChildrenIfNeeded().forPath(path);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

    protected Stat setData(String path, byte[] data) {
        try {
            return getClient().setData().forPath(path, data);
        } catch (Exception e) {
            throw new NiubiException(e);
        }
    }

}


text:
function sumar(){
	var num1 = parseFloat(document.getElementById("num1").value);
	var num2 = parseFloat(document.getElementById("num2").value);

	if (validar(num1,num2)){
		var res = num1 + num2;
		alert("La suma es:" + res);
	}else{
		alert("La suma es :"+ res);
	}
}

function restar(){
	var num1 = parseFloat(document.getElementById("num1").value);
	var num2 = parseFloat(document.getElementById("num2").value);

	if (validar(num1,num2)){
		var res = num1 - num2;
		alert("La resta es:" + res);
	}else{
		alert("Formato incorrecto de numero!!");
	}
}

function multiplicar(){
	var num1 = parseFloat(document.getElementById("num1").value);
	var num2 = parseFloat(document.getElementById("num2").value);

	if (validar(num1,num2)){
		var res = num1 * num2;
		alert("La multiplicar es:" + res);
	}else{
		alert("Formato incorrecto de numero!!");
	}
}

function dividir(){
	var num1 = parseFloat(document.getElementById("num1").value);
	var num2 = parseFloat(document.getElementById("num2").value);

	if (validar(num1,num2)){
		var res = num1 / num2;
		if (res ==Infinity){

			alert("Division entre 0!!");
			document.getElementById("res").value="";
		}else{
			alert("La multiplicar es:" + res);
		}
	}else{
		alert("Formato Incorrecto de numero!!");
	}
}

function validar(num1,num2){
	if(isNaN(num1) || isNaN(num2)){
		return false;
	}else{
		return true;
	}
}

function hacertabla(){
	var tabla = "";
	var num = parseFloat(document.getElementById("num").value);

	if(isNaN(num) == false){
		tabla += 'Tabla del ' + num + '
';
		for(var i= 0;i<=10;i++){
			tabla += num + ' x ' + i + ' = ' + num * i +'
';
		}
		document.getElementById("tabla").innerHTML=tabla;
	}else{
		alert("Formato incorrecto de numero");
	}

}


text:
package com.microsoft.azure.management.mariadb.v2018_06_01;

import com.microsoft.azure.arm.collection.SupportsCreating;
import rx.Completable;
import rx.Observable;
import com.microsoft.azure.management.mariadb.v2018_06_01.implementation.VirtualNetworkRulesInner;
import com.microsoft.azure.arm.model.HasInner;

/**
 * Type representing VirtualNetworkRules.
 */
public interface VirtualNetworkRules extends SupportsCreating<VirtualNetworkRule.DefinitionStages.Blank>, HasInner<VirtualNetworkRulesInner> {
    /**
     * Gets a virtual network rule.
     *
     * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * @param serverName The name of the server.
     * @param virtualNetworkRuleName The name of the virtual network rule.
     * @throws IllegalArgumentException thrown if parameters fail the validation
     * @return the observable for the request
     */
    Observable<VirtualNetworkRule> getAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName);

    /**
     * Gets a list of virtual network rules in a server.
     *
     * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * @param serverName The name of the server.
     * @throws IllegalArgumentException thrown if parameters fail the validation
     * @return the observable for the request
     */
    Observable<VirtualNetworkRule> listByServerAsync(final String resourceGroupName, final String serverName);

    /**
     * Deletes the virtual network rule with the given name.
     *
     * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
     * @param serverName The name of the server.
     * @param virtualNetworkRuleName The name of the virtual network rule.
     * @throws IllegalArgumentException thrown if parameters fail the validation
     * @return the observable for the request
     */
    Completable deleteAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName);

}


text:
require 'spec_helper'
require 'mazerb/iterator'

module MazeIteratorSpecs
  before do
    @maze = Mazerb::Maze.new(5,5)
  end

  it "must visit all cells once" do
    subject.each { |c| c.visited = c.visited.nil? ? 1 : c.visited + 1 }
    @maze.each { |c| c.visited.must_equal 1 }
  end

  it("#has_next?") do
    subject.has_next?.must_equal true
    subject.each { |c| c.visited = true }
    subject.has_next?.must_equal false
  end

  it("#next") do
    subject.next.must_be_instance_of(Mazerb::Cell) while subject.has_next?
    subject.next.must_equal nil
  end
end

describe Mazerb::Iterator::RandomPrim do
  subject { Mazerb::Iterator::RandomPrim.new(@maze) }

  include MazeIteratorSpecs
end

describe Mazerb::Iterator::GrowingTree do
  subject { Mazerb::Iterator::GrowingTree.new(@maze) }

  include MazeIteratorSpecs
end


text:
[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![Version](https://img.shields.io/cocoapods/v/SAWaveToast.svg?style=flat)](http://cocoapods.org/pods/SAWaveToast)
[![License](https://img.shields.io/cocoapods/l/SAWaveToast.svg?style=flat)](http://cocoapods.org/pods/SAWaveToast)

![](./SampleImage/sample.gif)

Show text with wave animated background and floating animation.

## Features

- [x] Wave aniamtion toast
- [x] Support NSAttributedString
- [ ] Culculate wave aniamtion wit gyro

## Installation

#### CocoaPods

SAWaveToast is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```
pod "SAWaveToast"
```

#### Manually

Add the [SAWaveToast](./SAWaveToast) directory to your project.

## Usage

If you install from cocoapods, You have to write `import SAWaveToast`.

There are two initialize methods.
```swift
public convenience init(text: String, font: UIFont? = nil, fontColor: UIColor? = nil, waveColor: UIColor? = nil, duration: NSTimeInterval? = nil)
public init(attributedText: NSAttributedString, waveColor: UIColor? = nil, duration: NSTimeInterval? = nil)
```

It is simple to use `SAWaveToast` like `UIAlertController`.
```swift
let controller = SAWaveToast(text: "This is SAWaveToast!!")
presentViewController(controller, animated: false, completion: nil)
```

## Customize

You can customize text.

### String

```swift
let waveToast = SAWaveToast(text: "This is SAWaveToast!!", font: .systemFontOfSize(16), fontColor: .darkGrayColor() waveColor: .cyanColor(), duration: 5)
```

### NSAttributedString

```swift
let attributes: [NSObject : AnyObject] = [
    NSFontAttributeName : UIFont.systemFontOfSize(16),
    NSForegroundColorAttributeName: UIColor.cyanColor()
]
let attributedText = NSAttributedString(string: "This is SAWaveToast!! ", attributes: attributes)
let waveToast = SAWaveToast(attributedText: attributedText, waveColor: .cyanColor(), duration: 5)
```

## Requirements

- Xcode 6.4 or greater
- iOS7.0(manually only) or greater

## Author

Taiki Suzuki, s1180183@gmail.com

## License

SAWaveToast is available under the MIT license. See the LICENSE file for more info.


text:
__attribute__((visibility("hidden")))
@interface GPUOpenGLErrorBreakpoint : IDESymbolicBreakpoint
{
}

+ (id)keyPathsForValuesAffectingDisplayName;
+ (id)assetBundle;
- (id)popUpEditorDisplayName;
- (BOOL)shouldEditNewBreakpoints;
- (id)customStopReasonString;
- (id)displayName;
- (id)init;

@end


text:
package org.elasticsearch.join.aggregations;

import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.search.aggregations.InternalAggregations;
import org.elasticsearch.search.aggregations.bucket.InternalSingleBucketAggregation;
import org.elasticsearch.search.aggregations.pipeline.PipelineAggregator;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * Results of the {@link ChildrenToParentAggregator}.
 */
public class InternalParent extends InternalSingleBucketAggregation implements Parent {
    public InternalParent(String name, long docCount, InternalAggregations aggregations, List<PipelineAggregator> pipelineAggregators,
            Map<String, Object> metaData) {
        super(name, docCount, aggregations, pipelineAggregators, metaData);
    }

    /**
     * Read from a stream.
     */
    public InternalParent(StreamInput in) throws IOException {
        super(in);
    }

    @Override
    public String getWriteableName() {
        return ParentAggregationBuilder.NAME;
    }

    @Override
    protected InternalSingleBucketAggregation newAggregation(String name, long docCount, InternalAggregations subAggregations) {
        return new InternalParent(name, docCount, subAggregations, pipelineAggregators(), getMetaData());
    }
}


text:
import { ICanadianStatus } from '../../msp-core/components/canadian-status/canadian-status.component';
import { BasePersonDto, BasePerson } from '../../../models/base-person';
import { StatusInCanada, CanadianStatusReason } from '../../msp-core/models/canadian-status.enum';
import { Relationship } from '../../../models/relationship.enum';
import { Address } from 'moh-common-lib';
import { SupportDocumentsDto, SupportDocuments } from '../../msp-core/models/support-documents.model';
import { AddressDto } from '../../../models/address.dto';

export class Enrollee extends BasePerson implements ICanadianStatus {
  // Flag to indicate gender to be displayed in personal-information component
  readonly genderRequired: boolean = true;

  // Canadian status component - relationship is part of the base person
  status: StatusInCanada;
  currentActivity: CanadianStatusReason;
  clearData(x: any): void {

    // Clear documents already set when Canadian Status changes
    // fixes the error of value changes after initView
    x.documents = new SupportDocuments();
    x.hasNameChange = undefined;
    x.nameChangeDocs = new SupportDocuments();
  }

  hasNameChange: boolean;
  nameChangeDocs: SupportDocuments = new SupportDocuments();

  // Moving information
  madePermanentMoveToBC: boolean;
  livedInBCSinceBirth: boolean;
  movedFromProvinceOrCountry: string;

  // Arrival in dates (BC/Canaada)
  arrivalToBCDate: Date;
  arrivalToCanadaDate: Date;

  // Out of Province within last 12 months for more than 30 days
  outsideBCFor30Days: boolean;
  departureReason: string;
  departureDestination: string;
  oopDepartureDate: Date;
  oopReturnDate: Date;

  // health numbers
  healthNumberFromOtherProvince: string;
  hasPreviousBCPhn: boolean;
  previousBCPhn: string;

  // Armed Forces
  hasBeenReleasedFromArmedForces: boolean;
  dischargeDate: Date;

  // School information for full-time students
  fullTimeStudent: boolean;
  inBCafterStudies: boolean;

   // For children 19-24, we need the school name and address
  schoolName: string;
  schoolAddress: Address = new Address();
  schoolCompletionDate: Date;

  // If school out BC, require departure date
  departureDateForSchool: Date;

  constructor( rel?: Relationship) {
    super( rel );
  }

  // Helper methods
  get isApplicant() {
    return this.relationship === Relationship.Applicant;
  }

  get isSpouse() {
    return this.relationship === Relationship.Spouse;
  }

  get isOveragedChild() {
    return this.relationship === Relationship.Child19To24;
  }

  get isProvinceMove() {
    return this.currentActivity === CanadianStatusReason.MovingFromProvince;
  }

  get isCountryMove() {
    return this.currentActivity === CanadianStatusReason.MovingFromCountry;
  }

  get isLivingWithoutMSP() {
    return this.currentActivity === CanadianStatusReason.LivingInBCWithoutMSP;
  }

  get isCanadianResident() {
    return this.status === StatusInCanada.CitizenAdult;
  }

  get isPermanentResident() {
    return this.status === StatusInCanada.PermanentResident;
  }

  get isTemporaryResident() {
    return this.status === StatusInCanada.TemporaryResident;
  }

  get documentCount() {
    let count = 0;
    if ( this.documents.images ) {
      count += this.documents.images.length;
    }

    if ( this.nameChangeDocs.images ) {
      count += this.nameChangeDocs.images.length;
    }
    return count;
  }
}

export class EnrolleeDto extends BasePersonDto {

  status: StatusInCanada;
  currentActivity: CanadianStatusReason;

  hasNameChange: boolean;

  // SupportDocuments
  nameChangeDocs: SupportDocumentsDto;

  // Moving information
  madePermanentMoveToBC: boolean;
  livedInBCSinceBirth: boolean;
  movedFromProvinceOrCountry: string;

   // Arrival in dates (BC/Canaada)
   arrivalToBCDate: number;
   arrivalToCanadaDate: number;

   // Health numbers
   healthNumberFromOtherProvince: string;
   hasPreviousBCPhn: boolean;
   previousBCPhn: string;

  // Out of Province within last 12 months for more than 30 days
  outsideBCFor30Days: boolean;
  departureReason: string;
  departureDestination: string;
  oopDepartureDate: number;
  oopReturnDate: number;

  // Armed Forces
  hasBeenReleasedFromArmedForces: boolean;
  dischargeDate: number;

  // School information for full-time students
  fullTimeStudent: boolean;
  inBCafterStudies: boolean;

  // For children 19-24, we need the school name and address
  schoolName: string;
  schoolAddress: AddressDto;
  schoolCompletionDate: number;
  departureDateForSchool: number;
}


text:
extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace sound
      {
        namespace midi
        {
          namespace file
          {
              class ExtendedMidiFileFormat;
          }
        }
      }
    }
  }
}

class gnu::javax::sound::midi::file::ExtendedMidiFileFormat : public ::javax::sound::midi::MidiFileFormat
{

public:
  virtual jint getNumberTracks();
  ExtendedMidiFileFormat(jint, jfloat, jint, jint, jlong, jint);
private:
  jint __attribute__((aligned(__alignof__( ::javax::sound::midi::MidiFileFormat)))) ntracks;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__


text:
.. Tavrida documentation master file, created by
   sphinx-quickstart on Sat Jan  2 15:18:28 2016.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Welcome to Tavrida's documentation!
===================================

Source
------

https://github.com/sbunatyan/tavrida

Contents
--------

.. toctree::
   :maxdepth: 1

   installation
   tutorial
   controller
   messages
   middlewares
   discovery
   client
   proxy
   config

Indices and tables
------------------

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

Brief service example
---------------------

.. code-block:: bash
    pip install tavrida

Hello service

.. code-block:: python
    :linenos:

    from tavrida import config
    from tavrida import dispatcher
    from tavrida import server
    from tavrida import service

    @dispatcher.rpc_service("test_hello")
    class HelloController(service.ServiceController):

        @dispatcher.rpc_method(service="test_hello", method="hello")
        def handler(self, request, proxy, param):
            print param

    def run():

        creds = config.Credentials("guest", "guest")
        conf = config.ConnectionConfig("localhost", credentials=creds,
                                       async_engine=True)
        srv = server.Server(conf,
                            queue_name="test_service",
                            exchange_name="test_exchange",
                            service_list=[HelloController])
        srv.run()


text:
package org.apache.ignite.internal.processors.cache.persistence.wal;

import java.io.File;
import java.io.IOException;
import org.apache.ignite.internal.processors.cache.persistence.file.FileIO;
import org.apache.ignite.internal.processors.cache.persistence.file.FileIOFactory;
import org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager;
import org.apache.ignite.internal.processors.cache.persistence.file.UnzipFileIO;
import org.apache.ignite.internal.processors.cache.persistence.wal.io.SegmentIO;
import org.apache.ignite.internal.util.typedef.internal.SB;
import org.jetbrains.annotations.Nullable;

import static java.nio.file.StandardOpenOption.READ;

/**
 * WAL file descriptor.
 */
public class FileDescriptor implements Comparable<FileDescriptor>, AbstractWalRecordsIterator.AbstractFileDescriptor {
    /** file extension of WAL segment. */
    private static final String WAL_SEGMENT_FILE_EXT = ".wal";

    /** Length of WAL segment file name. */
    private static final int WAL_SEGMENT_FILE_NAME_LENGTH = 16;

    /** File represented by this class. */
    protected final File file;

    /** Absolute WAL segment file index. */
    protected final long idx;

    /**
     * Creates file descriptor. Index is restored from file name.
     *
     * @param file WAL segment file.
     */
    public FileDescriptor(File file) {
        this(file, null);
    }

    /**
     *  Creates file descriptor.
     *
     * @param file WAL segment file.
     * @param idx Absolute WAL segment file index. For null value index is restored from file name.
     */
    public FileDescriptor(File file, @Nullable Long idx) {
        this.file = file;

        String fileName = file.getName();

        assert fileName.contains(WAL_SEGMENT_FILE_EXT);

        this.idx = idx == null ? Long.parseLong(fileName.substring(0, WAL_SEGMENT_FILE_NAME_LENGTH)) : idx;
    }

    /**
     * Getting segment file name.
     *
     * @param idx Segment index.
     * @return Segment file name.
     */
    public static String fileName(long idx) {
        SB b = new SB();

        String segmentStr = Long.toString(idx);

        for (int i = segmentStr.length(); i < WAL_SEGMENT_FILE_NAME_LENGTH; i++)
            b.a('0');

        b.a(segmentStr).a(WAL_SEGMENT_FILE_EXT);

        return b.toString();
    }

    /** {@inheritDoc} */
    @Override public int compareTo(FileDescriptor o) {
        return Long.compare(idx, o.idx);
    }

    /** {@inheritDoc} */
    @Override public boolean equals(Object o) {
        if (this == o)
            return true;

        if (!(o instanceof FileDescriptor))
            return false;

        FileDescriptor that = (FileDescriptor)o;

        return idx == that.idx;
    }

    /** {@inheritDoc} */
    @Override public int hashCode() {
        return (int)(idx ^ (idx >>> 32));
    }

    /**
     * Return absolute WAL segment file index.
     *
     * @return Absolute WAL segment file index.
     */
    public long getIdx() {
        return idx;
    }

    /**
     * Return absolute pathname string of this file descriptor pathname.
     *
     * @return Absolute pathname string of this file descriptor pathname.
     */
    public String getAbsolutePath() {
        return file.getAbsolutePath();
    }

    /** {@inheritDoc} */
    @Override public boolean isCompressed() {
        return file.getName().endsWith(FilePageStoreManager.ZIP_SUFFIX);
    }

    /** {@inheritDoc} */
    @Override public File file() {
        return file;
    }

    /** {@inheritDoc} */
    @Override public long idx() {
        return idx;
    }

    /** {@inheritDoc} */
    @Override public SegmentIO toReadOnlyIO(FileIOFactory fileIOFactory) throws IOException {
        FileIO fileIO = isCompressed() ? new UnzipFileIO(file()) : fileIOFactory.create(file(), READ);

        return new SegmentIO(idx, fileIO);
    }

    /** {@inheritDoc} */
    @Override public String toString() {
        return getClass().getSimpleName() + " [file=" + (file == null ? null : file.getAbsolutePath()) + ", idx=" + idx + ']';
    }
}


text:
class SessionsController < ApplicationController
  def create
  	#What data comes back from OmniAuth?
    @auth = request.env["omniauth.auth"]
    #Use the token from the data to request a list of calendars
    @token = @auth["credentials"]["token"]

    owner = User.find_by(email: @auth["info"]["email"])
    if (owner.nil?)
      owner = User.create({
        email: @auth["info"]["email"],
        name: @auth["info"]["name"]
      })
    end

    session[:user_id] = owner.email

    session[:token] = @token

    redirect_to root_path

  end

  def destroy
    session[:user_id] = nil
  	session[:email] = nil
  	redirect_to root_path
  end
end


text:
function c = edge_color(g,algo)
% edge_color(g,algo) --- find a proper edge coloring of the graph g
% The returned matrix has three columns. Each row of this matrix of the
% form [i j c] where ij is an edge of the graph and c is a color number
% (from 1 to the number of colors used).
%
% algo denotes an algorithm. The choices are:
%
% greedy:    use a greedy coloring, based on the line graph (default)
%
% optimal:   create an optimal coloring, based on the line graph
%
% vizing:    create a coloring that uses at most max(deg(g))+1 colors
%            NOTE: THIS IS UNIMPLEMENTED AT THIS TIME!

if nargin < 2
	algo = 'greedy';
end

switch (lower(algo))
	case {'greedy','optimal'}
		h = graph;
		line_graph(h,g);
		p = color(h,algo);
		c = [edges(g), array(p)'];
		free(h);

	case 'vizing'
		warning('edge_color:novizing',...
			'The "vizing" algorithm is not implemented. Using greedy algorithm.')
		c = edge_color(g,'greedy');

	otherwise
		error(['Unknown algorithm: ', algo]);
end


text:
package com.artglorin.web.utils;

import org.testng.annotations.Test;

import static org.testng.Assert.*;

/**
 * @author Verminsky V.V. e-mail: mail@artglorin.com
 * @version 0.0.1
 *          Created on 03.07.15.
 */
public class PaginationTest {

	private PaginationBuilder builder;

	@Test (groups = "init")
	public void testPaginationBuilderGetInstance(){
		builder = PaginationBuilderImpl.getInstance();
		assertNotNull(builder);
	}

	@Test(dependsOnMethods = "testPaginationBuilderGetInstance", groups = "init")
	public void testPaginationBuilderBuild(){
		assertNotNull(builder.build());
	}

	@Test(dependsOnGroups = "init")
	public void testInvalidCurrentPage(){
		Pagination pagination = builder.setCurrentPageNumber(-1).setItemsListSize(10).setTotalItemsCount(5).setPagesCountInSet(2).build();
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 1);
		assertEquals(pagination.getSetPages().size(), 1);
		assertFalse(pagination.isExistPreviousSet());
		assertFalse(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testInvalidListSize(){
		Pagination pagination = builder.setCurrentPageNumber(1).setItemsListSize(-1).setTotalItemsCount(5).setPagesCountInSet(10).build();
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 5);
		assertEquals(pagination.getSetPages().size(), 5);
		assertFalse(pagination.isExistPreviousSet());
		assertFalse(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testInvalidTotalItemsCount(){
		Pagination pagination = builder.setCurrentPageNumber(1).setItemsListSize(1).setTotalItemsCount(-1).setPagesCountInSet(2).build();
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 1);
		assertEquals(pagination.getSetPages().size(), 1);
		assertFalse(pagination.isExistPreviousSet());
		assertFalse(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testInvalidPagesInSet(){
		Pagination pagination = builder.setCurrentPageNumber(1).setItemsListSize(1).setTotalItemsCount(5).setPagesCountInSet(-1).build();
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 1);
		assertEquals(pagination.getSetPages().size(), 1);
		assertFalse(pagination.isExistPreviousSet());
		assertTrue(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testItemsCountLessThenListSize_FirstPageInSet(){
		// Текущая страница - 1
		// Размер списка - 3
		// Размер набора - 2
		// Количество элементов - 2
		Pagination pagination = builder
				.setCurrentPageNumber(1)
				.setItemsListSize(3)
				.setPagesCountInSet(2)
				.setTotalItemsCount(2).build();

		// Ожидаемый результат
		// Текущая страницы - 1
		// Первая страницы в наборе - 1
		// Последняя страницы в наборе - 1
		// Страниц в наборе - 1
		// Предыдущий набор - нет
		// Следующий набор - нет
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 1);
		assertEquals(pagination.getSetPages().size(), 1);
		assertFalse(pagination.isExistPreviousSet());
		assertFalse(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testItemsCountEqualsListSize_FirstPageInSet(){
		// Текущая страница - 1
		// Размер списка - 2
		// Размер набора - 2
		// Количество элементов - (2*2) = 4
		Pagination pagination = builder
				.setCurrentPageNumber(1)
				.setItemsListSize(2)
				.setPagesCountInSet(2)
				.setTotalItemsCount(4).build();

		// Ожидаемый результат
		// Текущая страницы - 1
		// Первая страницы в наборе - 1
		// Последняя страницы в наборе - 2
		// Страниц в наборе - 2
		// Предыдущий набор - нет
		// Следующий набор - нет
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 2);
		assertEquals(pagination.getSetPages().size(), 2);
		assertFalse(pagination.isExistPreviousSet());
		assertFalse(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testItemsCountMoreThenListSize_FirstPageInSet(){
		// Текущая страница - 1
		// Размер списка - 2
		// Размер набора - 2
		// Количество элементов - (2*2) + 1 = 5
		Pagination pagination = builder
				.setCurrentPageNumber(1)
				.setItemsListSize(2)
				.setPagesCountInSet(2)
				.setTotalItemsCount(5).build();

		// Ожидаемый результат
		// Текущая страницы - 1
		// Первая страницы в наборе - 1
		// Последняя страницы в наборе - 2
		// Страниц в наборе - 2
		// Предыдущий набор - нет
		// Следующий набор - есть
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 2);
		assertEquals(pagination.getSetPages().size(), 2);
		assertFalse(pagination.isExistPreviousSet());
		assertTrue(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testItemsCountMoreThenPagesSetSize_FirstPageInSet(){
		// Текущая страница - 1
		// Размер списка - 2
		// Размер набора - 2
		// Количество элементов - 2*2 +1 = 5
		Pagination pagination = builder
				.setCurrentPageNumber(1)
				.setItemsListSize(2)
				.setPagesCountInSet(2)
				.setTotalItemsCount(5).build();

		// Ожидаемый результат
		// Текущая страницы - 1
		// Первая страницы в наборе - 1
		// Последняя страницы в наборе - 2
		// Страниц в наборе - 2
		// Предыдущего набора - нет
		// Следующий набор - есть
		assertEquals(pagination.getCurrentPage(), 1);
		assertEquals(pagination.getFirstPageInSet(), 1);
		assertEquals(pagination.getLastPageInSet(), 2);
		assertEquals(pagination.getSetPages().size(), 2);
		assertFalse(pagination.isExistPreviousSet());
		assertTrue(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testItemsCountMoreThenPagesSetSize_MiddlePageInSet(){
		// Текущая страница - 3
		// Размер списка - 2
		// Размер набора - 2
		// Количество элементов - (2*2)*3 = 12
		Pagination pagination = builder
				.setCurrentPageNumber(3)
				.setItemsListSize(2)
				.setPagesCountInSet(2)
				.setTotalItemsCount(12).build();

		// Ожидаемый результат
		// Текущая страницы - 3
		// Первая страницы в наборе - 3
		// Последняя страницы в наборе - 4
		// Страниц в наборе - 2
		// Предыдущего набора - есть
		// Следующий набор - есть
		assertEquals(pagination.getCurrentPage(), 3);
		assertEquals(pagination.getFirstPageInSet(), 3);
		assertEquals(pagination.getLastPageInSet(), 4);
		assertEquals(pagination.getSetPages().size(), 2);
		assertTrue(pagination.isExistPreviousSet());
		assertTrue(pagination.isExistNextSet());
	}

	@Test(dependsOnGroups = "init")
	public void testItemsCountMoreThenPagesSetSize_LastPageInSet(){
		// Текущая страница - 3
		// Размер списка - 2
		// Размер набора - 2
		// Количество элементов - (2*2)*3 = 12
		Pagination pagination = builder.setCurrentPageNumber(3).setItemsListSize(2).setTotalItemsCount(12).setPagesCountInSet(2).build();

		// Ожидаемый результат
		// Текущая страницы - 3
		// Первая страницы в наборе - 3
		// Последняя страницы в наборе - 4
		// Страниц в наборе - 2
		// Предыдущего набора - есть
		// Следующий набор - есть
		assertEquals(pagination.getCurrentPage(), 3);
		assertEquals(pagination.getFirstPageInSet(), 3);
		assertEquals(pagination.getLastPageInSet(), 4);
		assertEquals(pagination.getSetPages().size(), 2);
		assertTrue(pagination.isExistPreviousSet());
		assertTrue(pagination.isExistNextSet());
	}
}


text:
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Resources {
    using System;

    /// <summary>
    ///   A strongly-typed resource class, for looking up localized strings, etc.
    /// </summary>
    // This class was auto-generated by the StronglyTypedResourceBuilder
    // class via a tool like ResGen or Visual Studio.
    // To add or remove a member, edit your .ResX file then rerun ResGen
    // with the /str option, or rebuild your VS project.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    public class Messages {

        private static global::System.Resources.ResourceManager resourceMan;

        private static global::System.Globalization.CultureInfo resourceCulture;

        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal Messages() {
        }

        /// <summary>
        ///   Returns the cached ResourceManager instance used by this class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        public static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OnTheRoad.MVC.Resources.Shared.Messages", typeof(Messages).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }

        /// <summary>
        ///   Overrides the current thread's CurrentUICulture property for all
        ///   resource lookups using this strongly typed resource class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        public static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Успешно добавихте пътешествие!.
        /// </summary>
        public static string AddTripSuccess {
            get {
                return ResourceManager.GetString("AddTripSuccess", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Моля изберете файл..
        /// </summary>
        public static string FileNotSelectedError {
            get {
                return ResourceManager.GetString("FileNotSelectedError", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Само JPEG И PNG файлове могат да бъдат качвани!.
        /// </summary>
        public static string ImageExtensionsOnlyAllowedError {
            get {
                return ResourceManager.GetString("ImageExtensionsOnlyAllowedError", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Снимката трябва да е до 4MB!.
        /// </summary>
        public static string ImageSizeError {
            get {
                return ResourceManager.GetString("ImageSizeError", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Възникна грешка при качването. Моля опитайте отново..
        /// </summary>
        public static string ImageUploadError {
            get {
                return ResourceManager.GetString("ImageUploadError", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Невалидна заявка!.
        /// </summary>
        public static string InvalidRequest {
            get {
                return ResourceManager.GetString("InvalidRequest", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Възникна грешка при промяна на статуса!.
        /// </summary>
        public static string SubscriptionError {
            get {
                return ResourceManager.GetString("SubscriptionError", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Успешно променихте статуса си за това пътешествие..
        /// </summary>
        public static string SubscriptionSuccess {
            get {
                return ResourceManager.GetString("SubscriptionSuccess", resourceCulture);
            }
        }

        /// <summary>
        ///   Looks up a localized string similar to Неоторизиран достъп!.
        /// </summary>
        public static string UnAuthorizedAccess {
            get {
                return ResourceManager.GetString("UnAuthorizedAccess", resourceCulture);
            }
        }
    }
}