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

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

?? cod_bwt3.bas

?? 里面有二十一種加密的算法,很好用的哦,大家一定要多多下載啊
?? 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一区二区三区免费野_久草精品视频
亚洲欧美综合色| 午夜激情综合网| 成人美女在线观看| 国产欧美精品一区二区色综合朱莉 | 丁香激情综合五月| 欧美激情资源网| 97久久精品人人做人人爽| 日韩一区在线看| 91网站视频在线观看| 香港成人在线视频| 8x8x8国产精品| 成人精品一区二区三区四区 | 色婷婷国产精品| 亚洲国产裸拍裸体视频在线观看乱了| 欧美三级乱人伦电影| 美女www一区二区| 亚洲精品国产高清久久伦理二区| 在线观看国产精品网站| 蜜臀av性久久久久蜜臀aⅴ流畅| 日韩三级精品电影久久久| 成人app在线| 免费在线看成人av| 国产精品久久久久影院老司 | 精品一区二区在线播放| 亚洲视频一区二区在线观看| 欧美本精品男人aⅴ天堂| 风间由美中文字幕在线看视频国产欧美| 亚洲丝袜精品丝袜在线| 国产午夜亚洲精品午夜鲁丝片 | 欧美三级欧美一级| 色网综合在线观看| 成人h动漫精品一区二| 日本系列欧美系列| 欧美aaa在线| 另类综合日韩欧美亚洲| 久久精品国产久精国产| 免费观看一级欧美片| 日本不卡一二三| 久久精品久久99精品久久| 午夜一区二区三区在线观看| 亚洲成精国产精品女| 亚洲午夜电影网| 韩国毛片一区二区三区| 国产精品99久久久久久宅男| 国产成人高清视频| 欧美伊人精品成人久久综合97| 色悠久久久久综合欧美99| 日韩女优av电影在线观看| 欧美日韩在线播放一区| 蜜臀91精品一区二区三区| 久久精品综合网| 久久久精品黄色| 一区二区三区在线观看国产 | 欧美日韩一区二区在线视频| 国产一区二区三区四| 黄色小说综合网站| 欧美精品18+| 日韩欧美国产成人一区二区| 亚洲免费在线看| 国产成人午夜精品影院观看视频 | 91精品国产综合久久久久久漫画| 国产欧美精品国产国产专区| 国产精品一级二级三级| 2023国产精品| 国产成人午夜视频| 日韩码欧中文字| 在线欧美日韩国产| 日韩国产欧美一区二区三区| 欧美v日韩v国产v| 成人影视亚洲图片在线| 亚洲色欲色欲www在线观看| 成人av动漫网站| 亚洲猫色日本管| 欧美浪妇xxxx高跟鞋交| 久久99热99| 国产精品国产三级国产aⅴ原创 | 成人污污视频在线观看| 亚洲精品乱码久久久久久日本蜜臀| 色综合久久99| 日本不卡不码高清免费观看| 欧美老女人在线| 国产精品中文字幕日韩精品| 国产精品麻豆欧美日韩ww| 91成人在线免费观看| 免费看欧美美女黄的网站| 26uuu国产在线精品一区二区| 国产精品99久久久久久久女警| 国产精品超碰97尤物18| 欧美色涩在线第一页| 久久99精品久久只有精品| 亚洲天堂中文字幕| 欧美一区二区福利视频| av电影天堂一区二区在线观看| 亚洲精品免费在线观看| 国产欧美视频在线观看| 日本韩国欧美在线| 久久精品国产精品青草| 亚洲日本一区二区三区| 精品美女在线观看| 色欧美片视频在线观看在线视频| 韩国三级中文字幕hd久久精品| 亚洲自拍另类综合| 国产日产精品一区| 欧美日本免费一区二区三区| 成人在线一区二区三区| 一区二区三区中文字幕在线观看| 国产偷国产偷亚洲高清人白洁 | 综合在线观看色| 国产精品情趣视频| 日韩欧美国产一区二区在线播放| 91精品1区2区| 成人性生交大片免费看视频在线 | 国模大尺度一区二区三区| 亚洲一级电影视频| 亚洲欧洲日产国产综合网| 欧美大片在线观看| 51精品视频一区二区三区| 91色九色蝌蚪| 国产99精品国产| 国产aⅴ精品一区二区三区色成熟| 日韩国产欧美在线播放| 午夜精品成人在线视频| 一区二区三区四区中文字幕| 国产精品电影院| 亚洲国产高清在线| 国产亚洲女人久久久久毛片| 欧美剧在线免费观看网站| av不卡在线观看| 波多野结衣亚洲一区| 成人黄页在线观看| 国产成人精品午夜视频免费| 国产成人av影院| 国产一区二区中文字幕| 国产一区二区0| 国产精品99久久久| 国产福利电影一区二区三区| 国产精品中文字幕一区二区三区| 夜夜精品视频一区二区| 国产精品天天看| 中文字幕av资源一区| 国产精品麻豆视频| 亚洲精品日韩专区silk| 一区二区激情视频| 午夜精品123| 美女国产一区二区三区| 精品一区二区三区日韩| 久久99精品一区二区三区三区| 日本亚洲三级在线| 秋霞午夜鲁丝一区二区老狼| 国产98色在线|日韩| av电影在线观看一区| 欧美自拍偷拍一区| 欧美日韩免费高清一区色橹橹| 欧美日韩高清一区二区不卡| 91精品视频网| 国产肉丝袜一区二区| 成人免费一区二区三区视频| 亚洲综合成人网| 日韩黄色小视频| 成人精品视频一区二区三区 | 奇米在线7777在线精品| 国产一区欧美一区| 色婷婷综合中文久久一本| aaa亚洲精品| 欧美精品777| 精品黑人一区二区三区久久| 国产精品不卡视频| 免费视频一区二区| 91麻豆福利精品推荐| 欧美丰满少妇xxxbbb| 国产亚洲一二三区| 亚洲一区在线视频观看| 国产在线一区二区| 成人av网址在线| 欧美日韩国产首页| 国产精品欧美一区喷水| 午夜一区二区三区在线观看| 国产精品18久久久久久久久| 91成人免费电影| www久久精品| 丝袜诱惑制服诱惑色一区在线观看| 国产99精品在线观看| 色天使色偷偷av一区二区 | 丝瓜av网站精品一区二区| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 午夜精品久久久久影视| 国产电影精品久久禁18| 欧美日韩一区久久| 欧美国产成人精品| 久久精品噜噜噜成人88aⅴ| 成人av综合在线| 精品久久国产字幕高潮| 亚洲成人综合在线| 99久久久国产精品| 久久综合狠狠综合久久综合88| 亚洲国产裸拍裸体视频在线观看乱了| 国产精品99久| 欧美日本精品一区二区三区| 国产精品私人自拍| 国产一区二区福利|