OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bytesPerPeriod
(Results
1 - 4
of
4
) sorted by null
/external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java
233
* series of {@code
bytesPerPeriod
} bytes are written. Use this to simulate
236
public MockResponse throttleBody(int
bytesPerPeriod
, long period, TimeUnit unit) {
237
this.throttleBytesPerPeriod =
bytesPerPeriod
;
MockWebServer.java
531
int
bytesPerPeriod
= throttlePolicy.getThrottleBytesPerPeriod();
535
for (int b = 0; b <
bytesPerPeriod
; ) {
536
int toRead = (int) Math.min(Math.min(buffer.length, limit),
bytesPerPeriod
- b);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
MockResponse.java
186
* series of {@code
bytesPerPeriod
} bytes are written. Use this to simulate
189
public MockResponse throttleBody(long
bytesPerPeriod
, long period, TimeUnit unit) {
190
this.throttleBytesPerPeriod =
bytesPerPeriod
;
MockWebServer.java
738
long
bytesPerPeriod
= throttlePolicy.getThrottleBytesPerPeriod();
742
for (int b = 0; b <
bytesPerPeriod
; ) {
743
long toRead = Math.min(Math.min(2048, byteCount),
bytesPerPeriod
- b);
[
all
...]
Completed in 62 milliseconds