Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 115 for Dtype (0.03 sec)

  1. src/cmd/compile/internal/types/type.go

    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    	return t.extra.(*Map)
    }
    
    // Forward contains Type fields specific to forward types.
    type Forward struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/type.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    import "cmd/compile/internal/syntax"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:55:41 UTC 2023
    - 316 bytes
    - Viewed (0)
  3. src/go/types/type.go

    package types
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    	// See https://go.dev/ref/spec#Underlying_types.
    	Underlying() Type
    
    	// String returns a string representation of a type.
    	String() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 541 bytes
    - Viewed (0)
  4. src/mime/type.go

    		fn()
    	} else {
    		setMimeTypes(builtinTypesLower, builtinTypesLower)
    		osInitMime()
    	}
    }
    
    // TypeByExtension returns the MIME type associated with the file extension ext.
    // The extension ext should begin with a leading dot, as in ".html".
    // When ext has no associated type, TypeByExtension returns "".
    //
    // Extensions are looked up first case-sensitively, then case-insensitively.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. test/fixedbugs/issue9604b.go

    	_type{"int16", 16, true},
    	_type{"uint16", 16, false},
    	_type{"int32", 32, true},
    	_type{"uint32", 32, false},
    	_type{"int64", 64, true},
    	_type{"uint64", 64, false},
    	_type{"int", 8 * uint(unsafe.Sizeof(int(0))), true},
    	_type{"uint", 8 * uint(unsafe.Sizeof(uint(0))), false},
    	_type{"uintptr", 8 * uint(unsafe.Sizeof((*byte)(nil))), false},
    }
    
    type binop struct {
    	name string
    	eval func(x, y *big.Int) *big.Int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/runtime/iface.go

    	stringEface any = stringInterfacePtr("")
    	sliceEface  any = sliceInterfacePtr(nil)
    
    	uint16Type *_type = efaceOf(&uint16Eface)._type
    	uint32Type *_type = efaceOf(&uint32Eface)._type
    	uint64Type *_type = efaceOf(&uint64Eface)._type
    	stringType *_type = efaceOf(&stringEface)._type
    	sliceType  *_type = efaceOf(&sliceEface)._type
    )
    
    // The conv and assert functions below do very similar things.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/reflectdata/helpers.go

    // and returns an expression that yields the *runtime._type value
    // representing that map type.
    func MakeMapRType(pos src.XPos, n *ir.MakeExpr) ir.Node {
    	assertOp(n, ir.OMAKEMAP)
    	if hasRType(n, n.RType, "RType") {
    		return n.RType
    	}
    	return mapRType(pos, n.Type())
    }
    
    // MakeSliceElemRType asserts that n is a "make" operation for a slice
    // type, and returns an expression that yields the *runtime._type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. src/net/rpc/server.go

    //   - exported method of exported type
    //   - two arguments, both of exported type
    //   - the second argument is a pointer
    //   - one return value, of type error
    //
    // It returns an error if the receiver is not an exported type or has
    // no suitable methods. It also logs the error using package log.
    // The client accesses each method using a string of the form "Type.Method",
    // where Type is the receiver's concrete type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. src/runtime/unsafe.go

    	}
    }
    
    // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeSlice
    func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) {
    	len := int(len64)
    	if int64(len) != len64 {
    		panicunsafeslicelen1(getcallerpc())
    	}
    	unsafeslice(et, ptr, len)
    }
    
    func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) {
    	unsafeslice64(et, ptr, len64)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/importC.go

    const _ C.int = 0xff // no error due to invalid constant type
    
    type T struct {
    	Name    string
    	Ordinal int
    }
    
    func _(args []T) {
    	var s string
    	for i, v := range args {
    		cname := C.CString(v.Name)
    		args[i].Ordinal = int(C.sqlite3_bind_parameter_index(s, cname)) // no error due to i not being "used"
    		C.free(unsafe.Pointer(cname))
    	}
    }
    
    type CType C.Type
    
    const _ CType = C.X // no error due to invalid constant type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top