Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for hasMethod (0.11 sec)

  1. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy

            then:
            !compiledScript.runDoesSomething
            !compiledScript.hasMethods
            compiledScript.data == null
    
            where:
            emptyScript                   | _
            ""                            | _
            "  \r\n\t   \n"               | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  2. src/go/types/typeset.go

    func (s *_TypeSet) String() string {
    	switch {
    	case s.IsEmpty():
    		return "∅"
    	case s.IsAll():
    		return "𝓤"
    	}
    
    	hasMethods := len(s.methods) > 0
    	hasTerms := s.hasTerms()
    
    	var buf strings.Builder
    	buf.WriteByte('{')
    	if s.comparable {
    		buf.WriteString("comparable")
    		if hasMethods || hasTerms {
    			buf.WriteString("; ")
    		}
    	}
    	for i, m := range s.methods {
    		if i > 0 {
    			buf.WriteString("; ")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typeset.go

    func (s *_TypeSet) String() string {
    	switch {
    	case s.IsEmpty():
    		return "∅"
    	case s.IsAll():
    		return "𝓤"
    	}
    
    	hasMethods := len(s.methods) > 0
    	hasTerms := s.hasTerms()
    
    	var buf strings.Builder
    	buf.WriteByte('{')
    	if s.comparable {
    		buf.WriteString("comparable")
    		if hasMethods || hasTerms {
    			buf.WriteString("; ")
    		}
    	}
    	for i, m := range s.methods {
    		if i > 0 {
    			buf.WriteString("; ")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                    assert 'value' == it.property
                }
                [withDescription, asMethod].each {
                    assert 'value' == it.description
                }
                task all(dependsOn: ["withDescription", "asMethod", "asStatement", "dynamic", "asExpression", "postConfigure"])
                class TestTask extends DefaultTask { @Input String property }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top