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_cast.pyo |
³ò h”Rc @ sZ d d k Td d k Z d d k Z d e i f d „ ƒ YZ e d j o e i ƒ n d S( iÿÿÿÿ( t *Nt Testc B s\ e Z d „ Z d „ Z d „ Z d „ Z d „ Z y e Wn e j o n Xd „ Z RS( c C sE t d d d d ƒ } t | t t ƒ ƒ } | i g } t d ƒ D] } | | | qB ~ d d d g ƒ d t t ƒ t t ƒ j o» t | t t ƒ ƒ } t i d j oK | i g } t d ƒ D] } | | | q ~ d d d d d d g ƒ qA| i g } t d ƒ D] } | | | q ~ d d d d d d g ƒ n d S( Ni i* i i t littlei i ( t c_intt castt POINTERt failUnlessEqualt ranget sizeoft c_shortt syst byteorder( t selft arrayt ptrt _[1]t it _[2]t _[3]( ( s1 /usr/local/lib/python2.5/ctypes/test/test_cast.pyt test_array2pointer s >..c C sÒ t d d d d ƒ } t | ƒ } t t | ƒ t t ƒ ƒ } | i g } t d ƒ D] } | | | qT ~ d d d g ƒ t | t t ƒ ƒ } | i g } t d ƒ D] } | | | q§ ~ d d d g ƒ d S( Ni i* i i ( R t addressofR t c_void_pR R R ( R R t addressR R R R ( ( s1 /usr/local/lib/python2.5/ctypes/test/test_cast.pyt test_address2pointer s >c C sH t d ƒ } | i | i d ƒ d | d <| i | i h d d <ƒ t | t t ƒ ƒ } | i | i | i j ƒ | i | i h d d <| t | ƒ <ƒ d | d <| i | i h d d <| t | ƒ <ƒ | i | i | i j ƒ d | d <| i | i h d d <d d <| t | ƒ <ƒ | i | i | i j ƒ d S( Ni s foo bari t 0s spam spami t 1( t c_char_pR t _objectst NoneR R t failUnlesst id( R R t p( ( s1 /usr/local/lib/python2.5/ctypes/test/test_cast.pyt test_p2a_objects! s + + 4c C sÄ t t d d d d d ƒ t t ƒ ƒ } | i | d d d d d g ƒ t ƒ | i | d d d d d g ƒ d | d <| i | d d d d d g ƒ t ƒ | i | d d d d d g ƒ d S( Ni i i i i` ( R R R R ( R R ( ( s1 /usr/local/lib/python2.5/ctypes/test/test_cast.pyt test_other2 s ( c C s5 t d ƒ } | i t t | t ƒ t ƒ i d ƒ d S( Nt hiho( R R R R t value( R t s( ( s1 /usr/local/lib/python2.5/ctypes/test/test_cast.pyt test_char_p<