Home
last modified time | relevance | path

Searched refs:ONE_MIB (Results 1 – 17 of 17) sorted by relevance

/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/utils/
H A Dunit_util.py69 ONE_MIB = 1024 * ONE_KIB variable
70 ONE_GIB = 1024 * ONE_MIB
73 TWO_MIB = 2 * ONE_MIB
74 EIGHT_MIB = 8 * ONE_MIB
75 TEN_MIB = 10 * ONE_MIB
H A Dconstants.py39 from gslib.utils.unit_util import ONE_MIB
74 MIN_SIZE_COMPUTE_LOGGING = 100 * ONE_MIB
89 RESUMABLE_THRESHOLD_B = RESUMABLE_THRESHOLD_MIB * ONE_MIB
H A Dboto_util.py49 from gslib.utils.unit_util import ONE_MIB
239 compression_chunk_size = 16 * ONE_MIB
510 return config.getint('GSUtil', 'resumable_threshold', 8 * ONE_MIB)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/utils/
H A Dunit_util.py69 ONE_MIB = 1024 * ONE_KIB variable
70 ONE_GIB = 1024 * ONE_MIB
73 TWO_MIB = 2 * ONE_MIB
74 EIGHT_MIB = 8 * ONE_MIB
75 TEN_MIB = 10 * ONE_MIB
H A Dconstants.py39 from gslib.utils.unit_util import ONE_MIB
74 MIN_SIZE_COMPUTE_LOGGING = 100 * ONE_MIB
89 RESUMABLE_THRESHOLD_B = RESUMABLE_THRESHOLD_MIB * ONE_MIB
H A Dboto_util.py48 from gslib.utils.unit_util import ONE_MIB
238 compression_chunk_size = 16 * ONE_MIB
501 return config.getint('GSUtil', 'resumable_threshold', 8 * ONE_MIB)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/gslib/tests/
H A Dtest_rewrite.py45 from gslib.util import ONE_MIB
454 contents=('12'*ONE_MIB) + 'bar',
478 progress_callback=HaltingRewriteCallbackHandler(ONE_MIB*2).call,
479 max_bytes_per_call=ONE_MIB, decryption_tuple=decryption_tuple,
492 contents=('12'*ONE_MIB) + 'bar', prefer_json_api=True,
504 progress_callback = EnsureRewriteRestartCallbackHandler(ONE_MIB).call
507 progress_callback = EnsureRewriteResumeCallbackHandler(ONE_MIB*2).call
512 progress_callback=progress_callback, max_bytes_per_call=ONE_MIB,
H A Dtest_cp.py100 from gslib.util import ONE_MIB
2006 fpath = self.CreateTempFile(contents='a'*ONE_MIB, file_name='foo')
3106 contents=('12'*ONE_MIB) + 'bar',
3127 max_bytes_per_call=ONE_MIB)
3139 max_bytes_per_call=ONE_MIB)
3171 contents=('12'*ONE_MIB) + 'bar',
3192 max_bytes_per_call=ONE_MIB)
3209 max_bytes_per_call=ONE_MIB)
3241 contents=('12'*ONE_MIB) + 'bar',
3262 max_bytes_per_call=ONE_MIB)
[all …]
H A Dtest_metrics.py55 from gslib.util import ONE_MIB
914 file_size = ONE_MIB
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/tests/
H A Dtest_rewrite.py50 from gslib.utils.unit_util import ONE_MIB
582 contents=(b'12' * ONE_MIB) + b'bar',
609 ONE_MIB * 2).call,
610 max_bytes_per_call=ONE_MIB,
624 contents=(b'12' * ONE_MIB) + b'bar',
638 progress_callback = EnsureRewriteRestartCallbackHandler(ONE_MIB).call
641 progress_callback = EnsureRewriteResumeCallbackHandler(ONE_MIB * 2).call
647 max_bytes_per_call=ONE_MIB,
H A Dtest_cp.py113 from gslib.utils.unit_util import ONE_MIB
4006 rand_chars = get_random_ascii_chars(size=(ONE_MIB * 4))
4106 ONE_MIB * 2).call,
4107 max_bytes_per_call=ONE_MIB)
4121 max_bytes_per_call=ONE_MIB)
4178 ONE_MIB * 2).call,
4179 max_bytes_per_call=ONE_MIB)
4201 max_bytes_per_call=ONE_MIB)
4259 ONE_MIB * 2).call,
4260 max_bytes_per_call=ONE_MIB)
[all …]
H A Dtest_metrics.py61 from gslib.utils.unit_util import ONE_MIB
1006 file_size = ONE_MIB
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/tests/
H A Dtest_rewrite.py50 from gslib.utils.unit_util import ONE_MIB
582 contents=(b'12' * ONE_MIB) + b'bar',
609 ONE_MIB * 2).call,
610 max_bytes_per_call=ONE_MIB,
624 contents=(b'12' * ONE_MIB) + b'bar',
638 progress_callback = EnsureRewriteRestartCallbackHandler(ONE_MIB).call
641 progress_callback = EnsureRewriteResumeCallbackHandler(ONE_MIB * 2).call
647 max_bytes_per_call=ONE_MIB,
H A Dtest_cp.py110 from gslib.utils.unit_util import ONE_MIB
3846 rand_chars = get_random_ascii_chars(size=(ONE_MIB * 4))
3946 ONE_MIB * 2).call,
3947 max_bytes_per_call=ONE_MIB)
3961 max_bytes_per_call=ONE_MIB)
4018 ONE_MIB * 2).call,
4019 max_bytes_per_call=ONE_MIB)
4041 max_bytes_per_call=ONE_MIB)
4099 ONE_MIB * 2).call,
4100 max_bytes_per_call=ONE_MIB)
[all …]
H A Dtest_metrics.py61 from gslib.utils.unit_util import ONE_MIB
1003 file_size = ONE_MIB
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/zbase32-0.1.2/src/
H A Dlib.rs316 const ONE_MIB: usize = 1048576; const
426 let data = random_encoded_data(ONE_MIB); in decode_one_mib()
433 let data = random_data(ONE_MIB); in encode_one_mib()
454 let data = random_encoded_data(ONE_MIB); in validate_one_mib()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/gslib/
H A Dutil.py101 ONE_MIB = 1024 * 1024 variable
102 TWO_MIB = 2 * ONE_MIB
103 EIGHT_MIB = 8 * ONE_MIB
104 TEN_MIB = 10 * ONE_MIB
108 RESUMABLE_THRESHOLD_B = RESUMABLE_THRESHOLD_MIB * ONE_MIB