- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 749 for testone (0.28 sec)
-
src/cmd/cgo/internal/testerrors/ptr_test.go
// the add +1 run in serial before testOne blocks. The -1 run in parallel // after testOne finishes. var pending int32 for _, pt := range ptrTests { pt := pt t.Run(pt.name, func(t *testing.T) { atomic.AddInt32(&pending, +1) defer func() { if atomic.AddInt32(&pending, -1) == 0 { os.RemoveAll(dir) } }() testOne(t, pt, exe, exe2) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:49 UTC 2023 - 21.2K bytes - Viewed (0) -
src/time/time_test.go
} return true } // manual test cases for _, tt := range truncateRoundTests { testOne(tt.t.Unix(), int64(tt.t.Nanosecond()), int64(tt.d)) } // exhaustive near 0 for i := 0; i < 100; i++ { for j := 1; j < 100; j++ { testOne(unixToZero, int64(i), int64(j)) testOne(unixToZero, -int64(i), int64(j)) if t.Failed() { return } } } if t.Failed() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
} } func TestOutputDebugString(t *testing.T) { d := GetDLL(t, "kernel32.dll") p := syscall.StringToUTF16Ptr("testing OutputDebugString") d.Proc("OutputDebugStringW").Call(uintptr(unsafe.Pointer(p))) } func TestRaiseException(t *testing.T) { if strings.HasPrefix(testenv.Builder(), "windows-amd64-2012") { testenv.SkipFlaky(t, 49681) } o := runTestProg(t, "testprog", "RaiseException")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/net/http/serve_test.go
<-done } func TestServerNoDate(t *testing.T) { run(t, func(t *testing.T, mode testMode) { testServerNoHeader(t, mode, "Date") }) } func TestServerContentType(t *testing.T) { run(t, func(t *testing.T, mode testMode) { testServerNoHeader(t, mode, "Content-Type") }) } func testServerNoHeader(t *testing.T, mode testMode, header string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go
func TestBranchCondition(t *testing.T) { tests := []struct { ins string a int64 b int64 fn func(a, b int64) bool goFn func(a, b int64) bool want bool }{ {"BGE", 0, 1, testBGE, testGoBGE, false}, {"BGE", 0, 0, testBGE, testGoBGE, true}, {"BGE", 0, -1, testBGE, testGoBGE, true}, {"BGE", -1, 0, testBGE, testGoBGE, false}, {"BGE", 1, 0, testBGE, testGoBGE, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 28 21:56:43 UTC 2022 - 4.4K bytes - Viewed (0) -
src/testing/testing.go
// If this happens during testing of package testing it could be that // package testing's own logic for when to run a test is broken, // in which case every test will run nothing and succeed, // with no obvious way to detect this problem (since no tests are running). // So make 'no tests to run' a hard failure when testing package testing itself. fmt.Print(chatty.prefix(), "FAIL: package testing must run tests\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/compile/internal/test/ssa_test.go
// this directory). func TestCode(t *testing.T) { testenv.MustHaveGoBuild(t) gotool := testenv.GoToolPath(t) // Make a temporary directory to work in. tmpdir := t.TempDir() // Find all the test functions (and the files containing them). var srcs []string // files containing Test functions type test struct { name string // TestFoo usesFloat bool // might use float operations } var tests []test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.9K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/test_ns.xml
Shinsuke Sugaya <******@****.***> 1444529815 +0900
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 707 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testing.go
// Copyright 2020 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. // This file implements testing support. package syntax import ( "io" "regexp" ) // CommentsDo parses the given source and calls the provided handler for each // comment or error. If the text provided to handler starts with a '/' it is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:53:18 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt
Paul Merlin <******@****.***> 1690890212 +0200
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.3K bytes - Viewed (0)