Annotation of parser3/tests/469.html, revision 1.1

1.1     ! moko        1: @main[]
        !             2: $data[0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
        !             3: $long[^for[i](1;20){$data}]
        !             4: 
        !             5: 1. lengths around the block boundaries of xxh32 (16) and xxh64 (32)<br />
        !             6: $lengths[^table::create{length
        !             7: 0
        !             8: 1
        !             9: 2
        !            10: 3
        !            11: 4
        !            12: 5
        !            13: 7
        !            14: 8
        !            15: 9
        !            16: 15
        !            17: 16
        !            18: 17
        !            19: 31
        !            20: 32
        !            21: 33
        !            22: 63
        !            23: 64
        !            24: 65
        !            25: 100
        !            26: 1000}]
        !            27: ^lengths.menu{^row[$lengths.length]}
        !            28: 
        !            29: 2. strings and files<br />
        !            30: 2.1 abc: ^math:xxhash[xxh32;abc] ^math:xxhash[xxh64;abc]<br />
        !            31: 2.2 Nobody inspects the spammish repetition: ^math:xxhash[xxh32;Nobody inspects the spammish repetition] ^math:xxhash[xxh64;Nobody inspects the spammish repetition]<br />
        !            32: 2.3 empty: ^math:xxhash[32;] ^math:xxhash[64;]<br />
        !            33: 2.4 utf-8: ^math:xxhash[32;й€] ^math:xxhash[64;й€]<br />
        !            34: $bin[^file::create[binary;bin.dat;^#01^#7F^#FE^#FF^#80]]
        !            35: 2.5 binary file: ^math:xxhash[32;$bin] ^math:xxhash[64;$bin]<br />
        !            36: $abc[^file::create[binary;abc.txt;abc]]
        !            37: 2.6 file with the same bytes as the string abc: ^math:xxhash[32;$abc] ^math:xxhash[64;$abc]<br />
        !            38: 2.7 short names of the algorithms, the same as 2.1: ^math:xxhash[32;abc] ^math:xxhash[64;abc]<br />
        !            39: 
        !            40: 3. format<br />
        !            41: 3.1 ^math:xxhash[32;abc; $.format[hex] ] ^math:xxhash[64;abc; $.format[hex] ]<br />
        !            42: 3.2 ^math:xxhash[32;abc; $.format[base64] ] ^math:xxhash[64;abc; $.format[base64] ]<br />
        !            43: $r[^math:xxhash[32;abc; $.format[file] ]]
        !            44: 3.3 $r.size ^r.base64[]
        !            45: $r[^math:xxhash[64;abc; $.format[file] ]]
        !            46: 3.4 $r.size ^r.base64[]<br />
        !            47: 
        !            48: 4. errors<br />
        !            49: 4.1 ^try-catch{ ^math:xxhash[xxh16;abc] }<br />
        !            50: 4.2 ^try-catch{ ^math:xxhash[32;abc; $.format[hex2] ] }<br />
        !            51: 4.3 ^try-catch{ ^math:xxhash[32;abc; $.hmac[key] ] }<br />
        !            52: 4.4 ^try-catch{ ^math:xxhash[32] }<br />
        !            53: 
        !            54: @row[n]
        !            55: ${n}: ^math:xxhash[32;^long.left($n)] ^math:xxhash[64;^long.left($n)]<br />

E-mail: