Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 853 for NOW (0.2 sec)

  1. callbacks/update.go

    					if v, ok := selectColumns[field.DBName]; (ok && v) || !ok {
    						now := stmt.DB.NowFunc()
    						assignValue(field, now)
    
    						if field.AutoUpdateTime == schema.UnixNanosecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()})
    						} else if field.AutoUpdateTime == schema.UnixMillisecond {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
  2. cmd/bucket-lifecycle_test.go

    			ondisk:        false,
    		},
    		{
    			// restore completed but expired
    			restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)),
    			ondisk:        false,
    		},
    		{
    			// restore completed
    			restoreStatus: completedRestoreObj(time.Now().Add(time.Hour)),
    			ondisk:        true,
    		},
    	}
    
    	for i, tc := range testCases {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/1-time.md

    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    prepared before that call will be sent or received after the call.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.15.md

    - Kubectl [get and describe](https://github.com/kubernetes/enhancements/issues/515) now works with extensions
    - Nodes now support [third party monitoring plugins](https://github.com/kubernetes/enhancements/issues/606).
    - A new [Scheduling Framework](https://github.com/kubernetes/enhancements/issues/624) for schedule plugins is now Alpha.
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.9.md

    *   The "ServiceNodeExclusion" feature gate must now be enabled for the `alpha.service-controller.kubernetes.io/exclude-balancer` annotation on nodes to be honored. ([#54644](https://github.com/kubernetes/kubernetes/pull/54644),[ @brendandburns](https://github.com/brendandburns))
    
    ### **Scheduling**
    
    *   Taint key `unreachable` is now in GA.
    *   Taint key `notReady` is changed to `not-ready`, and is also now in GA.
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Nov 16 10:46:27 GMT 2021
    - 313.7K bytes
    - Viewed (0)
  6. cmd/local-locker_test.go

    					}
    
    					// Expire 50%
    					expired := time.Now().Add(-time.Hour * 2)
    					for _, v := range l.lockMap {
    						for i := range v {
    							if rng.Intn(2) == 0 {
    								v[i].TimeLastRefresh = expired
    							}
    						}
    					}
    					start = time.Now()
    					l.expireOldLocks(time.Hour)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  7. utils/tests/utils.go

    			isEqual()
    		} else {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), expect, got)
    			return
    		}
    	}
    }
    
    func Now() *time.Time {
    	now := time.Now()
    	return &now
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. internal/grid/grid_test.go

    	const testPayload = "Hello Grid World!"
    
    	start := time.Now()
    	req := testRequest{Num: 1, String: testPayload}
    	resp, err := h1.Call(context.Background(), remoteConn, &req)
    	errFatal(err)
    	if resp.OrgString != testPayload {
    		t.Errorf("want %q, got %q", testPayload, resp.OrgString)
    	}
    	t.Log("Roundtrip:", time.Since(start))
    	h1.PutResponse(resp)
    
    	start = time.Now()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                labelType.setPermissions(new String[] { "Rguest" });
                labelType.setCreatedBy(Constants.SYSTEM_USER);
                labelType.setCreatedTime(now);
                labelType.setUpdatedBy(Constants.SYSTEM_USER);
                labelType.setUpdatedTime(now);
            }
            tagQueue.offer(qName);
        }
    
        @Override
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    // defaultPolicyDoc - used to wrap a default policy as PolicyDoc.
    func defaultPolicyDoc(p policy.Policy) PolicyDoc {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top