亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cod_bwt3.bas

?? 網上收集的多種加密解密以及壓縮算法vb源碼。
?? BAS
字號:
Attribute VB_Name = "Cod_BWT3"


Option Explicit


Public Sub BWT_CodecArray3(ByteArray() As Byte, Optional BucketMaxDeep As Integer = 7)
    Dim Data() As Byte          'dubble sized bytearray
    Dim IndexPoint() As Long    'indexpointer
    Dim IndTemp() As Long       'temporary indexpointer
    Dim StartIndex As Long      'first position of the index
    Dim EndIndex As Long        'last position of the index
    Dim StartPoint() As Long    'buffer to store first positions
    Dim EndPoint() As Long      'buffer to store last positions
    Dim MiddlePoint() As Long   'buffer to store the middle positions
    Dim StepSize() As Integer   'buffer to store the distance positions
    Dim StepNr As Integer       'current distance
    Dim CharCount() As Long  'count of used characters
    Dim Spos(255) As Long       'starting positions of new index pointer
    Dim DeepHold As Integer     'counter of array dept
'    Dim NumChar As Integer      'numbers of chars used
    Dim FileLength As Long      'length of the file
    Dim DimDept As Long         'Calculation of supposed maximum array dept
    Dim Prefix As Long          'prefix number of the BWT sorting
    Dim NuPos As Long           'Position counter for the next character
    Dim NewStep As Long         'Smallest new distance value to add
    Dim CStep As Long           'Calculated new distance value
    Dim NowSize As Long         'Size of block to sort
    Dim X As Long
    Dim Y As Long
    Dim Z As Long
    Dim L As Long
    Dim R As Long
    Dim t As Long
    Dim D As Boolean
    Dim Q As Byte
    FileLength = UBound(ByteArray)
    DimDept = 255 * BucketMaxDeep + 200
'predefine expected dimensions
    ReDim IndexPoint(FileLength)
    ReDim Data(FileLength + FileLength + 1)
    ReDim StartPoint(DimDept)
    ReDim EndPoint(DimDept)
    ReDim MiddlePoint(DimDept)
    ReDim StepSize(DimDept)
    For X = 0 To FileLength
        Data(X) = ByteArray(X)
        IndexPoint(X) = X
    Next
    For X = 0 To FileLength
        Data(FileLength + 1 + X) = ByteArray(X)
    Next
    DeepHold = 0
    StartPoint(DeepHold) = LBound(ByteArray)
    EndPoint(DeepHold) = UBound(ByteArray)
    StepSize(DeepHold) = 0
    StartIndex = StartPoint(DeepHold)
    EndIndex = EndPoint(DeepHold)
    NowSize = EndIndex - StartIndex
    If NowSize = 0 Then Exit Sub
TopLoop1:
    StepNr = StepSize(DeepHold)
    If StepNr = BucketMaxDeep Or NowSize < 80 Then GoTo QuickSort
'do the bucket sort
'clear the counting array
    ReDim IndTemp(StartIndex To EndIndex)
    ReDim CharCount(255)
'place the indexpointer in a temporary pointer and calculate the count
'of the characters
    For X = StartIndex To EndIndex
        IndTemp(X) = IndexPoint(X)
        Y = IndexPoint(X) + StepNr
        Q = Data(Y)
        CharCount(Q) = CharCount(Q) + 1
    Next
    If CharCount(Q) = EndIndex - StartIndex + 1 Then
'Only one character found so only increase the distance
        StepSize(DeepHold) = StepNr + 1
        GoTo TopLoop1
    Else
'Store the newfound starting positions in the buffers
        NuPos = StartIndex
        DeepHold = DeepHold - 1
        For X = 0 To 255
            If CharCount(X) > 0 Then
                DeepHold = DeepHold + 1
                StartPoint(DeepHold) = NuPos
                Spos(X) = NuPos
                NuPos = NuPos + CharCount(X)
                EndPoint(DeepHold) = NuPos - 1
                StepSize(DeepHold) = StepNr + 1
            End If
        Next
