Home
last modified time | relevance | path

Searched refs:zfill (Results 1 – 25 of 929) sorted by relevance

12345678910>>...38

/dports/sysutils/rmlint/rmlint-2.10.1-11-ga726d0cb/tests/test_robustness/
H A Dtest_8Mlongpathfiles.py18 create_file(str(i).zfill(1 + i), current_path + 'a' + str(i).zfill(7))
19 create_file(str(i).zfill(1 + i), current_path + 'b' + str(i).zfill(7))
20 create_link(current_path + 'a' + str(i).zfill(7), current_path + 'c' + str(i).zfill(7))
21 create_link(current_path + 'a' + str(i).zfill(7), current_path + 'd' + str(i).zfill(7))
22 create_link(current_path + 'a' + str(i).zfill(7), current_path + 'e' + str(i).zfill(7))
23 create_link(current_path + 'a' + str(i).zfill(7), current_path + 'f' + str(i).zfill(7))
24 create_link(current_path + 'b' + str(i).zfill(7), current_path + 'g' + str(i).zfill(7))
25 create_link(current_path + 'b' + str(i).zfill(7), current_path + 'h' + str(i).zfill(7))
H A Dtest_manyfiles.py14 create_file('xxx', 'file' + str(i).zfill(7))
19 create_file(str(i), 'a' + str(i).zfill(7))
20 create_file(str(i), 'b' + str(i).zfill(7))
H A Dtest_manylongpathfiles.py18 create_file('xxx', longpath + 'file' + str(i).zfill(7))
23 create_file(str(i), longpath + 'a' + str(i).zfill(7))
24 create_file(str(i), longpath + 'b' + str(i).zfill(7))
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/test/functional/
H A Dqtum_evm_constantinople_precompiles.py188 abi += "20".zfill(64)
189 abi += hex(len(in_val))[2:].zfill(64)
213 abi += "20".zfill(64)
214 abi += hex(len(in_val))[2:].zfill(64)
237 abi += "20".zfill(64)
238 abi += hex(len(in_out_val) // 2)[2:].zfill(64)
259 abi += hex(base)[2:].zfill(64)
260 abi += hex(e)[2:].zfill(64)
261 abi += hex(m)[2:].zfill(64)
455 abi += "20".zfill(64)
[all …]
H A Dqtum_evm_constantinople_opcodes.py40 abi += hex(0x20)[2:].zfill(64)
41 abi += hex(len(data) // 2)[2:].zfill(64)
92 abi += hex(x)[2:].zfill(64)
93 abi += hex(1 << y)[2:].zfill(64)
106 abi += hex(x)[2:].zfill(64)
107 abi += hex(1 << y)[2:].zfill(64)
184 abi += hex(0x20)[2:].zfill(64)
225 abi += contract_address.zfill(64)
240 abi += contract_address.zfill(64)
254 expected_codehash = '0'.zfill(64)
[all …]
H A Dqtum_create_eth_op_code.py135 data += h160addr.zfill(64)
136 data += hex(int(50*COIN))[2:].zfill(64)
146 data += self.factory_contract_address.zfill(64)
147 data += hex(int(50*COIN))[2:].zfill(64)
155 …de.sendtocontract(self.test_contract_address, "541227e1" + self.factory_contract_address.zfill(64))
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/test/functional/test_framework/
H A Dqtum.py150 ret = node.callcontract(address, abi + hex(index)[2:].zfill(64))
292 …elf.contract_address, self.abiGetCurrentOnVoteStatus + str(type1).zfill(64) + str(type2).zfill(64))
310 …ess, self.abiGetCurrentOnVoteAddressProposal + hex(type1)[2:].zfill(64) + hex(type2)[2:].zfill(64))
545 …assert_equal(out[192:], "80".zfill(64) + hex(65 if delegate_data['pod'] else 0)[2:].zfill(64) + de…
555 abi += staker_address_hex.zfill(64)
556 abi += fee_hex.zfill(64)
557 abi += "60".zfill(64)
558 abi += hex(65)[2:].zfill(64)
572 staker_address_hex.zfill(64), # staker
573 delegator_address_hex.zfill(64) # delegate
[all …]
/dports/games/emptyepsilon/SeriousProton-EE-2021.06.23/src/
H A DstringImproved.cpp445 checkequal(string("123"), string("123").zfill(2)); in __stringTest()
446 checkequal(string("123"), string("123").zfill(3)); in __stringTest()
447 checkequal(string("0123"), string("123").zfill(4)); in __stringTest()
448 checkequal(string("+123"), string("+123").zfill(3)); in __stringTest()
449 checkequal(string("+123"), string("+123").zfill(4)); in __stringTest()
450 checkequal(string("+0123"), string("+123").zfill(5)); in __stringTest()
451 checkequal(string("-123"), string("-123").zfill(3)); in __stringTest()
452 checkequal(string("-123"), string("-123").zfill(4)); in __stringTest()
454 checkequal(string("000"), string("").zfill(3)); in __stringTest()
455 checkequal(string("34"), string("34").zfill(1)); in __stringTest()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dplug_copy.c113 int ival , zfill=0 , ftyp=-1 , dtyp=-1, type_index=-1, data_type=-1 ; in COPY_main() local
146 zfill = PLUTO_string_index( cpt , NFILL , fill_options ) ; in COPY_main()
177 if( zfill == 0 ){ in COPY_main()
182 if( ISFUNCTYPE(dtyp) && ( zfill == 2 ) ) in COPY_main()
204 if ( zfill ) in COPY_main()
219 if( zfill ) { in COPY_main()
228 if ( zfill == 2 ) { /* for 'Zero [One]' case - just make one brick */ in COPY_main()
/dports/misc/libpostal/libpostal-1.1-alpha/scripts/geodata/osm/
H A Dextract.py170 zfill = 0
172 zfill = start_num_len
183 numbers.append(safe_decode(i).zfill(zfill))
185 numbers.append(val.strip().zfill(zfill))
188 numbers.append(safe_decode(val).strip().zfill(zfill))
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/crypto/
H A Dopenssh_cert.py266 str(timeobj.year).zfill(4) +
267 str(timeobj.month).zfill(2) +
268 str(timeobj.day).zfill(2) +
269 str(timeobj.hour).zfill(2) +
271 str(timeobj.second).zfill(2)
285 str(timeobj.year).zfill(4) +
286 str(timeobj.month).zfill(2) +
287 str(timeobj.day).zfill(2) +
288 str(timeobj.hour).zfill(2) +
289 str(timeobj.minute).zfill(2) +
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/infra/bots/recipes/
H A Dupload_nano_results.py38 'nano-json-v1', str(now.year).zfill(4),
39 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
H A Dupload_buildstats_results.py39 'buildstats-json-v1', str(now.year).zfill(4),
40 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
H A Dupload_dm_results.py53 str(now.year ).zfill(4),
54 str(now.month).zfill(2),
55 str(now.day ).zfill(2),
56 str(now.hour ).zfill(2),
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dbuffer_tests.py141 self.assertEqual(b'123', self.marshal(b'123').zfill(2))
142 self.assertEqual(b'123', self.marshal(b'123').zfill(3))
143 self.assertEqual(b'0123', self.marshal(b'123').zfill(4))
144 self.assertEqual(b'+123', self.marshal(b'+123').zfill(3))
145 self.assertEqual(b'+123', self.marshal(b'+123').zfill(4))
147 self.assertEqual(b'-123', self.marshal(b'-123').zfill(3))
148 self.assertEqual(b'-123', self.marshal(b'-123').zfill(4))
150 self.assertEqual(b'000', self.marshal(b'').zfill(3))
151 self.assertEqual(b'34', self.marshal(b'34').zfill(1))
152 self.assertEqual(b'0034', self.marshal(b'34').zfill(4))
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/platform_tools/android/tradefed/
H A Dupload_dm_results.py56 str(now.year ).zfill(4),
57 str(now.month).zfill(2),
58 str(now.day ).zfill(2),
59 str(now.hour ).zfill(2),
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/platform_tools/android/tradefed/
H A Dupload_dm_results.py56 str(now.year ).zfill(4),
57 str(now.month).zfill(2),
58 str(now.day ).zfill(2),
59 str(now.hour ).zfill(2),
/dports/devel/py-future/future-0.18.2/tests/test_future/
H A Dtest_buffer.py147 self.assertEqual(bytes(b'123'), self.marshal(b'123').zfill(2))
148 self.assertEqual(bytes(b'123'), self.marshal(b'123').zfill(3))
149 self.assertEqual(bytes(b'0123'), self.marshal(b'123').zfill(4))
150 self.assertEqual(bytes(b'+123'), self.marshal(b'+123').zfill(3))
151 self.assertEqual(bytes(b'+123'), self.marshal(b'+123').zfill(4))
153 self.assertEqual(bytes(b'-123'), self.marshal(b'-123').zfill(3))
154 self.assertEqual(bytes(b'-123'), self.marshal(b'-123').zfill(4))
156 self.assertEqual(bytes(b'000'), self.marshal(b'').zfill(3))
157 self.assertEqual(bytes(b'34'), self.marshal(b'34').zfill(1))
158 self.assertEqual(bytes(b'0034'), self.marshal(b'34').zfill(4))
[all …]
/dports/net/ryu/ryu-4.26/ryu/tests/unit/ofproto/
H A Dtest_parser_v10.py258 + zfill
366 + zfill
432 + zfill
495 + zfill
546 + zfill
620 + zfill
836 + zfill
901 + zfill
977 + zfill
1132 + zfill
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/arkode/CXX_parallel/
H A Dplot_heat2D.py29 sname = 'heat2d_subdomain.' + repr(i).zfill(3) + '.txt'
40 sname = 'heat2d_subdomain.' + repr(i).zfill(3) + '.txt'
70 data = np.loadtxt('heat2d.' + repr(isub).zfill(3) + '.txt', dtype=np.double)
95 pname = 'heat2d_surf.' + repr(tstep).zfill(3) + '.png'
96 cname = 'heat2d_err.' + repr(tstep).zfill(3) + '.png'
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/arkode/F90_parallel/
H A Dplot_heat2D.py28 sname = 'heat2d_subdomain.' + repr(i).zfill(3) + '.txt'
39 sname = 'heat2d_subdomain.' + repr(i).zfill(3) + '.txt'
69 data = np.loadtxt('heat2d.' + repr(isub).zfill(3) + '.txt', dtype=np.double)
94 pname = 'heat2d_surf.' + repr(tstep).zfill(3) + '.png'
95 cname = 'heat2d_err.' + repr(tstep).zfill(3) + '.png'
/dports/math/sundials/sundials-5.7.0/examples/arkode/F90_parallel/
H A Dplot_heat2D.py28 sname = 'heat2d_subdomain.' + repr(i).zfill(3) + '.txt'
39 sname = 'heat2d_subdomain.' + repr(i).zfill(3) + '.txt'
69 data = np.loadtxt('heat2d.' + repr(isub).zfill(3) + '.txt', dtype=np.double)
94 pname = 'heat2d_surf.' + repr(tstep).zfill(3) + '.png'
95 cname = 'heat2d_err.' + repr(tstep).zfill(3) + '.png'
/dports/security/john/john-1.9.0-jumbo-1/run/
H A Dradius2john.py50 code = hex(packet[Radius].code)[2:].zfill(2)
51 identifier = hex(packet[Radius].id)[2:].zfill(2)
52 length = hex(packet[Radius].len)[2:].zfill(4)
/dports/math/libsemigroups/libsemigroups-1.3.7/etc/
H A Dbad-assert.py58 assert_str, assert_str + "_" + str(nr).zfill(3)
133 print("Trying with " + str(exclude).zfill(3) + " excluded . . .")
136 + str(exclude).zfill(3)
142 rep.append("#define " + assert_str + "_" + str(j).zfill(3) + "(x)")
/dports/security/py-pyvex/pyvex-9.0.5405/tests/
H A Dtest_spotter.py13 bin_format = bin(0x0f0b)[2:].zfill(16)
58 bin_format = bin(0x8808f380)[2:].zfill(32)
67 bin_format = bin(0xb662)[2:].zfill(16)
76 bin_format = bin(0xb661)[2:].zfill(16)

12345678910>>...38