Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for sayhi (0.18 sec)

  1. src/cmd/compile/internal/ssa/testdata/sayhi.go

    package foo
    
    import (
    	"fmt"
    	"sync"
    )
    
    func sayhi(n int, wg *sync.WaitGroup) {
    	fmt.Println("hi", n)
    	fmt.Println("hi", n)
    	wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 19:36:41 UTC 2021
    - 137 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug_lines_test.go

    	// If the blocks are reordered in a way that changes the statement order but execution flows correctly,
    	// then rearrange the expected numbers.  Register abi and not-register-abi also have different sequences,
    	// at least for now.
    
    	testDebugLinesDefault(t, "-N -l", "sayhi.go", "sayhi", []int{8, 9, 10, 11}, false)
    }
    
    func TestDebugLinesPushback(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

        @TaskAction def sayHello() {
            println(message.get())
        }
    }
    
    task sayHi(type: HelloTask) {
        group = 'Build'
        message = 'Hi!'
    }"""
    
            when:
            succeeds "tasks", "--types"
    
            then:
            output.contains("""
    Build tasks
    -----------
    sayHi (HelloTask)""")
        }
    
        def "always renders task rule running #tasks"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    	sendHi := make(chan bool, 1)
    	writeErrors := make(chan error, 1)
    	sayHi := HandlerFunc(func(w ResponseWriter, r *Request) {
    		<-sendHi
    		_, werr := w.Write([]byte("hi"))
    		writeErrors <- werr
    	})
    	ctx, cancel := context.WithCancel(context.Background())
    	h := NewTestTimeoutHandler(sayHi, cancelableTimeoutContext{ctx})
    	cst := newClientServerTest(t, mode, h)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. 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")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:14 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. 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")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/settings.md

    🖼, 🚥 👆 ✔️ 🔢:
    
    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    👆 📋 💪 🛠️ 💖 👉:
    
    ```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")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. docs_src/python_types/tutorial009c.py

    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 89 bytes
    - Viewed (0)
  9. docs_src/python_types/tutorial009_py310.py

    def say_hi(name: str | None = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 131 bytes
    - Viewed (0)
  10. docs_src/python_types/tutorial009.py

    from typing import Optional
    
    
    def say_hi(name: Optional[str] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 12 21:44:23 UTC 2020
    - 164 bytes
    - Viewed (0)
Back to top