Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for uintptr (0.29 sec)

  1. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func memhash(x *any, h uintptr, size uintptr) uintptr
    func memhash0(p unsafe.Pointer, h uintptr) uintptr
    func memhash8(p unsafe.Pointer, h uintptr) uintptr
    func memhash16(p unsafe.Pointer, h uintptr) uintptr
    func memhash32(p unsafe.Pointer, h uintptr) uintptr
    func memhash64(p unsafe.Pointer, h uintptr) uintptr
    func memhash128(p unsafe.Pointer, h uintptr) uintptr
    func f32hash(p *any, h uintptr) uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. api/go1.23.txt

    pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395
    pkg sync/atomic, func OrInt32(*int32, int32) int32 #61395
    pkg sync/atomic, func OrInt64(*int64, int64) int64 #61395
    pkg sync/atomic, func OrUint32(*uint32, uint32) uint32 #61395
    pkg sync/atomic, func OrUint64(*uint64, uint64) uint64 #61395
    pkg sync/atomic, func OrUintptr(*uintptr, uintptr) uintptr #61395
    pkg sync/atomic, method (*Int32) And(int32) int32 #61395
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/builtins.go

    		}
    
    	case _Alignof:
    		// unsafe.Alignof(x T) uintptr
    		check.assignment(x, nil, "argument to unsafe.Alignof")
    		if x.mode == invalid {
    			return
    		}
    
    		if hasVarSize(x.typ, nil) {
    			x.mode = value
    			if check.recordTypes() {
    				check.recordBuiltinType(call.Fun, makeSig(Typ[Uintptr], x.typ))
    			}
    		} else {
    			x.mode = constant_
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/test.go

    	s.P = &si
    	C.setstruct(s)
    
    	if uintptr(unsafe.Pointer(&x))&^0xfff == uintptr(unsafe.Pointer(&z))&^0xfff {
    		t.Error("C int* argument on stack")
    	}
    	if uintptr(unsafe.Pointer(&y))&^0xfff == uintptr(unsafe.Pointer(&z))&^0xfff {
    		t.Error("C intptr argument on stack")
    	}
    	if uintptr(unsafe.Pointer(&v))&^0xfff == uintptr(unsafe.Pointer(&z))&^0xfff {
    		t.Error("C void* argument on stack")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/conversions.go

    		return true
    	}
    
    	// package unsafe:
    	// "any pointer or value of underlying type uintptr can be converted into a unsafe.Pointer"
    	if (isPointer(Vu) || isUintptr(Vu)) && isUnsafePointer(Tu) {
    		return true
    	}
    	// "and vice versa"
    	if isUnsafePointer(Vu) && (isPointer(Tu) || isUintptr(Tu)) {
    		return true
    	}
    
    	// "V is a slice, T is an array or pointer-to-array type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/func.go

    		var e Node = NewLinksymExpr(pos, name.LinksymABI(abi), types.Types[types.TUINTPTR])
    		e = NewAddrExpr(pos, e)
    		e.SetType(types.Types[types.TUINTPTR].PtrTo())
    		e = NewConvExpr(pos, OCONVNOP, types.Types[types.TUINTPTR], e)
    		e.SetTypecheck(1)
    		return e
    	}
    	// fn is not a defined function. It must be ABIInternal.
    	// Read the address from func value, i.e. *(*uintptr)(idata(fn)).
    	if wantABI != obj.ABIInternal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. scan.go

    			mapValue := map[string]interface{}{}
    			scanIntoMap(mapValue, values, columns)
    			*dest = append(*dest, mapValue)
    		}
    	case *int, *int8, *int16, *int32, *int64,
    		*uint, *uint8, *uint16, *uint32, *uint64, *uintptr,
    		*float32, *float64,
    		*bool, *string, *time.Time,
    		*sql.NullInt32, *sql.NullInt64, *sql.NullFloat64,
    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    		for initialized || rows.Next() {
    			initialized = false
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    			idx := s.newValue2(and, typs.Uintptr, s.variable(hashVar, typs.Uintptr), mask)
    			idx = s.newValue2(mul, typs.Uintptr, idx, s.uintptrConstant(uint64(3*s.config.PtrSize)))
    			e := s.newValue2(ssa.OpAddPtr, typs.UintptrPtr, entries, idx)
    			//   hash++
    			s.vars[hashVar] = s.newValue2(add, typs.Uintptr, s.variable(hashVar, typs.Uintptr), s.uintptrConstant(1))
    
    			// Look for a cache hit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    linkage to the desired libraries. The main function is provided by
    _cgo_main.c:
    
    	int main() { return 0; }
    	void crosscall2(void(*fn)(void*), void *a, int c, uintptr_t ctxt) { }
    	uintptr_t _cgo_wait_runtime_init_done(void) { return 0; }
    	void _cgo_release_context(uintptr_t ctxt) { }
    	char* _cgo_topofstack(void) { return (char*)0; }
    	void _cgo_allocate(void *a, int c) { }
    	void _cgo_panic(void *a, int c) { }
    	void _cgo_reginit(void) { }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	c.int32 = c.Ident("int32")
    	c.int64 = c.Ident("int64")
    	c.uint8 = c.Ident("uint8")
    	c.uint16 = c.Ident("uint16")
    	c.uint32 = c.Ident("uint32")
    	c.uint64 = c.Ident("uint64")
    	c.uintptr = c.Ident("uintptr")
    	c.float32 = c.Ident("float32")
    	c.float64 = c.Ident("float64")
    	c.complex64 = c.Ident("complex64")
    	c.complex128 = c.Ident("complex128")
    	c.void = c.Ident("void")
    	c.string = c.Ident("string")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top