Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for key3 (0.57 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                verify {
                    prop = ['key1': 'value1']
                    prop.put('key2', 'value2')
                    prop.put('key3', project.provider { 'value3' })
                    prop.putAll(['key4': 'value4'])
                    prop.putAll(project.provider { ['key5': 'value5'] })
                    expected = ['key1': 'value1', 'key2': 'value2', 'key3': 'value3', 'key4': 'value4', 'key5': 'value5']
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
            hashtable.put("key3", 42)
            configurationCacheRoundtripOf(hashtable).run {
                assertThat(hashtable, equalTo(this))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

            if (unrecognizedContributors.isNotEmpty()) {
                val contributorsToUpdate = contributorsInReleaseNotes + unrecognizedContributors.map { it to contributorsFromPullRequests[it]!! }
                val sortedContributors = contributorsToUpdate.entries.sortedBy { TextUtil.toLowerCaseLocaleSafe(it.value.name ?: it.key) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 01 00:58:07 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

        @Override
        public boolean containsKey(Object key) {
            return getAndReportAccess(key) != null;
        }
    
        @Override
        @Nullable
        public Object put(Object key, Object value) {
            Object oldValue;
            synchronized (delegate) {
                oldValue = delegate.put(key, value);
            }
            reportAccess(key, oldValue);
            reportChange(key, value);
            return oldValue;
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlay.kt

            }
        }
    
        /**
         * A key for merging document nodes.
         * The scope of this key is a particular object's configuring block.
         *
         * Keys from the configuring blocks of different objects should never get matched against each other.
         */
        sealed interface MergeKey {
            /**
             * Nodes having this key are unique and never get merged with any other nodes.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

            server.expectGet("/redirect/cache/${key.hashCode}", srcFile)
    
            when:
            def receivedInput = null
            cache.load(key) { input ->
                receivedInput = input.text
            }
    
            then:
            receivedInput == "Data"
        }
    
        def "reports cache miss on 404"() {
            server.expectGetMissing("/cache/${key.hashCode}")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheService.java

            cache.store(((BuildCacheKeyInternal) key).getHashCodeInternal(), result::writeTo);
        }
    
        @Override
        public void storeLocally(BuildCacheKey key, File file) {
            cache.storeLocally(((BuildCacheKeyInternal) key).getHashCodeInternal(), file);
        }
    
        @Override
        public void withTempFile(HashCode key, Consumer<? super File> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValidatingMapEntryCollector.java

                Map.class.getName(), valueType.getName(), key);
    
            K sanitizedKey = keySanitizer.sanitize(key);
            if (!keyType.isInstance(sanitizedKey)) {
                throw new IllegalArgumentException(String.format(
                    "Cannot get the value of a property of type %s with key type %s as the source contains a key of type %s.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheCleanupIntegrationTest.groovy

        }
    
        @Override
        void createBuildCacheEntry(String key, File value, long timestamp) {
            File cacheFile = cacheDir.file(key)
            Files.copy(value.toPath(), cacheFile.toPath())
            writeLastFileAccessTimeToJournal(cacheFile, timestamp)
        }
    
        @Override
        boolean existsBuildCacheEntry(String key) {
            cacheDir.file(key).exists()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionsResolutionProcessor.kt

            }.groupBy({ (_, softwareTypeName) -> softwareTypeName }, valueTransform = { (access, _) -> access })
    
            val softwareTypeNames = assignments.keys + additions.keys + nestedObjectAccess.keys
    
            return softwareTypeNames.associateWith {
                SoftwareTypeConventionResolutionResults(it, assignments[it].orEmpty(), additions[it].orEmpty(), nestedObjectAccess[it].orEmpty())
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top