- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for runtime_test (0.19 sec)
-
src/runtime/runtime_test.go
// Copyright 2012 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. package runtime_test import ( "flag" "fmt" "io" . "runtime" "runtime/debug" "slices" "strings" "sync" "testing" "time" "unsafe" ) // flagQuick is set by the -quick option to skip some relatively slow tests.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 11.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/runtime/runtime_test.go
Sascha Grunert <******@****.***> 1717050802 +0200
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 06:33:22 UTC 2024 - 11.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go
Patrick Ohly <******@****.***> 1700508300 +0100
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 4.5K bytes - Viewed (0) -
src/runtime/callers_test.go
// Make sure we don't have any extra frames on the stack (due to // open-coded defer processing) want := []string{"runtime.Callers", "runtime_test.TestCallersPanic.func1", "runtime.gopanic", "runtime_test.f3", "runtime_test.f2", "runtime_test.f1", "runtime_test.TestCallersPanic"} defer func() { if r := recover(); r == nil { t.Fatal("did not panic") } pcs := make([]uintptr, 20)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0) -
src/runtime/traceback_system_test.go
traceback_system_test.go:85: runtime_test.child7: panic("oops") traceback_system_test.go:68: runtime_test.child6: child7() // appears in stack trace traceback_system_test.go:59: runtime_test.child5: child6() // appears in stack trace traceback_system_test.go:53: runtime_test.child4: child5() traceback_system_test.go:49: runtime_test.child3: child4() traceback_system_test.go:45: runtime_test.child2: child3()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0) -
src/runtime/import_test.go
// package, which is generally more convenient for testing runtime internals. // For tests that mostly touch public APIs, it's generally easier to write them // in the runtime_test package and export any runtime internals via // export_test.go. // // There are a few limitations on runtime package tests that this bridges: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 06 14:45:46 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/traceback_test.go
r := ttiSimple1() check(t, r, "runtime_test.ttiSimple3(...)", "runtime_test.ttiSimple2(...)", "runtime_test.ttiSimple1()") }) t.Run("sigpanic", func(t *testing.T) { // Check that sigpanic from an inlined function prints correctly r := ttiSigpanic1() check(t, r, "runtime_test.ttiSigpanic1.func1()", "panic", "runtime_test.ttiSigpanic3(...)", "runtime_test.ttiSigpanic2(...)", "runtime_test.ttiSigpanic1()") })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/BUILD
":libtf", "//tensorflow/core:test", "//tensorflow/core:test_main", ], ) cc_library( name = "runtime_test", testonly = 1, srcs = [ "tests/runtime_test.cc", ], hdrs = [ "tests/runtime_test.h", ], data = [":testdata"], deps = [ ":libtf", "//tensorflow/c:tf_datatype",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 27 18:00:18 UTC 2024 - 8.6K bytes - Viewed (0) -
src/runtime/netpoll_os_test.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. package runtime_test import ( "runtime" "sync" "testing" ) var wg sync.WaitGroup func init() { runtime.NetpollGenericInit() } func BenchmarkNetpollBreak(b *testing.B) { b.StartTimer() for i := 0; i < b.N; i++ { for j := 0; j < 10; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 520 bytes - Viewed (0) -
src/runtime/sizeof_test.go
// Copyright 2018 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. package runtime_test import ( "reflect" "runtime" "testing" "unsafe" ) // Assert that the size of important structures do not change unexpectedly. func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 892 bytes - Viewed (0)