Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 7,967 for testLang (0.26 sec)

  1. src/math/big/gcd_test.go

    func BenchmarkGCD100x10000(b *testing.B)     { runGCD(b, 100, 10000) }
    func BenchmarkGCD100x100000(b *testing.B)    { runGCD(b, 100, 100000) }
    func BenchmarkGCD1000x1000(b *testing.B)     { runGCD(b, 1000, 1000) }
    func BenchmarkGCD1000x10000(b *testing.B)    { runGCD(b, 1000, 10000) }
    func BenchmarkGCD1000x100000(b *testing.B)   { runGCD(b, 1000, 100000) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 19:11:43 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fail_fast.txt

    package failfast
    
    import "testing"
    
    func TestA(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestFailingA(t *testing.T) {
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    func TestB(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestParallelFailingA(t *testing.T) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/testing/testing_test.go

    var testingTrueInPackageVarInit = testing.Testing()
    
    // init is part of TestTesting.
    func init() {
    	if testing.Testing() {
    		testingTrueInInit = true
    	}
    }
    
    var testingProg = `
    package main
    
    import (
    	"fmt"
    	"testing"
    )
    
    func main() {
    	fmt.Println(testing.Testing())
    }
    `
    
    func TestTesting(t *testing.T) {
    	if !testing.Testing() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/testdata/panic.test

    	panic: oops
    
    goroutine 7 [running]:
    testing.tRunner.func1(0xc000092100)
    	/go/src/testing/testing.go:874 +0x3a3
    panic(0x1110ea0, 0x116aea0)
    	/go/src/runtime/panic.go:679 +0x1b2
    command-line-arguments.TestPanic(0xc000092100)
    	a_test.go:6 +0x39
    testing.tRunner(0xc000092100, 0x114f500)
    	go/src/testing/testing.go:909 +0xc9
    created by testing.(*T).Run
    	go/src/testing/testing.go:960 +0x350
    FAIL	command-line-arguments	0.042s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 30 20:46:44 UTC 2019
    - 479 bytes
    - Viewed (0)
  5. src/fmt/scan_test.go

    		}
    	}
    }
    
    func TestScan(t *testing.T) {
    	for _, r := range readers {
    		t.Run(r.name, func(t *testing.T) {
    			testScan(t, r.f, Fscan)
    		})
    	}
    }
    
    func TestScanln(t *testing.T) {
    	for _, r := range readers {
    		t.Run(r.name, func(t *testing.T) {
    			testScan(t, r.f, Fscanln)
    		})
    	}
    }
    
    func TestScanf(t *testing.T) {
    	for _, test := range scanfTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.testers.CollectionSerializationEqualTester;
    import com.google.common.collect.testing.testers.ListAddAllAtIndexTester;
    import com.google.common.collect.testing.testers.ListAddAllTester;
    import com.google.common.collect.testing.testers.ListAddAtIndexTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.testers.MapClearTester;
    import com.google.common.collect.testing.testers.MapComputeIfAbsentTester;
    import com.google.common.collect.testing.testers.MapComputeIfPresentTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionCreationTester;
    import com.google.common.collect.testing.testers.CollectionEqualsTester;
    import com.google.common.collect.testing.testers.CollectionIsEmptyTester;
    import com.google.common.collect.testing.testers.CollectionIteratorTester;
    import com.google.common.collect.testing.testers.CollectionRemoveAllTester;
    import com.google.common.collect.testing.testers.CollectionRemoveTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/virtualservice_host_not_found_gateway_with_ns_prefix_beta.yaml

      hosts:
        - testing-01.com # Expected: no validation error because this host exists
      http:
        - match:
            - uri:
                prefix: /
          route:
            - destination:
                host: ratings
    ---
    apiVersion: networking.istio.io/v1beta1
    kind: VirtualService
    metadata:
      name: testing-service-01-test-01
      namespace: default
    spec:
      gateways:
        - istio-system/testing-gateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 06 11:29:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_chatty.txt

    package chatty_skipped_fuzz
    
    import "testing"
    
    func Fuzz(f *testing.F) {
        f.Skip()
    }
    
    -- chatty_fuzz_test.go --
    package chatty_fuzz
    
    import "testing"
    
    func Fuzz(f *testing.F) {
        f.Log("all good here")
        f.Fuzz(func(*testing.T, []byte) {})
    }
    
    -- chatty_with_test_fuzz_test.go --
    package chatty_with_test_fuzz
    
    import "testing"
    
    func TestFoo(t *testing.T) {
        t.Log("logged foo")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top