- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for missingkey (0.13 sec)
-
src/html/template/exec_test.go
}, { "MissingKeyOnNilMap", "{{.MissingKey}}", (*map[string]string)(nil), "nil pointer evaluating *map[string]string.MissingKey", }, { "MissingKeyOnNilMapPtr", "{{.MissingKey}}", (*map[string]string)(nil), "nil pointer evaluating *map[string]string.MissingKey", }, { "MissingKeyOnMapPtrToNil", "{{.MissingKey}}", &map[string]string{}, "<nil>",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy
then: 1 * onChange.accept(key, newValue) where: key | oldValue | newValue 'existing' | 'existingValue' | 'changed' 'missingKey' | null | 'changed' } def "method put(#key, #newValue) updates map"() { given: def map = getMapUnderTestToWrite() when: map.put(key, newValue)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 23.1K bytes - Viewed (0) -
src/text/template/exec_test.go
}, { "MissingKeyOnNilMap", "{{.MissingKey}}", (*map[string]string)(nil), "nil pointer evaluating *map[string]string.MissingKey", }, { "MissingKeyOnNilMapPtr", "{{.MissingKey}}", (*map[string]string)(nil), "nil pointer evaluating *map[string]string.MissingKey", }, { "MissingKeyOnMapPtrToNil", "{{.MissingKey}}", &map[string]string{}, "<nil>",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/text/template/exec.go
// value of the pipeline, if any. func (s *state) evalField(dot reflect.Value, fieldName string, node parse.Node, args []parse.Node, final, receiver reflect.Value) reflect.Value { if !receiver.IsValid() { if s.tmpl.option.missingKey == mapError { // Treat invalid value as missing map key. s.errorf("nil data; no entry for key %q", fieldName) } return zero } typ := receiver.Type() receiver, isNil := indirect(receiver)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K 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/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy
import static org.gradle.internal.configuration.inputs.AccessTrackingPropertiesNonStringTest.TestData.EXISTING_VALUE import static org.gradle.internal.configuration.inputs.AccessTrackingPropertiesNonStringTest.TestData.MISSING_KEY import static org.gradle.internal.configuration.inputs.AccessTrackingPropertiesNonStringTest.TestData.NON_STRING_VALUE import static org.gradle.internal.configuration.inputs.AccessTrackingPropertiesNonStringTest.TestData.OTHER_VALUE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 14.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) -
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)