- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for mapValue (0.21 sec)
-
scan.go
} } } func scanIntoMap(mapValue map[string]interface{}, values []interface{}, columns []string) { for idx, column := range columns { if reflectValue := reflect.Indirect(reflect.Indirect(reflect.ValueOf(values[idx]))); reflectValue.IsValid() { mapValue[column] = reflectValue.Interface() if valuer, ok := mapValue[column].(driver.Valuer); ok { mapValue[column], _ = valuer.Value()
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10K bytes - Viewed (0) -
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) -
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) -
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) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
it.name.endsWith(".json") }?.associate { it to it.readAcceptedChanges() }?.filterValues { it.acceptedApiChanges != null }?.mapValues { it.value.acceptedApiChanges!! } ?: emptyMap() } private fun File.readAcceptedChanges(): AcceptedApiChanges { val jsonString = this.readText()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt
protected abstract fun read(decoder: Decoder): V /** * Collects all values used during execution */ fun collectAccessedValues(): Map<K, BlockAddress> = currentValues.mapValues { it.value.get() } fun restoreFromCacheEntry(entryDetails: Map<K, BlockAddress>, checkedFingerprint: CheckedFingerprint.ProjectsInvalid) { for (entry in entryDetails) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt
} private fun addSystemPropertiesPrefixedByToFingerprint(prefix: String, snapshot: Map<String, String?>) { val filteredSnapshot = snapshot.mapValues { e -> if (isSystemPropertyMutated(e.key)) { ConfigurationCacheFingerprint.SystemPropertiesPrefixedBy.IGNORED } else { e.value } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 32.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt
ActualWithoutExpectImpl( firSymbolBuilder.buildSymbol(firDiagnostic.a), firDiagnostic.b.mapKeys { (expectActualCompatibility, _) -> expectActualCompatibility }.mapValues { (_, collection) -> collection.map { firBasedSymbol -> firSymbolBuilder.buildSymbol(firBasedSymbol) } },
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 11:41:05 UTC 2024 - 210.1K bytes - Viewed (0)