Current Path : /usr/local/lib/python2.5/ctypes/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/ctypes/test/test_memfunctions.pyo |
³ò h”Rc @ sZ d d k Z d d k Z d d k Td e i f d „ ƒ YZ e d j o e i ƒ n d S( iÿÿÿÿN( t *t MemFunctionsTestc B sS e Z d „ Z d „ Z d „ Z d „ Z y e Wn e j o n Xd „ Z RS( c C s¢ t d ƒ } d } t | | t | ƒ ƒ } | i | i d ƒ | i t | ƒ d ƒ | i t | d ƒ d ƒ | i t | d ƒ d ƒ | i t | d ƒ d ƒ d S( Ni@B s Hello, Worldi t Helloi s Hello, World i t ( t create_string_buffert memmovet lent failUnlessEqualt valuet string_at( t selft at pt result( ( s9 /usr/local/lib/python2.5/ctypes/test/test_memfunctions.pyt test_memmove s c C s€ t d ƒ } t | t d ƒ d ƒ } | i | i d ƒ | i t | ƒ d ƒ | i t | ƒ d ƒ | i t | d ƒ d ƒ d S( Ni@B t xi t xxxxxxxxxxxxxxxxi t xxxxxxxxxxxxxxxx ( R t memsett ordR R R ( R R R ( ( s9 /usr/local/lib/python2.5/ctypes/test/test_memfunctions.pyt test_memset s c C sq t d t t d ƒ Œ } | i t | t ƒ i d ƒ | i t | t t ƒ ƒ d d d d d d d d g ƒ d S( Ni t abcdefi ia ib ic id ie if i ( t c_ubytet mapR R t castt c_char_pR t POINTERt c_byte( R R ( ( s9 /usr/local/lib/python2.5/ctypes/test/test_memfunctions.pyt test_cast s c C sk t d ƒ } | i d t i | ƒ ƒ | i | d ƒ | i t d d ƒ d ƒ | i t d d ƒ d ƒ d S( Ns foo bari i s foo bar i t foo( R R t syst getrefcountt failUnless( R t s( ( s9 /usr/local/lib/python2.5/ctypes/test/test_memfunctions.pyt test_string_at"