- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 962 for testOrg (0.22 sec)
-
src/testing/testing.go
func (m *M) writeProfiles() { if *testlog != "" { if err := m.deps.StopTestLog(); err != nil { fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *testlog, err) os.Exit(2) } if err := testlogFile.Close(); err != nil { fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *testlog, err) os.Exit(2) } } if *cpuProfile != "" { m.deps.StopCPUProfile() // flushes profile to disk }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/kube/krt/testing.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package krt // Dump is a *testing* helper to dump the state of a collection, if possible, into logs. func Dump[O any](c Collection[O]) { c.(internalCollection[O]).dump() } type TestingDummyContext struct{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/volume/testing/testing.go
limitations under the License. */ package testing import ( "fmt" "os" "path/filepath" goruntime "runtime" "strings" "sync" "testing" "time" "k8s.io/klog/v2" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/utils/exec" testingexec "k8s.io/utils/exec/testing" utilstrings "k8s.io/utils/strings" v1 "k8s.io/api/core/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
docs/tr/docs/advanced/testing-websockets.md
Hasan Sezer Taşan <******@****.***> 1716826863 +0300
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 27 16:21:03 UTC 2024 - 471 bytes - Viewed (0) -
src/runtime/crash_test.go
if testprog.target == nil { testprog.target = make(map[string]*buildexe) } name := binary if len(flags) > 0 { name += "_" + strings.Join(flags, "_") } target, ok := testprog.target[name] if !ok { target = &buildexe{} testprog.target[name] = target } dir := testprog.dir // Unlock testprog while actually building, so that other // tests can look up executables that were already built.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/testing/internal/testdeps/deps.go
} // ImportPath is the import path of the testing binary, set by the generated main function. var ImportPath string func (TestDeps) ImportPath() string { return ImportPath } // testLog implements testlog.Interface, logging actions by package os. type testLog struct { mu sync.Mutex w *bufio.Writer set bool } func (l *testLog) Getenv(key string) { l.add("getenv", key) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
testPkg(t, []string{path}, colDelta, manual) }) } } } func testDir(t *testing.T, dir string, colDelta uint, manual bool) { fis, err := os.ReadDir(dir) if err != nil { t.Error(err) return } var filenames []string for _, fi := range fis { filenames = append(filenames, filepath.Join(dir, fi.Name())) } t.Run(filepath.Base(dir), func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
src/internal/testlog/exit.go
// license that can be found in the LICENSE file. package testlog import ( "sync" _ "unsafe" // for linkname ) // PanicOnExit0 reports whether to panic on a call to os.Exit(0). // This is in the testlog package because, like other definitions in // package testlog, it is a hook between the testing package and the // os package. This is used to ensure that an early call to os.Exit(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 1.3K bytes - Viewed (0) -
src/runtime/gc_test.go
func TestMemoryLimitNoGCPercent(t *testing.T) { if testing.Short() { t.Skip("stress test that takes time to run") } if runtime.NumCPU() < 4 { t.Skip("want at least 4 CPUs for this test") } got := runTestProg(t, "testprog", "GCMemoryLimitNoGCPercent") want := "OK\n" if got != want { t.Fatalf("expected %q, but got %q", want, got) } } func TestMyGenericFunc(t *testing.T) { runtime.MyGenericFunc[int]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 22:33:52 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
testlog, err := os.ReadFile(a.Objdir + "testlog.txt") if err != nil || !bytes.HasPrefix(testlog, testlogMagic) || testlog[len(testlog)-1] != '\n' { if cache.DebugTest { if err != nil { fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: %v\n", a.Package.ImportPath, err) } else { fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: malformed\n", a.Package.ImportPath) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0)