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 StoreShort(theInt):
    return StoreInt(theInt, theRange=SHORTRANGE, theMax=SHORTMAX)
        


src/b/p/BplusPy-1.0/BplusPy/BplusTreeLong.py   BplusPy(Download)
            theKey = keys[KeyIndex]
            if theKey is None:
                a(BufferFile.StoreShort(-1))
                a("X"*maxKeyPayload)
            else:
                (coded, nchars) = ENCODER(theKey)
                lcoded = len(coded)
                if (lcoded>maxKeyPayload):
                    raise BplusTreeException, "too many bytes in key "+repr(coded)
                a(BufferFile.StoreShort(lcoded))