Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for svctest (0.13 sec)

  1. analysis/analysis-api-standalone/testData/sessionBuilder/resolveAgainstCommonKLibFromOtherModule/jvmMain/jvmSrc.kt

    package jvmTest
    
    import common.greetEachOther
    import some.example.Person
    
    private class MyPerson(
        name: String
    ) : Person(name) {
        override fun greet() = "Hi"
    }
    
    fun test() {
        greetEachOther(
            listOf(
                Person("Alice"),
                MyPerson("Bob"),
            )
        )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 07 12:14:19 UTC 2024
    - 293 bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/build.gradle.kts

                }
            }
    
            named("jsTest") {
                dependencies {
                    implementation(kotlin("test-js"))
                }
            }
    
            named("jvmTest") {
                dependencies {
                    implementation(kotlin("test-junit5"))
                    implementation("org.junit.jupiter:junit-jupiter:5.10.1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 07:33:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. pkg/test/framework/integration/framework_test.go

    	if len(tst.children) == 0 {
    		doWork()
    	} else {
    		for _, child := range tst.children {
    			subTest := t.NewSubTest(child.name)
    			if tst.runChildrenParallel {
    				subTest.RunParallel(child.runInternal)
    			} else {
    				subTest.Run(child.runInternal)
    			}
    		}
    	}
    	tst.runEnd = time.Now()
    }
    
    func (tst *test) timeRange() timeRange {
    	return timeRange{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go

    	"golang.org/x/tools/internal/aliases"
    )
    
    //go:embed doc.go
    var doc string
    
    var reportSubtest bool
    
    func init() {
    	Analyzer.Flags.BoolVar(&reportSubtest, "subtest", false, "whether to check if t.Run subtest is terminated correctly; experimental")
    }
    
    var Analyzer = &analysis.Analyzer{
    	Name:     "testinggoroutine",
    	Doc:      analysisutil.MustExtractDoc(doc, "testinggoroutine"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/net/main_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"flag"
    	"fmt"
    	"net/internal/socktest"
    	"os"
    	"runtime"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    var (
    	sw socktest.Switch
    
    	// uninstallTestHooks runs just before a run of benchmarks.
    	testHookUninstaller sync.Once
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/net/internal/socktest/switch.go

    // Copyright 2015 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 socktest provides utilities for socket testing.
    package socktest
    
    import (
    	"fmt"
    	"sync"
    )
    
    // A Switch represents a callpath point switch for socket system
    // calls.
    type Switch struct {
    	once sync.Once
    
    	fmu   sync.RWMutex
    	fltab map[FilterType]Filter
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/apis.go

    import (
    	"fmt"
    
    	"k8s.io/apiserver/pkg/registry/generic"
    	genericapiserver "k8s.io/apiserver/pkg/server"
    	serverstorage "k8s.io/apiserver/pkg/server/storage"
    	"k8s.io/client-go/discovery"
    	"k8s.io/klog/v2"
    	svmrest "k8s.io/kubernetes/pkg/registry/storagemigration/rest"
    
    	admissionregistrationrest "k8s.io/kubernetes/pkg/registry/admissionregistration/rest"
    	apiserverinternalrest "k8s.io/kubernetes/pkg/registry/apiserverinternal/rest"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/cluster/cluster.go

    	// Use StableName instead of Name when creating subtests.
    	Name() string
    
    	// StableName gives a deterministic name for the cluster. Use this for test/subtest names to
    	// allow test grid to compare runs, even when the underlying cluster names are dynamic.
    	// Use Name for validation/interaction with the actual cluster.
    	StableName() string
    
    	// NetworkName the cluster is on
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/net/internal/socktest/sys_unix.go

    // Copyright 2015 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 || (js && wasm) || wasip1
    
    package socktest
    
    import "syscall"
    
    // Socket wraps [syscall.Socket].
    func (sw *Switch) Socket(family, sotype, proto int) (s int, err error) {
    	sw.once.Do(sw.init)
    
    	so := &Status{Cookie: cookie(family, sotype, proto)}
    	sw.fmu.RLock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/net/internal/socktest/sys_windows.go

    // Copyright 2015 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 socktest
    
    import (
    	"internal/syscall/windows"
    	"syscall"
    )
    
    // WSASocket wraps [syscall.WSASocket].
    func (sw *Switch) WSASocket(family, sotype, proto int32, protinfo *syscall.WSAProtocolInfo, group uint32, flags uint32) (s syscall.Handle, err error) {
    	sw.once.Do(sw.init)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top