Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 208 for xcTest (0.15 sec)

  1. src/runtime/import_test.go

    // export_test.go.
    //
    // There are a few limitations on runtime package tests that this bridges:
    //
    // 1. Tests use the signature "XTest<name>(t TestingT)". Since runtime can't import
    // testing, test functions can't use testing.T, so instead we have the T
    // interface, which *testing.T satisfies. And we start names with "XTest"
    // because otherwise go test will complain about Test functions with the wrong
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 06 14:45:46 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. docs/fr/docs/async.md

    C'est pourquoi il est logique d'utiliser du code asynchrone ⏸🔀⏯ pour des APIs web.
    
    Ce type d'asynchronicité est ce qui a rendu NodeJS populaire (bien que NodeJS ne soit pas parallèle) et c'est la force du Go en tant que langage de programmation.
    
    Et c'est le même niveau de performance que celui obtenu avec **FastAPI**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_cgo_extra_file.txt

    go 1.16
    -- notcgo.go --
    package p
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    -- x_test.go --
    package p_test
    
    import (
    	. "cgocover4"
    	"testing"
    )
    
    func TestF(t *testing.T) {
    	F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 560 bytes
    - Viewed (0)
  4. platforms/software/resources-http/src/test/resources/org/gradle/internal/resource/transport/http/nexus_dirlisting.html

                                  <a href="http://localhost:8081/nexus/content/repositories/central/junit/junit/maven-metadata.xml">maven-metadata.xml</a>
                              </td>
                <td>
                  Thu Sep 29 21:19:50 CEST 2011
                </td>
                <td align="right">
                                  817
                              </td>
                <td>
                  &nbsp;
                </td>
              </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. docs/fr/docs/python-types.md

    ```
    
    à :
    
    ```Python
        first_name: str, last_name: str
    ```
    
    C'est tout.
    
    Ce sont des annotations de types :
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    À ne pas confondre avec la déclaration de valeurs par défaut comme ici :
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    C'est une chose différente.
    
    On utilise un deux-points (`:`), et pas un égal (`=`).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_cgo_xtest.txt

    module cgocover2
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    -- x_test.go --
    package p_test
    
    import (
    	. "cgocover2"
    	"testing"
    )
    
    func TestF(t *testing.T) {
    	F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 464 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_cgo_extra_test.txt

    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    -- p_test.go --
    package p
    -- x_test.go --
    package p_test
    
    import (
    	. "cgocover3"
    	"testing"
    )
    
    func TestF(t *testing.T) {
    	F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 584 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_benchmark_1x.txt

    # Test that -benchtime 1x only runs a total of 1 loop iteration.
    # See golang.org/issue/32051.
    
    go test -run ^$ -bench . -benchtime 1x
    
    -- go.mod --
    module bench
    
    go 1.16
    -- x_test.go --
    package bench
    
    import (
    	"fmt"
    	"os"
    	"testing"
    )
    
    var called = false
    
    func TestMain(m *testing.M) {
    	m.Run()
    	if !called {
    		fmt.Println("benchmark never called")
    		os.Exit(1)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 21:46:33 UTC 2021
    - 532 bytes
    - Viewed (0)
  9. docs/debugging/hash-set/main.go

    	"log"
    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/std_vendor.txt

    # Packages outside the standard library should not use its copy of vendored packages.
    cd broken
    ! go build
    stderr 'cannot find package'
    
    -- go.mod --
    module m
    
    -- x.go --
    package x
    
    -- x_test.go --
    package x
    import "testing"
    import _ "net/http"
    func Test(t *testing.T) {}
    
    -- broken/go.mod --
    module broken
    -- broken/http.go --
    package broken
    
    import (
    	_ "net/http"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 975 bytes
    - Viewed (0)
Back to top