Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for otherValues (0.43 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AbstractResolutionFailureDescriber.java

                .collect(Collectors.toMap(AssessedAttribute::getAttribute, AssessedAttribute::getRequested, (a, b) -> a));
            @SuppressWarnings("DataFlowIssue") List<String> otherValues = assessedCandidate.getOnlyOnRequestAttributes().stream()
                .map(assessedAttribute -> "Doesn't say anything about " + describer.describeMissingAttribute(assessedAttribute.getAttribute(), assessedAttribute.getRequested()))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/net/http/request.go

    		return r.matches[i]
    	}
    	return r.otherValues[name]
    }
    
    // SetPathValue sets name to value, so that subsequent calls to r.PathValue(name)
    // return value.
    func (r *Request) SetPathValue(name, value string) {
    	if i := r.patIndex(name); i >= 0 {
    		r.matches[i] = value
    	} else {
    		if r.otherValues == nil {
    			r.otherValues = map[string]string{}
    		}
    		r.otherValues[name] = value
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AbstractAccessTrackingMapTest.groovy

            'existing' | 'existingValue'    | 'existingValue' | 'other'       | 'otherValue'       | 'otherValue'   | true
            'existing' | 'nonexistingValue' | 'existingValue' | 'other'       | 'otherValue'       | 'otherValue'   | false
            'existing' | 'nonexistingValue' | 'existingValue' | 'missing'     | 'missingValue'     | null           | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. pkg/test/framework/scope_test.go

    			}
    		})
    	}
    }
    
    func TestGet_Slice(t *testing.T) {
    	exp := []*resource.FakeResource{
    		{
    			IDValue:    "child-resource",
    			OtherValue: "child",
    		},
    		{
    			IDValue:    "parent-resource",
    			OtherValue: "parent",
    		},
    	}
    
    	g := NewWithT(t)
    	parent := newScope("parent", nil)
    	parent.add(exp[1], &resourceID{id: exp[1].IDValue})
    	child := newScope("child", parent)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. build-logic/lifecycle/src/main/kotlin/gradlebuild.lifecycle.gradle.kts

        val propertyName = pair.first
        val value = pair.second
        if (hasProperty(propertyName)) {
            val otherValue = property(propertyName)
            if (value.toString() != otherValue.toString()) {
                throw RuntimeException("Attempting to set global property $propertyName to two different values ($value vs $otherValue)")
            }
        }
        extra.set(propertyName, value)
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:39:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            where:
            key        | oldValue        | expectedValue   | expectedResult
            'existing' | 'existingValue' | 'newValue'      | true
            'existing' | 'otherValue'    | 'existingValue' | false
            'missing'  | 'otherValue'    | null            | false
    
        }
    
        def "method replace(#key, #oldValue, newValue) reports change"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  7. pkg/test/framework/resource/resource.go

    // FakeResource used for testing.
    type FakeResource struct {
    	IDValue    string
    	OtherValue string
    }
    
    func (f *FakeResource) ID() ID {
    	return FakeID(f.IDValue)
    }
    
    // GetOtherValue is an additional method used to distinguish this resource API from others.
    func (f *FakeResource) GetOtherValue() string {
    	return f.OtherValue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 30 01:00:01 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelCheckerTest.groovy

                dummyModel("otherValue"),
                [
                    { it.value }
                ]
            )
    
            then:
            def error = thrown(AssertionError)
            error.message.contains("assert getter(actual) == getter(expected)")
            error.message.contains("       |      |       |  |")
            error.message.contains("       |      |       |  'otherValue'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultGradlePropertiesLoaderTest.groovy

            when:
            def properties = loadAndMergePropertiesWith(emptyMap())
    
            then:
            "value" == properties["prop1"]
            "value" == properties["prop2"]
    
            when:
            properties = loadPropertiesFrom(otherSettingsDir).getProperties()
    
            then:
            "otherValue" == properties["prop1"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 11:52:10 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                        verify.prop.putAll(['key': 'newValue', 'otherKey': 'otherValue'])
                        verify.expected = ['key': 'newValue', 'otherKey': 'otherValue']
                    }
                }
    
                task replacingPutAllWithProvider {
                    doLast {
                        verify.prop.putAll(provider { ['key': 'newValue', 'otherKey': 'otherValue'] })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top