Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 97 for mapValue (0.19 sec)

  1. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

                abstract class CustomTask : DefaultTask() {
                    @get:Input
                    abstract val mapValues: MapProperty<String, Int>
    
                    @TaskAction
                    fun customAction() {
                        println("Hello from custom task")
                        // println("- mapValues['alma'] = \${mapValues['alma']}")
                    }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

            val sortedChanges = originalChanges.mapValues {
                sortChanges(it.value)
            }
    
            val mismatches = originalChanges.mapValues {
                findMismatches(it.value, sortedChanges[it.key]!!)
            }.filterValues {
                it.isNotEmpty()
            }
    
            if (mismatches.isNotEmpty()) {
                val formattedMismatches = mismatches.mapValues { mismatch ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DiscreteDomain.java

     * instances. A discrete domain is one that supports the three basic operations: {@link #next},
     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
     * <p>A discrete domain always represents the <i>entire</i> set of values of its type; it cannot
     * represent partial domains such as "prime integers" or "strings of length 5."
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/internal/types/errors/codes_test.go

    		"builtin",
    		// Use dot-dot-dot.
    		"ellipsis",
    	}
    	nameHist := make(map[int]int)
    	longestName := ""
    	maxValue := 0
    
    	walkCodes(t, func(name string, value int, spec *ast.ValueSpec) {
    		if name == "_" {
    			return
    		}
    		nameHist[len(name)]++
    		if value > maxValue {
    			maxValue = value
    		}
    		if len(name) > len(longestName) {
    			longestName = name
    		}
    		if !token.IsExported(name) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:41:45 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/DiscreteDomain.java

     * instances. A discrete domain is one that supports the three basic operations: {@link #next},
     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
     * <p>A discrete domain always represents the <i>entire</i> set of values of its type; it cannot
     * represent partial domains such as "prime integers" or "strings of length 5."
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/reflectObject.kt

                    is FunctionSemantics.Pure -> ObjectReflection.PureFunctionInvocation(
                        type,
                        objectOrigin,
                        objectOrigin.parameterBindings.bindingMap.mapValues { reflect(it.value, context) }
                    )
    
                    is FunctionSemantics.AccessAndConfigure -> {
                        when (objectOrigin) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java

            store.flush();
        }
    
        private void verify(FreeListBlock block, int maxValue) {
            if (block.largestInNextBlock > maxValue) {
                throw new RuntimeException("corrupt free list");
            }
            int current = 0;
            for (FreeListEntry entry : block.entries) {
                if (entry.size > maxValue) {
                    throw new RuntimeException("corrupt free list");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/LowMemoryDaemonExpirationStrategy.java

            this.minFreeMemoryPercentage = minFreeMemoryPercentage;
        }
    
        private long normalizeThreshold(final long thresholdIn, final long minValue, final long maxValue) {
            return Math.min(maxValue, Math.max(minValue, thresholdIn));
        }
    
        @Override
        public DaemonExpirationResult checkExpiration() {
            lock.lock();
            try {
                if (memoryStatus != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/importOptimizer/AbstractAnalysisApiImportOptimizerTest.kt

            val importAnalysisRendered = buildString {
                val sortedUsedDeclarations = importsAnalysis.usedDeclarations
                    .toSortedMap(compareBy { importPath -> importPath.toString() })
                    .mapValues { (_, importedNames) -> importedNames.sorted() }
    
                appendLine("USED DECLARATIONS:")
                for ((path, elements) in sortedUsedDeclarations) {
                    appendLine()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            loadChanges().mapValues {
                formatChanges(sortChanges(it.value))
            }.forEach {
                it.key.bufferedWriter().use { out -> out.write(it.value) }
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top