Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Dtype (0.04 sec)

  1. src/sync/atomic/type.go

    var _ = &Pointer[int]{}
    
    // A Pointer is an atomic pointer of type *T. The zero value is a nil *T.
    type Pointer[T any] struct {
    	// Mention *T in a field to disallow conversion between Pointer types.
    	// See go.dev/issue/56603 for more details.
    	// Use *T, not T, to avoid spurious recursive type definition errors.
    	_ [0]*T
    
    	_ noCopy
    	v unsafe.Pointer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/type.go

    package syntax
    
    import "go/constant"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    // (This type originally lived in types2. We moved it here
    // so we could depend on it from other packages without
    // introducing an import cycle.)
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/internal/fmtsort/sort.go

    	})
    	return sorted
    }
    
    // compare compares two values of the same type. It returns -1, 0, 1
    // according to whether a > b (1), a == b (0), or a < b (-1).
    // If the types differ, it returns -1.
    // See the comment on Sort for the comparison rules.
    func compare(aVal, bVal reflect.Value) int {
    	aType, bType := aVal.Type(), bVal.Type()
    	if aType != bType {
    		return -1 // No good answer possible, but don't return 0: they're not equal.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/runtime/defs_freebsd_386.go

    	parent_tid *int32
    	flags      int32
    	rtp        *rtprio
    	spare      [3]uintptr
    }
    
    type thread int32 // long
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type stackt struct {
    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    	si_uid    uint32
    	si_status int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/runtime/defs_freebsd_riscv64.go

    	flags      int32
    	pad_cgo_0  [4]byte
    	rtp        *rtprio
    	spare      [3]uintptr
    }
    
    type thread int64 // long
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    	si_uid    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/runtime/typekind.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "internal/abi"
    
    // isDirectIface reports whether t is stored directly in an interface value.
    func isDirectIface(t *_type) bool {
    	return t.Kind_&abi.KindDirectIface != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 356 bytes
    - Viewed (0)
  9. src/runtime/cgocheck.go

    	}
    }
    
    // cgoCheckTypedBlock checks the block of memory at src, for up to size bytes,
    // and throws if it finds an unpinned Go pointer. The type of the memory is typ,
    // and src is off bytes into that type.
    //
    //go:nosplit
    //go:nowritebarrier
    func cgoCheckTypedBlock(typ *_type, src unsafe.Pointer, off, size uintptr) {
    	// Anything past typ.PtrBytes is not a pointer.
    	if typ.PtrBytes <= off {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/runtime/export_debug_test.go

    	if tid == 0 {
    		return nil, plainError("missing tid")
    	}
    
    	f := efaceOf(&fn)
    	if f._type == nil || f._type.Kind_&abi.KindMask != abi.Func {
    		return nil, plainError("fn must be a function")
    	}
    	fv := (*funcval)(f.data)
    
    	a := efaceOf(&stackArgs)
    	if a._type != nil && a._type.Kind_&abi.KindMask != abi.Pointer {
    		return nil, plainError("args must be a pointer or nil")
    	}
    	argp := a.data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top