- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for testConfig (0.14 sec)
-
src/cmd/compile/internal/ssa/nilcheck_test.go
// It uses the worst possible input: A linear string of // nil checks, none of which can be eliminated. // Run with multiple depths to observe big-O behavior. func benchmarkNilCheckDeep(b *testing.B, depth int) { c := testConfig(b) ptrType := c.config.Types.BytePtr var blocs []bloc blocs = append(blocs, Bloc("entry", Valu("mem", OpInitMem, types.TypeMem, 0, nil), Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 12.3K bytes - Viewed (0) -
src/crypto/tls/boring_test.go
) func TestBoringServerProtocolVersion(t *testing.T) { test := func(t *testing.T, name string, v uint16, msg string) { t.Run(name, func(t *testing.T) { serverConfig := testConfig.Clone() serverConfig.MinVersion = VersionSSL30 clientConfig := testConfig.Clone() clientConfig.MinVersion = v clientConfig.MaxVersion = v _, _, err := testHandshake(t, clientConfig, serverConfig) if msg == "" { if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 19.4K bytes - Viewed (0) -
src/crypto/tls/quic_test.go
} } } func TestQUICSessionResumption(t *testing.T) { clientConfig := testConfig.Clone() clientConfig.MinVersion = VersionTLS13 clientConfig.ClientSessionCache = NewLRUClientSessionCache(1) clientConfig.ServerName = "example.go.dev" serverConfig := testConfig.Clone() serverConfig.MinVersion = VersionTLS13 cli := newTestQUICClient(t, clientConfig)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/dom_test.go
c := testConfig(t) fun := c.Fun("entry", Bloc("entry", Valu("mem", OpInitMem, types.TypeMem, 0, nil), Exit("mem"))) doms := map[string]string{} CheckFunc(fun.f) verifyDominators(t, fun, dominators, doms) verifyDominators(t, fun, dominatorsSimple, doms) } func TestDominatorsSimple(t *testing.T) { c := testConfig(t) fun := c.Fun("entry",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 13.3K bytes - Viewed (0) -
src/crypto/tls/handshake_test.go
MinVersion: VersionTLS10, MaxVersion: VersionTLS13, } testConfig.Certificates[0].Certificate = [][]byte{testRSACertificate} testConfig.Certificates[0].PrivateKey = testRSAPrivateKey testConfig.Certificates[1].Certificate = [][]byte{testSNICertificate} testConfig.Certificates[1].PrivateKey = testRSAPrivateKey testConfig.BuildNameToCertificate() if *keyFile != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 24.5K bytes - Viewed (0) -
tests/integration/security/sds_ingress/util/util.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 05:12:36 UTC 2023 - 20.2K bytes - Viewed (0) -
tests/integration/security/sds_ingress/ingress_test.go
for _, instances := range allInstances { echotest.New(t, instances). SetupForDestination(func(t framework.TestContext, to echo.Target) error { ingressutil.SetupConfig(t, echo1NS, ingressutil.TestConfig{ Mode: "SIMPLE", CredentialName: credName, Host: host, ServiceName: to.Config().Service, GatewayLabel: inst.Settings().IngressGatewayIstioLabel, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 32.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func_test.go
succs []string } type valu struct { name string op Op t *types.Type auxint int64 aux Aux args []string } func TestArgs(t *testing.T) { c := testConfig(t) fun := c.Fun("entry", Bloc("entry", Valu("a", OpConst64, c.config.Types.Int64, 14, nil), Valu("b", OpConst64, c.config.Types.Int64, 26, nil), Valu("sum", OpAdd64, c.config.Types.Int64, 0, nil, "a", "b"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:01:04 UTC 2023 - 13.1K bytes - Viewed (0) -
operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go
crNamespace := obj.GetLabels()[helmreconciler.OwningResourceNamespace] componentName := obj.GetLabels()[helmreconciler.IstioComponentLabelStr] var host string if restConfig != nil { host = restConfig.Host } crHash := strings.Join([]string{crName, crNamespace, componentName, host}, "-") oh := object.NewK8sObject(&unstructured.Unstructured{Object: unsObj}, nil, nil).Hash()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kube/multicluster/secretcontroller.go
func DefaultBuildClientsFromConfig(kubeConfig []byte, clusterID cluster.ID, configOverrides ...func(*rest.Config)) (kube.Client, error) { restConfig, err := kube.NewUntrustedRestConfig(kubeConfig, configOverrides...) if err != nil { return nil, err } clients, err := kube.NewClient(kube.NewClientConfigForRestConfig(restConfig), clusterID) if err != nil { return nil, fmt.Errorf("failed to create kube clients: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 02:13:10 UTC 2024 - 12.7K bytes - Viewed (0)