Home
last modified time | relevance | path

Searched refs:resumable_progress (Results 1 – 3 of 3) sorted by relevance

/external/python/google-api-python-client/googleapiclient/
Dhttp.py208 def __init__(self, resumable_progress, total_size): argument
216 self.resumable_progress = resumable_progress
227 return float(self.resumable_progress) / float(self.total_size)
235 def __init__(self, resumable_progress, total_size): argument
242 self.resumable_progress = resumable_progress
253 return float(self.resumable_progress) / float(self.total_size)
830 self.resumable_progress = 0
997 data.seek(self.resumable_progress)
998 chunk_end = self.resumable.size() - self.resumable_progress - 1
1002 data, self.resumable_progress, self.resumable.chunksize()
[all …]
/external/python/google-api-python-client/tests/
Dtest_discovery.py1083 self.assertEquals(0, status.resumable_progress)
1089 self.assertEquals(0, request.resumable_progress)
1095 self.assertEquals(13, request.resumable_progress)
1100 self.assertEquals(media_upload.size() - 1, request.resumable_progress)
1148 self.assertEquals(13, status.resumable_progress)
1155 self.assertEquals(13, request.resumable_progress)
1159 self.assertEquals(media_upload.size() - 1, request.resumable_progress)
1251 status.resumable_progress,
Dtest_http.py478 self.assertEqual(3, status.resumable_progress)
614 self.assertEqual(3, status.resumable_progress)