Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for printf (0.15 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/TestTls13Request.kt

    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 ->
          val handshake = response.handshake
          println(
            "${handshake!!.tlsVersion} ${handshake.cipherSuite} ${response.protocol} " +
    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)
  3. 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 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/bucket/notifications/README.md

     // Create server connection
     natsConnection, _ := nats.Connect("nats://yourusername:yoursecret@localhost:4222")
     log.Println("Connected")
    
     // Subscribe to subject
     log.Printf("Subscribing to subject 'bucketevents'\n")
     natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) {
    
      // Handle the message
      log.Printf("Received message '%s\n", string(msg.Data)+"'")
     })
    
     // Keep the connection alive
     runtime.Goexit()
    }
    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)
  5. 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)
  6. Makefile.core.mk

    # Place the variable Q in front of a command to control echoing of the command being executed.
    Q = $(if $(filter 1,$VERBOSE),,@)
    # Use the variable H to add a header (equivalent to =>) to informational output
    H = $(shell printf "\033[34;1m=>\033[0m")
    
    ifeq ($(origin DEBUG), undefined)
      BUILDTYPE_DIR:=release
    else ifeq ($(DEBUG),0)
      BUILDTYPE_DIR:=release
    else
      BUILDTYPE_DIR:=debug
      export GCFLAGS:=all=-N -l
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  7. docs/distributed/DESIGN.md

                    atTotal += pool.Available
                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
            }
            // Should not happen, but print values just in case.
            panic(fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose))
    }
    ```
    
    ## Other usages
    
    ### Advanced use cases with multiple ellipses
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * As another example, this code prints the human-readable query parameters of a Twitter search:
     *
     * ```java
     * HttpUrl url = HttpUrl.parse("https://twitter.com/search?q=cute%20%23puppies&f=images");
     * for (int i = 0, size = url.querySize(); i < size; i++) {
     *   System.out.println(url.queryParameterName(i) + ": " + url.queryParameterValue(i));
     * }
     * ```
     *
     * which prints:
     *
     * ```
     * q: cute #puppies
     * f: images
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  9. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.4.txt

       FDD0-FDEF; [NONCHARACTER CODE POINTS]
       FFFE-FFFF; [NONCHARACTER CODE POINTS]
       1FFFE-1FFFF; [NONCHARACTER CODE POINTS]
       2FFFE-2FFFF; [NONCHARACTER CODE POINTS]
       3FFFE-3FFFF; [NONCHARACTER CODE POINTS]
       4FFFE-4FFFF; [NONCHARACTER CODE POINTS]
       5FFFE-5FFFF; [NONCHARACTER CODE POINTS]
       6FFFE-6FFFF; [NONCHARACTER CODE POINTS]
       7FFFE-7FFFF; [NONCHARACTER CODE POINTS]
       8FFFE-8FFFF; [NONCHARACTER CODE POINTS]
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 772 bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

     */
    class Stringprep(
      /** Unassigned code points. */
      val unassigned: CodePointSet,
      /** Mappings. Note table B.3 is not used in RFC 3491. */
      val mapping: CodePointMapping,
      /** Prohibited code points. */
      val prohibitSet: CodePointSet,
      /** RandALCat code points; bidi category is "R" or "AL". */
      val randalcatSet: CodePointSet,
      /** LCat code points; bidi category is "L". */
      val lcatSet: CodePointSet,
    ) {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top