Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 277 for STRICT (0.12 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            succeeds("after")
            output.count("prop = " + file("build/dir.out")) == 3
        }
    
        @ToBeFixedForConfigurationCache(because = "https://github.com/gradle/gradle/issues/25513")
        def "cannot query strict task output file property until task starts execution"() {
            taskTypeWithOutputFileProperty()
            settingsFile << "rootProject.name = 'broken'"
            buildFile """
                task producer(type: FileProducer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformUpstreamDependenciesResolver.java

        }
    
        private Set<ComponentIdentifier> computeDependencies(ResolvedComponentResult value, boolean strict) {
            ResolvedComponentResult targetComponent = findComponent(value, componentIdentifier);
    
            if (targetComponent == null) {
                // TODO: This is very suspicious. We should always fail here.
                // `strict` was added because file dependencies' components are never included in the graph.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/encoding/base64/base64_test.go

    	{StdEncoding, stdRef},
    	{URLEncoding, urlRef},
    	{RawStdEncoding, rawRef},
    	{RawURLEncoding, rawURLRef},
    	{funnyEncoding, funnyRef},
    	{StdEncoding.Strict(), stdRef},
    	{URLEncoding.Strict(), urlRef},
    	{RawStdEncoding.Strict(), rawRef},
    	{RawURLEncoding.Strict(), rawURLRef},
    	{funnyEncoding.Strict(), funnyRef},
    }
    
    var bigtest = testpair{
    	"Twas brillig, and the slithy toves",
    	"VHdhcyBicmlsbGlnLCBhbmQgdGhlIHNsaXRoeSB0b3Zlcw==",
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 03 18:57:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyLifecycleIntegrationTest.groovy

            failure.assertHasDescription("Execution failed for task ':thing'.")
            failure.assertHasCause("The value for this property is final and cannot be changed any further.")
        }
    
        def "can write but cannot read strict project property instance before project configuration completes"() {
            given:
            settingsFile << 'rootProject.name = "broken"'
            buildFile """
                interface ProjectModel {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:00:52 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_test.go

    			for _, ver := range merged {
    				if ver.header.Type == invalidVersionType {
    					t.Errorf("Invalid result returned: %v", ver.header)
    				}
    			}
    		})
    		t.Run(fmt.Sprintf("strict-signature-q%d", i), func(t *testing.T) {
    			// Mutate signature, non strict
    			vMod := make([][]xlMetaV2ShallowVersion, 0, len(vers))
    			for i, ver := range vers {
    				newVers := make([]xlMetaV2ShallowVersion, 0, len(ver))
    				for _, v := range ver {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. pkg/util/iptables/testing/parse.go

    var ipTablesValuePtrType = reflect.TypeOf((*IPTablesValue)(nil))
    
    // ParseRule parses rule. If strict is false, it will parse the recognized
    // parameters and ignore unrecognized ones. If it is true, parsing will fail if there are
    // unrecognized parameters.
    func ParseRule(rule string, strict bool) (*Rule, error) {
    	parsed := &Rule{Raw: rule}
    
    	// Split rule into "words" (where a quoted string is a single word).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionLifecycleIntegrationTest.groovy

            when:
            fails('broken')
    
            then:
            failure.assertHasCause("The value for this file collection cannot be changed any further.")
        }
    
        def "can write but cannot read strict project file collection instance before project configuration completes"() {
            given:
            settingsFile << 'rootProject.name = "broken"'
            buildFile """
                interface ProjectModel {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 10:55:07 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. internal/config/api/api.go

    	listQuorum := env.Get(EnvAPIListQuorum, kvs.GetWithDefault(apiListQuorum, DefaultKVS))
    	switch listQuorum {
    	case "strict", "optimal", "reduced", "disk", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum)
    	}
    	cfg.ListQuorum = listQuorum
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/encoding/xml/xml_test.go

    func TestDecodeNilToken(t *testing.T) {
    	for _, strict := range []bool{true, false} {
    		name := fmt.Sprintf("Strict=%v", strict)
    		t.Run(name, func(t *testing.T) {
    			start := StartElement{Name: Name{Local: "test"}}
    			bad := StartElement{Name: Name{Local: "bad"}}
    			d := NewTokenDecoder(&toksNil{
    				// Malformed
    				t: []Token{start, bad, start.End()},
    			})
    			d.Strict = strict
    			err := d.Decode(&struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    			url: &url.URL{
    				RawQuery: "fieldValidation=Warn",
    			},
    			expectedFieldValidation: "Warn",
    		},
    		{
    			name: "strict field validation",
    			url: &url.URL{
    				RawQuery: "fieldValidation=Strict",
    			},
    			expectedFieldValidation: "Strict",
    		},
    		{
    			name: "invalid field validation",
    			url: &url.URL{
    				RawQuery: "fieldValidation=foo",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top