Home
last modified time | relevance | path

Searched refs:tobytes (Results 126 – 150 of 1412) sorted by relevance

12345678910>>...57

/dports/deskutils/recoll/recoll-1.31.2/filters/
H A Drclaudio182 def tobytes(s):
348 minf[tag] = tobytes(val)
373 minf[ntag] = tobytes(val)
418 minf['embdimg'] = tobytes(embdimg)
437 docdata = tobytes(mutf.pprint())
/dports/multimedia/vmaf/vmaf-2.3.0/python/vmaf/tools/
H A Dwriter.py122 self.file.write(y.astype(pix_type).tobytes())
124 self.file.write(u.astype(pix_type).tobytes())
126 self.file.write(v.astype(pix_type).tobytes())
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/lib/Crypto/Hash/
H A DHMAC.py34 from Crypto.Util.py3compat import bord, tobytes
68 key = key.tobytes()
191 self.verify(unhexlify(tobytes(hex_mac_tag)))
/dports/security/py-pycryptodome/pycryptodome-3.10.1/lib/Crypto/Hash/
H A DHMAC.py34 from Crypto.Util.py3compat import bord, tobytes
68 key = key.tobytes()
191 self.verify(unhexlify(tobytes(hex_mac_tag)))
/dports/math/py-yt/yt-4.0.1/yt/frontends/gadget/
H A Dtesting.py23 fp.write(size.tobytes())
24 fp.write(data.tobytes())
25 fp.write(size.tobytes())
/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/ttLib/tables/
H A DasciiTable.py1 from fontTools.misc.textTools import strjoin, tobytes, tostr
21 self.data = tobytes("\n".join(lines[1:-1]))
H A DT_S_I_V_.py1 from fontTools.misc.textTools import strjoin, tobytes, tostr
20 self.data = tobytes("\r".join(lines[1:-1]))
/dports/graphics/libpillowfight/libpillowfight-dae21f97de872e4ad2e94f1b0fc53302a00259fd/tests/
H A Dtests_ace.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_blackfilter.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_border.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_canny.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_sobel.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_masks.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_noisefilter.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_blurfilter.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_grayfilter.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_gaussian.py25 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
H A Dtests_compare.py31 self.assertEqual(out_img.tobytes(), expected_img.tobytes())
/dports/textproc/py-pyexcel-ezodf/pyexcel-ezodf-0.3.4/ezodf/
H A Dbytestreammanager.py25 filename.write(self.tobytes())
28 fp.write(self.tobytes())
/dports/graphics/py-pyx/PyX-0.15/pyx/font/
H A Dt1code.py34 return plain.tobytes()[n:]
42 return code.tobytes()
/dports/math/py-yt/yt-4.0.1/yt/utilities/answer_testing/
H A Danswer_tests.py54 result = hashlib.md5(bytes(g.id) + g[field].tobytes())
56 result.update(bytes(g.id) + g[field].tobytes())
80 result = hashlib.md5(k + v.tobytes())
82 result.update(k + v.tobytes())
127 result = hashlib.md5(k + v.tobytes())
129 result.update(k + v.tobytes())
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/python/google/protobuf/internal/
H A Ddecoder.py196 tag_bytes = buffer[start:pos].tobytes()
324 float_bytes = buffer[pos:new_pos].tobytes()
368 double_bytes = buffer[pos:new_pos].tobytes()
423 (tag_bytes, buffer[value_start_pos:pos].tobytes()))
461 (tag_bytes, buffer[pos:new_pos].tobytes()))
499 (tag_bytes, buffer[value_start_pos:pos].tobytes()))
546 byte_str = memview.tobytes()
616 value.append(buffer[pos:new_pos].tobytes())
629 field_dict[key] = buffer[pos:new_pos].tobytes()
814 (MESSAGE_SET_ITEM_TAG, buffer[message_set_item_start:pos].tobytes()))
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/python/google/protobuf/internal/
H A Ddecoder.py196 tag_bytes = buffer[start:pos].tobytes()
324 float_bytes = buffer[pos:new_pos].tobytes()
368 double_bytes = buffer[pos:new_pos].tobytes()
423 (tag_bytes, buffer[value_start_pos:pos].tobytes()))
461 (tag_bytes, buffer[pos:new_pos].tobytes()))
499 (tag_bytes, buffer[value_start_pos:pos].tobytes()))
546 byte_str = memview.tobytes()
616 value.append(buffer[pos:new_pos].tobytes())
629 field_dict[key] = buffer[pos:new_pos].tobytes()
814 (MESSAGE_SET_ITEM_TAG, buffer[message_set_item_start:pos].tobytes()))
[all …]
/dports/archivers/lazperf/laz-perf-2.0.0/python/test/
H A Dtest_lazperf_extrabytes.py122 "<Q", points_compressed[:LASZIP_CHUNK_TABLE_SIZE].tobytes()
133 chunk_table = points_compressed[relative_chunk_table_offset:].tobytes()
140 points_compressed = points_compressed[LASZIP_CHUNK_TABLE_SIZE:].tobytes()
/dports/www/py-hyper/hyper-18b629b/hyper/http11/
H A Dresponse.py161 chunk = self._sock.recv(amt).tobytes()
225 chunk_length = int(self._sock.readline().tobytes().strip(), 16)
241 chunk = self._sock.recv(chunk_length).tobytes()
287 chunk = self._sock.recv(65535).tobytes()

12345678910>>...57