+
    :i                     ~   R t ^ RIt^ RIHt ^ RIHt ]! ]P                  ]P                  34      R 4       t]R 4       t]! RR7      R 4       t	]! RR7      R	 4       t
R
 tRt^ RIHt R t]! RR7      R 4       t]! RR7      R 4       t^ RIt^ RIHt ]! RR7      R 4       tR tR tR t]! RR7      t]! RR7      tR# )z_
Separate module with function samples for serialization tests,
to avoid issues with __main__.
Njit)typesc                     W,           # N abs   &&\/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/tests/serialize_usecases.pyadd_with_sigr      	    5L    c                     W,           # r   r   r   s   &&r   add_without_sigr      r   r   Tnopythonc                     W,           # r   r   r   s   &&r   add_nopythonr      r   r   c                 &    \        4        W,           # r   )objectr   s   &&r   add_nopython_failr      s    
H5Lr   c                 2   a  \        R R7      V 3R l4       pV# )Tr   c                 $   < SV ,           V,           # r   r   )r
   cr	   s   &&r   innerclosure.<locals>.inner   s    1uqyr   r   )r	   r   s   f r   closurer      s    $ Lr   g      @)sqrtc                 0   a  \        R/ VB V 3R  l4       pV# )c                    < \        \        \        ^,           4      p\        P                  ! SV 4      \	        V4      ,           # )   )maxKmathhypotr   )ykxs   & r   r   #closure_with_globals.<locals>.inner(   s0     1q5M zz!Q$q'))r   r   r   )r(   jit_argsr   s   f, r   closure_with_globalsr+   '   s"    _8_* * Lr   c                 .    \         P                  ! W4      # r   r$   r%   )r(   r&   s   &&r   other_functionr.   1   s    ::ar   )forceobjc                     \         V ,          # r   )r#   r(   s   &r   get_global_objmoder2   5   s    q5Lr   c                     \         P                  ! ^*4       \        P                  ! V 4      \         P                  ! 4       3# )*   )nprandseednpcosrandomr1   s   &r   get_renamed_moduler:   <   s&    
KKO66!9fmmo%%r   c                 2   a  \        R R7      V 3R l4       pV# )Tr   c                 *   < \        SV 4      V,           # r   )r.   )r&   zr(   s   &&r   r   -closure_calling_other_function.<locals>.innerC   s    a#a''r   r   )r(   r   s   f r   closure_calling_other_functionr?   B   s    $( (Lr   c                 `   a a \        R R7      V 3R l4       o\        R R7      VV 3R l4       pV# )Tr   c                 2   < \         P                  ! SV 4      # r   r-   )r&   r(   s   &r   other_inner2closure_calling_other_closure.<locals>.other_innerI   s    zz!Qr   c                 "   < S! V 4      S,           # r   r   )r&   rB   r(   s   &r   r   ,closure_calling_other_closure.<locals>.innerM   s    1~!!r   r   )r(   r   rB   s   f @r   closure_calling_other_closurerF   H   s8    $    	$" "Lr   c                  n    R p/ p\        VP                  4       V4       \        R/ V B ! VR,          4      # )z
        def dyn_func(x):
            res = 0
            for i in range(x):
                res += x
            return res
        dyn_funcr   )execstripr   )r*   codenss   ,  r   _get_dyn_funcrM   T   s5    D 
Br??2j>**r   )__doc__r$   numbar   
numba.corer   int32r   r   r   r   r   r#   r   r+   r.   r2   numpyr7   numpy.randomr9   r5   r:   r?   rF   rM   rH   dyn_func_objmoder   r   r   <module>rU      s  
    ekk5;;  !   d  d    d  d   d& &

+ $' $/ r   