Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for Dtype (0.03 sec)

  1. src/runtime/symtab.go

    // a package against any previously loaded version of the package.
    // This is done in plugin.lastmoduleinit.
    type modulehash struct {
    	modulename   string
    	linktimehash string
    	runtimehash  *string
    }
    
    // pinnedTypemaps are the map[typeOff]*_type from the moduledata objects.
    //
    // These typemap objects are allocated at run time on the heap, but the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. src/runtime/debuglog.go

    		return l
    	}
    	l.w.byte(debugLogPtr)
    	if x == nil {
    		l.w.uvarint(0)
    	} else {
    		v := efaceOf(&x)
    		switch v._type.Kind_ & abi.KindMask {
    		case abi.Chan, abi.Func, abi.Map, abi.Pointer, abi.UnsafePointer:
    			l.w.uvarint(uint64(uintptr(v.data)))
    		default:
    			throw("not a pointer type")
    		}
    	}
    	return l
    }
    
    //go:nosplit
    func (l *dlogger) s(x string) *dlogger {
    	if !dlogEnabled {
    		return l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/runtime/plugin.go

    	// a dependency on the reflect package.
    	syms = make(map[string]any, len(md.ptab))
    	for _, ptab := range md.ptab {
    		symName := resolveNameOff(unsafe.Pointer(md.types), ptab.name)
    		t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler?
    		var val any
    		valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val))
    		(*valp)[0] = unsafe.Pointer(t)
    
    		name := symName.Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    }
    
    // reflectlite_resolveTypeOff resolves an *rtype offset from a base type.
    //
    //go:linkname reflectlite_resolveTypeOff internal/reflectlite.resolveTypeOff
    func reflectlite_resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
    	return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
    }
    
    // reflect_addReflectOff adds a pointer to the reflection offset lookup map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    echo ')'
    
    # Run C program to print error and syscall strings.
    (
    	echo -E "
    #include <stdio.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <ctype.h>
    #include <string.h>
    #include <signal.h>
    
    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
    
    struct tuple {
    	int num;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/runtime/asm_loong64.s

    	// Make it SPWRITE to stop unwinding. (See issue 54332)
    	MOVV    R3, R3
    
    	MOVV	R0, REGCTXT
    	JMP	runtime·morestack(SB)
    
    // reflectcall: call a function with the given argument list
    // func call(stackArgsType *_type, f *FuncVal, stackArgs *byte, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs).
    // we don't have variable-sized frames, so we use a small number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. src/runtime/asm_mipsx.s

    	// Make it SPWRITE to stop unwinding. (See issue 54332)
    	MOVW	R29, R29
    
    	MOVW	R0, REGCTXT
    	JMP	runtime·morestack(SB)
    
    // reflectcall: call a function with the given argument list
    // func call(stackArgsType *_type, f *FuncVal, stackArgs *byte, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs).
    // we don't have variable-sized frames, so we use a small number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    type note struct {
    	// Futex-based impl treats it as uint32 key,
    	// while sema-based impl as M* waitm.
    	// Used to be a union, but unions break precise GC.
    	key uintptr
    }
    
    type funcval struct {
    	fn uintptr
    	// variable-size, fn-specific data here
    }
    
    type iface struct {
    	tab  *itab
    	data unsafe.Pointer
    }
    
    type eface struct {
    	_type *_type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  9. src/net/http/request_test.go

    		contentType Header
    	}{
    		{"text", "", Header{"Content-Type": {"text/plain"}}},
    		// Empty content type is legal - may be treated as
    		// application/octet-stream (RFC 7231, section 3.1.1.5)
    		{"empty", "", Header{}},
    		{"boundary", "mime: invalid media parameter", Header{"Content-Type": {"text/plain; boundary="}}},
    		{"unknown", "", Header{"Content-Type": {"application/unknown"}}},
    	} {
    		t.Run(test.name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  10. src/database/sql/fakedb_test.go

    		}
    		column, value := nameVal[0], nameVal[1]
    		ctype, ok := c.db.columnType(stmt.table, column)
    		if !ok {
    			stmt.Close()
    			return nil, errf("INSERT table %q references non-existent column %q", stmt.table, column)
    		}
    		stmt.colName = append(stmt.colName, column)
    
    		if !strings.HasPrefix(value, "?") {
    			var subsetVal any
    			// Convert to driver subset type
    			switch ctype {
    			case "string":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top