Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for isTyped (0.14 sec)

  1. src/cmd/compile/internal/types2/example_test.go

    // 12:24 | x - 2               | value   : int
    // 12:26 | 2                   | value   : int = 2
    
    func mode(tv types2.TypeAndValue) string {
    	switch {
    	case tv.IsVoid():
    		return "void"
    	case tv.IsType():
    		return "type"
    	case tv.IsBuiltin():
    		return "builtin"
    	case tv.IsNil():
    		return "nil"
    	case tv.Assignable():
    		if tv.Addressable() {
    			return "var"
    		}
    		return "mapindex"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api.go

    // IsVoid reports whether the corresponding expression
    // is a function call without results.
    func (tv TypeAndValue) IsVoid() bool {
    	return tv.mode == novalue
    }
    
    // IsType reports whether the corresponding expression specifies a type.
    func (tv TypeAndValue) IsType() bool {
    	return tv.mode == typexpr
    }
    
    // IsBuiltin reports whether the corresponding expression denotes
    // a (possibly parenthesized) built-in function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeQueries.groovy

        abstract <T extends BuildOperationType<?, ?>> BuildOperationRecord first(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll())
    
        abstract <T extends BuildOperationType<?, ?>> boolean isType(BuildOperationRecord record, Class<T> type)
    
        abstract <T extends BuildOperationType<?, ?>> List<BuildOperationRecord> all(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/go/types/api.go

    // IsVoid reports whether the corresponding expression
    // is a function call without results.
    func (tv TypeAndValue) IsVoid() bool {
    	return tv.mode == novalue
    }
    
    // IsType reports whether the corresponding expression specifies a type.
    func (tv TypeAndValue) IsType() bool {
    	return tv.mode == typexpr
    }
    
    // IsBuiltin reports whether the corresponding expression denotes
    // a (possibly parenthesized) built-in function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            realize.children.size() == 1
            def configure = realize.children[0]
            configure.children.size() == 1
            buildOperations.isType(configure.children[0], RealizeTaskBuildOperationType)
            withPath(":", ":bar").isSatisfiedBy(configure.children[0])
        }
    
        def "emits registration, realization build ops when tasks later realized"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/go/types/example_test.go

    	// 12:24 | x - 2               | value   : int
    	// 12:26 | 2                   | value   : int = 2
    }
    
    func mode(tv types.TypeAndValue) string {
    	switch {
    	case tv.IsVoid():
    		return "void"
    	case tv.IsType():
    		return "type"
    	case tv.IsBuiltin():
    		return "builtin"
    	case tv.IsNil():
    		return "nil"
    	case tv.Assignable():
    		if tv.Addressable() {
    			return "var"
    		}
    		return "mapindex"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    			break
    		}
    		if p.isUnsafeData(c.Fun, true) {
    			return true
    		}
    		if !p.isType(c.Fun) {
    			break
    		}
    		x = c.Args[0]
    	}
    	return false
    }
    
    // isType reports whether the expression is definitely a type.
    // This is conservative--it returns false for an unknown identifier.
    func (p *Package) isType(t ast.Expr) bool {
    	switch t := t.(type) {
    	case *ast.SelectorExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    // DWARF generator) know means the symbol is not decodable.
    // Leave type:runtime. symbols alone, because other parts of
    // the linker manipulates them.
    func typeSymbolMangle(name string) string {
    	isType := strings.HasPrefix(name, "type:")
    	if !isType && !strings.Contains(name, "@") {
    		// Issue 58800: instantiated symbols may include a type name, which may contain "@"
    		return name
    	}
    	if strings.HasPrefix(name, "type:runtime.") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg go/types, method (TypeAndValue) HasOk() bool
    pkg go/types, method (TypeAndValue) IsBuiltin() bool
    pkg go/types, method (TypeAndValue) IsNil() bool
    pkg go/types, method (TypeAndValue) IsType() bool
    pkg go/types, method (TypeAndValue) IsValue() bool
    pkg go/types, method (TypeAndValue) IsVoid() bool
    pkg go/types, type Array struct
    pkg go/types, type Basic struct
    pkg go/types, type BasicInfo int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_test.go

    	pred := func(b bool, s string) {
    		if b {
    			if buf.Len() > 0 {
    				buf.WriteString(", ")
    			}
    			buf.WriteString(s)
    		}
    	}
    
    	pred(tv.IsVoid(), "void")
    	pred(tv.IsType(), "type")
    	pred(tv.IsBuiltin(), "builtin")
    	pred(tv.IsValue() && tv.Value != nil, "const")
    	pred(tv.IsValue() && tv.Value == nil, "value")
    	pred(tv.IsNil(), "nil")
    	pred(tv.Addressable(), "addressable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top