- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 241 for hasString (0.25 sec)
-
src/go/types/under.go
t = Unalias(t) tpar, _ := t.(*TypeParam) if tpar == nil { return under(t) // string or untyped string } var su Type hasString := false if tpar.underIs(func(u Type) bool { if u == nil { return false } if isString(u) { u = NewSlice(universeByte) hasString = true } if su != nil { u = match(su, u) if u == nil { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 22:34:27 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/under.go
t = Unalias(t) tpar, _ := t.(*TypeParam) if tpar == nil { return under(t) // string or untyped string } var su Type hasString := false if tpar.underIs(func(u Type) bool { if u == nil { return false } if isString(u) { u = NewSlice(universeByte) hasString = true } if su != nil { u = match(su, u) if u == nil { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 22:34:27 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go
user := attrs.GetUser() if len(r.Users) > 0 { if user == nil || !hasString(r.Users, user.GetName()) { return false } } if len(r.UserGroups) > 0 { if user == nil { return false } matched := false for _, group := range user.GetGroups() { if hasString(r.UserGroups, group) { matched = true break } } if !matched { return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 02 22:24:14 UTC 2022 - 6.1K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util.go
} desiredString := fmt.Sprintf("%d", desiredReplicas) if hasString := rs.Annotations[DesiredReplicasAnnotation]; hasString != desiredString { rs.Annotations[DesiredReplicasAnnotation] = desiredString updated = true } maxString := fmt.Sprintf("%d", maxReplicas) if hasString := rs.Annotations[MaxReplicasAnnotation]; hasString != maxString { rs.Annotations[MaxReplicasAnnotation] = maxString updated = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/language.go
func (t Tag) VariantOrPrivateUseTags() string { if t.pExt > 0 { return t.str[t.pVariant:t.pExt] } return t.str[t.pVariant:] } // HasString reports whether this tag defines more than just the raw // components. func (t Tag) HasString() bool { return t.str != "" } // Parent returns the CLDR parent of t. In CLDR, missing fields in data for a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 16.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go
// TODO: we could make the indexes stable. This will excluded some // possibilities for optimization, so don't do this quite yet. exact = true b, s, r := t.Raw() if t.HasString() { if t.IsPrivateUse() { // We have no entries for user-defined tags. return 0, false } hasExtra := false if t.HasVariants() { if t.HasExtensions() { build := language.Builder{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/HasStrings.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 736 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/PrecompiledScriptPlugin.kt
val compiledScriptTypeName by lazy { packagePrefixed(scriptClassNameForFile(scriptFile)) } val packageName: String? by lazy { packageNameOf(scriptText) } val hashString by lazy { PrecompiledScriptDependenciesResolver.hashOfNormalisedString(scriptText) } val scriptText: String get() = convertLineSeparatorsToUnix(scriptFile.readText()) private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 8.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
return super.hashCode(); } StringBuilder hashString = new StringBuilder(128); hashString.append(md.groupId).append('|'); hashString.append(md.artifactId).append('|'); if (compareVersion) { hashString.append(md.version).append('|'); } if (compareScope) { hashString.append(md.getArtifactScope()).append('|'); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 5.3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/compile/CodeFragmentCapturedValue.kt
isCrossingInlineBounds: Boolean, ) : CodeFragmentCapturedValue(name.asString(), isMutated, isCrossingInlineBounds) /** Represents a delegated local variable (`val local by...`). */ public class LocalDelegate( name: Name, isMutated: Boolean, isCrossingInlineBounds: Boolean, ) : CodeFragmentCapturedValue(name.asString(), isMutated, isCrossingInlineBounds) { override val displayText: String
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Aug 08 17:26:38 UTC 2023 - 3.5K bytes - Viewed (0)