- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for Printf (0.2 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt
// Schedule a job to cancel the call in 1 second. executor.schedule({ System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f) call.cancel() System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f) }, 1, TimeUnit.SECONDS) System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f) try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
docs/features/events.md
callStartNanos = nowNanos; } long elapsedNanos = nowNanos - callStartNanos; System.out.printf("%.3f %s%n", elapsedNanos / 1000000000d, name); } @Override public void callStart(Call call) { printEvent("callStart"); } @Override public void callEnd(Call call) { printEvent("callEnd"); } @Override public void dnsStart(Call call, String domainName) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestTls13Request.kt
return OkHttpClient.Builder() .connectionSpecs(listOf(*specs)) .build() } private fun sendRequest( client: OkHttpClient, url: String, ) { System.out.printf("%-40s ", url) System.out.flush() println(Platform.get()) val request = Request.Builder() .url(url) .build() try { client.newCall(request).execute().use { response ->
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
docs/recipes.md
executor.schedule({ System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f) call.cancel() System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f) }, 1, TimeUnit.SECONDS) System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f) try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Feb 18 08:52:22 GMT 2022 - 40.2K bytes - Viewed (1) -
Makefile
GOLANGCI = $(GOLANGCI_DIR)/golangci-lint all: build checks: ## check dependencies @echo "Checking dependencies" @(env bash $(PWD)/buildscripts/checkdeps.sh) help: ## print this help @grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-40s\033[0m %s\n", $$1, $$2}' getdeps: ## fetch necessary dependencies @mkdir -p ${GOPATH}/bin
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:55:41 GMT 2024 - 10.3K bytes - Viewed (1) -
common/Makefile.common.mk
lint-dockerfiles: @${FINDFILES} -name 'Dockerfile*' -print0 | ${XARGS} hadolint -c ./common/config/.hadolint.yml lint-scripts: @${FINDFILES} -name '*.sh' -print0 | ${XARGS} -n 256 shellcheck lint-yaml: @${FINDFILES} \( -name '*.yml' -o -name '*.yaml' \) -not -exec grep -q -e "{{" {} \; -print0 | ${XARGS} yamllint -c ./common/config/.yamllint.yml lint-helm: @${FINDFILES} -name 'Chart.yaml' -print0 | ${XARGS} -L 1 dirname | xargs -r helm lint --strict
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Mar 02 20:07:36 GMT 2024 - 5.9K bytes - Viewed (0) -
docs/bucket/notifications/README.md
The python program below waits on mqtt topic `/minio` and prints event notifications on the console. We use [paho-mqtt](https://pypi.python.org/pypi/paho-mqtt/) library to do this. ```py #!/usr/bin/env python3 from __future__ import print_function import paho.mqtt.client as mqtt # This is the Subscriber def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # qos level is set to 1
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 84K bytes - Viewed (2) -
CHANGELOG/CHANGELOG-1.15.md
- `kubectl rollout restart` now works for DaemonSets and StatefulSets. ([#77423](https://github.com/kubernetes/kubernetes/pull/77423), [@apelisse](https://github.com/apelisse)) - `kubectl get --watch=true` now prints custom resource definitions with custom print columns. ([#76161](https://github.com/kubernetes/kubernetes/pull/76161), [@liggitt](https://github.com/liggitt))
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Thu May 05 13:44:43 GMT 2022 - 278.9K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/generatorUtils.kt
when (val typeArgument = it.type) { null -> "*" else -> typeConversion(typeArgument) } + nullableSuffix } } print(typeConversion(type)) } val KType.simpleName: String get() = (classifier as KClass<*>).simpleName!! val KType.qualifiedName: String
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Jul 18 11:49:20 GMT 2023 - 1.3K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
reason: String, ) { printStatus("-") } private fun printStatus(s: String) { if (++testCount % 80 == 0) { printStatus("\n") } originalSystemErr?.print(s) } override fun executionFinished( testIdentifier: TestIdentifier, testExecutionResult: TestExecutionResult, ) { if (!testIdentifier.isContainer) { when (testExecutionResult.status!!) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0)