Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 91 for key2 (0.09 sec)

  1. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/MapExtensions.kt

    fun <V> Map<String, V>.filterKeysByPrefix(prefix: String): Map<String, V?> =
        filterKeys { key -> key.length > prefix.length && key.startsWith(prefix) }
    
    
    /**
     * Inverts the given map by swapping its keys with their corresponding values and returns the resulting map.
     *
     * If the original map contains duplicate values, the resulting map will map each value to the key associated
     * with the last occurrence of that value in the original map's iteration order.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifierTest.groovy

        ModuleComponentArtifactIdentifier artifact
        File artifactFile = Mock(File)
        File signatureFile = Mock(File)
    
        @Issue("https://github.com/gradle/gradle/issues/11999")
        def "handles duplicate keys"() {
            artifact("org", "foo", "1.0")
    
            when:
            artifactFile.exists() >> true
            signatureFile.exists() >> true
            verify()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 13:23:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

            for (K item : keys) {
                destination.put(item, keyGenerator.transform(item));
            }
        }
    
        /**
         * Given a set of keys, derive a set of values and return a map
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlWriter.java

            final List<DependencyVerificationConfiguration.TrustedKey> keys = configuration.getTrustedKeys();
            if (keys.isEmpty()) {
                return;
            }
            writer.startElement(TRUSTED_KEYS);
            Map<String, List<DependencyVerificationConfiguration.TrustedKey>> groupedByKeyId = keys
                .stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 13:40:00 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpFacet.java

     * plugins {
     *     id 'war' // or 'ear' or 'java'
     *     id 'eclipse-wtp'
     * }
     *
     * eclipse {
     *   wtp {
     *     facet {
     *       //you can add some extra wtp facets or update existing ones; mandatory keys: 'name', 'version':
     *       facet name: 'someCoolFacet', version: '1.3'
     *
     *       file {
     *         //if you want to mess with the resulting XML in whatever way you fancy
     *         withXml {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/SigningProjectSpec.groovy

            addPrefixedSigningProperties(args.prefix, properties.keyId, properties.secretKeyRingFile, properties.password)
        }
    
        def getKeyResourceFile(setName, fileName) {
            getResourceFile("keys/$setName/$fileName")
        }
    
        def getResourceFile(path) {
            def copiedFile = temporaryFolder.file(path)
            if (!copiedFile.exists()) {
                copiedFile.parentFile.mkdirs()
                Files.copy(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/SnapshotTaskInputsBuildOperationType.java

             */
            @Nullable
            List<String> getActionClassNames();
    
            /**
             * The input value property hashes.
             * <p>
             * key = property name
             * <p>
             * Ordered by key, lexicographically.
             * No null keys or values.
             * Never empty.
             * Null if the task has no inputs.
             */
            @Nullable
            Map<String, byte[]> getInputValueHashesBytes();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 17:46:30 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/initialization/StartParameterBuildOptions.java

            private static final String LONG_OPTION = "refresh-keys";
    
            public RefreshKeysOption() {
                super(null,
                    CommandLineOptionConfiguration.create(LONG_OPTION, "Refresh the public keys used for dependency verification."));
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 22:47:53 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    
    fun sourceNameOfBinaryName(binaryName: String): String =
        when (binaryName) {
            "void" -> "Unit"
            "?" -> "*"
            in mappedTypeStrings.keys -> mappedTypeStrings[binaryName]!!
            in primitiveTypeStrings.keys -> primitiveTypeStrings[binaryName]!!
            else -> binaryName.replace('$', '.')
        }
    
    
    /**
     * See https://kotlinlang.org/docs/reference/java-interop.html#mapped-types
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperSSLTest.groovy

            setupSystemProperties()
            System.clearProperty("javax.net.ssl.keyStorePassword")
    
            when:
            performAuthenticatedRequest(false)
    
            // NOTE: This should fail, as the private keys password must match
            //       the keystore password, so a password is necessary
            then:
            Exception exception = thrown()
            TestUtil.isOrIsCausedBy(exception, UnrecoverableKeyException.class)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 05:29:07 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top