Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 430 for tims (0.11 sec)

  1. tests/query_test.go

    		}
    	}
    
    	var times []time.Time
    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Pluck("created_at", &times).Error; err != nil {
    		t.Errorf("got error when pluck time: %v", err)
    	}
    
    	for idx, tv := range times {
    		AssertEqual(t, tv, users[idx].CreatedAt)
    	}
    
    	var ptrtimes []*time.Time
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    if (i_in_24 == selected.hour()...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 65.7K bytes
    - Viewed (0)
  3. src/crypto/tls/tls_test.go

    	if err = srv.SetDeadline(time.Now()); err != nil {
    		t.Fatalf("SetDeadline(time.Now()) err: %v", err)
    	}
    	if _, err = srv.Write([]byte("should fail")); err == nil {
    		t.Fatal("Write should have timed out")
    	}
    
    	// Clear deadline and make sure it still times out
    	if err = srv.SetDeadline(time.Time{}); err != nil {
    		t.Fatalf("SetDeadline(time.Time{}) err: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    			deadline = time.Now().Add(1 * time.Second)
    		} else {
    			deadline = time.Now().Add(10 * time.Second)
    		}
    	}
    
    	// If we're running a long test, start with a long duration
    	// for tests that try to make sure something *doesn't* happen.
    	duration := 5 * time.Second
    	if testing.Short() {
    		duration = 100 * time.Millisecond
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    		//	Scheme:   scheme.WebSocket,
    		//	Count:    4,
    		//	Timeout:  time.Second * 2,
    		//},
    		{
    			Port:   echo.Port{Name: "tcp"},
    			Scheme: scheme.TCP,
    			Count:  1,
    		},
    		//{
    		//	Port: echo.Port{Name: "grpc"},
    		//	Scheme:   scheme.GRPC,
    		//	Count:    4,
    		//	Timeout:  time.Second * 2,
    		//},
    		//{
    		//	Port: echo.Port{Name: "https"},
    		//	Scheme:   scheme.HTTPS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  6. src/net/dnsclient_unix_test.go

    	return conf.writeAndUpdateWithLastCheckedTime(lines, time.Now().Add(time.Hour))
    }
    
    func (conf *resolvConfTest) writeAndUpdateWithLastCheckedTime(lines []string, lastChecked time.Time) error {
    	if err := conf.write(lines); err != nil {
    		return err
    	}
    	return conf.forceUpdate(conf.path, lastChecked)
    }
    
    func (conf *resolvConfTest) forceUpdate(name string, lastChecked time.Time) error {
    	dnsConf := dnsReadConfig(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  7. cmd/iam.go

    	}
    
    	if parentUser == "" {
    		return auth.Credentials{}, time.Time{}, errInvalidArgument
    	}
    
    	if len(opts.accessKey) > 0 && len(opts.secretKey) == 0 {
    		return auth.Credentials{}, time.Time{}, auth.ErrNoSecretKeyWithAccessKey
    	}
    	if len(opts.secretKey) > 0 && len(opts.accessKey) == 0 {
    		return auth.Credentials{}, time.Time{}, auth.ErrNoAccessKeyWithSecretKey
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				StreamingConnectionIdleTimeout:            metav1.Duration{Duration: 4 * time.Hour},
    				NodeStatusUpdateFrequency:                 metav1.Duration{Duration: 10 * time.Second},
    				NodeStatusReportFrequency:                 metav1.Duration{Duration: 5 * time.Minute},
    				NodeLeaseDurationSeconds:                  40,
    				ImageMinimumGCAge:                         metav1.Duration{Duration: 2 * time.Minute},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    // if you set fire time at X, you can get the bookmark within (X-1,X+1) period.
    type watcherBookmarkTimeBuckets struct {
    	// the key of watcherBuckets is the number of seconds since createTime
    	watchersBuckets   map[int64][]*cacheWatcher
    	createTime        time.Time
    	startBucketID     int64
    	clock             clock.Clock
    	bookmarkFrequency time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	// to avoid the problem with time skew across the cluster.
    	now func() metav1.Time
    
    	enterPartialDisruptionFunc func(nodeNum int) float32
    	enterFullDisruptionFunc    func(nodeNum int) float32
    	computeZoneStateFunc       func(nodeConditions []*v1.NodeCondition) (int, ZoneState)
    
    	knownNodeSet map[string]*v1.Node
    	// per Node map storing last observed health together with a local time when it was observed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top