/dports/lang/python27/Python-2.7.18/Lib/test/ |
H A D | test_bytes.py | 548 type2test = bytearray 588 b = bytearray() 743 b = bytearray() 755 b = bytearray() 777 a = bytearray(b'') 783 a = bytearray(b'') 841 b = bytearray() 845 b = bytearray() 858 b = bytearray() 1024 ba = bytearray(b) [all …]
|
/dports/lang/python-legacy/Python-2.7.18/Lib/test/ |
H A D | test_bytes.py | 548 type2test = bytearray 588 b = bytearray() 743 b = bytearray() 755 b = bytearray() 777 a = bytearray(b'') 783 a = bytearray(b'') 841 b = bytearray() 845 b = bytearray() 858 b = bytearray() 1024 ba = bytearray(b) [all …]
|
/dports/lang/micropython/micropython-1.17/tests/micropython/ |
H A D | heapalloc_fail_bytearray.py.exp | 1 MemoryError: bytearray create 2 MemoryError: bytearray create from bytes 3 MemoryError: bytearray create from iter 6 bytearray(b'\x00\x00\x00\x00') 9 MemoryError: bytearray subscr get 10 MemoryError: bytearray subscr grow 11 bytearray(b'\x00\x00\x00\x00')
|
/dports/security/beecrypt/beecrypt-4.2.1/include/beecrypt/c++/crypto/ |
H A D | Cipher.h | 66 …bytearray* doFinal() throw (IllegalStateException, IllegalBlockSizeException, BadPaddingException); 67 …bytearray* doFinal(const bytearray& input) throw (IllegalStateException, IllegalBlockSizeException… 68 …int doFinal(bytearray& output, int outputOffset) throw (IllegalStateException, IllegalBlockSizeExc… 69 …bytearray* doFinal(const byte* input, int inputOffset, int inputLength) throw (IllegalStateExcepti… 70 …int doFinal(const byte* input, int inputOffset, int inputLength, bytearray& output, int outputOffs… 78 bytearray* getIV(); 85 bytearray* update(const bytearray& input) throw (IllegalStateException); 86 …bytearray* update(const byte* input, int inputOffset, int inputLength) throw (IllegalStateExceptio… 87 …int update(const byte* input, int inputOffset, int inputLength, bytearray& output, int outputOffse…
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_bytes.py | 523 type2test = bytearray 563 b = bytearray() 698 b = bytearray() 715 a = bytearray(b'') 721 a = bytearray(b'') 725 a = bytearray(b'') 772 b = bytearray() 776 b = bytearray() 789 b = bytearray() 944 ba = bytearray(b) [all …]
|
/dports/devel/py-PeachPy/PeachPy-01d1515/test/x86_64/encoding/ |
H A D | test_imm.py | 11 self.assertEqual(bytearray([0x49, 0x83, 0xF8, 0x00]), CMP(r8, 0).encode()) 12 self.assertEqual(bytearray([0x48, 0x83, 0xC1, 0x7F]), ADD(rcx, 127).encode()) 13 self.assertEqual(bytearray([0x41, 0x83, 0xEE, 0x80]), SUB(r14d, -128).encode()) 14 self.assertEqual(bytearray([0x48, 0x83, 0xCE, 0x80]), OR(rsi, 0xFFFFFFFFFFFFFF80).encode()) 19 … self.assertEqual(bytearray([0x48, 0x81, 0xC1, 0x80, 0x00, 0x00, 0x00]), ADD(rcx, 128).encode()) 20 … self.assertEqual(bytearray([0x41, 0x81, 0xEE, 0x7F, 0xFF, 0xFF, 0xFF]), SUB(r14d, -129).encode()) 21 …self.assertEqual(bytearray([0x48, 0x81, 0xCE, 0x7F, 0xFF, 0xFF, 0xFF]), OR(rsi, 0xFFFFFFFFFFFFFF7F…
|
/dports/net/libvncserver/libvncserver-LibVNCServer-0.9.13/test/ |
H A D | wsmaketestframe.py | 95 flist.append(Testframe(websockets.framing.Frame(1, 1, bytearray("Testit", encoding="utf-8")), "Shor… 96 flist.append(Testframe(websockets.framing.Frame(1, 1, bytearray("Frame2 does contain much more text… 101 flist.append(Testframe(websockets.framing.Frame(1, 2, bytearray("Testit", encoding="utf-8")), "Shor… 102 flist.append(Testframe(websockets.framing.Frame(1, 2, bytearray("Frame2 does contain much more text… 107 flist.append(Testframe(websockets.framing.Frame(1, 8, bytearray(list([0x03, 0xEB]))), "Close frame … 108 flist.append(Testframe(websockets.framing.Frame(1, 8, bytearray(list([0x03, 0xEB])) + bytearray("I'… 111 flist.append(Testframe(websockets.framing.Frame(1, 1, bytearray("Testit", encoding="utf-8")), "Inva… 112 flist.append(Testframe(websockets.framing.Frame(1, 1, bytearray("..Lore Ipsum", encoding="utf-8")),… 115 frag1 = websockets.framing.Frame(0, 1, bytearray("This is a fragmented websocket...", encoding="utf… 116 frag2 = websockets.framing.Frame(0, 0, bytearray("... and it goes on...", encoding="utf-8")) [all …]
|
/dports/devel/py-ioflo/ioflo-2.0.0/ioflo/aio/proto/test/ |
H A D | test_packeting.py | 59 self.assertEqual(part.packed, bytearray([])) 66 packed = bytearray([0, 1, 2, 3]) 85 self.assertEqual(part.packed, bytearray([])) 91 self.assertEqual(part.packed, bytearray([])) 95 raw = bytearray() 99 self.assertEqual(part.packed, bytearray([])) 103 raw = bytearray([7, 2, 1, 0]) 107 self.assertEqual(part.packed, bytearray([])) 131 self.assertEqual(part.packed, bytearray([])) 137 self.assertEqual(part.packed, bytearray([])) [all …]
|
/dports/security/py-python-axolotl/python-axolotl-0.1.42/axolotl/tests/ |
H A D | test_sigs.py | 11 …alicePublic = bytearray([0x05, 0x1b, 0xb7, 0x59, 0x66, 0xf2, 0xe9, 0x3a, 0x36, 0x91, 0xdf, 0xff, 0… 14 …alicePrivate = bytearray([0xc8, 0x06, 0x43, 0x9d, 0xc9, 0xd2, 0xc4, 0x76, 0xff, 0xed, 0x8f, 0x25, … 18 …bobPublic = bytearray([0x05, 0x65, 0x36, 0x14, 0x99, 0x3d, 0x2b, 0x15, 0xee, 0x9e, 0x5f, 0xd3, 0xd… 22 …bobPrivate = bytearray([0xb0, 0x3b, 0x34, 0xc3, 0x3a, 0x1c, 0x44, 0xf2, 0x25, 0xb6, 0x62, 0xd2, 0x… 26 …shared = bytearray([0x32, 0x5f, 0x23, 0x93, 0x28, 0x94, 0x1c, 0xed, 0x6e, 0x67, 0x3b, 0x86, 0xba, … 60 …aliceIdentityPublic = bytearray([0x05, 0xab, 0x7e, 0x71, 0x7d, 0x4a, 0x16, 0x3b, 0x7d, 0x9a, 0x1d,… 64 …aliceEphemeralPublic = bytearray([0x05, 0xed, 0xce, 0x9d, 0x9c, 0x41, 0x5c, 0xa7, 0x8c, 0xb7, 0x25… 68 …aliceSignature = bytearray([0x5d, 0xe8, 0x8c, 0xa9, 0xa8, 0x9b, 0x4a, 0x11, 0x5d, 0xa7, 0x91, 0x09…
|
/dports/devel/openocd/openocd-0.11.0/contrib/xsvf_tools/ |
H A D | svf2xsvf.py | 194 self.mask = bytearray() 196 self.tdi = bytearray() 197 self.tdo = bytearray() 250 a = bytearray() 279 ba = bytearray( byteCount ) 302 ba = bytearray(1) 314 ret = bytearray() 338 obuf = bytearray(11) 346 obuf = bytearray(10) 397 cmdbuf = bytearray(1) [all …]
|
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/lib/Crypto/SelfTest/Cipher/ |
H A D | test_Salsa20.py | 238 data_ba = bytearray(data) 239 key_ba = bytearray(key) 240 nonce_ba = bytearray(nonce) 254 key_ba = bytearray(key) 255 nonce_ba = bytearray(nonce) 256 ct_ba = bytearray(ct) 277 key_mv = memoryview(bytearray(key)) 294 ct_mv = memoryview(bytearray(ct)) 316 output = bytearray(16) 327 output = memoryview(bytearray(16)) [all …]
|
/dports/security/py-pycryptodome/pycryptodome-3.10.1/lib/Crypto/SelfTest/Cipher/ |
H A D | test_Salsa20.py | 238 data_ba = bytearray(data) 239 key_ba = bytearray(key) 240 nonce_ba = bytearray(nonce) 254 key_ba = bytearray(key) 255 nonce_ba = bytearray(nonce) 256 ct_ba = bytearray(ct) 277 key_mv = memoryview(bytearray(key)) 294 ct_mv = memoryview(bytearray(ct)) 316 output = bytearray(16) 327 output = memoryview(bytearray(16)) [all …]
|
/dports/security/beecrypt/beecrypt-4.2.1/include/beecrypt/c++/beeyond/ |
H A D | PKCS12PBEKey.h | 30 using beecrypt::bytearray; 42 bytearray* _salt; 44 mutable bytearray* _enc; 47 static bytearray* encode(const array<jchar>&); 50 PKCS12PBEKey(const array<jchar>&, const bytearray*, int); 59 virtual const bytearray* getSalt() const throw (); 61 virtual const bytearray* getEncoded() const throw ();
|
/dports/security/py-pgpy/PGPy-0.5.3/tests/ |
H A D | test_01_packetfields.py | 20 _tag = bytearray(b'\xc2') 33 bytearray(b'\x88') + b'\xff' + (b'\x00' * 255) + _trailer, 42 bytearray(b'\xbf' + b'\x00' + (b'\x00' * 190)), 44 bytearray(b'\xc0\x00' + b'\x00' + (b'\x00' * 191)), 46 bytearray(b'\xdf\xff' + b'\x00' + (b'\x00' * 8382)), 48 bytearray(b'\xff\x00\x00 \xc0' + b'\x00' + (b'\x00' * 0x8383)), 50 bytearray(b'\xff\x00\x00\xff\xff' + b'\x00' + (b'\x00' * 65534)), 197 sig_subpkts = [bytearray(sp) + _trailer for sp in _ssps] 267 ua_subpkts = [bytearray(sp) + _trailer for sp in _uassps] 305 bytearray(range(16)), [all …]
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/ |
H A D | test_bytes.py | 1101 type2test = bytearray 1151 b = bytearray() 1289 b = bytearray(10) 1297 b = bytearray(10) 1363 b = bytearray() 1375 b = bytearray() 1461 b = bytearray() 1465 b = bytearray() 1477 b = bytearray() 1704 b = bytearray() [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/ |
H A D | test_bytes.py | 1101 type2test = bytearray 1151 b = bytearray() 1289 b = bytearray(10) 1297 b = bytearray(10) 1363 b = bytearray() 1375 b = bytearray() 1461 b = bytearray() 1465 b = bytearray() 1477 b = bytearray() 1704 b = bytearray() [all …]
|
/dports/lang/python-tools/Python-3.8.12/Lib/test/ |
H A D | test_bytes.py | 1101 type2test = bytearray 1151 b = bytearray() 1289 b = bytearray(10) 1297 b = bytearray(10) 1363 b = bytearray() 1375 b = bytearray() 1461 b = bytearray() 1465 b = bytearray() 1477 b = bytearray() 1704 b = bytearray() [all …]
|
/dports/lang/python38/Python-3.8.12/Lib/test/ |
H A D | test_bytes.py | 1101 type2test = bytearray 1151 b = bytearray() 1289 b = bytearray(10) 1297 b = bytearray(10) 1363 b = bytearray() 1375 b = bytearray() 1461 b = bytearray() 1465 b = bytearray() 1477 b = bytearray() 1704 b = bytearray() [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/ |
H A D | test_bytes.py | 1101 type2test = bytearray 1151 b = bytearray() 1289 b = bytearray(10) 1297 b = bytearray(10) 1363 b = bytearray() 1375 b = bytearray() 1461 b = bytearray() 1465 b = bytearray() 1477 b = bytearray() 1704 b = bytearray() [all …]
|
/dports/lang/python39/Python-3.9.9/Lib/test/ |
H A D | test_bytes.py | 1172 type2test = bytearray 1222 b = bytearray() 1360 b = bytearray(10) 1368 b = bytearray(10) 1434 b = bytearray() 1446 b = bytearray() 1532 b = bytearray() 1536 b = bytearray() 1548 b = bytearray() 1775 b = bytearray() [all …]
|
/dports/lang/python37/Python-3.7.12/Lib/test/ |
H A D | test_bytes.py | 1040 type2test = bytearray 1089 b = bytearray() 1227 b = bytearray(10) 1235 b = bytearray(10) 1301 b = bytearray() 1313 b = bytearray() 1399 b = bytearray() 1403 b = bytearray() 1415 b = bytearray() 1632 b = bytearray() [all …]
|
/dports/devel/py-filetype/filetype-1.0.7/tests/ |
H A D | test_filetype.py | 22 buf = bytearray([0xFF, 0xD8, 0xFF, 0x00, 0x08]) 29 buf = bytearray([0xFF, 0x00, 0x00, 0x00, 0x00]) 34 buf = memoryview(bytearray([0xFF, 0xD8, 0xFF, 0x00, 0x08])) 48 buf = bytearray([0xFF, 0xD8, 0xFF, 0x00, 0x08]) 54 buf = bytearray([0xFF, 0x00, 0x00, 0x00, 0x00]) 59 buf = memoryview(bytearray([0xFF, 0xD8, 0xFF, 0x00, 0x08])) 72 buf = bytearray([0xFF, 0xD8, 0xFF, 0x00, 0x08]) 78 buf = bytearray([0xFF, 0x00, 0x00, 0x00, 0x00]) 83 buf = memoryview(bytearray([0xFF, 0xD8, 0xFF, 0x00, 0x08]))
|
/dports/lang/cython/Cython-0.29.24/tests/run/ |
H A D | bytearraymethods.pyx | 7 b_a = bytearray(b'a') 8 b_b = bytearray(b'b') 205 >>> b = bytearray(b'abc') 210 >>> b = bytearray(b'abc') 217 >>> b = bytearray(b'abc') 222 >>> b = bytearray(b'abc') 229 >>> b = bytearray(b'abc') 237 >>> b = bytearray(b'abc') 244 >>> b = bytearray(b'abc') 251 >>> b = bytearray(b'abc') [all …]
|
/dports/lang/cython-devel/cython-2b1e743/tests/run/ |
H A D | bytearraymethods.pyx | 7 b_a = bytearray(b'a') 8 b_b = bytearray(b'b') 205 >>> b = bytearray(b'abc') 210 >>> b = bytearray(b'abc') 217 >>> b = bytearray(b'abc') 222 >>> b = bytearray(b'abc') 229 >>> b = bytearray(b'abc') 237 >>> b = bytearray(b'abc') 244 >>> b = bytearray(b'abc') 251 >>> b = bytearray(b'abc') [all …]
|
/dports/devel/brz/breezy-3.2.0/breezy/tests/per_repository_reference/ |
H A D | test_get_record_stream.py | 109 keys = [(b'f-id', bytes([r])) for r in bytearray(b'ABCDF')] 124 keys = [(b'f-id', bytes([r])) for r in bytearray(b'ABCDEG')] 146 keys = [(b'f-id', bytes([r])) for r in bytearray(b'ABCDEG')] 147 alt_1 = [(b'f-id', bytes([r])) for r in bytearray(b'ACBDEG')] 148 alt_2 = [(b'f-id', bytes([r])) for r in bytearray(b'ABCEDG')] 149 alt_3 = [(b'f-id', bytes([r])) for r in bytearray(b'ACBEDG')] 150 alt_4 = [(b'f-id', bytes([r])) for r in bytearray(b'ACEBDG')] 170 keys = [(b'f-id', bytes([r])) for r in bytearray(b'ABCDF')] 171 alt_1 = [(b'f-id', bytes([r])) for r in bytearray(b'ACBDF')] 192 keys = [(b'f-id', bytes([r])) for r in bytearray(b'ABCDEG')] [all …]
|