src/tds/unittests/numeric

Main

Hostnameobon110
gcc versiongcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)
uname -aLinux obon110 2.6.23.1-1smp #3 SMP Mon Nov 5 20:51:48 CET 2007 i686 i686 i386 GNU/Linux
date2008-07-03

==21797== Memcheck, a memory error detector.
==21797== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==21797== Using LibVEX rev 1658, a library for dynamic binary translation.
==21797== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==21797== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==21797== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==21797== 
--21797-- Command line
--21797--    ./numeric
--21797-- Startup, with flags:
--21797--    --tool=memcheck
--21797--    --num-callers=20
--21797--    --leak-check=yes
--21797--    -v
--21797--    --show-reachable=yes
--21797--    --log-fd=3
--21797--    --suppressions=/home/winnt/fziglio/suppressions.supp
--21797-- Contents of /proc/version:
--21797--   Linux version 2.6.23.1-1smp (fziglio@obon110) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-13)) #3 SMP Mon Nov 5 20:51:48 CET 2007
--21797-- Arch and hwcaps: X86, x86-sse1-sse2
--21797-- Valgrind library directory: /usr/lib/valgrind
--21797-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--21797-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/tds/unittests/numeric (0x8048000)
--21797-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--21797--    object doesn't have a dynamic symbol table
--21797-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--21797-- Reading suppressions file: /usr/lib/valgrind/default.supp
--21797-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--21797-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--21797-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==21797== WARNING: new redirection conflicts with existing -- ignoring it
--21797--     new: 0x00AF9540 (index     ) R-> 0x040060C0 index
--21797-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--21797-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/tds/.libs/libtds.so.5.0.0 (0x4009000)
--21797-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--21797--    object doesn't have a symbol table
--21797-- Reading syms from /lib/libc-2.5.so (0xB29000)
--21797-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--21797--    object doesn't have a symbol table
--21797-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--21797--    object doesn't have a symbol table
--21797-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--21797--    object doesn't have a symbol table
--21797-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--21797-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--21797-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--21797-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--21797-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--21797-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
--21797-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
--21797-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--21797-- REDIR: 0xB97160 (memmove) redirected to 0x40065B0 (memmove)
1234 -> 1234.00 ok!
1234.1234 -> 1234.123 ok!
1234.1234 -> 1234.123400000000 ok!
1234 -> 1234.000 ok!
1234.1234 -> 1234.1234 ok!
1234.1234 -> 1234.1234000000000 ok!
1234 -> 1234.0000 ok!
1234.1234 -> 1234.12340 ok!
1234.1234 -> 1234.12340000000000 ok!
1234 -> 1234.00000 ok!
1234.1234 -> 1234.123400 ok!
1234.1234 -> 1234.123400000000000 ok!
1234 -> 1234.000000 ok!
1234.1234 -> 1234.1234000 ok!
1234.1234 -> 1234.1234000000000000 ok!
1234 -> 1234.0000000 ok!
1234.1234 -> 1234.12340000 ok!
1234.1234 -> 1234.12340000000000000 ok!
1234 -> 1234.00000000 ok!
1234.1234 -> 1234.123400000 ok!
1234.1234 -> 1234.123400000000000000 ok!
1234 -> 1234.000000000 ok!
1234.1234 -> 1234.1234000000 ok!
1234.1234 -> 1234.1234000000000000000 ok!
1234 -> 1234.0000000000 ok!
1234.1234 -> 1234.12340000000 ok!
1234.1234 -> 1234.12340000000000000000 ok!
1234 -> 1234.00000000000 ok!
1234.1234 -> 1234.123400000000 ok!
1234.1234 -> 1234.123400000000000000000 ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> 1234 ok!
1234.765 -> 1234.76 ok!
765432.2 -> 765432.20 ok!
765432.2 -> 765432.20 ok!
765432.2 -> error ok!
10000000000000000000000000 -> error ok!
1000000000000000000 -> error ok!
10000000000000000 -> 10000000000000000 ok!
10000000000000000 -> error ok!
All passed!
--21797-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--21797-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
==21797== 
==21797== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1)
--21797-- 
--21797-- supp:   19 Fedora-Core-6-hack3-ld25
==21797== malloc/free: in use at exit: 0 bytes in 0 blocks.
==21797== malloc/free: 28 allocs, 28 frees, 9,529 bytes allocated.
==21797== 
==21797== All heap blocks were freed -- no leaks are possible.
--21797--  memcheck: sanity checks: 3 cheap, 1 expensive
--21797--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--21797--  memcheck: auxmaps: 0 searches, 0 comparisons
--21797--  memcheck: SMs: n_issued      = 19 (304k, 0M)
--21797--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--21797--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--21797--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--21797--  memcheck: SMs: max_defined   = 38 (608k, 0M)
--21797--  memcheck: SMs: max_non_DSM   = 19 (304k, 0M)
--21797--  memcheck: max sec V bit nodes:    0 (0k, 0M)
--21797--  memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0)
--21797--  memcheck: max shadow mem size:   608k, 0M
--21797-- translate:            fast SP updates identified: 3,704 ( 90.2%)
--21797-- translate:   generic_known SP updates identified: 239 (  5.8%)
--21797-- translate: generic_unknown SP updates identified: 162 (  3.9%)
--21797--     tt/tc: 7,164 tt lookups requiring 7,313 probes
--21797--     tt/tc: 7,164 fast-cache updates, 3 flushes
--21797--  transtab: new        3,153 (73,017 -> 1,195,465; ratio 163:10) [0 scs]
--21797--  transtab: dumped     0 (0 -> ??)
--21797--  transtab: discarded  9 (209 -> ??)
--21797-- scheduler: 355,869 jumps (bb entries).
--21797-- scheduler: 3/4,694 major/minor sched events.
--21797--    sanity: 4 cheap, 1 expensive checks.
--21797--    exectx: 30,011 lists, 14 contexts (avg 0 per list)
--21797--    exectx: 75 searches, 61 full compares (813 per 1000)
--21797--    exectx: 0 cmp2, 48 cmp4, 0 cmpAll

Main