| /external/aws-sdk-java-v2/docs/design/services/s3/transfermanager/listener/ |
| D | README.md | 5 # v2 Transfer Manager Progress Listeners 9 …-initiated uploads and downloads. The classic example use case of a `ProgressListener` is to allow… 47 // TM-specific events: 61 1. There are *many* event types that can trigger a progress listener update. 62 2. Some events are generic and some are unique to `TransferManager`-related requests. 65 …2. For example, `{REQUEST_CONTENT_LENGTH_EVENT, bytes}` refers to the content-length bytes (the nu… 72 …om/sdk-for-java/v1/developer-guide/examples-s3-transfermanager.html#transfermanager-get-status-and… 83 *This is incorrect. A single ProgressEvent does not track a past-seen content length, nor does it a… 85 …the total number of bytes processed so far. Every `TransferManager`-initiated transfer is associat… 88 TransferProgress progress = transfer.getProgress(); [all …]
|
| /external/google-java-format/.github/workflows/ |
| D | release.yml | 1 name: Release google-java-format 11 build-maven-jars: 12 runs-on: ubuntu-latest 16 - name: Checkout 19 - name: Set up JDK 20 uses: actions/setup-java@v2.5.0 22 java-version: 17 25 server-id: sonatype-nexus-staging 26 server-username: CI_DEPLOY_USERNAME 27 server-password: CI_DEPLOY_PASSWORD [all …]
|
| /external/curl/lib/ |
| D | progress.c | 21 * SPDX-License-Identifier: curl 30 #include "progress.h" 44 strcpy(r, "--:--:--"); in time2str() 49 curl_off_t m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60); in time2str() 50 curl_off_t s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60)); in time2str() 58 h = (seconds - (d*CURL_OFF_T_C(86400))) / CURL_OFF_T_C(3600); in time2str() 95 /* 10000 MB - 100 GB, we show it as XX.XG */ in max5data() 123 pgrsStartNow() - sets start time 124 pgrsSetDownloadSize(x) - known expected download size 125 pgrsSetUploadSize(x) - known expected upload size [all …]
|
| D | urldata.h | 23 * SPDX-License-Identifier: curl 157 /* return the count of bytes sent, or -1 on error */ 158 typedef ssize_t (Curl_send)(struct Curl_easy *data, /* transfer */ 164 /* return the count of bytes read, or -1 on error */ 165 typedef ssize_t (Curl_recv)(struct Curl_easy *data, /* transfer */ 191 #include "c-hyper.h" 192 #include "cf-socket.h" 231 * are not NULL, but no longer have the MAGIC touch. This gives 234 (((x) && ((x)->magic == CURLEASY_MAGIC_NUMBER))? TRUE: \ 238 ((x) && ((x)->magic == CURLEASY_MAGIC_NUMBER)) [all …]
|
| /external/pigweed/pw_transfer/java/main/dev/pigweed/pw_transfer/ |
| D | Transfer.java | 7 // https://www.apache.org/licenses/LICENSE-2.0 31 /** Base class for tracking the state of a read or write transfer. */ 32 abstract class Transfer<T> extends AbstractFuture<T> { class 33 private static final Logger logger = Logger.forClass(Transfer.class); 35 // Largest nanosecond instant. Used to block indefinitely when no transfers are 60 * Creates a new read or write transfer. 62 * @param resourceId The resource ID of the transfer 65 * @param timeoutSettings Timeout and retry settings for this transfer. 67 * @param shouldAbortCallback BooleanSupplier that returns true if a transfer 70 Transfer(int resourceId, in Transfer() method in Transfer [all …]
|
| /external/gson/.github/workflows/ |
| D | check-api-compatibility.yml | 6 check-api-compatibility: 7 runs-on: ubuntu-latest 10 - name: Checkout old version 14 path: 'gson-old-japicmp' 16 - name: Set up JDK 11 17 uses: actions/setup-java@v3 20 java-version: '11' 23 - name: Build old version 25 cd gson-old-japicmp 27 …mvn --batch-mode --no-transfer-progress org.codehaus.mojo:versions-maven-plugin:2.11.0:set -DnewVe… [all …]
|
| /external/sdk-platform-java/.github/workflows/ |
| D | nightly.yaml | 5 - cron: '0 1 * * *' # Nightly at 1am 12 fail-fast: false 14 os: [ macOS-12, ubuntu-22.04, windows-2022 ] 16 runs-on: ${{ matrix.os }} 18 - run: git config --global core.longpaths true 19 - uses: actions/checkout@v3 20 - uses: actions/setup-java@v3 22 java-version: ${{ matrix.java }} 25 - run: mvn -version 26 - name: Unit Tests [all …]
|
| D | ci.yaml | 4 - main 11 runs-on: ubuntu-22.04 16 - uses: actions/checkout@v3 17 - uses: actions/setup-java@v3 19 java-version: ${{ matrix.java }} 22 - run: java -version 23 - name: Unit Tests 25 mvn test --batch-mode --no-transfer-progress -Dcheckstyle.skip \ 26 -Dfmt.skip -DenableTestCoverage 27 - run: bazelisk version [all …]
|
| /external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/main/java/software/amazon/awssdk/transfer/s3/progress/ |
| D | TransferListener.java | 16 package software.amazon.awssdk.transfer.s3.progress; 25 import software.amazon.awssdk.transfer.s3.S3TransferManager; 26 import software.amazon.awssdk.transfer.s3.model.CompletedFileDownload; 27 import software.amazon.awssdk.transfer.s3.model.CompletedFileUpload; 28 import software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer; 29 import software.amazon.awssdk.transfer.s3.model.DownloadFileRequest; 30 import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; 31 import software.amazon.awssdk.transfer.s3.model.TransferRequest; 32 import software.amazon.awssdk.transfer.s3.model.UploadFileRequest; 35 …r} interface may be implemented by your application in order to receive event-driven updates on the [all …]
|
| /external/pigweed/pw_transfer/ts/ |
| D | transfer_test.ts | 7 // https://www.apache.org/licenses/LICENSE-2.0 15 /* eslint-env browser */ 33 import { ProgressStats } from './transfer'; 37 describe('Transfer client', () => { 49 service = client.channel(1)!.service('pw.transfer.Transfer')!; 129 it('read transfer basic', async () => { 138 expect(sentChunks[sentChunks.length - 1].hasStatus()).toBe(true); 139 expect(sentChunks[sentChunks.length - 1].getStatus()).toEqual(Status.OK); 142 it('read transfer multichunk', async () => { 152 expect(sentChunks[sentChunks.length - 1].hasStatus()).toBe(true); [all …]
|
| D | transfer.ts | 7 // https://www.apache.org/licenses/LICENSE-2.0 60 * This can be used to implement watchdog-like behavior, where a callback 78 * A client-side data transfer through a Manager. 81 * of transfer, receiving messages from the server and sending the appropriate 84 export abstract class Transfer { class 106 /** Returns the initial chunk to notify the server of the transfer. */ 124 …`Received no responses for ${this.responseTimer?.timeoutS}; retrying ${this.retries}/${this.maxRet… 131 /** Sends the initial chunk of the transfer. */ 137 /** Ends the transfer with the specified status */ 151 /** Ends the transfer without sending a completion chunk */ [all …]
|
| /external/googleapis/google/cloud/netapp/v1/ |
| D | replication.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 33 // TransferStats reports all statistics related to replication transfer. 35 // bytes trasferred so far in current transfer. 38 // Total time taken during transfer. 41 // Last transfer size in bytes. 44 // Time taken during last transfer. 51 // Time when progress was updated last. 54 // Time when last transfer completed. 57 // A message describing the cause of the last transfer failure. 62 // cross-region replication relationship between 2 volumes in different [all …]
|
| /external/python/apitools/apitools/base/py/ |
| D | transfer.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 56 """Print download progress based on response.""" 57 if 'content-range' in response.info: 58 print('Received %s' % response.info['content-range']) 69 """Print upload progress based on response.""" 147 url: The url for this transfer. 173 'Cannot re-initialize %s' % self._type_name) 199 'auto_transfer', 'progress', 'total_size', 'url')) 214 def progress(self): member in Download 242 missing_keys = cls._REQUIRED_SERIALIZATION_KEYS - set(info.keys()) [all …]
|
| /external/sg3_utils/doc/ |
| D | sg_dd.8 | 1 .TH SG_DD "8" "August 2022" "sg3_utils\-1.48" SG3_UTILS 3 sg_dd \- copy data to and from files and devices, especially SCSI 9 [\fIoflag=FLAGS\fR] [\fIseek=SEEK\fR] [\fIskip=SKIP\fR] [\fI\-\-help\fR] 10 [\fI\-\-verbose\fR] [\fI\-\-version\fR] 16 [\fIverbose=VERB\fR] [\fI\-\-dry\-run\fR] [\fI\-\-progress\fR] 17 [\fI\-\-verify\fR] 33 When the \fI\-\-verify\fR option is given, then the read side is the 36 MISCOMPARE then the verify operation will stop. The \fI\-\-verify\fR 38 a block device with oflag=sgio also given. When the \fI\-\-verify\fR 69 transfer or memory restrictions). When cd/dvd drives are accessed, the [all …]
|
| /external/curl/src/ |
| D | tool_listhelp.c | 21 * SPDX-License-Identifier: curl 36 {" --abstract-unix-socket <path>", 39 {" --alt-svc <filename>", 40 "Enable alt-svc with this cache file", 42 {" --anyauth", 45 {"-a, --append", 48 {" --aws-sigv4 <provider1[:prvdr2[:reg[:srv]]]>", 51 {" --basic", 54 {" --ca-native", 57 {" --cacert <file>", [all …]
|
| /external/curl/docs/ |
| D | curl.1 | 8 .\" * Copyright (C) 1998 \- 2021, Daniel Stenberg, <daniel@haxx.se>, et al. 27 curl \- transfer a URL 38 authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer 42 curl is powered by libcurl for all transfer-related features. See 45 The URL syntax is protocol-dependent. You find a detailed description in 55 "ftp://ftp.example.com/file[1-100].txt" 57 "ftp://ftp.example.com/file[001-100].txt" (with leading zeros) 59 "ftp://ftp.example.com/file[a-z].txt" 64 "http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html" 73 "http://example.com/file[1-100:10].txt" [all …]
|
| /external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/main/java/software/amazon/awssdk/transfer/s3/internal/ |
| D | CrtS3TransferManager.java | 16 package software.amazon.awssdk.transfer.s3.internal; 22 import static software.amazon.awssdk.transfer.s3.internal.GenericS3TransferManager.assertNotUnsuppo… 23 import static software.amazon.awssdk.transfer.s3.internal.utils.FileUtils.fileNotModified; 37 import software.amazon.awssdk.transfer.s3.S3TransferManager; 38 import software.amazon.awssdk.transfer.s3.internal.model.CrtFileUpload; 39 import software.amazon.awssdk.transfer.s3.internal.progress.TransferProgressUpdater; 40 import software.amazon.awssdk.transfer.s3.model.CompletedFileUpload; 41 import software.amazon.awssdk.transfer.s3.model.FileUpload; 42 import software.amazon.awssdk.transfer.s3.model.ResumableFileUpload; 43 import software.amazon.awssdk.transfer.s3.model.UploadFileRequest; [all …]
|
| /external/kernel-headers/original/uapi/linux/ |
| D | pg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 20 status information. A read will fail if there is no operation 21 in progress. 24 and in this case, no following read is expected, or permitted. 26 There are no ioctl() operations. Any single operation 27 may transfer at most PG_MAX_DATA bytes. Note that the driver must 51 int dlen; /* number of bytes expected to transfer */ 61 int dlen; /* size of device transfer request */
|
| /external/pigweed/pw_transfer/py/pw_transfer/ |
| D | client.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 25 from pw_transfer.transfer import ( 29 Transfer, 42 _TransferDict = dict[int, Transfer] 60 def is_open(self) -> bool: 63 def open(self, force: bool = False) -> None: 70 def close(self) -> None: 75 def send(self, chunk: Chunk) -> None: 79 def _on_chunk_received(self, chunk: Chunk) -> None: 83 def _on_stream_error(self, rpc_status: Status) -> None: [all …]
|
| D | transfer.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 37 def percent_received(self) -> float: 43 def __str__(self) -> str: 64 def start(self, timeout_s: float | None = None) -> None: 68 This can be used to implement watchdog-like behavior, where a callback 75 def stop(self) -> None: 81 async def _run(self, timeout_s: float) -> None: 87 class Transfer(abc.ABC): class 88 """A client-side data transfer through a Manager. 91 of transfer, receiving messages from the server and sending the appropriate [all …]
|
| /external/curl/docs/libcurl/ |
| D | curl_easy_pause.md | 1 --- 3 SPDX-License-Identifier: curl 7 See-also: 8 - curl_easy_cleanup (3) 9 - curl_easy_reset (3) 11 - All 12 --- 16 curl_easy_pause - pause and unpause a connection 38 transfer is unpaused. 42 progress callback (CURLOPT_PROGRESSFUNCTION(3)). [all …]
|
| D | libcurl-tutorial.md | 1 --- 3 SPDX-License-Identifier: curl 4 Title: libcurl-tutorial 7 See-also: 8 - libcurl-easy (3) 9 - libcurl-errors (3) 10 - libcurl-multi (3) 11 - libcurl-url (3) 13 - All 14 --- [all …]
|
| /external/curl/tests/libtest/ |
| D | lib579.c | 21 * SPDX-License-Identifier: curl 44 static int prev_ultotal = -1; in progress_callback() 45 static int prev_ulnow = -1; in progress_callback() 50 /* to avoid depending on timing, which will cause this progress function to in progress_callback() 59 fprintf(moo, "Progress callback called with UL %d out of %d\n", in progress_callback() 77 data = post[pooh->counter]; in read_callback() 82 pooh->counter++; /* advance pointer */ in read_callback() 85 return 0; /* no more data left to deliver */ in read_callback() 108 slist = curl_slist_append(slist, "Transfer-Encoding: chunked"); in test() 134 /* enforce chunked transfer by setting the header */ in test() [all …]
|
| /external/aws-sdk-java-v2/.changes/2.18.x/ |
| D | 2.18.40.json | 3 "date": "2022-12-15", 7 "category": "Amazon S3 Transfer Manager", 9 …"description": "Require setting the bytes transferred on transfer progress snapshots. This prevent… 13 "category": "Amazon S3 Transfer Manager", 19 "category": "Amazon S3 Transfer Manager", 21 …"description": "Fixed issues in S3 Transfer Manager resumeDownloadFile API where errors were being… 27 …achines using tag-based policies for AWS tags mapped from vSphere tags. This release also adds sup… 39 …"description": "Adds an optional create-only `KmsKeyId` property to Environment and Application re… 43 "category": "Amazon S3 Transfer Manager", 45 …hese can be configured directly to S3TransferManagerBuilder, upload and transfer Requests. Also re… [all …]
|
| /external/mockftpserver/tags/1.2.2/src/main/resources/ |
| D | ReplyText.properties | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 # Mapping of reply code -> reply text 18 125=Data connection already open; transfer starting. 29 225=Data connection open; no transfer in progress. 42 426=Connection closed; transfer aborted. 57 # File unavailable (e.g., file not found, no access).
|