Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for longText (0.18 sec)

  1. tests/migrate_test.go

    		Def string `gorm:"size:512;index:idx_def,unique"`
    		Abc string `gorm:"size:65000000"`
    	}
    
    	DB.Migrator().DropTable("my_tables")
    
    	sql := "CREATE TABLE `my_tables` (`def` varchar(512),`abc` longtext,UNIQUE INDEX `idx_def` (`def`))"
    	if err := DB.Exec(sql).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	session := DB.Session(&gorm.Session{Logger: Tracer{
    		Logger: DB.Config.Logger,
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/utils.go

    func restQueries(keys ...string) []string {
    	var accumulator []string
    	for _, key := range keys {
    		accumulator = append(accumulator, key, "{"+key+":.*}")
    	}
    	return accumulator
    }
    
    // Suffix returns the longest common suffix of the provided strings
    func lcpSuffix(strs []string) string {
    	return lcp(strs, false)
    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    	for _, p := range procs {
    		ns := getPidNamespace(p.PID)
    		fd, err := unix.Open(ns, unix.O_RDONLY, 0)
    		if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			v2, ok := sm.Metrics[dID]
    			if !ok {
    				v2 = madmin.SRMetric{}
    				v2.Failed.ErrCounts = make(map[string]int)
    			}
    
    			// use target endpoint metrics from node which has been up the longest
    			if v2.LastOnline.After(v.LastOnline) || v2.LastOnline.IsZero() {
    				v2.Endpoint = v.Endpoint
    				v2.LastOnline = v.LastOnline
    				v2.Latency = v.Latency
    				v2.Online = v.Online
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
Back to top