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

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

        def RetrieveLong(FromArray, atIndex=0):
    return Retrieve(FromArray, atIndex, LONGRANGE, LONGMAX)
        


src/b/p/BplusPy-1.0/BplusPy/BplusTreeLong.py   BplusPy(Download)
        if indicator!=FREE:
            raise BplusTreeException, "free buffer not marked free "+repr(buffernumber)
        return BufferFile.RetrieveLong(buffer, 1)
    def deallocateBuffer(this, buffernumber):
        #freesize = 1+BufferFile.LONGSTORAGE
        CultureId = BufferFile.RetrieveInt(header, index)
        index+=BufferFile.INTSTORAGE
        this.rootSeek = BufferFile.RetrieveLong(header, index)
        index+=BufferFile.LONGSTORAGE
        this.freeHeadSeek = BufferFile.RetrieveLong(header, index)
            raise BplusTreeException, "can't parse buffer not marked non-free"
        index = 1
        this.ChildBufferNumbers[0] = BufferFile.RetrieveLong(buffer, index)
        index+=BufferFile.LONGSTORAGE
        maxLength = this.owner.KeyLength
            keys[KeyIndex] = key
            index+= maxKeyPayload
            seekPosition = BufferFile.RetrieveLong(buffer, index)
            numbers[KeyIndex+1] = seekPosition
            index+= BufferFile.LONGSTORAGE

src/b/p/BplusPy-1.0/BplusPy/LinkedFile.py   BplusPy(Download)
        remainder = buffer[index+1:]
        this.buffersize = BufferFile.RetrieveInt(remainder, 0)
        this.FreeListHead = BufferFile.RetrieveLong(remainder, BufferFile.INTSTORAGE)
        #print "<br>linkedfile readheader buffersize=", this.buffersize, "freehead=", this.FreeListHead
        this.headerDirty = False
        thebuffer = this.buffers.getBuffer(bufferNumber)
        typ = ord(thebuffer[0])
        nextBufferNumber = BufferFile.RetrieveLong(thebuffer, 1)
        realbuffer = thebuffer[BUFFEROVERHEAD:]
        #print "<br>got", bufferNumber, typ, repr(realbuffer), nextBufferNumber