Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,385 for setStrings (0.42 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy

                    }
                  }
                  setStrings {
                    create {
                        add 'b'
                    }
                  }
                  tasks {
                    create("print") {
                      doLast {
                        println "mapThings: " + ($.mapThings as List)*.keySet()
                        println "setThings: " + ($.setThings as List)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                        println "setThings: " + $.setThings.keySet()
                        println "setStrings: " + $.setStrings.keySet()
                      }
                    }
                  }
                }
            '''
    
            then:
            succeeds "print"
    
            and:
            output.contains "mapThings: []"
            output.contains "setThings: []"
            output.contains "setStrings: []"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedImplStructStrategyTest.groovy

            schema.getProperty('parent').schema == schema
        }
    
        @Managed
        interface SomeType {
            String getReadOnlyString()
    
            List<String> getStrings()
            void setStrings(List<String> strings)
        }
    
        @Managed
        interface Person {
            Person getParent()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/UnmanagedImplStructStrategyTest.groovy

            schema.properties*.name == ['parent']
            schema.getProperty('parent').schema == schema
        }
    
        interface SomeType {
            String getReadOnlyString()
    
            List<String> getStrings()
            void setStrings(List<String> strings)
        }
    
        @UnmanagedStruct
        interface SomeStruct {
            String getReadOnlyString()
        }
    
        interface Person {
            Person getParent()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/RuleSourceSchemaExtractionStrategyTest.groovy

            schema.properties.isEmpty()
        }
    
        static abstract class SomeRules extends RuleSource {
            abstract String getReadOnlyString()
            abstract List<String> getStrings()
            abstract void setStrings(List<String> strings)
        }
    
        def "assembles schema for RuleSource subtype"() {
            expect:
            def schema = store.getSchema(ModelType.of(SomeRules))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

        public static class TestClass4 {
            @Option(option = 'stringValue', description = "string value")
            public void setStrings(String value1, String value2) {
            }
        }
    
        public static class TestClass5 {
            @Option(option = 'fileValue', description = "file value")
            public void setStrings(File file) {
            }
        }
    
        public static class TestClassWithOptionNameClashing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/text/unicode/bidi/bidi.go

    	return p.prepareInput()
    }
    
    // SetString configures s for the given paragraph text. It replaces text
    // previously set by SetBytes or SetString. If s contains a paragraph separator
    // it will only process the first paragraph and report the number of bytes
    // consumed from s including this separator. Error may be non-nil if options are
    // given.
    func (p *Paragraph) SetString(s string, opts ...Option) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    	}
    	settings := &settings{}
    	if err := json.Unmarshal(data, settings); err != nil {
    		return nil, fmt.Errorf("could not parse settings: %w", err)
    	}
    	for i := range settings.Configs {
    		settings.Configs[i].resetTransient()
    	}
    	return settings, nil
    }
    
    // writeSettings saves settings to fname.
    func writeSettings(fname string, settings *settings) error {
    	data, err := json.MarshalIndent(settings, "", "  ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/settings.md

    ```Python hl_lines="10"
    {!../../../docs_src/settings/app02/config.py!}
    ```
    
    Beachten Sie, dass wir jetzt keine Standardinstanz `settings = Settings()` erstellen.
    
    ### Die Haupt-Anwendungsdatei
    
    Jetzt erstellen wir eine Abhängigkeit, die ein neues `config.Settings()` zurückgibt.
    
    === "Python 3.9+"
    
        ```Python hl_lines="6  12-13"
        {!> ../../../docs_src/settings/app02_an_py39/main.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:14 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/groovy/settings.gradle

    rootProject.name = 'component-metadata-rules'
    
    // tag::rule-in-settings[]
    dependencyResolutionManagement {
        components {
            withModule("com.google.guava:guava", GuavaRule)
        }
    }
    // end::rule-in-settings[]
    
    // tag::prefer-settings[]
    dependencyResolutionManagement {
        rulesMode = RulesMode.PREFER_SETTINGS
    }
    // end::prefer-settings[]
    
    // tag::enforce-settings[]
    dependencyResolutionManagement {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top