Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(38)  |  Call(11)  |  Derive(0)  |  Import(27)

src/p/y/pyge-HEAD/archive/LNK.py   pyge(Download)
import struct
from archive import PygeArchive, GenericEntry
 
 
#
                    self.file.read(struct.calcsize(self.entry_fmt)))
            name = namez.strip("\x00")
            self.list.append(GenericEntry(self, name, start + offs, length))
 
    def _writeindex(self, filelist):

src/p/y/pyge-HEAD/archive/VVV.py   pyge(Download)
from archive import PygeArchive, GenericEntry
 
 
#
# VVV (.vvv) as found in VVVVVV
            name = namez.strip("\x00")
            #print name, x1, length, x2 # x1 and x2 have no obvious meaning v.v
            self.list.append(GenericEntry(self, name, offset, length))
            offset = offset + length
 

src/p/y/pyge-HEAD/archive/Mako.py   pyge(Download)
from archive import PygeArchive, GenericEntry
import struct
 
 
#
                    self.file.read(struct.calcsize(self.entry_fmt)))
            name = name.strip("\0")
            self.list.append(GenericEntry(self, name, offset, 0))
            if n > 0:
                self.list[n - 1]._length = offset - self.list[n - 1]._offset

src/p/y/pyge-HEAD/archive/Lib.py   pyge(Download)
from archive import PygeArchive, GenericEntry
import struct
 
 
#
            )
            name = namez.strip("\00")
            self.list.append(GenericEntry(self, name, offset + 0xd0, length))
 

src/p/y/pyge-HEAD/archive/GLNK.py   pyge(Download)
from archive import PygeArchive, GenericEntry
import struct
 
 
#
            name = self.file.read(namelen)
            start, = struct.unpack("i", self.file.read(4))
            self.list.append(GenericEntry(self, name, start, length))
 
    def create(self, filelist):

src/p/y/pyge-HEAD/archive/DAF1.py   pyge(Download)
import struct
from archive import PygeArchive, GenericEntry
 
 
#
            namez = self.file.read(namelen)
            name = namez.strip("\x00")
            self.list.append(GenericEntry(self, name, start, length))
 
    def create(self, filelist):

src/p/y/pyge-HEAD/archive/BIGF.py   pyge(Download)
import struct
from archive import PygeArchive, GenericEntry
 
 
#
                    self.file.read(struct.calcsize(self.entry_fmt)))
            name = namez.strip("\x00")
            self.list.append(GenericEntry(self, name, start, length))
 

src/p/y/pyge-HEAD/archive/AcPack.py   pyge(Download)
import struct
from archive import PygeArchive, GenericEntry
 
 
#
                self.list[n - 1]._length = start - self.list[n - 1]._offset
            if len(name) > 0:
                self.list.append(GenericEntry(self, name, start, 0))
 

src/p/y/pyge-HEAD/archive/YPF.py   pyge(Download)
from archive import PygeArchive, GenericEntry
import struct
import re
 
#
 
            #print repr(name), repr(ext), length, offset # x1 and x2 have no obvious meaning v.v
            self.list.append(GenericEntry(self, name + "." + ext, offset, length))
 
            if not last_valid_name:

src/p/y/pyge-HEAD/archive/Stuff.py   pyge(Download)
import struct
from archive import PygeArchive, GenericEntry
 
 
#
                    break
                name = name + char
            self.list.append(GenericEntry(self, name, offset, length))
            offset = offset + length
 

  1 | 2 | 3  Next