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

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

        def ReOpen(treefilename, blockfilename, access="r+b", initFunction=BplusTreeBytes):
    treefile = treefilename
    blockfile = blockfilename
    if type(treefilename) is types.StringType:
        treefile = open(treefilename, access)
    if type(blockfile) is types.StringType:
        blockfile = open(blockfilename, access)
    tree = BplusTreeLong.SetupFromExistingStream(treefile)
    archive = LinkedFile.SetupFromExistingStream(blockfile)
    return initFunction(tree, archive)
        


src/b/p/BplusPy-1.0/BplusPy/xBplusTreeBytes.py   BplusPy(Download)
def ReOpen(treefilename, blockfilename, access="r+b"):
    return BplusTreeBytes.ReOpen(treefilename, blockfilename, access, initFunction=xBplusTreeBytes)
 
def ReadOnly(treefilename, blockfilename):
    return BplusTreeBytes.ReadOnly(treefilename, blockfilename, initFunction=xBplusTreeBytes)

src/b/p/BplusPy-1.0/BplusPy/BplusTree.py   BplusPy(Download)
def ReOpen(treefilename, blockfilename, access="r+b"):
    return BplusTreeBytes.ReOpen(treefilename, blockfilename, access, initFunction=BplusTree)
 
def ReadOnly(treefilename, blockfilename):
    return BplusTreeBytes.ReadOnly(treefilename, blockfilename, initFunction=BplusTree)

src/b/p/BplusPy-1.0/BplusPy/xBplusTree.py   BplusPy(Download)
def ReOpen(treefilename, blockfilename, access="r+b"):
    return BplusTreeBytes.ReOpen(treefilename, blockfilename, access, initFunction=xBplusTree)
 
def ReadOnly(treefilename, blockfilename):
    return BplusTreeBytes.ReadOnly(treefilename, blockfilename, initFunction=xBplusTree)

src/b/p/BplusPy-1.0/BplusPy/hBplusTreeBytes.py   BplusPy(Download)
def ReOpen(treefilename, blockfilename, access="r+b"):
    return BplusTreeBytes.ReOpen(treefilename, blockfilename, access, initFunction=hBplusTreeBytes)
 
def ReadOnly(treefilename, blockfilename):
    return BplusTreeBytes.ReadOnly(treefilename, blockfilename, initFunction=hBplusTreeBytes)

src/b/p/BplusPy-1.0/BplusPy/hBplusTree.py   BplusPy(Download)
def ReOpen(treefilename, blockfilename, access="r+b"):
    return BplusTreeBytes.ReOpen(treefilename, blockfilename, access, initFunction=hBplusTree)
 
def ReadOnly(treefilename, blockfilename):
    return BplusTreeBytes.ReadOnly(treefilename, blockfilename, initFunction=hBplusTree)