OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:seek_back_amount
(Results
1 - 2
of
2
) sorted by null
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
test_hashing_helper.py
58
def _testSeekBack(self, initial_position,
seek_back_amount
):
69
seek_back_amount
: Number of bytes to seek backward.
78
initial_position,
seek_back_amount
,
79
'
seek_back_amount
must be less than initial position %s '
80
'(but was actually: %s)' % (initial_position,
seek_back_amount
))
95
wrapper.seek(initial_position -
seek_back_amount
)
97
initial_position -
seek_back_amount
)
100
len(data), tmp_file_len - (initial_position -
seek_back_amount
))
125
for
seek_back_amount
in (TRANSFER_BUFFER_SIZE - 1,
128
self._testSeekBack(initial_position,
seek_back_amount
)
[
all
...]
test_resumable_streaming.py
109
def _testSeekBack(self, initial_reads, buffer_size,
seek_back_amount
):
122
seek_back_amount
: Number of bytes to seek backward.
132
buffer_size,
seek_back_amount
,
133
'
seek_back_amount
must be less than initial position %s '
134
'(but was actually: %s)' % (buffer_size,
seek_back_amount
))
151
wrapper.seek(initial_position -
seek_back_amount
)
153
initial_position -
seek_back_amount
)
156
self._temp_test_file_len - (initial_position -
seek_back_amount
),
158
'Unexpected data length with initial pos %s
seek_back_amount
%s. '
160
(initial_position,
seek_back_amount
,
[
all
...]
Completed in 352 milliseconds