Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for testConfig (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/crypto/tls/conn_test.go

    	}
    }
    
    func TestDynamicRecordSizingWithStreamCipher(t *testing.T) {
    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_RC4_128_SHA}
    	runDynamicRecordSizingTest(t, config)
    }
    
    func TestDynamicRecordSizingWithCBC(t *testing.T) {
    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_AES_256_CBC_SHA}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tests/integration/security/sds_ingress/util/util.go

    	var credNames []string
    	var tests []TestConfig
    	echotest.New(ctx, A).
    		SetupForDestination(func(ctx framework.TestContext, to echo.Target) error {
    			for i := 1; i < 6; i++ {
    				cred := fmt.Sprintf("runtestmultimtlsgateways-%d", i)
    				tests = append(tests, TestConfig{
    					Mode:           "MUTUAL",
    					CredentialName: cred,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. plugin/pkg/admission/imagepolicy/admission_test.go

    				if err != nil {
    					return err
    				}
    				pc := tempconfigfile.Name()
    				defer utiltesting.CloseAndRemove(t, tempconfigfile)
    
    				configTmpl, err := template.New("testconfig").Parse(defaultConfigTmplJSON)
    				if err != nil {
    					return fmt.Errorf("failed to parse test template: %v", err)
    				}
    				dataConfig := struct {
    					KubeConfig   string
    					AllowTTL     int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
Back to top