Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for missingKeys (0.38 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildSignatureVerificationService.java

                this.hasNoSignatures = hasNoSignatures;
            }
    
            void applyTo(SignatureVerificationResultBuilder builder) {
                if (missingKeys != null) {
                    for (String missingKey : missingKeys) {
                        builder.missingKey(missingKey);
                    }
                }
                if (trustedKeys != null) {
                    for (PGPPublicKey trustedKey : trustedKeys) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java

                this.file = file;
                this.signatureFile = signatureFile;
            }
    
            @Override
            public void missingKey(String keyId) {
                if (missingKeys == null) {
                    missingKeys = new ArrayList<>();
                }
                missingKeys.add(keyId);
            }
    
            @Override
            public void verified(PGPPublicKey key, boolean trusted) {
                if (trusted) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/html/template/template.go

    //
    // Known options:
    //
    // missingkey: Control the behavior during execution if a map is
    // indexed with a key that is not present in the map.
    //
    //	"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"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. 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)
  7. 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)
Back to top