- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 108 for runtime_test (0.27 sec)
-
src/runtime/nbpipe_test.go
// Copyright 2019 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. //go:build unix package runtime_test import ( "runtime" "syscall" "testing" "unsafe" ) func TestNonblockingPipe(t *testing.T) { // NonblockingPipe is the test name for nonblockingPipe. r, w, errno := runtime.NonblockingPipe() if errno != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 20:32:54 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/checkptr_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 ( "internal/testenv" "os/exec" "strings" "testing" ) func TestCheckPtr(t *testing.T) { // This test requires rebuilding packages with -d=checkptr=1, // so it's somewhat slow. if testing.Short() { t.Skip("skipping test in -short mode")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 17:15:15 UTC 2022 - 2.9K bytes - Viewed (0) -
src/runtime/start_line_test.go
// Copyright 2022 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 ( "fmt" "internal/testenv" "runtime" "testing" ) // The tests in this file test the function start line metadata included in // _func and inlinedCall. TestStartLine hard-codes the start lines of functions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/codec_test.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 runtime_test import ( "io" "testing" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" runtimetesting "k8s.io/apimachinery/pkg/runtime/testing" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 30 06:58:54 UTC 2019 - 3.7K bytes - Viewed (0) -
src/runtime/symtab_test.go
// Copyright 2009 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" "strings" "testing" "unsafe" ) func TestCaller(t *testing.T) { procs := runtime.GOMAXPROCS(-1) c := make(chan bool, procs) for p := 0; p < procs; p++ { go func() { for i := 0; i < 1000; i++ { testCallerFoo(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 21:46:33 UTC 2022 - 7.5K bytes - Viewed (0) -
src/runtime/unsafepoint_test.go
// Copyright 2023 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 ( "internal/testenv" "os" "os/exec" "reflect" "runtime" "strconv" "strings" "testing" ) // This is the function we'll be testing. // It has a simple write barrier in it. func setGlobalPointer() { globalPointer = nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 20:24:56 UTC 2023 - 3.3K bytes - Viewed (0) -
src/runtime/histogram_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 ( "math" . "runtime" "testing" ) var dummyTimeHistogram TimeHistogram func TestTimeHistogram(t *testing.T) { // We need to use a global dummy because this // could get stack-allocated with a non-8-byte alignment.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:01 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/lfstack_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 ( "math/rand" . "runtime" "testing" "unsafe" ) type MyNode struct { LFNode data int } // allocMyNode allocates nodes that are stored in an lfstack // outside the Go heap.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 23:12:04 UTC 2022 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/extension_test.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 runtime_test import ( "bytes" "encoding/json" "reflect" "testing" "k8s.io/apimachinery/pkg/runtime" ) func TestEmbeddedRawExtensionMarshal(t *testing.T) { type test struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 22:36:37 UTC 2017 - 2.8K bytes - Viewed (0) -
src/runtime/time_test.go
// Copyright 2019 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 ( "bytes" "encoding/binary" "errors" "internal/testenv" "os/exec" "reflect" "runtime" "testing" "time" ) func TestFakeTime(t *testing.T) { if runtime.GOOS == "windows" { t.Skip("faketime not supported on windows") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 03:40:04 UTC 2024 - 3.1K bytes - Viewed (0)