Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for toRType (0.24 sec)

  1. src/runtime/heapdump.go

    	for j := typeCacheAssoc - 1; j > 0; j-- {
    		b.t[j] = b.t[j-1]
    	}
    	b.t[0] = t
    
    	// dump the type
    	dumpint(tagType)
    	dumpint(uint64(uintptr(unsafe.Pointer(t))))
    	dumpint(uint64(t.Size_))
    	rt := toRType(t)
    	if x := t.Uncommon(); x == nil || rt.nameOff(x.PkgPath).Name() == "" {
    		dumpstr(rt.string())
    	} else {
    		pkgpath := rt.nameOff(x.PkgPath).Name()
    		name := rt.name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    	defer func() {
    		text := "panic while printing panic value"
    		switch r := recover().(type) {
    		case nil:
    			// nothing to do
    		case string:
    			throw(text + ": " + r)
    		default:
    			throw(text + ": type " + toRType(efaceOf(&r)._type).string())
    		}
    	}()
    	for p != nil {
    		switch v := p.arg.(type) {
    		case error:
    			p.arg = v.Error()
    		case stringer:
    			p.arg = v.String()
    		}
    		p = p.link
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         *
         * @param parser The XML parser
         * @param toType The target type
         * @return Converted instance of the target type
         */
        private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            parser.require(XmlPullParser.START_TAG, null, null);
    
            final Class<?> rawType = toType.getRawType();
            if (XmlNode.class.isAssignableFrom(rawType)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/graph_test.go

    		desc        string
    		fromType    vertexType
    		toType      vertexType
    		toNamespace string
    		toName      string
    		start       *Graph
    		expect      *Graph
    	}{
    		{
    			// single edge from a configmap to a node, will delete edge and orphaned configmap
    			desc:        "edges and source orphans are deleted, destination orphans are preserved",
    			fromType:    configMapVertexType,
    			toType:      nodeVertexType,
    			toNamespace: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/convert.go

    		ta := ir.NewTypeAssertExpr(base.Pos, c, toType)
    		ta.SetOp(ir.ODOTTYPE2)
    		// Allocate a descriptor for this conversion to pass to the runtime.
    		ta.Descriptor = makeTypeAssertDescriptor(toType, true)
    		rhs = ta
    	} else {
    		ta := ir.NewDynamicTypeAssertExpr(base.Pos, ir.ODYNAMICDOTTYPE2, c, n.TypeWord)
    		rhs = ta
    	}
    	rhs.SetType(toType)
    	rhs.SetTypecheck(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/typeconversion/DefaultTypeConverter.java

        private static <T> NotationParser<Object, T> build(NotationConverter<Object, T> converter, Class<T> type) {
            return NotationParserBuilder
                .toType(type)
                .noImplicitConverters()
                .converter(converter)
                .toComposite();
        }
    
        private <T> void registerConverter(NotationConverter<Object, T> converter, Class<T> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutions.java

            NotationParser<Object, ComponentSelector> projectSelectorNotationParser = NotationParserBuilder
                .toType(ComponentSelector.class)
                .fromCharSequence(new ProjectPathConverter(componentIdentifierFactory))
                .toComposite();
            return instantiator.newInstance(DefaultDependencySubstitutions.class,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  8. internal/s3select/sql/funceval.go

    	t, ok := timeVal.ToTimestamp()
    	if !ok {
    		return nil, errNonTimestampArg
    	}
    
    	return extract(strings.ToUpper(e.Timeword), t)
    }
    
    func errUnsupportedCast(fromType, toType string) error {
    	return fmt.Errorf("Cannot cast from %v to %v", fromType, toType)
    }
    
    func errCastFailure(msg string) error {
    	return fmt.Errorf("Error casting: %s", msg)
    }
    
    // Allowed cast types
    const (
    	castBool      = "BOOL"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            return find(ModelPath.path(path), type);
        }
    
        @Override
        public <T> T find(ModelPath path, ModelType<T> type) {
            return toType(type, get(path), "find(ModelPath, ModelType)");
        }
    
        private <T> T toType(ModelType<T> type, ModelNodeInternal node, String msg) {
            if (node == null) {
                return null;
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataProcessorTest.groovy

        def dependencyConstraintMetadataNotationParser = DependencyMetadataNotationParser.parser(instantiator, DependencyConstraintMetadataImpl, stringInterner)
        def moduleIdentifierNotationParser = NotationParserBuilder.toType(ModuleIdentifier).converter(new ModuleIdentifierNotationConverter(new DefaultImmutableModuleIdentifierFactory())).toComposite();
        def componentIdentifierNotationParser = new ComponentIdentifierParserFactory().create()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top