??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
i:Oc @ s d Z d d l Z d d l Z d d l m Z d d l m Z m Z d d l m Z d Z
d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddf Z d% Z d& Z
d'd( Z d'd)d*d+ Z d)d*d, Z d e d-d-d. Z d/ Z d0d1d1d)d*d2 Z d3 Z d e d-d-d)d*d4 Z dZ d S( s
-----------------------
Format Text for Display
-----------------------
Functions related to displaying unicode text. Unicode characters don't all
have the same width so we need helper functions for displaying them.
.. versionadded:: 0.2 kitchen.display API 1.0.0
iN( t b_( t
to_unicodet to_bytes( t ControlCharErrorc C s d } t | d } | | | d k s> | | | d k rB t Sxd | | k r | | d } | | | d k r | d } qE | | | d k r | d } qE t SqE Wt S( s Binary search in an interval table.
:arg value: numeric value to search for
:arg table: Ordered list of intervals. This is a list of two-tuples. The
elements of the two-tuple define an interval's start and end points.
:returns: If :attr:`value` is found within an interval in the :attr:`table`
return :data:`True`. Otherwise, :data:`False`
This function checks whether a numeric value is present within a table
of intervals. It checks using a binary search algorithm, dividing the
list of values in half and checking against the values until it determines
whether the value is in the table.
i i i ( t lent Falset True( t valuet tablet minimumt maximumt mid( ( s8 /usr/lib/python2.7/site-packages/kitchen/text/display.pyt _interval_bisearchT s (
i io i i i i i i i i i i i i i i iK i^ ip i i i i i i i i i0 iJ i i i i i i i i# i% i' i) i- i i i< iA iH iM iQ iT ib ic i i i i i i i i
i
i<
iA
iB
iG
iH
iK
iM
ip
iq
i
i
i
i
i
i
i
i
i
i
i i< i? iA iC iM iV i i i i> i@ iF iH iJ iM iU iV i i i i i i i iA
iC
iM
i
i
i
i
i1 i4 i: iG iN i i i i i i i i i i5 i7 i9 iq i~ i i i i i i i i i i- i0 i2 i6 i7 i9 i: iX iY i i` i i_ i i i2 i4 iR iS ir is i i i i i i i i i i
i i i" i' i( i2 i9 i; i i i` iu i| i i i i4 i6 i: i< iB iD ik is i i7 i i i i i i i i i i i i i i* i. i` ic ij io i i i, i, i- i- i*0 i/0 i0 i0 io i| i} i i i i i% i&