- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for missingKeys (1.85 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildSignatureVerificationService.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/util/ConfigureUtil.java
if (!mandatoryKeys.isEmpty()) { Collection<String> missingKeys = toStringList(mandatoryKeys); missingKeys.removeAll(toStringList(properties.keySet())); if (!missingKeys.isEmpty()) { throw new IncompleteInputException("Input configuration map does not contain following mandatory keys: " + missingKeys, missingKeys); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/ConfigureUtil.java
if (!mandatoryKeys.isEmpty()) { Collection<String> missingKeys = toStringList(mandatoryKeys); missingKeys.removeAll(toStringList(properties.keySet())); if (!missingKeys.isEmpty()) { throw new IncompleteInputException("Input configuration map does not contain following mandatory keys: " + missingKeys, missingKeys); } } return configureByMap(properties, delegate);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 17:40:52 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 16.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go
// Adding unexported field names for structs not defined // locally will not work. suggestedFixAvailable = false break } missingKeys = append(missingKeys, analysis.TextEdit{ Pos: e.Pos(), End: e.Pos(), NewText: []byte(fmt.Sprintf("%s: ", field.Name())), }) } } if allKeyValue { // all the struct fields are keyed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/ConfigureByMapActionTest.groovy
given: Bean obj = new Bean() when: action(prop: 'value', ['foo']).execute(obj) then: def e = thrown(ConfigureUtil.IncompleteInputException) e.missingKeys.contains("foo") when: action([prop: 'value'], ['prop']).execute(obj) then: assert obj.prop == 'value' } def canConfigureAndValidateObjectUsingMapUsingGstrings() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:07 UTC 2021 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/util/ConfigureUtilTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 17:40:52 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/kubelet/container/helpers.go
envmap := envVarsToMap(envs) missingKeys := sets.New[string]() expanded := expansion.Expand(mount.SubPathExpr, func(key string) string { value, ok := envmap[key] if !ok || len(value) == 0 { missingKeys.Insert(key) } return value }) if len(missingKeys) > 0 { return "", fmt.Errorf("missing value for %s", strings.Join(sets.List(missingKeys), ", ")) } return expanded, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
src/text/template/option.go
// // "missingkey=default" or "missingkey=invalid" // The default behavior: Do nothing and continue execution. // If printed, the result of the index operation is the string // "<no value>". // "missingkey=zero" // The operation returns the zero value for the map type's element. // "missingkey=error" // Execution stops immediately with an error. func (t *Template) Option(opt ...string) *Template {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.9K bytes - Viewed (0) -
src/testing/slogtest/slogtest.go
}, checks: []check{ hasAttr("a", "b"), missingKey(""), hasAttr("c", "d"), }, }, { name: "zero-time", explanation: withSource("a Handler should ignore a zero Record.Time"), f: func(l *slog.Logger) { l.Info("msg", "k", "v") }, mod: func(r *slog.Record) { r.Time = time.Time{} }, checks: []check{ missingKey(slog.TimeKey), }, }, { name: "WithAttrs",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 9.8K bytes - Viewed (0)