- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 63 for testConfig (0.2 sec)
-
src/crypto/tls/tls_test.go
go func() { sconn, err := ln.Accept() if err != nil { srvCh <- nil return } srv := Server(sconn, testConfig.Clone()) if err := srv.Handshake(); err != nil { srvCh <- nil return } srvCh <- srv }() clientConfig := testConfig.Clone() clientConfig.MaxVersion = VersionTLS12 conn, err := Dial("tcp", ln.Addr().String(), clientConfig) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.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) -
src/cmd/compile/internal/ssa/copyelim_test.go
func BenchmarkCopyElim10000(b *testing.B) { benchmarkCopyElim(b, 10000) } func BenchmarkCopyElim100000(b *testing.B) { benchmarkCopyElim(b, 100000) } func benchmarkCopyElim(b *testing.B, n int) { c := testConfig(b) values := make([]interface{}, 0, n+2) values = append(values, Valu("mem", OpInitMem, types.TypeMem, 0, nil)) last := "mem" for i := 0; i < n; i++ { name := fmt.Sprintf("copy%d", i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 23:01:51 UTC 2017 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/shift_test.go
// license that can be found in the LICENSE file. package ssa import ( "cmd/compile/internal/types" "testing" ) func TestShiftConstAMD64(t *testing.T) { c := testConfig(t) fun := makeConstShiftFunc(c, 18, OpLsh64x64, c.config.Types.UInt64) checkOpcodeCounts(t, fun.f, map[Op]int{OpAMD64SHLQconst: 1, OpAMD64CMPQconst: 0, OpAMD64ANDQconst: 0})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 4K 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/cse_test.go
) type tstAux struct { s string } func (*tstAux) CanBeAnSSAAux() {} // This tests for a bug found when partitioning, but not sorting by the Aux value. func TestCSEAuxPartitionBug(t *testing.T) { c := testConfig(t) arg1Aux := &tstAux{"arg1-aux"} arg2Aux := &tstAux{"arg2-aux"} arg3Aux := &tstAux{"arg3-aux"} a := c.Temp(c.config.Types.Int8.PtrTo()) // construct lots of values with args that have aux values and place
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/lca_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ssa import "testing" func testLCAgen(t *testing.T, bg blockGen, size int) { c := testConfig(t) fun := c.Fun("entry", bg(size)...) CheckFunc(fun.f) if size == 4 { t.Logf(fun.f.String()) } lca1 := makeLCArange(fun.f) lca2 := makeLCAeasy(fun.f) for _, b := range fun.f.Blocks {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 01 14:25:12 UTC 2019 - 1.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/shortcircuit_test.go
// license that can be found in the LICENSE file. package ssa import ( "cmd/compile/internal/types" "testing" ) func TestShortCircuit(t *testing.T) { c := testConfig(t) fun := c.Fun("entry", Bloc("entry", Valu("mem", OpInitMem, types.TypeMem, 0, nil), Valu("arg1", OpArg, c.config.Types.Int64, 0, nil), Valu("arg2", OpArg, c.config.Types.Int64, 0, nil),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 23:01:51 UTC 2017 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule_test.go
// license that can be found in the LICENSE file. package ssa import ( "cmd/compile/internal/types" "testing" ) func TestSchedule(t *testing.T) { c := testConfig(t) cases := []fun{ c.Fun("entry", Bloc("entry", Valu("mem0", OpInitMem, types.TypeMem, 0, nil), Valu("ptr", OpConst64, c.config.Types.Int64, 0xABCD, nil),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 01:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/export_test.go
var Copyelim = copyelim var testCtxts = map[string]*obj.Link{ "amd64": obj.Linknew(&x86.Linkamd64), "s390x": obj.Linknew(&s390x.Links390x), "arm64": obj.Linknew(&arm64.Linkarm64), } func testConfig(tb testing.TB) *Conf { return testConfigArch(tb, "amd64") } func testConfigS390X(tb testing.TB) *Conf { return testConfigArch(tb, "s390x") } func testConfigARM64(tb testing.TB) *Conf { return testConfigArch(tb, "arm64") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 3.2K bytes - Viewed (0)