- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 264 for uint16 (0.47 sec)
-
cmd/metacache-walk_gen.go
import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *WalkDirOptions) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7K bytes - Viewed (0) -
cmd/xl-storage_unix_test.go
st, err := os.Stat(path.Join(tmpPath, testCase.volName)) if err != nil { t.Fatalf("Stat failed with %s expected to pass.", err) } // Get umask of the bits stored. currentUmask := 0o777 - uint32(st.Mode().Perm()) // Verify if umask is correct. if int(currentUmask) != testCase.expectedUmask { t.Fatalf("Umask check failed expected %d, got %d", testCase.expectedUmask, currentUmask) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/rebalancemetric_string.go
_ = x[rebalanceMetricSaveMetadata-4] } const _rebalanceMetric_name = "RebalanceBucketsRebalanceBucketRebalanceObjectRebalanceRemoveObjectSaveMetadata" var _rebalanceMetric_index = [...]uint8{0, 16, 31, 46, 67, 79} func (i rebalanceMetric) String() string { if i >= rebalanceMetric(len(_rebalanceMetric_index)-1) { return "rebalanceMetric(" + strconv.FormatInt(int64(i), 10) + ")" }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 988 bytes - Viewed (0) -
cmd/format_string.go
_ = x[formatUnknown-0] _ = x[formatGzip-1] _ = x[formatZstd-2] _ = x[formatLZ4-3] _ = x[formatS2-4] _ = x[formatBZ2-5] } const _format_name = "UnknownGzipZstdLZ4S2BZ2" var _format_index = [...]uint8{0, 7, 11, 15, 18, 20, 23} func (i format) String() string { if i < 0 || i >= format(len(_format_index)-1) { return "format(" + strconv.FormatInt(int64(i), 10) + ")" }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 737 bytes - Viewed (0) -
cmd/lceventsrc_string.go
_ = x[lcEventSrc_s3CompleteMultipartUpload-10] } const _lcEventSrc_name = "NoneHealScannerDecomRebals3HeadObjects3GetObjects3ListObjectss3PutObjects3CopyObjects3CompleteMultipartUpload" var _lcEventSrc_index = [...]uint8{0, 4, 8, 15, 20, 25, 37, 48, 61, 72, 84, 109} func (i lcEventSrc) String() string { if i >= lcEventSrc(len(_lcEventSrc_index)-1) { return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")" }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 01 15:56:24 UTC 2023 - 1.1K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
id, err := hex.DecodeString(keyHex[:8]) if err != nil { return err } key, err := hex.DecodeString(keyHex[8:]) if err != nil { return err } // Verify that CRC is ok. want := binary.LittleEndian.Uint32(id) got := crc32.ChecksumIEEE(key) if want != got { return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got) } stream, err := sio.AES_256_GCM.Stream(key) if err != nil { return err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0) -
tests/create_test.go
AssertEqual(t, newUser.CreatedAt, curTime) AssertEqual(t, newUser.UpdatedAt, curTime) } func TestCreateWithNoGORMPrimaryKey(t *testing.T) { type JoinTable struct { UserID uint FriendID uint } DB.Migrator().DropTable(&JoinTable{}) if err := DB.AutoMigrate(&JoinTable{}); err != nil { t.Errorf("no error should happen when auto migrate, but got %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
cmd/bucket-lifecycle-audit.go
package cmd import ( "strconv" "github.com/minio/minio/internal/bucket/lifecycle" ) //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE type lcEventSrc uint8 //nolint:staticcheck,revive // Underscores are used here to indicate where common prefix ends and the enumeration name begins const ( lcEventSrc_None lcEventSrc = iota lcEventSrc_Heal lcEventSrc_Scanner
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 2.6K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
Index: []uint8(nil), Checksums: map[string]string(nil), }, }, Erasure: ErasureInfo{ Algorithm: "ReedSolomon", DataBlocks: 6, ParityBlocks: 6, BlockSize: 1048576, Index: 1, Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, Checksums: []ChecksumInfo{{PartNumber: 1, Algorithm: 0x3, Hash: []uint8{}}}, }, NumVersions: 1,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 22.4K bytes - Viewed (0) -
cmd/server-rlimit.go
minioMaxThreads := (sysMaxThreads * 90) / 100 // Only set max threads if it is greater than the default one if minioMaxThreads > 10000 { debug.SetMaxThreads(minioMaxThreads) } } var maxLimit uint64 // Set open files limit to maximum. if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil { return err } if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 02 15:09:36 UTC 2024 - 2.8K bytes - Viewed (0)