Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for interfaceType (0.22 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  2. src/reflect/type.go

    //	struct {
    //		funcType
    //		uncommonType
    //		[2]*rtype    // [0] is in, [1] is out
    //	}
    type funcType = abi.FuncType
    
    // interfaceType represents an interface type.
    type interfaceType struct {
    	abi.InterfaceType // can embed directly because not a public type.
    }
    
    func (t *interfaceType) nameOff(off aNameOff) abi.Name {
    	return toRType(&t.Type).nameOff(off)
    }
    
    func nameOffFor(t *abi.Type, off aNameOff) abi.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    		p.fieldDecl(typ)
    		return false
    	})
    
    	return typ
    }
    
    // InterfaceType = "interface" "{" { ( MethodDecl | EmbeddedElem ) ";" } "}" .
    func (p *parser) interfaceType() *InterfaceType {
    	if trace {
    		defer p.trace("interfaceType")()
    	}
    
    	typ := new(InterfaceType)
    	typ.pos = p.pos()
    
    	p.want(_Interface)
    	p.want(_Lbrace)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeToken.java

        }
        ImmutableList.Builder<TypeToken<? super T>> builder = ImmutableList.builder();
        for (Type interfaceType : getRawType().getGenericInterfaces()) {
          @SuppressWarnings("unchecked") // interface of T
          TypeToken<? super T> resolvedInterface =
              (TypeToken<? super T>) resolveSupertype(interfaceType);
          builder.add(resolvedInterface);
        }
        return builder.build();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToken.java

        }
        ImmutableList.Builder<TypeToken<? super T>> builder = ImmutableList.builder();
        for (Type interfaceType : getRawType().getGenericInterfaces()) {
          @SuppressWarnings("unchecked") // interface of T
          TypeToken<? super T> resolvedInterface =
              (TypeToken<? super T>) resolveSupertype(interfaceType);
          builder.add(resolvedInterface);
        }
        return builder.build();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/go/types/expr.go

    		*ast.CompositeLit,
    		*ast.IndexExpr,
    		*ast.SliceExpr,
    		*ast.TypeAssertExpr,
    		*ast.StarExpr,
    		*ast.KeyValueExpr,
    		*ast.ArrayType,
    		*ast.StructType,
    		*ast.FuncType,
    		*ast.InterfaceType,
    		*ast.MapType,
    		*ast.ChanType:
    		// These expression are never untyped - nothing to do.
    		// The respective sub-expressions got their final types
    		// upon assignment or use.
    		if debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top