Home
last modified time | relevance | path

Searched refs:bytearray (Results 1 – 25 of 3593) sorted by relevance

12345678910>>...144

/dports/lang/micropython/micropython-1.17/tests/extmod/
H A Dframebuf4.py.exp2 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
3 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
4 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
5 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
6 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
7 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
8 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
9 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
12 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00')
13 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00')
[all …]
H A Dframebuf1.py.exp3 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff')
4 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
5 bytearray(b'\x01\x00\x00\x00\x01\x80\x00\x00\x00\x80')
6 bytearray(b'\x01\x00\x00\x00\x01\x80\x00\x00\x00\x00')
15 bytearray(b'\x00\x00@\x00\x00\x00\x00\x00\x00\x00')
16 bytearray(b'\x00\x00\x00@\x00\x00\x00\x00\x00\x00')
21 bytearray(b'\xaaU\xaaU\xaa\x00\x00\x00\x00\x00')
31 vline bytearray(b'@@@@@@@@@@')
41 bytearray(b'``x````\x00\x00\x00')
43 bytearray(b'P\xa8P\xa8P\xa8P\xa8\x00\x00')
[all …]
H A Dframebuf16.py.exp2 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
3 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
4 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
5 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
6 bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff')
9 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00')
10 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00')
11 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00')
12 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00')
13 bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00')
[all …]
/dports/devel/py-PeachPy/PeachPy-01d1515/test/x86_64/encoding/
H A Dtest_generic.py11 self.assertEqual(bytearray([0x04, 0x02]), ADD(al, 2).encode())
1142 self.assertEqual(bytearray([0x99]), CDQ().encode())
1157 self.assertEqual(bytearray([0x98]), CWDE().encode())
1813 self.assertEqual(bytearray([0xC3]), RET().encode())
1830 self.assertEqual(bytearray([0x90]), NOP().encode())
1835 self.assertEqual(bytearray([0xCC]), INT(3).encode())
1871 self.assertEqual(bytearray([0xF9]), STC().encode())
1876 self.assertEqual(bytearray([0xF8]), CLC().encode())
1881 self.assertEqual(bytearray([0xF5]), CMC().encode())
1886 self.assertEqual(bytearray([0xFD]), STD().encode())
[all …]
H A Dtest_mmxsse.py557 self.assertEqual(bytearray([0x0F, 0x7E, 0xED]), MOVD(ebp, mm5).encode())
572 self.assertEqual(bytearray([0x0F, 0x6F, 0xDD]), MOVQ(mm3, mm5).encode())
772 self.assertEqual(bytearray([0x0F, 0xFC, 0xDD]), PADDB(mm3, mm5).encode())
780 self.assertEqual(bytearray([0x0F, 0xFD, 0xDD]), PADDW(mm3, mm5).encode())
788 self.assertEqual(bytearray([0x0F, 0xFE, 0xDD]), PADDD(mm3, mm5).encode())
796 self.assertEqual(bytearray([0x0F, 0xD4, 0xDD]), PADDQ(mm3, mm5).encode())
860 self.assertEqual(bytearray([0x0F, 0xF8, 0xDD]), PSUBB(mm3, mm5).encode())
1320 self.assertEqual(bytearray([0x0F, 0xDB, 0xDD]), PAND(mm3, mm5).encode())
1336 self.assertEqual(bytearray([0x0F, 0xEB, 0xDD]), POR(mm3, mm5).encode())
1344 self.assertEqual(bytearray([0x0F, 0xEF, 0xDD]), PXOR(mm3, mm5).encode())
[all …]
H A Dtest_avx.py16 self.assertEqual(bytearray([0xC5, 0x8A, 0x10, 0xCB]), VMOVSS(xmm1, xmm14, xmm3).encode())
38 self.assertEqual(bytearray([0xC5, 0x8A, 0x58, 0xCB]), VADDSS(xmm1, xmm14, xmm3).encode())
46 self.assertEqual(bytearray([0xC5, 0x8A, 0x5C, 0xCB]), VSUBSS(xmm1, xmm14, xmm3).encode())
384 self.assertEqual(bytearray([0xC5, 0x78, 0x29, 0xF1]), VMOVAPS(xmm1, xmm14).encode())
386 self.assertEqual(bytearray([0xC5, 0x7C, 0x29, 0xFA]), VMOVAPS(ymm2, ymm15).encode())
403 self.assertEqual(bytearray([0xC5, 0x78, 0x11, 0xF1]), VMOVUPS(xmm1, xmm14).encode())
405 self.assertEqual(bytearray([0xC5, 0x7C, 0x11, 0xFA]), VMOVUPS(ymm2, ymm15).encode())
1713 self.assertEqual(bytearray([0xC5, 0x79, 0x7E, 0xF5]), VMOVD(ebp, xmm14).encode())
1714 self.assertEqual(bytearray([0xC5, 0xF9, 0x7E, 0xE5]), VMOVD(ebp, xmm4).encode())
5388 self.assertEqual(bytearray([0xC5, 0xF8, 0x77]), VZEROUPPER().encode())
[all …]
H A Dtest_fma.py12 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0x99, 0xCB]), VFMADD132SS(xmm1, xmm14, xmm3).encode(…
20 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0xA9, 0xCB]), VFMADD213SS(xmm1, xmm14, xmm3).encode(…
28 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0xB9, 0xCB]), VFMADD231SS(xmm1, xmm14, xmm3).encode(…
43 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0x9B, 0xCB]), VFMSUB132SS(xmm1, xmm14, xmm3).encode(…
51 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0xAB, 0xCB]), VFMSUB213SS(xmm1, xmm14, xmm3).encode(…
59 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0xBB, 0xCB]), VFMSUB231SS(xmm1, xmm14, xmm3).encode(…
74 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0x9D, 0xCB]), VFNMADD132SS(xmm1, xmm14, xmm3).encode…
82 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0xAD, 0xCB]), VFNMADD213SS(xmm1, xmm14, xmm3).encode…
90 …self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0xBD, 0xCB]), VFNMADD231SS(xmm1, xmm14, xmm3).encode…
136 …self.assertEqual(bytearray([0xC4, 0xE2, 0x89, 0x99, 0xCB]), VFMADD132SD(xmm1, xmm14, xmm3).encode(…
[all …]
H A Dtest_amd.py11 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0xBF]), PAVGUSB(mm3, mm5).encode())
17 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0xB7]), PMULHRW(mm3, mm5).encode())
23 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0x1D]), PF2ID(mm3, mm5).encode())
29 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0x1C]), PF2IW(mm3, mm5).encode())
35 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0x0C]), PI2FW(mm3, mm5).encode())
41 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0x0D]), PI2FD(mm3, mm5).encode())
47 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0x9E]), PFADD(mm3, mm5).encode())
53 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0x9A]), PFSUB(mm3, mm5).encode())
65 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0xB4]), PFMUL(mm3, mm5).encode())
71 self.assertEqual(bytearray([0x0F, 0x0F, 0xDD, 0xA4]), PFMAX(mm3, mm5).encode())
[all …]
H A Dtest_mask.py11 self.assertEqual(bytearray([0xC5, 0xD5, 0x4A, 0xED]), KADDB(k5, k5, k5).encode())
16 self.assertEqual(bytearray([0xC5, 0xD4, 0x4A, 0xED]), KADDW(k5, k5, k5).encode())
31 self.assertEqual(bytearray([0xC5, 0xD5, 0x41, 0xED]), KANDB(k5, k5, k5).encode())
36 self.assertEqual(bytearray([0xC5, 0xD4, 0x41, 0xED]), KANDW(k5, k5, k5).encode())
71 self.assertEqual(bytearray([0xC5, 0xD5, 0x45, 0xED]), KORB(k5, k5, k5).encode())
76 self.assertEqual(bytearray([0xC5, 0xD4, 0x45, 0xED]), KORW(k5, k5, k5).encode())
131 self.assertEqual(bytearray([0xC5, 0xF9, 0x90, 0xED]), KMOVB(k5, k5).encode())
134 self.assertEqual(bytearray([0xC5, 0xF9, 0x93, 0xED]), KMOVB(ebp, k5).encode())
140 self.assertEqual(bytearray([0xC5, 0xF8, 0x90, 0xED]), KMOVW(k5, k5).encode())
167 self.assertEqual(bytearray([0xC5, 0xF9, 0x44, 0xED]), KNOTB(k5, k5).encode())
[all …]
H A Dtest_crypto.py11 … self.assertEqual(bytearray([0x66, 0x41, 0x0F, 0x38, 0xDE, 0xCE]), AESDEC(xmm1, xmm14).encode())
23 … self.assertEqual(bytearray([0x66, 0x41, 0x0F, 0x38, 0xDC, 0xCE]), AESENC(xmm1, xmm14).encode())
71 self.assertEqual(bytearray([0xC4, 0xC2, 0x79, 0xDB, 0xCE]), VAESIMC(xmm1, xmm14).encode())
83 self.assertEqual(bytearray([0x41, 0x0F, 0x38, 0xC9, 0xCE]), SHA1MSG1(xmm1, xmm14).encode())
89 self.assertEqual(bytearray([0x41, 0x0F, 0x38, 0xCA, 0xCE]), SHA1MSG2(xmm1, xmm14).encode())
137 self.assertEqual(bytearray([0x66, 0x0F, 0xC7, 0xF6]), RDRAND(si).encode())
138 self.assertEqual(bytearray([0x0F, 0xC7, 0xF5]), RDRAND(ebp).encode())
139 self.assertEqual(bytearray([0x48, 0x0F, 0xC7, 0xF1]), RDRAND(rcx).encode())
144 self.assertEqual(bytearray([0x66, 0x0F, 0xC7, 0xFE]), RDSEED(si).encode())
145 self.assertEqual(bytearray([0x0F, 0xC7, 0xFD]), RDSEED(ebp).encode())
[all …]
/dports/lang/micropython/micropython-1.17/tests/basics/
H A Dbytearray_slice_assign.py2 bytearray()[:] = bytearray()
11 l = bytearray(x)
14 l = bytearray(x)
17 l = bytearray(x)
20 l = bytearray(x)
24 l = bytearray(x)
27 l = bytearray(x)
30 l = bytearray(x)
34 l = bytearray(x)
37 l = bytearray(x)
[all …]
H A Dbytearray1.py1 print(bytearray(4))
2 a = bytearray([1, 2, 200])
24 print(bytearray([1]) == bytearray([1]))
25 print(bytearray([1]) == bytearray([2]))
26 print(bytearray([1]) == b"1")
28 print(bytearray() == bytearray())
30 b1 = bytearray([1, 2, 3])
31 b2 = bytearray([1, 2, 3])
32 b3 = bytearray([1, 3])
51 print(bytearray() == 1)
[all …]
/dports/lang/cython/Cython-0.29.24/tests/run/
H A Dbytearray_coercion.pyx10 >>> b = bytearray(b'abc')
21 >>> b = bytearray(b'abc')
28 return b == <bytearray>cs == <bytearray> ucs == <bytearray>scs
32 >>> b = bytearray(b'abc')
47 ('bytearray object', 'bytearray object', 'bytearray object', 'bytearray object')
49 …(bytearray(b'a\\xfec'), bytearray(b'a\\xfeca\\xfec'), bytearray(b'a\\xfeca\\xfec'), bytearray(b'a\…
78 >>> b = bytearray(b'abc')
80 …(bytearray(b'bc'), bytearray(b'bc'), bytearray(b'bc'), 'bytearray object', 'bytearray object', 'by…
99 bytearray(b'xyzEE(o')
153 b = bytearray(b'x')
[all …]
/dports/lang/cython-devel/cython-2b1e743/tests/run/
H A Dbytearray_coercion.pyx10 >>> b = bytearray(b'abc')
21 >>> b = bytearray(b'abc')
28 return b == <bytearray>cs == <bytearray> ucs == <bytearray>scs
32 >>> b = bytearray(b'abc')
47 ('bytearray object', 'bytearray object', 'bytearray object', 'bytearray object')
49 …(bytearray(b'a\\xfec'), bytearray(b'a\\xfeca\\xfec'), bytearray(b'a\\xfeca\\xfec'), bytearray(b'a\…
78 >>> b = bytearray(b'abc')
80 …(bytearray(b'bc'), bytearray(b'bc'), bytearray(b'bc'), 'bytearray object', 'bytearray object', 'by…
99 bytearray(b'xyzEE(o')
153 b = bytearray(b'x')
[all …]
/dports/devel/clazy/clazy-1.5/tests/qt4-qstring-from-array/
H A Dmain.cpp18 QByteArray bytearray; in test() local
20 QString s2(bytearray); in test()
21 QString s3(bytearray + bytearray); in test()
23 QString s5 = QString(bytearray); in test()
24 QString s6 = QString(bytearray + bytearray); in test()
30 s1 = bytearray; in test()
33 if (s1 == bytearray) {} in test()
36 s1 = bytearray + bytearray; in test()
37 s1 += bytearray; in test()
38 s1 += bytearray + bytearray; in test()
[all …]
H A Dmain.cpp_fixed.cpp.expected18 QByteArray bytearray;
20 QString s2(QString::fromLatin1(bytearray));
21 QString s3(QString::fromLatin1(bytearray + bytearray));
23 QString s5 = QString::fromLatin1(bytearray);
24 QString s6 = QString::fromLatin1(bytearray + bytearray);
30 s1 = QString::fromLatin1(bytearray);
33 if (s1 == QString::fromLatin1(bytearray)) {}
36 s1 = QString::fromLatin1(bytearray + bytearray);
37 s1 += QString::fromLatin1(bytearray);
38 s1 += QString::fromLatin1(bytearray + bytearray);
[all …]
/dports/devel/py-ioflo/ioflo-2.0.0/ioflo/aid/test/
H A Dtest_byting.py67 b = bytearray([1, 2, 3])
84 b = bytearray([1, 2, 3])
170 packed = bytearray([0xd4])
177 packed = bytearray([])
246 packed = bytearray([212])
253 packed = bytearray([])
334 b = bytearray()
391 b = bytearray()
413 b = bytearray([0x0b])
429 b = bytearray([0x0f])
[all …]
/dports/databases/py-mysql-connector-python/mysql-connector-python-8.0.27/tests/
H A Dtest_protocol.py49 ERR_PACKET = bytearray(
61 SEED = bytearray(
74 'allset': bytearray(
80 'nopass': bytearray(
85 'nouser': bytearray(
91 'nodb': bytearray(
176 'allset': bytearray(
213 handshake = bytearray(
512 exp = bytearray(
556 exp = bytearray(
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/third_party/pyu2f/pyu2f/tests/
H A Dhardware_test.py42 sk.CmdPing(bytearray(b'foo'))
63 self.assertEquals(reply, bytearray([0x01, 0x02]))
89 self.assertEquals(reply, bytearray(b'U2F_V2'))
92 self.assertEquals(sent_msg, bytearray(
100 bytearray([0x67, 0x00]),
101 bytearray(b'U2F_V2\x90\x00')]
104 self.assertEquals(reply, bytearray(b'U2F_V2'))
137 self.assertEquals(reply, bytearray([0x01, 0x02]))
143 bytearray(challenge_param + app_param + bytearray([4, 1, 2, 3, 4])))
160 self.assertEquals(reply, bytearray([0x01, 0x02]))
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/pyu2f/pyu2f/tests/
H A Dhardware_test.py42 sk.CmdPing(bytearray(b'foo'))
63 self.assertEquals(reply, bytearray([0x01, 0x02]))
89 self.assertEquals(reply, bytearray(b'U2F_V2'))
92 self.assertEquals(sent_msg, bytearray(
100 bytearray([0x67, 0x00]),
101 bytearray(b'U2F_V2\x90\x00')]
104 self.assertEquals(reply, bytearray(b'U2F_V2'))
137 self.assertEquals(reply, bytearray([0x01, 0x02]))
143 bytearray(challenge_param + app_param + bytearray([4, 1, 2, 3, 4])))
160 self.assertEquals(reply, bytearray([0x01, 0x02]))
[all …]
/dports/lang/micropython/micropython-1.17/ports/nrf/examples/
H A Dseeed_tft.py104 self.write_data(bytearray([0x20]))
112 self.write_data(bytearray([0x1B]))
117 self.write_data(bytearray([0x10]))
125 self.write_data(bytearray([0xB7]))
129 self.write_data(bytearray([0x08]))
132 self.write_data(bytearray([0x55]))
143 self.write_data(bytearray([0x00]))
147 self.write_data(bytearray([0x01]))
152 bytearray(
176 bytearray(
[all …]
/dports/math/py-cypari2/cypari2-2.1.2/venv/lib/python3.7/site-packages/Cython/Includes/cpython/
H A Dbytearray.pxd5 …# Return true if the object o is a bytearray object or an instance of a subtype of the bytearray t…
8 …# Return true if the object o is a bytearray object, but not an instance of a subtype of the bytea…
10 bytearray PyByteArray_FromObject(object o)
16 bytearray PyByteArray_Concat(object a, object b)
19 Py_ssize_t PyByteArray_Size(object bytearray)
20 # Return the size of bytearray after checking for a NULL pointer.
22 char* PyByteArray_AsString(object bytearray)
26 int PyByteArray_Resize(object bytearray, Py_ssize_t len)
27 # Resize the internal buffer of bytearray to len.
29 char* PyByteArray_AS_STRING(object bytearray)
[all …]
/dports/lang/cython/Cython-0.29.24/Cython/Includes/cpython/
H A Dbytearray.pxd5 …# Return true if the object o is a bytearray object or an instance of a subtype of the bytearray t…
8 …# Return true if the object o is a bytearray object, but not an instance of a subtype of the bytea…
10 bytearray PyByteArray_FromObject(object o)
16 bytearray PyByteArray_Concat(object a, object b)
19 Py_ssize_t PyByteArray_Size(object bytearray)
20 # Return the size of bytearray after checking for a NULL pointer.
22 char* PyByteArray_AsString(object bytearray)
26 int PyByteArray_Resize(object bytearray, Py_ssize_t len)
27 # Resize the internal buffer of bytearray to len.
29 char* PyByteArray_AS_STRING(object bytearray)
[all …]
/dports/lang/cython/Cython-0.29.24/build/lib.dragonfly-6.3-DEVELOPMENT-x86_64-3.8/Cython/Includes/cpython/
H A Dbytearray.pxd5 …# Return true if the object o is a bytearray object or an instance of a subtype of the bytearray t…
8 …# Return true if the object o is a bytearray object, but not an instance of a subtype of the bytea…
10 bytearray PyByteArray_FromObject(object o)
16 bytearray PyByteArray_Concat(object a, object b)
19 Py_ssize_t PyByteArray_Size(object bytearray)
20 # Return the size of bytearray after checking for a NULL pointer.
22 char* PyByteArray_AsString(object bytearray)
26 int PyByteArray_Resize(object bytearray, Py_ssize_t len)
27 # Resize the internal buffer of bytearray to len.
29 char* PyByteArray_AS_STRING(object bytearray)
[all …]
/dports/lang/cython-devel/cython-2b1e743/Cython/Includes/cpython/
H A Dbytearray.pxd5 …# Return true if the object o is a bytearray object or an instance of a subtype of the bytearray t…
8 …# Return true if the object o is a bytearray object, but not an instance of a subtype of the bytea…
10 bytearray PyByteArray_FromObject(object o)
16 bytearray PyByteArray_Concat(object a, object b)
19 Py_ssize_t PyByteArray_Size(object bytearray)
20 # Return the size of bytearray after checking for a NULL pointer.
22 char* PyByteArray_AsString(object bytearray)
26 int PyByteArray_Resize(object bytearray, Py_ssize_t len)
27 # Resize the internal buffer of bytearray to len.
29 char* PyByteArray_AS_STRING(object bytearray)
[all …]

12345678910>>...144