Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for hi (0.55 sec)

  1. docs/de/docs/advanced/settings.md

    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    kΓΆnnte Ihr Programm so ausgefΓΌhrt werden:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Funktion ausgefΓΌhrt
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    your program could execute like this:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Execute function
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  3. cmd/callhome.go

    	for {
    		select {
    		case hi, hasMore := <-healthInfoCh:
    			if !hasMore {
    				// Received all data. Send to SUBNET and return
    				err := sendHealthInfo(ctx, healthInfo)
    				if err != nil {
    					internalLogIf(ctx, fmt.Errorf("Unable to perform callhome: %w", err))
    				}
    				return
    			}
    			healthInfo = hi
    		case <-healthCtx.Done():
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        assertThat(client.closed).isFalse()
        client.webSocket!!.close(1000, "Hi!")
        server.processNextFrame()
        client.listener.assertClosing(1000, "Hello!")
        server.listener.assertClosing(1000, "Hi!")
        client.webSocket!!.finishReader()
        server.webSocket!!.finishReader()
        client.listener.assertClosed(1000, "Hello!")
        server.listener.assertClosed(1000, "Hi!")
        taskFaker.runTasks()
        assertThat(client.closed).isTrue()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        val request = request().post("Hi?".toRequestBody(PLAIN)).build()
        val response = client.newCall(request).execute()
        response.body.close()
        applicationLogs
          .assertLogEqual("--> POST $url")
          .assertLogEqual("Content-Type: text/plain; charset=utf-8")
          .assertLogEqual("Content-Length: 3")
          .assertLogEqual("")
          .assertLogEqual("Hi?")
          .assertLogEqual("--> END POST (3-byte body)")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  6. cmd/erasure.go

    			di.Scanning = info.Scanning
    			di.State = diskErrToDriveState(err)
    			di.FreeInodes = info.FreeInodes
    			di.UsedInodes = info.UsedInodes
    			if info.Healing {
    				if hi := disks[index].Healing(); hi != nil {
    					hd := hi.toHealingDisk()
    					di.HealInfo = &hd
    				}
    			}
    			di.Metrics = &madmin.DiskMetrics{
    				LastMinute:              make(map[string]madmin.TimedAction, len(info.Metrics.LastMinute)),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 10:02:39 GMT 2024
    - 16K bytes
    - Viewed (1)
  7. src/archive/zip/zip_test.go

    		t.Fatalf("got %v, expected nil", err)
    	}
    	zh := zf.File[0].FileHeader
    	if zh.Name != h.Name || zh.Method != h.Method || zh.UncompressedSize64 != uint64(len("hi")) {
    		t.Fatalf("got %q/%d/%d expected %q/%d/%d", zh.Name, zh.Method, zh.UncompressedSize64, h.Name, h.Method, len("hi"))
    	}
    }
    
    // Issue 4302.
    func TestHeaderInvalidTagAndSize(t *testing.T) {
    	const timeFormat = "20060102T150405.000.txt"
    
    	ts := time.Now()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           *
           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
           * Content-Type: plain/text
           * Content-Length: 3
           *
           * Hi?
           * --> END POST
           *
           * <-- 200 OK (22ms)
           * Content-Type: plain/text
           * Content-Length: 6
           *
           * Hello!
           * <-- END HTTP
           * ```
           */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  9. docs/de/docs/python-types.md

    ```Python
    say_hi()  # Oh, nein, das lâst einen Fehler aus! 😱
    ```
    
    Der `name` Parameter wird **immer noch benΓΆtigt** (nicht *optional*), weil er keinen Default-Wert hat. `name` akzeptiert aber dennoch `None` als Wert:
    
    ```Python
    say_hi(name=None)  # Das funktioniert, None is gΓΌltig πŸŽ‰
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. docs/em/docs/python-types.md

    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    πŸ”’ `name` πŸ”¬ `Optional[str]`, βœ‹οΈ ⚫️ **🚫 πŸ“¦**, πŸ‘† πŸš«πŸ”œ πŸ€™ πŸ”’ 🍡 πŸ”’:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    `name` πŸ”’ **βœ”** (🚫 *πŸ“¦*) ↩️ ⚫️ 🚫 βœ”οΈ πŸ”’ πŸ’². , `name` 🚫 `None` πŸ’²:
    
    ```Python
    say_hi(name=None)  # This works, None is valid πŸŽ‰
    ```
    
    πŸ‘ πŸ“°, πŸ• πŸ‘† πŸ”› 🐍 3️⃣.1️⃣0️⃣ πŸ‘† πŸ† 🚫 βœ”οΈ 😟 πŸ”ƒ πŸ‘ˆ, πŸ‘† πŸ”œ πŸ’ͺ 🎯 βš™οΈ `|` πŸ”¬ πŸ‡ͺπŸ‡Ί πŸ†Ž:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top