Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 87 for interfaceType (0.3 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        FreshValueGenerator generator =
            new FreshValueGenerator() {
              @Override
              @CheckForNull
              Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
                return getDummyValue(TypeToken.of(interfaceType).method(method).getReturnType());
              }
            };
        for (Entry<Class<?>, Collection<Object>> entry : distinctValues.asMap().entrySet()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                        }
                    }
                }
    
                // Check if type extends Factory<? extends ElementType>
                for (Type interfaceType : c.getGenericInterfaces()) {
                    if (isFactory(interfaceType, elementType)) {
                        return true;
                    }
                }
    
                return false;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/parser.go

    		// or a function defined in a different package,
    		// or a type$equal or type$hash function.
    		// We only want to record exported functions.
    		return nil
    	}
    
    	return f
    }
    
    // InterfaceType = "interface" "{" { ("?" Type | Func) ";" } "}" .
    func (p *parser) parseInterfaceType(pkg *types.Package, nlist []any) types.Type {
    	p.expectKeyword("interface")
    
    	t := new(types.Interface)
    	p.update(t, nlist)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  4. src/go/ast/filter.go

    			t.Incomplete = true
    		}
    		return len(t.Fields.List) > 0
    	case *FuncType:
    		b1 := filterParamList(t.Params, f, export)
    		b2 := filterParamList(t.Results, f, export)
    		return b1 || b2
    	case *InterfaceType:
    		if filterFieldList(t.Methods, f, export) {
    			t.Incomplete = true
    		}
    		return len(t.Methods.List) > 0
    	case *MapType:
    		b1 := filterType(t.Key, f, export)
    		b2 := filterType(t.Value, f, export)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    			f.walk(tparams, ctxParam, visit)
    		}
    		f.walk(n.Params, ctxParam, visit)
    		if n.Results != nil {
    			f.walk(n.Results, ctxParam, visit)
    		}
    	case *ast.InterfaceType:
    		f.walk(n.Methods, ctxField, visit)
    	case *ast.MapType:
    		f.walk(&n.Key, ctxType, visit)
    		f.walk(&n.Value, ctxType, visit)
    	case *ast.ChanType:
    		f.walk(&n.Value, ctxType, visit)
    
    	case *ast.BadStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    	case *ast.FuncType:
    		if tparams := n.TypeParams; tparams != nil {
    			a.apply(n, "TypeParams", nil, tparams)
    		}
    		a.apply(n, "Params", nil, n.Params)
    		a.apply(n, "Results", nil, n.Results)
    
    	case *ast.InterfaceType:
    		a.apply(n, "Methods", nil, n.Methods)
    
    	case *ast.MapType:
    		a.apply(n, "Key", nil, n.Key)
    		a.apply(n, "Value", nil, n.Value)
    
    	case *ast.ChanType:
    		a.apply(n, "Value", nil, n.Value)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. src/go/printer/testdata/parser.go

    	spec := &ast.Field{doc, idents, typ, nil, p.lineComment}
    	p.declare(spec, scope, ast.Fun, idents...)
    
    	return spec
    }
    
    func (p *parser) parseInterfaceType() *ast.InterfaceType {
    	if p.trace {
    		defer un(trace(p, "InterfaceType"))
    	}
    
    	pos := p.expect(token.INTERFACE)
    	lbrace := p.expect(token.LBRACE)
    	scope := ast.NewScope(nil) // interface scope
    	var list []*ast.Field
    	for p.tok == token.IDENT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  8. src/go/parser/parser.go

    		p.advance(exprEnd)
    		return &ast.BadExpr{From: pos, To: p.pos}
    	}
    
    	return t
    }
    
    func (p *parser) parseInterfaceType() *ast.InterfaceType {
    	if p.trace {
    		defer un(trace(p, "InterfaceType"))
    	}
    
    	pos := p.expect(token.INTERFACE)
    	lbrace := p.expect(token.LBRACE)
    
    	var list []*ast.Field
    
    parseElements:
    	for {
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/deadcode.go

    		off += 3 * arch.PtrSize
    	case abi.Chan: // reflect.chanType
    		off += 2 * arch.PtrSize
    	case abi.Map: // reflect.mapType
    		off += 4*arch.PtrSize + 8
    	case abi.Interface: // reflect.interfaceType
    		off += 3 * arch.PtrSize
    	default:
    		// just Sizeof(rtype)
    	}
    
    	mcount := int(decodeInuxi(arch, p[off+4:], 2))
    	moff := int(decodeInuxi(arch, p[off+4+2+2:], 4))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/go/parser/resolver.go

    					r.resolve(ident, false)
    				} else {
    					ast.Walk(r, kv.Key)
    				}
    				ast.Walk(r, kv.Value)
    			} else {
    				ast.Walk(r, e)
    			}
    		}
    
    	case *ast.InterfaceType:
    		r.openScope(n.Pos())
    		defer r.closeScope()
    		r.walkFieldList(n.Methods, ast.Fun)
    
    	// Statements
    	case *ast.LabeledStmt:
    		r.declare(n, nil, r.labelScope, ast.Lbl, n.Label)
    		ast.Walk(r, n.Stmt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top