Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of about 10,000 for spring (0.16 sec)

  1. tests/callbacks_test.go

    		name    string
    		before  string
    		after   string
    		remove  bool
    		replace bool
    		err     string
    		match   func(*gorm.DB) bool
    		h       func(*gorm.DB)
    	}
    
    	datas := []struct {
    		callbacks []callback
    		err       string
    		results   []string
    	}{
    		{
    			callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5}},
    			results:   []string{"c1", "c2", "c3", "c4", "c5"},
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/fmt/fmt_test.go

    var mallocTest = []struct {
    	count int
    	desc  string
    	fn    func()
    }{
    	{0, `Sprintf("")`, func() { _ = Sprintf("") }},
    	{1, `Sprintf("xxx")`, func() { _ = Sprintf("xxx") }},
    	{0, `Sprintf("%x")`, func() { _ = Sprintf("%x", 7) }},
    	{1, `Sprintf("%x")`, func() { _ = Sprintf("%x", 1<<16) }},
    	{3, `Sprintf("%80000s")`, func() { _ = Sprintf("%80000s", "hello") }}, // large buffer (>64KB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  3. pkg/envoy/proxy.go

    // splitComponentLog breaks down an argument string into a log level (ie "info") and component log levels (ie "misc:error").
    // This allows using a single log level API, with the same semantics as Istio's logging, to configure Envoy which
    // has two different settings
    func splitComponentLog(level string) (string, []string) {
    	levels := strings.Split(level, ",")
    	var logLevel string
    	var componentLogs []string
    	for _, sl := range levels {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/context/x_test.go

    	}
    }
    
    type key1 int
    type key2 int
    
    func (k key2) String() string { return fmt.Sprintf("%[1]T(%[1]d)", k) }
    
    var k1 = key1(1)
    var k2 = key2(1) // same int as k1, different type
    var k3 = key2(3) // same type as k2, different int
    
    func TestValues(t *testing.T) {
    	check := func(c Context, nm, v1, v2, v3 string) {
    		if v, ok := c.Value(k1).(string); ok == (len(v1) == 0) || v != v1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. tests/create_test.go

    	}
    }
    
    func TestCreateOnConflictWithDefaultNull(t *testing.T) {
    	type OnConflictUser struct {
    		ID     string
    		Name   string `gorm:"default:null"`
    		Email  string
    		Mobile string `gorm:"default:'133xxxx'"`
    	}
    
    	err := DB.Migrator().DropTable(&OnConflictUser{})
    	AssertEqual(t, err, nil)
    	err = DB.AutoMigrate(&OnConflictUser{})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. pkg/config/mesh/kubemesh/watcher_test.go

    	}
    }
    
    func makeConfigMap(resourceVersion string, data map[string]string) *v1.ConfigMap {
    	return makeConfigMapWithName(name, resourceVersion, data)
    }
    
    func TestExtraConfigmap(t *testing.T) {
    	extraCmName := "extra"
    
    	cmCore := makeConfigMap("1", map[string]string{
    		key: "ingressClass: core",
    	})
    	cmUser := makeConfigMapWithName(extraCmName, "1", map[string]string{
    		key: "ingressClass: user",
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. src/go/build/deps_test.go

    	NET, log
    	< net/mail;
    
    	NONE < crypto/internal/boring/sig, crypto/internal/boring/syso;
    	sync/atomic < crypto/internal/boring/bcache, crypto/internal/boring/fipstls;
    	crypto/internal/boring/sig, crypto/internal/boring/fipstls < crypto/tls/fipsonly;
    
    	# CRYPTO is core crypto algorithms - no cgo, fmt, net.
    	crypto/internal/boring/sig,
    	crypto/internal/boring/syso,
    	golang.org/x/sys/cpu,
    	hash, embed
    	< crypto
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/flags/flags.go

    	Importpath = flag.String("p", obj.UnlinkablePkg, "set expected package import to path")
    	Spectre    = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)")
    )
    
    var DebugFlags struct {
    	MayMoreStack string `help:"call named function before all stack growth checks"`
    	PCTab        string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. pkg/test/framework/components/registryredirector/kube.go

    	return nil
    }
    
    func (c *kubeComponent) Address() string {
    	return c.address
    }
    
    func (c *kubeComponent) SetupTagMap(tagMap map[string]string) error {
    	client := &http.Client{
    		Timeout: 10 * time.Second,
    	}
    	body, err := json.Marshal(tagMap)
    	if err != nil {
    		return err
    	}
    
    	err = retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 00:53:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/internal/xcoff/file.go

    		}
    	}
    	return nil
    }
    
    // cstring converts ASCII byte sequence b to string.
    // It stops once it finds 0 or reaches end of b.
    func cstring(b []byte) string {
    	var i int
    	for i = 0; i < len(b) && b[i] != 0; i++ {
    	}
    	return string(b[:i])
    }
    
    // getString extracts a string from an XCOFF string table.
    func getString(st []byte, offset uint32) (string, bool) {
    	if offset < 4 || int(offset) >= len(st) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top