'And put al the pointers in the right place
        For X = StartIndex To EndIndex
            Y = IndTemp(X) + StepNr
            Q = Data(Y)
            IndexPoint(Spos(Q)) = IndTemp(X)
            Spos(Q) = Spos(Q) + 1
        Next
        Do While DeepHold > 0
            StartIndex = StartPoint(DeepHold)
            EndIndex = EndPoint(DeepHold)
            NowSize = EndIndex - StartIndex
            If NowSize > 0 Then GoSub TopLoop1
            DeepHold = DeepHold - 1
        Loop
        GoTo Ready
    End If
QuickSort:
    StartIndex = StartPoint(DeepHold)
    EndIndex = EndPoint(DeepHold)
    StepNr = StepSize(DeepHold)
    If StartIndex >= EndIndex Then Return
    If EndIndex - StartIndex = 1 Then
        Y = IndexPoint(StartIndex) + StepNr
        Z = IndexPoint(EndIndex) + StepNr
        Do While Data(Y) = Data(Z)
            Y = Y + 1
            Z = Z + 1
        Loop
        If Data(Y) < Data(Z) Then Return
        t = IndexPoint(StartIndex): IndexPoint(StartIndex) = IndexPoint(EndIndex): IndexPoint(EndIndex) = t: Return
    End If
    NewStep = 100000
    L = StartIndex
    R = EndIndex - 1
    X = Fix((StartIndex + EndIndex) / 2)
'swap the pivot to the last position
    Y = IndexPoint(StartIndex) + StepNr
    Z = IndexPoint(X) + StepNr
    Do While Data(Y) = Data(Z)
        Y = Y + 1
        Z = Z + 1
    Loop
    If Data(Y) > Data(Z) Then
        t = IndexPoint(StartIndex): IndexPoint(StartIndex) = IndexPoint(EndIndex): IndexPoint(EndIndex) = t
    Else
        t = IndexPoint(X): IndexPoint(X) = IndexPoint(EndIndex): IndexPoint(EndIndex) = t
    End If
    Do
'Find one wich is smaller than the pivot
        Do
            CStep = 0
            Y = IndexPoint(R) + StepNr
            Z = IndexPoint(EndIndex) + StepNr
            Do While Data(Y) = Data(Z)
                Y = Y + 1
                Z = Z + 1
                CStep = CStep + 1
            Loop
            If CStep < NewStep Then NewStep = CStep
            If Data(Y) < Data(Z) Then Exit Do
            R = R - 1
        Loop While R > L
        If R = L Then Exit Do
'Find one wich is bigger than the pivot
        Do
            CStep = 0
            Y = IndexPoint(L) + StepNr
            Z = IndexPoint(EndIndex) + StepNr
            Do While Data(Y) = Data(Z)
                Y = Y + 1
                Z = Z + 1
                CStep = CStep + 1
            Loop
            If CStep < NewStep Then NewStep = CStep
            If Data(Y) > Data(Z) Then Exit Do
            L = L + 1
        Loop While L < R
        If L = R Then Exit Do
        t = IndexPoint(L): IndexPoint(L) = IndexPoint(R): IndexPoint(R) = t
    Loop
    StepNr = StepNr + NewStep
    DeepHold = DeepHold + 1
    StartPoint(DeepHold) = StartIndex
    EndPoint(DeepHold) = L '- 1
    MiddlePoint(DeepHold) = EndIndex
    StepSize(DeepHold) = StepNr
    GoSub QuickSort
    StartPoint(DeepHold) = EndPoint(DeepHold) + 1
    EndPoint(DeepHold) = MiddlePoint(DeepHold)
    GoSub QuickSort
    DeepHold = DeepHold - 1
    If DeepHold > 0 Then Return
Ready:
    ReDim ByteArray(FileLength + 3)
    For X = 0 To FileLength
        If IndexPoint(X) = 1 Then Prefix = X
        If IndexPoint(X) = 0 Then
            ByteArray(X) = Data(FileLength)
        Else
            ByteArray(X) = Data(IndexPoint(X) - 1)
        End If
    Next
    ByteArray(FileLength + 1) = Int(Prefix / &H10000) And &HFF
    ByteArray(FileLength + 2) = Int(Prefix / &H100) And &HFF
    ByteArray(FileLength + 3) = Prefix And &HFF
End Sub

