Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 188 for gotype (0.17 sec)

  1. src/encoding/gob/type.go

    var (
    	types                = make(map[reflect.Type]gobType, 32)
    	idToTypeSlice        = make([]gobType, 1, firstUserId)
    	builtinIdToTypeSlice [firstUserId]gobType // set in init() after builtins are established
    )
    
    func idToType(id typeId) gobType {
    	if id < 0 || int(id) >= len(idToTypeSlice) {
    		return nil
    	}
    	return idToTypeSlice[id]
    }
    
    func builtinIdToType(id typeId) gobType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. src/internal/reflectlite/type.go

    	}
    	return s[i+1:]
    }
    
    func toRType(t *abi.Type) rtype {
    	return rtype{t}
    }
    
    func elem(t *abi.Type) *abi.Type {
    	et := t.Elem()
    	if et != nil {
    		return et
    	}
    	panic("reflect: Elem of invalid type " + toRType(t).String())
    }
    
    func (t rtype) Elem() Type {
    	return toType(elem(t.common()))
    }
    
    func (t rtype) In(i int) Type {
    	tt := t.Type.FuncType()
    	if tt == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/type.go

    func TypeNode(t *types.Type) Node {
    	if n := t.Obj(); n != nil {
    		if n.Type() != t {
    			base.Fatalf("type skew: %v has type %v, but expected %v", n, n.Type(), t)
    		}
    		return n.(*Name)
    	}
    	return newTypeNode(t)
    }
    
    // A DynamicType represents a type expression whose exact type must be
    // computed dynamically.
    type DynamicType struct {
    	miniExpr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/reflect/type.go

    func typeOffFor(t *abi.Type, off aTypeOff) *abi.Type {
    	return toRType(t).typeOff(off)
    }
    
    func (t *interfaceType) typeOff(off aTypeOff) *abi.Type {
    	return toRType(&t.Type).typeOff(off)
    }
    
    func (t *interfaceType) common() *abi.Type {
    	return &t.Type
    }
    
    func (t *interfaceType) uncommon() *abi.UncommonType {
    	return t.Uncommon()
    }
    
    // mapType represents a map type.
    type mapType struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinBinaryInfo.groovy

                // 000 0105673E ABS    notype       Static       | @comp.id
                // 001 80000191 ABS    notype       Static       | @feat.00
                // 002 00000000 SECT1  notype       Static       | .drectve
                // 005 00000000 SECT2  notype       Static       | .debug$S
                // 008 00000000 SECT3  notype       Static       | .debug$T
                // 00B 00000000 SECT4  notype       Static       | .text$mn
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/convert.go

    	if n.Type().SoleComponent() == nil {
    		return n
    	}
    	// Keep in sync with cmd/compile/internal/types/type.go:Type.SoleComponent.
    	for {
    		switch {
    		case n.Type().IsStruct():
    			if n.Type().Field(0).Sym.IsBlank() {
    				// Treat blank fields as the zero value as the Go language requires.
    				n = typecheck.TempAt(base.Pos, ir.CurFunc, n.Type().Field(0).Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. src/net/sockopt_bsd.go

    		}
    	}
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW && supportsIPv4map() {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    		// Allow broadcast.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. 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();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/net/internal/socktest/switch_posix.go

    	}
    }
    
    func typeString(sotype int) string {
    	var s string
    	switch sotype & 0xff {
    	case syscall.SOCK_STREAM:
    		s = "stream"
    	case syscall.SOCK_DGRAM:
    		s = "datagram"
    	case syscall.SOCK_RAW:
    		s = "raw"
    	case syscall.SOCK_SEQPACKET:
    		s = "seqpacket"
    	default:
    		s = fmt.Sprintf("%d", sotype&0xff)
    	}
    	if flags := uint(sotype) & ^uint(0xff); flags != 0 {
    		s += fmt.Sprintf("|%#x", flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1K bytes
    - Viewed (0)
  10. src/net/unixsock_posix.go

    	var sotype int
    	switch net {
    	case "unix":
    		sotype = syscall.SOCK_STREAM
    	case "unixgram":
    		sotype = syscall.SOCK_DGRAM
    	case "unixpacket":
    		sotype = syscall.SOCK_SEQPACKET
    	default:
    		return nil, UnknownNetworkError(net)
    	}
    
    	switch mode {
    	case "dial":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top