- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 34 for uintptr (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/os_unix.go
// golang.org/issue/15653 dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0])) if v := unsafe.Offsetof(dirent.Reclen) + unsafe.Sizeof(dirent.Reclen); uintptr(len(buf)) < v { return consumed, nil, typ, fmt.Errorf("buf size of %d smaller than dirent header size %d", len(buf), v) } if len(buf) < int(dirent.Reclen) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
misc/cgo/gmp/gmp.go
C union translates into a struct containing the first union member and perhaps additional padding. C arrays become Go arrays. C pointers become Go pointers. C function pointers become Go's uintptr. C void pointers become Go's unsafe.Pointer. For example, mpz_t is defined in <gmp.h> as: typedef unsigned long int mp_limb_t; typedef struct { int _mp_alloc; int _mp_size;
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Click Count (0) -
api/go1.26.txt
pkg net/http/httputil, type ReverseProxy struct, Director //deprecated #73161 pkg net/netip, method (Prefix) Compare(Prefix) int #61642 pkg os, method (*Process) WithHandle(func(uintptr)) error #70352 pkg os, var ErrNoHandle error #70352 pkg reflect, method (Value) Fields() iter.Seq2[StructField, Value] #66631 pkg reflect, method (Value) Methods() iter.Seq2[Method, Value] #66631
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
api/go1.21.txt
pkg log/slog, func NewJSONHandler(io.Writer, *HandlerOptions) *JSONHandler #59339 pkg log/slog, func NewLogLogger(Handler, Level) *log.Logger #56345 pkg log/slog, func NewRecord(time.Time, Level, string, uintptr) Record #56345 pkg log/slog, func NewTextHandler(io.Writer, *HandlerOptions) *TextHandler #59339 pkg log/slog, func SetDefault(*Logger) #56345 pkg log/slog, func String(string, string) Attr #56345
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Click Count (0) -
lib/wasm/wasm_exec.js
delete this._inst; delete this._values; delete this._goRefCounts; delete this._ids; delete this._idPool; this.exit(code); }, // func wasmWrite(fd uintptr, p unsafe.Pointer, n int32) "runtime.wasmWrite": (sp) => { sp >>>= 0; const fd = getInt64(sp + 8); const p = getInt64(sp + 16); const n = this.mem.getInt32(sp + 24, true);
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sun Dec 08 15:34:47 GMT 2024 - 16.6K bytes - Click Count (0) -
doc/go_spec.html
package unsafe type ArbitraryType int // shorthand for an arbitrary Go type; it is not a real type type Pointer *ArbitraryType func Alignof(variable ArbitraryType) uintptr func Offsetof(selector ArbitraryType) uintptr func Sizeof(variable ArbitraryType) uintptr type IntegerType int // shorthand for an integer type; it is not a real type func Add(ptr Pointer, len IntegerType) Pointer
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
schema/field.go
ef.HasDefaultValue = false } } } for k, v := range field.TagSettings { ef.TagSettings[k] = v } } case reflect.Invalid, reflect.Uintptr, reflect.Array, reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice, reflect.UnsafePointer, reflect.Complex64, reflect.Complex128:Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 32.2K bytes - Click Count (0) -
api/go1.5.txt
pkg go/types, const Uint32 BasicKind pkg go/types, const Uint64 = 11 pkg go/types, const Uint64 BasicKind pkg go/types, const Uint8 = 8 pkg go/types, const Uint8 BasicKind pkg go/types, const Uintptr = 12 pkg go/types, const Uintptr BasicKind pkg go/types, const UnsafePointer = 18 pkg go/types, const UnsafePointer BasicKind pkg go/types, const UntypedBool = 19 pkg go/types, const UntypedBool BasicKind
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0) -
src/bytes/bytes_test.go
2: {"-", 10, ""}, 3: {"gopher", 0, ""}, 4: {"-", -1, "negative"}, 5: {"--", -102, "negative"}, 6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"}, }) const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0 if !is64Bit { return } runTestCases("64-bit", []testCase{ 0: {"-", maxInt, "out of range"}, }) } type RunesTest struct { in string out []runeCreated: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
partial word removed. func words(x []byte) []uintptr { n := uintptr(len(x)) / wordSize if n == 0 { // Avoid creating a *uintptr that refers to data smaller than a uintptr; // see issue 59334. return nil } return unsafe.Slice((*uintptr)(unsafe.Pointer(&x[0])), n) } func xorLoop[T byte | uintptr](dst, x, y []T) { x = x[:len(dst)] // remove bounds check in loop y = y[:len(dst)] // remove bounds check in loop for i := range dst { dst[i] = x[i] ^ y[i] } } golang.org/fips140@v1.0.0-c2097c7c/fips140/v1.0.0-c...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)