Did I find the right examples for you? yes no

All Samples(15)  |  Call(3)  |  Derive(0)  |  Import(12)

        def join_bytes(bs):
    if len(bs) == 0:
        return ""
    else:
        rv = bs[0]
        for b in bs[1:]:
            rv += b
        return rv
        


src/w/e/web2cms-HEAD/web2py/gluon/contrib/pymysql/connections.py   web2cms(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \
      payload_buff.append(recv_data)
      bytes_to_read -= len(recv_data)
    self.__data = join_bytes(payload_buff)
 
  def packet_number(self): return self.__packet_number

src/m/o/MobileBlur-HEAD/gluon/contrib/pymysql/connections.py   MobileBlur(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \
      payload_buff.append(recv_data)
      bytes_to_read -= len(recv_data)
    self.__data = join_bytes(payload_buff)
 
  def packet_number(self): return self.__packet_number

src/w/e/web2py-python3-HEAD/gluon/contrib/pymysql/connections.py   web2py-python3(Download)
from .constants.CLIENT import *
from .constants.COMMAND import *
from .util import join_bytes, byte2int, int2byte
from .converters import escape_item, encoders, decoders
from .err import raise_mysql_exception, Warning, Error, \
      payload_buff.append(recv_data)
      bytes_to_read -= len(recv_data)
    self.__data = join_bytes(payload_buff)
 
  def packet_number(self): return self.__packet_number

src/n/u/nupic-linux64-HEAD/lib/python2.6/site-packages/pymysql/connections.py   nupic-linux64(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \

src/o/p/openshift_web2py-HEAD/libs/gluon/contrib/pymysql/connections.py   openshift_web2py(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \

src/t/e/termite-data-server-HEAD/web2py/gluon/contrib/pymysql/connections.py   termite-data-server(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \

src/t/e/termite-visualizations-HEAD/web2py/gluon/contrib/pymysql/connections.py   termite-visualizations(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \

src/w/e/web2py-HEAD/gluon/contrib/pymysql/connections.py   web2py(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \

src/w/e/web2py-2.1.1/gluon/contrib/pymysql/connections.py   web2py(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \

src/m/d/mdk-HEAD/lib/pymysql/connections.py   mdk(Download)
from constants.CLIENT import *
from constants.COMMAND import *
from util import join_bytes, byte2int, int2byte
from converters import escape_item, encoders, decoders
from err import raise_mysql_exception, Warning, Error, \

  1 | 2  Next