Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for testConfig (0.26 sec)

  1. src/cmd/compile/internal/ssa/fuse_test.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"fmt"
    	"strconv"
    	"testing"
    )
    
    func TestFuseEliminatesOneBranch(t *testing.T) {
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto("checkPtr")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/deadstore_test.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"testing"
    )
    
    func TestDeadStore(t *testing.T) {
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	t.Logf("PTRTYPE %v", ptrType)
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("start", 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: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier_test.go

    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"testing"
    )
    
    func TestWriteBarrierStoreOrder(t *testing.T) {
    	// Make sure writebarrier phase works even StoreWB ops are not in dependency order
    	c := testConfig(t)
    	ptrType := c.config.Types.BytePtr
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("start", 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: Tue Apr 24 15:51:15 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/passbm_test.go

    // benchFnPass runs passFunc b.N times across a single function.
    func benchFnPass(b *testing.B, fn passFunc, size int, bg blockGen) {
    	b.ReportAllocs()
    	c := testConfig(b)
    	fun := c.Fun("entry", bg(size)...)
    	CheckFunc(fun.f)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		fn(fun.f)
    		b.StopTimer()
    		CheckFunc(fun.f)
    		b.StartTimer()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K 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. internal/config/identity/openid/jwt_test.go

    	cfgGet := func(param string) string {
    		return testKvs.Get(param)
    	}
    
    	if testConfig.provider != nil {
    		t.Errorf("Empty config cannot have any provider!")
    	}
    
    	if err := testConfig.initializeProvider(cfgGet, http.DefaultTransport); err != nil {
    		t.Error(err)
    	}
    
    	if testConfig.provider == nil {
    		t.Errorf("keycloak provider must be initialized!")
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. pkg/config/schema/collections/mock.go

    package collections
    
    import (
    	"errors"
    
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/collection"
    	"istio.io/istio/pkg/config/schema/resource"
    	"istio.io/istio/pkg/config/validation"
    	testconfig "istio.io/istio/pkg/test/config"
    )
    
    var (
    	// Mock is used purely for testing
    	Mock = resource.Builder{
    		ClusterScoped: false,
    		Kind:          "MockConfig",
    		Plural:        "mockconfigs",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/regalloc_test.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"testing"
    )
    
    func TestLiveControlOps(t *testing.T) {
    	c := testConfig(t)
    	f := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("x", OpAMD64MOVLconst, c.config.Types.Int8, 1, nil),
    			Valu("y", OpAMD64MOVLconst, c.config.Types.Int8, 2, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/sccp_test.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"strings"
    	"testing"
    )
    
    func TestSCCPBasic(t *testing.T) {
    	c := testConfig(t)
    	fun := c.Fun("b1",
    		Bloc("b1",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("v1", OpConst64, c.config.Types.Int64, 20, nil),
    			Valu("v2", OpConst64, c.config.Types.Int64, 21, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. 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)
Back to top