Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for Dtype (0.05 sec)

  1. src/runtime/slice.go

    }
    
    func panicmakeslicecap() {
    	panic(errorString("makeslice: cap out of range"))
    }
    
    // makeslicecopy allocates a slice of "tolen" elements of type "et",
    // then copies "fromlen" elements of type "et" into that new allocation from "from".
    func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
    	var tomem, copymem uintptr
    	if uintptr(tolen) > uintptr(fromlen) {
    		var overflow bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/runtime/syscall_windows.go

    }
    
    // tryRegAssignArg tries to register-assign a value of type t.
    // If this type is nested in an aggregate type, then offset is the
    // offset of this type within its parent type.
    // Assumes t.size <= goarch.PtrSize and t.size != 0.
    //
    // Returns whether the assignment succeeded.
    func (p *abiDesc) tryRegAssignArg(t *_type, offset uintptr) bool {
    	switch k := t.Kind_ & abi.KindMask; k {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/net/http/cgi/host.go

    	}
    
    	if req.ContentLength > 0 {
    		env = append(env, fmt.Sprintf("CONTENT_LENGTH=%d", req.ContentLength))
    	}
    	if ctype := req.Header.Get("Content-Type"); ctype != "" {
    		env = append(env, "CONTENT_TYPE="+ctype)
    	}
    
    	envPath := os.Getenv("PATH")
    	if envPath == "" {
    		envPath = "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin"
    	}
    	env = append(env, "PATH="+envPath)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/net/http/fs.go

    	if done {
    		return
    	}
    
    	code := StatusOK
    
    	// If Content-Type isn't set, use the file's extension to find it, but
    	// if the Content-Type is unset explicitly, do not sniff the type.
    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    			// read a chunk to decide between utf-8 text and binary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. src/runtime/cgocall.go

    // depending on indir. The top parameter is whether we are at the top
    // level, where Go pointers are allowed. Go pointers to pinned objects are
    // allowed as long as they don't reference other unpinned pointers.
    func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
    	if !t.Pointers() || p == nil {
    		// If the type has no pointers there is nothing to do.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/runtime/error.go

    type Error interface {
    	error
    
    	// RuntimeError is a no-op function but
    	// serves to distinguish types that are run time
    	// errors from ordinary errors: a type is a
    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    // A TypeAssertionError explains a failed type assertion.
    type TypeAssertionError struct {
    	_interface    *_type
    	concrete      *_type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/runtime/mfinal.go

    var allfin *finblock // list of all blocks
    
    // NOTE: Layout known to queuefinalizer.
    type finalizer struct {
    	fn   *funcval       // function to call (may be a heap pointer)
    	arg  unsafe.Pointer // ptr to object (may be a heap pointer)
    	nret uintptr        // bytes of return values from fn
    	fint *_type         // type of first argument of fn
    	ot   *ptrtype       // type of ptr to object (may be a heap pointer)
    }
    
    var finalizer1 = [...]byte{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/internal/abi/type.go

    }
    
    // Imethod represents a method on an interface type
    type Imethod struct {
    	Name NameOff // name of method
    	Typ  TypeOff // .(*FuncType) underneath
    }
    
    // ArrayType represents a fixed array type.
    type ArrayType struct {
    	Type
    	Elem  *Type // array element type
    	Slice *Type // slice type
    	Len   uintptr
    }
    
    // Len returns the length of t if t is an array type, otherwise 0
    func (t *Type) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. src/runtime/chan.go

    	debugChan = false
    )
    
    type hchan struct {
    	qcount   uint           // total data in the queue
    	dataqsiz uint           // size of the circular queue
    	buf      unsafe.Pointer // points to an array of dataqsiz elements
    	elemsize uint16
    	closed   uint32
    	timer    *timer // timer feeding this chan
    	elemtype *_type // element type
    	sendx    uint   // send index
    	recvx    uint   // receive index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/go/doc/reader.go

    // predeclared) type. The namedType for a type name is always found via
    // reader.lookupType.
    type namedType struct {
    	doc  string       // doc comment for type
    	name string       // type name
    	decl *ast.GenDecl // nil if declaration hasn't been seen yet
    
    	isEmbedded bool        // true if this type is embedded
    	isStruct   bool        // true if this type is a struct
    	embedded   embeddedSet // true if the embedded type is a pointer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top