- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 45 for addData (0.39 sec)
-
src/time/example_test.go
oneDayLaterZurich := startZurich.AddDate(0, 0, 1) dayDurationZurich := oneDayLaterZurich.Sub(startZurich) fmt.Printf("oneDayLater: start.AddDate(0, 0, 1) = %v\n", oneDayLater) fmt.Printf("oneMonthLater: start.AddDate(0, 1, 0) = %v\n", oneMonthLater) fmt.Printf("oneYearLater: start.AddDate(1, 0, 0) = %v\n", oneYearLater) fmt.Printf("oneDayLaterZurich: startZurich.AddDate(0, 0, 1) = %v\n", oneDayLaterZurich)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
src/internal/coverage/rtcov/rtcov.go
// PkgMap records mappings from hard-coded package IDs to // slots in the List above. PkgMap map[int]int // Set to true if we discover a package mapping glitch. hardCodedListNeedsUpdating bool } // AddMeta is invoked during package "init" functions by the // compiler when compiling for coverage instrumentation; here 'p' is a // meta-data blob of length 'dlen' for the package in question, 'hash'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs.go
var duration time.Duration switch timePart { case timePartYear: return FromTimestamp(t.AddDate(int(qty), 0, 0)), nil case timePartMonth: return FromTimestamp(t.AddDate(0, int(qty), 0)), nil case timePartDay: return FromTimestamp(t.AddDate(0, 0, int(qty))), nil case timePartHour: duration = time.Duration(qty) * time.Hour case timePartMinute:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultMutableCommandLineToolContext.java
@Override public void setArgAction(Action<List<String>> argAction) { postArgsAction = argAction; } @Override public void addPath(File pathEntry) { this.path.add(pathEntry); } @Override public void addPath(List<File> path) { this.path.addAll(path); } @Override public List<File> getPath() { return path; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
cmd/config-encrypted_test.go
for _, test := range tests { t.Run("", func(t *testing.T) { ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata)) if err != nil && test.success { t.Errorf("Expected success, saw failure %v", err) } if err == nil && !test.success { t.Error("Expected failure, saw success") } if test.success { if !bytes.Equal(ddata, data) { t.Errorf("Expected %s, got %s", string(data), string(ddata))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K bytes - Viewed (0) -
cmd/postpolicyform_test.go
formValues.Set("X-Amz-Algorithm", tt.XAmzAlgorithm) formValues.Set("X-Amz-Credential", tt.XAmzCredential) if tt.Expired { // Expired already. pp.SetExpires(UTCNow().AddDate(0, 0, -10)) } else { // Expires in 10 days. pp.SetExpires(UTCNow().AddDate(0, 0, 10)) } formValues.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String()))) formValues.Set("Success_action_status", tt.SuccessActionStatus)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 8.9K bytes - Viewed (0) -
src/time/genzabbrs.go
// for location l. func getAbbrs(l *time.Location) (st, dt string) { t := time.Date(time.Now().Year(), 0, 1, 0, 0, 0, 0, l) abbr1, off1 := t.Zone() for i := 0; i < 12; i++ { t = t.AddDate(0, 1, 0) abbr2, off2 := t.Zone() if abbr1 != abbr2 { if off2-off1 < 0 { // southern hemisphere abbr1, abbr2 = abbr2, abbr1 } return abbr1, abbr2 } } return abbr1, abbr1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
pkg/filewatcher/filewatcher.go
func (fw *fileWatcher) Add(path string) error { fw.mu.Lock() defer fw.mu.Unlock() ws, cleanedPath, _, err := fw.getWorker(path) if err != nil { return err } if err = ws.worker.addPath(cleanedPath); err == nil { ws.count++ } return err } // Stop watching a path func (fw *fileWatcher) Remove(path string) error { fw.mu.Lock() defer fw.mu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
).isEqualTo(10L) assertThat( Headers.Builder() .add("abc", "def") .add("ghi", "jkl") .build() .byteCount(), ).isEqualTo(20L) } @Test fun addDate() { val expected = Date(0L) val headers = Headers.Builder() .add("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppPlatformToolProvider.java
// The visual C++ tools use the path to find other executables // TODO:ADAM - restrict this to the specific path for the target tool invocationContext.addPath(visualCpp.getPath()); invocationContext.addPath(sdk.getPath()); // Clear environment variables that might effect cl.exe & link.exe clearEnvironmentVars(invocationContext, "INCLUDE", "CL", "LIBPATH", "LINK", "LIB");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 16.8K bytes - Viewed (0)