HomeSort by relevance Sort by last modified time
    Searched refs:send_quota (Results 1 - 4 of 4) sorted by null

  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
mux.py 226 def _create_new_channel_slot(slots, send_quota, outer_frame_mask=False):
229 if send_quota < 0 or send_quota >= 2 ** 32:
230 raise ValueError('Invalid send quota: %d' % send_quota)
232 send_quota_size = _size_of_number_in_bytes_minus_1(send_quota)
237 _encode_number(slots) + _encode_number(send_quota))
401 control_block.send_quota = self._read_number(quota_size)
652 def __init__(self, request, send_quota, receive_quota):
657 send_quota: Initial send quota.
668 self._send_quota = send_quota
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
mux_client_for_testing.py 195 block.send_quota = _read_number(data, size_of_quota, pos)
203 block.send_quota = _read_number(data, size_of_quota, pos)
368 self.send_quota = 0
431 self._logical_channels[block.channel_id].send_quota += (
432 block.send_quota)
437 self._channel_slots.extend([block.send_quota] * block.slots)
497 if self._logical_channels[channel_id].send_quota == 0:
503 if self._logical_channels[channel_id].send_quota == 0:
539 send_quota = self._channel_slots.popleft()
631 self._logical_channels[channel_id].send_quota = send_quot
    [all...]
test_mux.py 742 send_quota=mux._INITIAL_QUOTA_FOR_CLIENT)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
mux.py 201 def _create_new_channel_slot(slots, send_quota):
202 if slots < 0 or send_quota < 0:
203 raise ValueError('slots and send_quota must be non-negative.')
207 _encode_number(send_quota))
411 control_block.send_quota = self._read_number()
451 control_block.send_quota = self._read_number()
813 def __init__(self, request, stream_options, send_quota, receive_quota):
819 send_quota: Initial send quota.
828 self._send_quota = send_quota
    [all...]

Completed in 167 milliseconds