Searched refs:numExistingBytes (Results 1 – 7 of 7) sorted by relevance
46 assertThat(downloadDestination.numExistingBytes()).isEqualTo(0); in numExistingBytes_fileDoesNotExist()55 assertThat(downloadDestination.numExistingBytes()).isEqualTo(0); in numExistingBytes_fileEmpty()65 assertThat(downloadDestination.numExistingBytes()).isEqualTo(targetFile.length()); in numExistingBytes_fileNonEmpty()
156 assertThat(destination.numExistingBytes()).isEqualTo(11); in downloadOneFile()
33 long numExistingBytes() throws IOException; in numExistingBytes() method
627 long numExistingBytes = request.destination().numExistingBytes(); in runRequest() local628 if (numExistingBytes > 0) { in runRequest()630 "Existing bytes found. numExistingBytes=%d, uri=%s", numExistingBytes, request.uri()); in runRequest()631 urlRequestBuilder.addHeader(HttpHeaders.RANGE, "bytes=" + numExistingBytes + "-"); in runRequest()
44 public long numExistingBytes() throws IOException { in numExistingBytes() method in ProtoFileDownloadDestination
48 public long numExistingBytes() throws IOException { in numExistingBytes() method in SimpleFileDownloadDestination