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

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

        def InitializeBufferFileInStream(fromfile, buffersize, StartSeek=0):
    result = BufferFile(fromfile, buffersize, StartSeek)
    result.setHeader();
    return result;
        


src/b/p/BplusPy-1.0/BplusPy/BplusTreeLong.py   BplusPy(Download)
def InitializeInStream(fromfile, KeyLength, NodeSize,
                       CultureId=INVARIANTCULTUREID, StartSeek=0):
    result = BplusTreeLong(fromfile, NodeSize, KeyLength, StartSeek, CultureId)
    result.setHeader()
    result.buffers = BufferFile.InitializeBufferFileInStream(fromfile, result.buffersize, StartSeek+result.headersize)

src/b/p/BplusPy-1.0/BplusPy/LinkedFile.py   BplusPy(Download)
def InitializeLinkedFileInStream(file, buffersize, StartSeek=0):
    result = LinkedFile(buffersize, StartSeek)
    result.fromfile = file
    result.setHeader()
    result.buffers = BufferFile.InitializeBufferFileInStream(file,

src/b/p/BplusPy-1.0/BplusPy/testing.py   BplusPy(Download)
    mstream = newFile("pyBufferFile.dat")
    offset = 55
    bf = BufferFile.InitializeBufferFileInStream(mstream, buffersize, offset);
    testdata = "sample data off the top of my head "*1000
    position = 0