'Here where gone restore the BWT-coded string
Public Sub BWT_DeCodecArray3(ByteArray() As Byte)
    Dim TV() As Long
    Dim Spos(255) As Long
    Dim FileLength As Long
    Dim OffSet As Long
    Dim X As Long
    Dim Y As Long
    Dim NuPos As Long
    Dim CharCount(255) As Long
    Dim OutStream() As Byte
    FileLength = UBound(ByteArray)
'read the offset and restore the original size
    OffSet = CLng(ByteArray(FileLength - 2)) * 256 + ByteArray(FileLength - 1)
    OffSet = CLng(OffSet) * 256 + ByteArray(FileLength)
    ReDim Preserve ByteArray(FileLength - 3)
    FileLength = UBound(ByteArray)
    ReDim OutStream(FileLength)
    ReDim TV(FileLength)
'Lets use the speedsort method to sort the array
'(no need to do it lexicographical)
    For X = 0 To FileLength
        CharCount(ByteArray(X)) = CharCount(ByteArray(X)) + 1
    Next
    NuPos = 0
' Place the items in the sorted array.
    For X = 0 To 255
        Spos(X) = NuPos
        NuPos = NuPos + CharCount(X)
    Next
'Now whe have the original and the sorted array so whe can construct
'a transformation tabel
    For X = 0 To FileLength
        Y = Spos(ByteArray(X))
        TV(Y) = X
        Spos(ByteArray(X)) = Y + 1
    Next
'with use of the transformation tabel and the offset whe can reconstruct
'the original data
    For X = 0 To FileLength
        OutStream(X) = ByteArray(OffSet)
        OffSet = TV(OffSet)
    Next
    Call CopyMem(ByteArray(0), OutStream(0), UBound(OutStream) + 1)
