Did I find the right examples for you? yes no

All Samples(32)  |  Call(14)  |  Derive(0)  |  Import(18)
Return string containing values v1, v2, ... packed according to fmt.

src/k/r/kr-GitPython-0.3.1.1/git/index/fun.py   kr-GitPython(Download)
CE_NAMEMASK_INV = ~CE_NAMEMASK
 
from util import 	(
					pack, 
					unpack
	version = 2
	write("DIRC")
	write(pack(">LL", version, len(entries)))
 
	# body
		assert plen == len(path), "Path %s too long to fit into index" % entry[3]
		flags = plen | (entry[2] & CE_NAMEMASK_INV)		# clear possible previous values
		write(pack(">LLLLLL20sH", entry[6], entry[7], entry[0],
									entry[8], entry[9], entry[10], entry[1], flags))
		write(path)

src/g/i/GitPython-0.3.2.RC1/git/index/fun.py   GitPython(Download)
CE_NAMEMASK_INV = ~CE_NAMEMASK
 
from util import 	(
					pack, 
					unpack
	version = 2
	write("DIRC")
	write(pack(">LL", version, len(entries)))
 
	# body
		assert plen == len(path), "Path %s too long to fit into index" % entry[3]
		flags = plen | (entry[2] & CE_NAMEMASK_INV)		# clear possible previous values
		write(pack(">LLLLLL20sH", entry[6], entry[7], entry[0],
									entry[8], entry[9], entry[10], entry[1], flags))
		write(path)

src/g/i/GitPython-HEAD/git/index/fun.py   GitPython(Download)
CE_NAMEMASK_INV = ~CE_NAMEMASK
 
from util import    (
                    pack, 
                    unpack
    version = 2
    write("DIRC")
    write(pack(">LL", version, len(entries)))
 
    # body
        assert plen == len(path), "Path %s too long to fit into index" % entry[3]
        flags = plen | (entry[2] & CE_NAMEMASK_INV)     # clear possible previous values
        write(pack(">LLLLLL20sH", entry[6], entry[7], entry[0],
                                    entry[8], entry[9], entry[10], entry[1], flags))
        write(path)

src/k/r/kr-GitPython-0.3.1.1/git/index/typ.py   kr-GitPython(Download)
"""Module with additional types used by the index"""
 
from util import (
					pack, 
					unpack
 
		:param base: Instance of type BaseIndexEntry"""
		time = pack(">LL", 0, 0)
		return IndexEntry((base.mode, base.binsha, base.flags, base.path, time, time, 0, 0, 0, 0, 0))
 
	@classmethod
	def from_blob(cls, blob, stage = 0):
		""":return: Minimal entry resembling the given blob object"""
		time = pack(">LL", 0, 0)

src/g/i/GitPython-0.3.2.RC1/git/index/typ.py   GitPython(Download)
"""Module with additional types used by the index"""
 
from util import (
					pack, 
					unpack
 
		:param base: Instance of type BaseIndexEntry"""
		time = pack(">LL", 0, 0)
		return IndexEntry((base.mode, base.binsha, base.flags, base.path, time, time, 0, 0, 0, 0, 0))
 
	@classmethod
	def from_blob(cls, blob, stage = 0):
		""":return: Minimal entry resembling the given blob object"""
		time = pack(">LL", 0, 0)

src/g/i/GitPython-HEAD/git/index/typ.py   GitPython(Download)
"""Module with additional types used by the index"""
 
from util import (
                    pack, 
                    unpack
 
        :param base: Instance of type BaseIndexEntry"""
        time = pack(">LL", 0, 0)
        return IndexEntry((base.mode, base.binsha, base.flags, base.path, time, time, 0, 0, 0, 0, 0))
 
    @classmethod
    def from_blob(cls, blob, stage = 0):
        """:return: Minimal entry resembling the given blob object"""
        time = pack(">LL", 0, 0)

src/p/2/p2pool-HEAD/p2pool/web.py   p2pool(Download)
from bitcoin import data as bitcoin_data
from . import data as p2pool_data, p2p
from util import deferral, deferred_resource, graph, math, memory, pack, variable
 
def _atomic_read(filename):

src/p/2/p2pool-n-HEAD/p2pool/web.py   p2pool-n(Download)
from bitcoin import data as bitcoin_data
from . import data as p2pool_data, p2p
from util import deferral, deferred_resource, graph, math, memory, pack, variable
 
def _atomic_read(filename):

src/n/s/nsq-py-0.1.4/nsq/http/nsqd.py   nsq-py(Download)
'''A class for interacting with a nsqd instance over http'''
 
from . import BaseClient, json_wrap, ok_check, ClientException
from ..util import pack
 
    def mpub(self, topic, messages, binary=True):
        '''Send multiple messages to a topic. Optionally pack the messages'''
        if binary:
            # Pack and ship the data
            return self.post('/mpub', data=pack(messages)[4:],

src/p/2/p2pool-aur-HEAD/p2pool/web.py   p2pool-aur(Download)
from bitcoin import data as bitcoin_data
from . import data as p2pool_data, p2p
from util import deferral, deferred_resource, graph, math, memory, pack, variable
 
def _atomic_read(filename):

  1 | 2  Next