Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for 1979 (0.03 sec)

  1. test/fixedbugs/bug358.go

    // errorcheck -d=panic
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 1979
    // used to get internal compiler error too
    
    package main
    
    import (
    	// avoid imported and not used errors
    	// "io/ioutil"
    	"net/http"
    	// "os"
    )
    
    func makeHandler(fn func(http.ResponseWriter, *http.Request, string)) http.HandlerFunc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 04 06:36:33 UTC 2021
    - 601 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_runs.txt

    go test -short -coverpkg=strings strings regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'regexp.*coverage:.*[1-9][0-9.]+%'
    
    go test -short -cover strings math regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'math.*coverage:.*[1-9][0-9.]+%'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 413 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_cgo_xtest.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test cgo coverage with an external test.
    
    go test -short -cover cgocover2
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover2
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 464 bytes
    - Viewed (0)
  4. src/syscall/syscall_test.go

    	// make sure TESTENV gets set to "", not deleted
    	testSetGetenv(t, "TESTENV", "")
    }
    
    // Check that permuting child process fds doesn't interfere with
    // reporting of fork/exec status. See Issue 14979.
    func TestExecErrPermutedFds(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	attr := &os.ProcAttr{Files: []*os.File{os.Stdin, os.Stderr, os.Stdout}}
    	_, err := os.StartProcess("/", []string{"/"}, attr)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. test/method4.dir/prog.go

    	eq(I2.Sum(t1, a, 15), 25)
    	eq(I2.Sum(t2, a, 16), 26)
    
    	f4 := I2.Sum
    	eq(f4(t1, a, 17), 27)
    	eq(f4(t2, a, 18), 28)
    
    	// issue 6723
    	f5 := (interface {
    		I2
    	}).Sum
    	eq(f5(t1, a, 19), 29)
    	eq(f5(t2, a, 20), 30)
    
    	mt1 := method4a.T1(4)
    	mt2 := &method4a.T2{4}
    
    	eq(mt1.Sum(a, 30), 40)
    	eq(mt2.Sum(a, 31), 41)
    
    	eq(method4a.T1.Sum(mt1, a, 32), 42)
    	eq((*method4a.T2).Sum(mt2, a, 33), 43)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 07 12:26:48 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  6. .github/workflows/sigbuild-docker-branch.yml

      push:
        paths:
          - '.github/workflows/sigbuild-docker-branch.yml'
          - 'tensorflow/tools/tf_sig_build_dockerfiles/**'
          - '!tensorflow/tools/tf_sig_build_dockerfiles/README.md'
        branches:
          - "r[1-9].[0-9]+"
    
    permissions:
      contents: read
    
    jobs:
      docker:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        strategy:
          matrix:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 18:43:43 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. docs/em/docs/how-to/extending-openapi.md

    ### 😐 **FastAPI**
    
    🥇, ✍ 🌐 👆 **FastAPI** 🈸 🛎:
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 🏗 🗄 🔗
    
    ⤴️, ⚙️ 🎏 🚙 🔢 🏗 🗄 🔗, 🔘 `custom_openapi()` 🔢:
    
    ```Python hl_lines="2  15-20"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. docs/de/docs/how-to/extending-openapi.md

    ### Normales **FastAPI**
    
    Schreiben Sie zunächst wie gewohnt Ihre ganze **FastAPI**-Anwendung:
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Das OpenAPI-Schema generieren
    
    Verwenden Sie dann dieselbe Hilfsfunktion, um das OpenAPI-Schema innerhalb einer `custom_openapi()`-Funktion zu generieren:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 14 16:44:05 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/extending-openapi.md

    ### Normal **FastAPI**
    
    First, write all your **FastAPI** application as normally:
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Generate the OpenAPI schema
    
    Then, use the same utility function to generate the OpenAPI schema, inside a `custom_openapi()` function:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    *path operation関数* のdocstringからOpenAPIに使用する行を制限することができます。
    
    `\f` (「書式送り (Form Feed)」のエスケープ文字) を付与することで、**FastAPI** はOpenAPIに使用される出力をその箇所までに制限します。
    
    ドキュメントには表示されませんが、他のツール (例えばSphinx) では残りの部分を利用できるでしょう。
    
    ```Python hl_lines="19-29"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial004.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 09 18:40:27 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top