Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for mapValue (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top