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

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

        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)
    return result
        


src/b/p/BplusPy-1.0/BplusPy/BplusTreeBytes.py   BplusPy(Download)
    if type(blockfile) is types.StringType:
        blockfile = newFile(blockfilename)
    tree = BplusTreeLong.InitializeInStream(treefile, KeyLength, nodesize, CultureId)
    archive = LinkedFile.InitializeLinkedFileInStream(blockfile, buffersize)
    return initFunction(tree, archive)

src/b/p/BplusPy-1.0/BplusPy/testing.py   BplusPy(Download)
        mstream = newFile("bpLpyTree.dat")
        keylength = 10+nodesize
        bpt = BplusTreeLong.InitializeInStream(mstream, keylength, nodesize)
        bpt.SetFootPrintLimit(nodesize+3)
        inserttest(bpt, "d", 14)