Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for typInfo (0.16 sec)

  1. src/encoding/xml/typeinfo.go

    )
    
    var tinfoMap sync.Map // map[reflect.Type]*typeInfo
    
    var nameType = reflect.TypeFor[Name]()
    
    // getTypeInfo returns the typeInfo structure with details necessary
    // for marshaling and unmarshaling typ.
    func getTypeInfo(typ reflect.Type) (*typeInfo, error) {
    	if ti, ok := tinfoMap.Load(typ); ok {
    		return ti.(*typeInfo), nil
    	}
    
    	tinfo := &typeInfo{}
    	if typ.Kind() == reflect.Struct && typ != nameType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/internal/typeconversion/TypeInfo.java

     */
    
    package org.gradle.internal.typeconversion;
    
    import org.gradle.internal.Cast;
    
    /**
     * Type literal, useful for nested Generics.
     */
    public class TypeInfo<T> {
        private final Class<T> targetType;
    
        public TypeInfo(Class<?> targetType) {
            assert targetType != null;
            this.targetType = Cast.uncheckedNonnullCast(targetType);
        }
    
        public Class<T> getTargetType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 27 16:13:20 UTC 2020
    - 1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/internal/typeconversion/NotationParserBuilder.java

        public static <T> NotationParserBuilder<Object, T> toType(Class<T> resultingType) {
            return new NotationParserBuilder<>(Object.class, new TypeInfo<>(resultingType));
        }
    
        public static <T> NotationParserBuilder<Object, T> toType(TypeInfo<T> resultingType) {
            return new NotationParserBuilder<>(Object.class, resultingType);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 27 20:34:59 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/typeconversion/TypedNotationConverter.java

        public TypedNotationConverter(Class<N> typeToken) {
            assert typeToken != null : "typeToken cannot be null";
            this.typeToken = typeToken;
        }
    
        public TypedNotationConverter(TypeInfo<N> typeToken) {
            assert typeToken != null : "typeToken cannot be null";
            this.typeToken = typeToken.getTargetType();
        }
    
        @Override
        public void describe(DiagnosticsVisitor visitor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ModuleVersionSelectorParsers.java

    import org.gradle.internal.typeconversion.NotationParser;
    import org.gradle.internal.typeconversion.NotationParserBuilder;
    import org.gradle.internal.typeconversion.TypeConversionException;
    import org.gradle.internal.typeconversion.TypeInfo;
    import org.gradle.internal.typeconversion.TypedNotationConverter;
    
    import java.util.Set;
    
    import static org.gradle.api.internal.artifacts.DefaultModuleVersionSelector.newSelector;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/dsl/DependencyResultSpecNotationConverter.java

        }
    
        public static NotationParser<Object, Spec<DependencyResult>> parser() {
            return NotationParserBuilder
                    .toType(new TypeInfo<Spec<DependencyResult>>(Spec.class))
                    .invalidNotationMessage("Please check the input for the DependencyInsight.dependency element.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 27 14:58:38 UTC 2020
    - 2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

            val signature = SignatureParsing.CharIterator(canonicalSignature)
            val typeInfo = SignatureParsing.parseTypeStringToTypeInfo(signature, StubBuildingVisitor.GUESSING_PROVIDER)
            val typeText = typeInfo.text() ?: return null
    
            return SyntheticTypeElement(useSitePosition, typeText)
        }
    
        override fun asKaType(
            psiType: PsiType,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/support.go

    // See cmd/compile/internal/noder.derivedInfo.
    type derivedInfo struct {
    	idx    pkgbits.Index
    	needed bool
    }
    
    // See cmd/compile/internal/noder.typeInfo.
    type typeInfo struct {
    	idx     pkgbits.Index
    	derived bool
    }
    
    // See cmd/compile/internal/types.SplitVargenSuffix.
    func splitVargenSuffix(name string) (base, suffix string) {
    	i := len(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/type.go

    // Expressions in the syntax package provide storage for
    // the typechecker to record its results. This interface
    // is the mechanism the typechecker uses to record results,
    // and clients use to retrieve those results.
    type typeInfo interface {
    	SetTypeInfo(TypeAndValue)
    	GetTypeInfo() TypeAndValue
    }
    
    // A TypeAndValue records the type information, constant
    // value if known, and various other flags associated with
    // an expression.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Addr    [16]byte /* in6_addr */
    	Ifindex uint32
    }
    
    type IPv6MTUInfo struct {
    	Addr RawSockaddrInet6
    	Mtu  uint32
    }
    
    type ICMPv6Filter struct {
    	Data [8]uint32
    }
    
    type TCPInfo struct {
    	State          uint8
    	Ca_state       uint8
    	Retransmits    uint8
    	Probes         uint8
    	Backoff        uint8
    	Options        uint8
    	Rto            uint32
    	Ato            uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top