End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲六月丁香色婷婷综合久久| 午夜精品久久久久久久蜜桃app| 中文字幕一区av| 一区二区欧美视频| 国产一区二区主播在线| 91行情网站电视在线观看高清版| 日韩网站在线看片你懂的| 国产精品久久久久aaaa| 亚洲成人精品一区二区| av午夜一区麻豆| 日韩欧美123| 亚洲电影视频在线| 91在线porny国产在线看| 精品成人一区二区| 日韩国产精品久久久久久亚洲| 成人激情动漫在线观看| 精品久久国产老人久久综合| 亚洲一区二区三区在线| 99re这里只有精品首页| 国产欧美日韩精品a在线观看| 日本中文在线一区| 欧美在线色视频| 自拍偷拍亚洲欧美日韩| 国产电影精品久久禁18| 2020国产精品自拍| 免费成人av在线| 日韩一级高清毛片| 日韩和的一区二区| 欧美久久久久久蜜桃| 亚洲精品第一国产综合野| 99久久婷婷国产综合精品| 久久久久久**毛片大全| 国产一级精品在线| 久久综合色鬼综合色| 久久精品国产一区二区| 日韩午夜精品电影| 精品一区二区三区免费毛片爱| 91精品国产色综合久久不卡电影| 午夜精品一区在线观看| 欧美疯狂做受xxxx富婆| 日韩电影在线观看网站| 日韩欧美一区电影| 捆绑紧缚一区二区三区视频| 6080国产精品一区二区| 秋霞电影网一区二区| 欧美电影免费提供在线观看| 黄网站免费久久| 国产亚洲精品7777| a4yy欧美一区二区三区| 亚洲男同性视频| 欧美精品第1页| 蜜臀av一区二区三区| 久久综合九色综合欧美亚洲| 国产激情精品久久久第一区二区| 国产三级欧美三级日产三级99 | 一区二区三区 在线观看视频| 色94色欧美sute亚洲线路一ni| 亚洲小说欧美激情另类| 欧美一级久久久| 国产成人一区在线| 亚洲美女屁股眼交3| 欧美人与禽zozo性伦| 六月丁香婷婷久久| 中文无字幕一区二区三区| 欧美视频完全免费看| 六月婷婷色综合| 一色屋精品亚洲香蕉网站| 欧美浪妇xxxx高跟鞋交| 国产一区二区三区在线观看精品| 亚洲丝袜精品丝袜在线| 制服视频三区第一页精品| 韩国中文字幕2020精品| 一区二区三区在线影院| 日韩一区二区麻豆国产| 91在线播放网址| 九九在线精品视频| 亚洲国产一区二区三区| 久久久久久久一区| 欧美片网站yy| hitomi一区二区三区精品| 性做久久久久久免费观看欧美| 国产丝袜美腿一区二区三区| 欧美日韩国产一区二区三区地区| 国产福利精品一区二区| 丝袜亚洲另类欧美| 亚洲欧美一区二区视频| 亚洲精品一区二区三区影院| 欧美偷拍一区二区| av电影在线观看完整版一区二区| 免费在线观看一区二区三区| 一区二区三区精品久久久| 欧美高清在线一区| 日韩精品一区二区三区在线播放 | 欧美变态凌虐bdsm| 日本韩国一区二区三区| 国产成人av电影免费在线观看| 视频一区二区欧美| 一区二区在线免费| 国产精品成人网| 久久久精品国产99久久精品芒果 | 国产精品亚洲一区二区三区在线 | 久久久久久久电影| 91精品国产综合久久久久久久| 99久免费精品视频在线观看| 国产精品99久久久久久久vr| 成人av高清在线| 国产高清不卡一区二区| 另类小说视频一区二区| 蜜臀av一级做a爰片久久| 首页欧美精品中文字幕| 亚洲国产日韩精品| 亚洲最新在线观看| 亚洲欧美怡红院| 亚洲色图丝袜美腿| 国产精品美女视频| 一区免费观看视频| 亚洲色图在线看| 一区二区三区久久| 亚洲一二三四久久| 亚洲国产综合人成综合网站| 亚洲一区二区三区精品在线| 一区二区三区在线视频播放| 亚洲精品国产精华液| 亚洲最色的网站| 午夜视频在线观看一区二区| 午夜免费久久看| 视频一区二区三区中文字幕| 青青青伊人色综合久久| 麻豆91小视频| 国产伦精品一区二区三区免费迷| 国产麻豆一精品一av一免费| 国产精品一区免费视频| 国产成人精品一区二区三区四区 | 日韩一区二区影院| 日韩黄色小视频| 日产欧产美韩系列久久99| 麻豆精品久久久| 国产成人h网站| 欧美在线色视频| 日韩视频国产视频| 国产亚洲成av人在线观看导航| 国产精品久久久久影院老司 | 国产成人免费网站| caoporn国产精品| 欧美综合亚洲图片综合区| 欧美一区二区三区免费| 国产日韩欧美精品综合| 亚洲精品乱码久久久久久 | 麻豆精品新av中文字幕| 国产成人av网站| 在线观看亚洲精品视频| 欧美一区二区视频在线观看| 久久综合九色综合欧美就去吻| 国产性做久久久久久| 夜夜揉揉日日人人青青一国产精品 | 欧美性猛交xxxxxx富婆| 欧美一级电影网站| 国产精品久久夜| 琪琪一区二区三区| 不卡免费追剧大全电视剧网站| 欧美日韩一区不卡| 精品成a人在线观看| 亚洲综合免费观看高清在线观看| 看电视剧不卡顿的网站| 91视视频在线观看入口直接观看www| 777奇米四色成人影色区| 国产精品久久久久久久浪潮网站| 亚洲成av人片在线观看| 不卡视频在线观看| 精品福利一二区| 午夜电影网亚洲视频| www.在线成人| 亚洲精品一区二区三区影院| 亚洲成人久久影院| 99免费精品在线| 国产亚洲精品bt天堂精选| 日韩高清在线一区| 日本精品视频一区二区| 国产女人水真多18毛片18精品视频| 无吗不卡中文字幕| 99久久免费视频.com| 国产欧美精品一区二区三区四区| 免费观看一级欧美片| 欧美怡红院视频| 中文字幕字幕中文在线中不卡视频| 精品一区二区在线观看| 91精品国产综合久久精品| 亚洲一本大道在线| 91激情五月电影| 亚洲激情自拍偷拍| 99视频国产精品| 国产精品久久午夜| 成人一区二区三区视频| 久久久久久麻豆| 国产一区二区女| 2020国产精品自拍| 国产福利精品一区二区| 欧美成人vr18sexvr| 久久精品噜噜噜成人88aⅴ| 日韩一级完整毛片|