- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 728 for now (0.02 seconds)
-
tests/group_by_test.go
Name: "groupby", Age: 10, Birthday: Now(), Active: true, }, { Name: "groupby", Age: 20, Birthday: Now(), }, { Name: "groupby", Age: 30, Birthday: Now(), Active: true, }, { Name: "groupby1", Age: 110, Birthday: Now(), }, { Name: "groupby1", Age: 220, Birthday: Now(), Active: true, }, { Name: "groupby1",
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 3.3K bytes - Click Count (0) -
internal/lru/lru.go
func (c *LRU[K, V]) Add(key K, value V) (evicted bool) { c.mu.Lock() defer c.mu.Unlock() now := time.Now() // Check for existing item if ent, ok := c.items[key]; ok { c.evictList.MoveToFront(ent) c.removeFromBucket(ent) // remove the entry from its current bucket as expiresAt is renewed ent.Value = value ent.ExpiresAt = now.Add(c.ttl) c.addToBucket(ent) return false } // Add new item
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 12.5K bytes - Click Count (0) -
utils/utils_test.go
} func TestAssertEqual(t *testing.T) { now := time.Now() assertEqualTests := []struct { name string src, dst interface{} out bool }{ {"error equal", errors.New("1"), errors.New("1"), true}, {"error not equal", errors.New("1"), errors.New("2"), false}, {"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 4.9K bytes - Click Count (0) -
scripts/people.py
one_year_commenters = Counter[str]() authors: dict[str, Author] = {} now = datetime.now(tz=timezone.utc) one_month_ago = now - timedelta(days=30) three_months_ago = now - timedelta(days=90) six_months_ago = now - timedelta(days=180) one_year_ago = now - timedelta(days=365) for discussion in discussion_nodes: discussion_author_name = None
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 12.3K bytes - Click Count (0) -
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 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 31 09:57:57 GMT 2022 - 7K bytes - Click Count (0) -
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.
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Tue Nov 16 10:46:27 GMT 2021 - 313.7K bytes - Click Count (0) -
cmd/data-scanner_test.go
t.Fatalf("Failed to marshal versioning config: %v", err) } bucket := "bucket" now := time.Now() meta := BucketMetadata{ Name: bucket, Created: now, LifecycleConfigXML: []byte(lcXML), VersioningConfigXML: vcfgXML, VersioningConfigUpdatedAt: now, LifecycleConfigUpdatedAt: now, lifecycleConfig: lc, versioningConfig: &vcfg, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
cmd/data-scanner-metric.go
// Must be last: scannerMetricLast ) // log scanner action. // Use for s > scannerMetricStartTrace func (p *scannerMetrics) log(s scannerMetric, paths ...string) func(custom map[string]string) { startTime := time.Now() return func(custom map[string]string) { duration := time.Since(startTime) atomic.AddUint64(&p.operations[s], 1) if s < scannerMetricLastRealtime { p.latency[s].add(duration) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 01 06:06:01 GMT 2025 - 9.4K bytes - Click Count (0) -
.github/workflows/issue-manager.yml
"message": "Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs." }, "waiting": { "delay": 2628000, "message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 19:36:25 GMT 2025 - 1.6K bytes - Click Count (0) -
internal/jwt/parser_test.go
defaultKeyFunc, &MapClaims{ MapClaims: jwt.MapClaims{ "foo": "bar", "exp": float64(time.Now().Unix() - 100), }, }, false, -1, }, { "basic nbf", "", // autogen defaultKeyFunc, &MapClaims{ MapClaims: jwt.MapClaims{ "foo": "bar", "nbf": float64(time.Now().Unix() + 100), }, }, false, -1, }, { "expired and nbf", "", // autogenCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0)