Lines Matching refs:ONE_KIB

112 from gslib.utils.unit_util import ONE_KIB
1318 size_threshold = ONE_KIB
1415 with SetBotoConfigForTest([('GSUtil', 'resumable_threshold', str(ONE_KIB)),
1417 str(ONE_KIB * 256))]):
1506 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
1612 resumable_size = ONE_KIB
2173 with SetBotoConfigForTest([('GSUtil', 'resumable_threshold', str(ONE_KIB))
2200 with SetBotoConfigForTest([('GSUtil', 'resumable_threshold', str(ONE_KIB))
2544 boto_config_for_test = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
2574 boto_config_for_test = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
2588 boto_config_for_test2 = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
2610 boto_config_for_test = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
2624 boto_config_for_test2 = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
2646 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
2673 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
2722 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
2747 str(256 * ONE_KIB)), ('Boto', 'num_retries', '2')]
2753 stdin='a' * 512 * ONE_KIB,
2779 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
2798 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
2807 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
2846 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
2875 contents=b'a' * ONE_KIB * 512)
2878 int(ONE_KIB) * 384)))
2880 str(ONE_KIB))
2882 str(ONE_KIB * 256))
2894 contents=b'b' * ONE_KIB * 512)
2910 contents=b'a' * ONE_KIB * 512)
2913 int(ONE_KIB) * 384)))
2915 str(ONE_KIB))
2917 str(ONE_KIB * 256))
2929 contents=b'a' * ONE_KIB)
3069 fpath = self.CreateTempFile(file_name='foo', contents=b'a' * ONE_KIB)
3070 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3092 object_uri = self.CreateObject(contents=b'foo' * ONE_KIB)
3106 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3158 ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3168 [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
3188 boto_config_for_test = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
3205 boto_config_for_test2 = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
3214 boto_config_for_test3 = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
3236 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3310 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3341 fp.write('abcd' * ONE_KIB)
3345 contents=b'efgh' * ONE_KIB)
3359 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3380 matching_contents = b'abcd' * ONE_KIB
3400 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3415 fpath = self.CreateTempFile(tmpdir=tmp_dir, contents=b'abcd' * ONE_KIB)
3418 contents=b'efgh' * ONE_KIB)
3432 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3441 contents, 'efgh' * ONE_KIB,
3515 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3611 boto_config_for_test = [('GSUtil', 'resumable_threshold', str(ONE_KIB)),
3632 fpath = self.CreateTempFile(contents=b'a' * 2 * ONE_KIB)
3633 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))
3653 contents=b'abc' * ONE_KIB)
3659 ('GSUtil', 'resumable_threshold', str(ONE_KIB)),
3661 ('GSUtil', 'sliced_object_download_threshold', str(ONE_KIB)),
3675 self.assertEqual(f.read(), b'abc' * ONE_KIB, 'File contents differ')
4008 boto_config_for_test = ('GSUtil', 'resumable_threshold', str(ONE_KIB))