Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for getStrings (0.64 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MergeProviderIntegrationTest.groovy

                    @Input
                    abstract Property<String> getString()
    
                    @TaskAction
                    void printText() {
                        println getString().get()
                    }
                }
    
                abstract class StringListTask extends DefaultTask {
                    @Input
                    abstract ListProperty<String> getStrings()
    
                    @TaskAction
                    void printText() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

        }
    
        def "can use a mapped value provider"() {
            buildFile """
                abstract class MyTask extends DefaultTask {
                    @Input
                    abstract ListProperty<String> getStrings()
    
                    @OutputFile
                    abstract RegularFileProperty getOutput()
    
                    @TaskAction
                    def action() {
                        def outputFile = output.get().asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

            replaceVisitedExpressionWith(expr);
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void visitGStringExpression(GStringExpression expr) {
            replaceAllExprs(expr.getStrings());
            replaceAllExprs(expr.getValues());
        }
    
        @Override
        public void visitArgumentlistExpression(ArgumentListExpression expr) {
            visitTupleExpression(expr);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                        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)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

                            performanceResults.setOperatingSystem(testExecutions.getString(5));
                            performanceResults.setJvm(testExecutions.getString(6));
                            performanceResults.setVcsBranch(testExecutions.getString(7).trim());
                            performanceResults.setVcsCommits(split(testExecutions.getString(8)));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy

                    "@${Managed.name} interface SomeThing { SomeThing getThing() }",
                    "@${Managed.name} interface SomeThing { ${ModelSet.name}<SomeThing> getThings() }",
                    "@${Managed.name} interface SomeThing { @${Managed.name} static interface Child {}; ${ModelSet.name}<Child> getThings() }",
            ]
        }
    
        def "does not hold strong reference to a managed #type type"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/internal/profile/encode.go

    		m.File, err = getString(p.stringTable, &m.fileX, err)
    		m.BuildID, err = getString(p.stringTable, &m.buildIDX, err)
    		mappings[m.ID] = m
    	}
    
    	functions := make(map[uint64]*Function)
    	for _, f := range p.Function {
    		f.Name, err = getString(p.stringTable, &f.nameX, err)
    		f.SystemName, err = getString(p.stringTable, &f.systemNameX, err)
    		f.Filename, err = getString(p.stringTable, &f.filenameX, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
Back to top