- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,521 for cases (0.02 sec)
-
cmd/signature-v2_test.go
expectedError APIErrorCode }{ // Test case - 1. // Case with empty V2AuthString. { authString: "", expectedError: ErrAuthHeaderEmpty, }, // Test case - 2. // Test case with `signV2Algorithm` ("AWS") not being the prefix. { authString: "NoV2Prefix", expectedError: ErrSignatureVersionNotSupported, }, // Test case - 3. // Test case with missing parts in the Auth string.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 8K bytes - Viewed (0) -
cmd/mrf_gen.go
err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "Bucket": z.Bucket, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Bucket") return } case "Object": z.Object, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Object") return } case "VersionID": z.VersionID, err = dc.ReadString() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
src/cmd/asm/internal/arch/ppc64.go
switch name { case "CR": if 0 <= n && n <= 7 { return ppc64.REG_CR0 + n, true } case "A": if 0 <= n && n <= 8 { return ppc64.REG_A0 + n, true } case "VS": if 0 <= n && n <= 63 { return ppc64.REG_VS0 + n, true } case "V": if 0 <= n && n <= 31 { return ppc64.REG_V0 + n, true } case "F": if 0 <= n && n <= 31 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri May 17 21:53:50 UTC 2024 - 2.2K bytes - Viewed (0) -
association.go
return association.Error } // set old associations's foreign key to null switch rel.Type { case schema.BelongsTo: if len(values) == 0 { updateMap := map[string]interface{}{} switch reflectValue.Kind() { case reflect.Slice, reflect.Array: for i := 0; i < reflectValue.Len(); i++ {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
cmd/untar.go
case header == nil: continue } name := header.Name switch path.Clean(name) { case ".", slashSeparator: continue } switch header.Typeflag { case tar.TypeDir: // = directory if o.ignoreDirs { continue } name = trimLeadingSlash(pathJoin(name, slashSeparator))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 6K bytes - Viewed (2) -
cmd/config-current.go
} case config.DriveSubSys: if _, err := drive.LookupConfig(s[config.DriveSubSys][config.Default]); err != nil { return err } case config.PolicyOPASubSys: // In case legacy OPA config is being set, we treat it as if the // AuthZPlugin is being set. subSys = config.PolicyPluginSubSys fallthrough case config.PolicyPluginSubSys:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 30.1K bytes - Viewed (0) -
internal/grid/grid_types_msgp_test.go
return } switch msgp.UnsafeString(field) { case "OrgNum": z.OrgNum, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "OrgNum") return } case "OrgString": z.OrgString, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "OrgString") return } case "Embedded": var zb0002 uint32 zb0002, err = dc.ReadMapHeader()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 8.1K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
return } switch msgp.UnsafeString(field) { case "id": z.DiskID, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "DiskID") return } case "v": z.Volume, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Volume") return } case "fp": z.FilePath, err = dc.ReadString() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/batch-rotate_gen.go
} switch msgp.UnsafeString(field) { case "Type": { var zb0002 string zb0002, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Type") return } z.Type = BatchKeyRotationType(zb0002) } case "Key": z.Key, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Key") return } case "Context": z.Context, err = dc.ReadString()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
cutSet := " " if trimChars != "" { cutSet = trimChars } trimFunc := strings.Trim switch { case where == nil: case *where == trimBoth: case *where == trimLeading: trimFunc = strings.TrimLeft case *where == trimTrailing: trimFunc = strings.TrimRight default: return "", errInvalidTrimArg } return trimFunc(text, cutSet), nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0)