Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for interfaceType (0.21 sec)

  1. src/runtime/mfinal.go

    				}
    				switch f.fint.Kind_ & abi.KindMask {
    				case abi.Pointer:
    					// direct use of pointer
    					*(*unsafe.Pointer)(r) = f.arg
    				case abi.Interface:
    					ityp := (*interfacetype)(unsafe.Pointer(f.fint))
    					// set up with empty interface
    					(*eface)(r)._type = &f.ot.Type
    					(*eface)(r).data = f.arg
    					if len(ityp.Methods) != 0 {
    						// convert to interface with methods
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                    } catch (NoSuchMethodException e) {
                        // ignore
                    }
                    for (Class<?> interfaceType : c.getInterfaces()) {
                        queue.addFirst(interfaceType);
                    }
                    if (c.getSuperclass() != null) {
                        queue.addFirst(c.getSuperclass());
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/types2/expr.go

    		*syntax.SliceExpr,
    		*syntax.AssertExpr,
    		*syntax.ListExpr,
    		//*syntax.StarExpr,
    		*syntax.KeyValueExpr,
    		*syntax.ArrayType,
    		*syntax.StructType,
    		*syntax.FuncType,
    		*syntax.InterfaceType,
    		*syntax.MapType,
    		*syntax.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
    - 51.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/decl.go

    	// needs to take care of such type expressions.
    	if op, _ := x.(*syntax.Operation); op != nil && (op.Op == syntax.Tilde || op.Op == syntax.Or) {
    		t := check.typ(&syntax.InterfaceType{MethodList: []*syntax.Field{{Type: x}}})
    		// mark t as implicit interface if all went well
    		if t, _ := t.(*Interface); t != nil {
    			t.implicit = true
    		}
    		return t
    	}
    	return check.typ(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
Back to top