Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for missingKey (0.89 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifier.java

                }
                Map<String, SignatureVerificationFailure.SignatureError> errors = new HashMap<>();
                if (missingKeys != null) {
                    for (String missingKey : missingKeys) {
                        errors.put(missingKey, error(null, SignatureVerificationFailure.FailureKind.MISSING_KEY));
                    }
                }
                if (failedKeys != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/SignatureVerificationResultBuilder.java

     * limitations under the License.
     */
    package org.gradle.api.internal.artifacts.verification.signatures;
    
    import org.bouncycastle.openpgp.PGPPublicKey;
    
    public interface SignatureVerificationResultBuilder {
        void missingKey(String keyId);
        void verified(PGPPublicKey key, boolean trusted);
        void failed(PGPPublicKey pgpPublicKey);
        void ignored(String keyId);
    
        void noSignatures();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 978 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/WriterSignatureVerificationResult.java

        public WriterSignatureVerificationResult(Set<String> ignoredKeys, PgpEntry entry) {
            this.ignoredKeys = ignoredKeys;
            this.entry = entry;
        }
    
        @Override
        public void missingKey(String keyId) {
            ignoredKeys.add(keyId);
            entry.missing();
        }
    
        @Override
        public void verified(PGPPublicKey key, boolean trusted) {
            String keyId = Fingerprint.of(key).toString();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/AbstractSignatureVerificationIntegrationTest.groovy

        }
    
        @Override
        def cleanup() {
            keyServerFixture.stop()
        }
    
        protected void serveMissingKey(String keyId = SigningFixtures.validPublicKeyHexString) {
            keyServerFixture.missingKey(keyId)
        }
    
        protected void serveValidKey() {
            keyServerFixture.withDefaultSigningKey()
        }
    
        protected SimpleKeyRing newKeyRing(PGPPublicKey mustBeAfter = SigningFixtures.validPublicKey) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 13:00:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/DefaultSignatureVerificationServiceFactory.java

                                throw UncheckedException.throwAsUncheckedException(e);
                            }
                        }
                    });
                    if (missing.get()) {
                        result.missingKey(longIdKey);
                    }
                }
            }
    
            @Override
            public PublicKeyService getPublicKeyService() {
                return keyService;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top