- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for MustParse (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/debugging/hash-set/main.go
flag.Parse() if deploymentID == "" { log.Fatalln("deployment ID is mandatory") } if setCount == 0 { log.Fatalln("set count cannot be zero") } id := uuid.MustParse(deploymentID) if file != "" { distrib := make([][]string, setCount) b, err := os.ReadFile(file) if err != nil { log.Fatalln(err) } b = bytes.ReplaceAll(b, []byte("\r"), []byte{})
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Click Count (0) -
tests/create_test.go
} } func TestCreateWithExistingTimestamp(t *testing.T) { user := User{Name: "CreateUserExistingTimestamp"} curTime := now.MustParse("2016-01-01") user.CreatedAt = curTime user.UpdatedAt = curTime DB.Save(&user) AssertEqual(t, user.CreatedAt, curTime) AssertEqual(t, user.UpdatedAt, curTime) var newUser User
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
cmd/erasure-sets.go
setDriveCount: setDriveCount, defaultParityCount: defaultParityCount, format: format, distributionAlgo: format.Erasure.DistributionAlgo, deploymentID: uuid.MustParse(format.ID), poolIndex: poolIdx, } mutex := newNSLock(globalIsDistErasure) for i := range setCount { s.erasureDisks[i] = make([]StorageAPI, setDriveCount) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
cmd/xl-storage-format-v2_test.go
failOnErr(i+1, xl.AddVersion(fi)) fi.ExpireRestored = tc.expireRestored fileInfos = append(fileInfos, fi) } for i, tc := range testCases { _, version, err := xl.findVersion(uuid.MustParse(tc.versionID)) failOnErr(i+1, err) if got := xl.SharedDataDirCount(version.getVersionID(), version.ObjectV2.DataDir); got != tc.shares {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37.8K bytes - Click Count (0)