- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for EqualFold (0.18 sec)
-
internal/hash/checksum.go
var duplicates bool switch { case strings.EqualFold(header, ChecksumCRC32C.Key()): duplicates = res != nil res = NewChecksumWithType(ChecksumCRC32C|ChecksumTrailing, "") case strings.EqualFold(header, ChecksumCRC32.Key()): duplicates = res != nil res = NewChecksumWithType(ChecksumCRC32|ChecksumTrailing, "") case strings.EqualFold(header, ChecksumSHA256.Key()): duplicates = res != nil
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 11.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
found := false for _, address := range addresses { if strings.EqualFold(address, l.Address) { found = true } } if !found { return false } } if l.Port != 0 && retrieveListenerPort(listener) != l.Port { return false } if l.Type != "" && !strings.EqualFold(retrieveListenerType(listener), l.Type) { return false } return true }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
internal/s3select/select.go
rc = newLimitedReadCloser(rsc, length) } s3Select.progressReader, err = newProgressReader(rc, s3Select.Input.CompressionType) if err != nil { rsc.Close() return err } if strings.EqualFold(s3Select.Input.JSONArgs.ContentType, "lines") { if simdjson.SupportedCPU() { s3Select.recordReader = simdj.NewReader(s3Select.progressReader, &s3Select.Input.JSONArgs) } else {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Nov 06 22:26:08 GMT 2023 - 21K bytes - Viewed (0) -
istioctl/pkg/wait/wait.go
} } func validateType(kind string) error { originalKind := kind // Remove any dashes. kind = strings.ReplaceAll(kind, "-", "") for _, s := range collections.Pilot.All() { if strings.EqualFold(kind, s.Kind()) { targetSchema = s return nil } } return fmt.Errorf("type %s is not recognized", originalKind) } func countVersions(versionCount map[string]int, configVersion string) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 17 12:24:17 GMT 2024 - 10.1K bytes - Viewed (0) -
callbacks/create.go
if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) { if !field.PrimaryKey && (!field.HasDefaultValue || field.DefaultValueInterface != nil || strings.EqualFold(field.DefaultValue, "NULL")) && field.AutoCreateTime == 0 { if field.AutoUpdateTime > 0 { assignment := clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: curTime}
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 08 03:29:55 GMT 2024 - 12.5K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name] if lbl, labelPresent := pod.ObjectMeta.GetLabels()[label.SidecarInject.Name]; labelPresent { inject = lbl } return strings.EqualFold(inject, "false") } func renderCounts(injectedRevision string, counts revisionCount) string { if counts.pods == 0 { return "<no pods>" } podText := strconv.Itoa(counts.pods)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
} spec := un.Object["spec"].(map[string]any) if _, ok := spec["ports"]; ok { ports := spec["ports"].([]any) for _, port := range ports { p := port.(map[string]any) if p["protocol"] != nil && strings.EqualFold(p["protocol"].(string), serviceProtocolUDP) { continue } if ap := p["appProtocol"]; ap != nil { if protocol.Parse(ap.(string)).IsUnsupported() {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
migrator/migrator.go
alterColumn = true } } // check default value if !field.PrimaryKey { currentDefaultNotNull := field.HasDefaultValue && (field.DefaultValueInterface != nil || !strings.EqualFold(field.DefaultValue, "NULL")) dv, dvNotNull := columnType.DefaultValue() if dvNotNull && !currentDefaultNotNull { // default value -> null alterColumn = true } else if !dvNotNull && currentDefaultNotNull {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Apr 26 07:15:49 GMT 2024 - 29K bytes - Viewed (0) -
common/config/.golangci.yml
- defaultCaseOrder - deprecatedComment - docStub - dupArg - dupBranchBody - dupCase - dupSubExpr - elseif - emptyFallthrough - equalFold - flagDeref - flagName - hexLiteral - indexAlloc - initClause - methodExprCall - nilValReturn - octalLiteral - offBy1 - rangeExprCopy
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 19:22:39 GMT 2024 - 11K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
return ok } // IsObjectLockGovernanceBypassSet returns true if object lock governance bypass header is set. func IsObjectLockGovernanceBypassSet(h http.Header) bool { return strings.EqualFold(h.Get(AmzObjectLockBypassRetGovernance), "true") } // IsObjectLockRequested returns true if legal hold or object lock retention headers are requested. func IsObjectLockRequested(h http.Header) bool {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 17.1K bytes - Viewed (0)