- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 39 for addData (0.36 sec)
-
src/time/time.go
} return t.Sub(Now()) } // AddDate returns the time corresponding to adding the // given number of years, months, and days to t. // For example, AddDate(-1, 2, 3) applied to January 1, 2011 // returns March 4, 2010. // // Note that dates are fundamentally coupled to timezones, and calendrical // periods like days don't have fixed durations. AddDate uses the Location of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProvider.java
MutableCommandLineToolContext baseInvocation = new DefaultMutableCommandLineToolContext(); // MinGW requires the path to be set baseInvocation.addPath(toolSearchPath.getPath()); baseInvocation.addEnvironmentVar("CYGWIN", "nodosfilewarning"); baseInvocation.setArgAction(toolConfiguration.getArgAction());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.1K bytes - Viewed (0) -
src/math/big/nat.go
t = t.mul(x0, y1) // update t so we don't lose t's underlying array addAt(z, t, k) // add xi*y0<<i, xi*y1*b<<(i+k) y0 := y0.norm() for i := k; i < len(x); i += k { xi := x[i:] if len(xi) > k { xi = xi[:k] } xi = xi.norm() t = t.mul(xi, y0) addAt(z, t, i) t = t.mul(xi, y1) addAt(z, t, i+k) } putNat(tp) } return z.norm() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 31.7K bytes - Viewed (0) -
pkg/serviceaccount/legacy.go
}, nil } func (v *legacyValidator) patchSecretWithLastUsedDate(ctx context.Context, secret *v1.Secret) { now := time.Now().UTC() today := now.Format("2006-01-02") tomorrow := now.AddDate(0, 0, 1).Format("2006-01-02") lastUsed := secret.Labels[LastUsedLabelKey] if lastUsed != today && lastUsed != tomorrow {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 08:32:23 UTC 2023 - 8.4K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
// Do not change any configuration // upon NTP failure. return r } if config.Rule.DefaultRetention.Days != nil { r.Validity = t.AddDate(0, 0, int(*config.Rule.DefaultRetention.Days)).Sub(t) } else { r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t) } } return r } // Maximum 4KiB size per object lock config.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
FieldPath: "spec.containers{foo}", }, Reason: "Event Reason", Message: "Message Data", FirstTimestamp: metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -3)}, LastTimestamp: metav1.Time{Time: time.Now().UTC().AddDate(0, 0, -2)}, Count: 6, Type: api.EventTypeNormal, ObjectMeta: metav1.ObjectMeta{Name: "event1"}, }, options: printers.GenerateOptions{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
cmd/bucket-replication-handlers.go
Bucket: bucket, Err: fmt.Errorf("invalid query parameter older-than %s for %s : %w", durationStr, bucket, err), }), r.URL) return } } resetBeforeDate := UTCNow().AddDate(0, 0, -1*int(days/24)) objectAPI := api.ObjectAPI() if objectAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go
if err != nil { return time.Time{}, fmt.Errorf("error parsing trackedSince time: %v", err) } // make sure the time to be 00:00 on the day just after the date starts to track return trackedSinceTime.AddDate(0, 0, 1), nil } func hasSecretReference(serviceAccount *v1.ServiceAccount, secretName string) bool { for _, secret := range serviceAccount.Secrets { if secret.Name == secretName { return true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 03:52:06 UTC 2023 - 10K bytes - Viewed (0) -
src/time/time_test.go
{"Sub", func(t1, t2 Time) bool { return t1.Sub(t2) == t2.Sub(t1) }}, //Original caus for this test case bug 15852 {"AddDate", func(t1, t2 Time) bool { return t1.AddDate(1991, 9, 3) == t2.AddDate(1991, 9, 3) }}, {"UTC", func(t1, t2 Time) bool { return t1.UTC() == t2.UTC() }}, {"Local", func(t1, t2 Time) bool { return t1.Local() == t2.Local() }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
paths.add(path); } } } } public void addCompileSourceRoot(String path) { addPath(getCompileSourceRoots(), path); } public void addTestCompileSourceRoot(String path) { addPath(getTestCompileSourceRoots(), path); } public List<String> getCompileSourceRoots() { return compileSourceRoots; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Mar 01 17:18:13 UTC 2024 - 56.6K bytes - Viewed (0)