Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for hasMethod (0.2 sec)

  1. 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)
  2. 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