- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,262 for uints (0.09 sec)
-
test/gcgort.go
mapPointerKeyT: func() { a := make(map[*uint8]uint8) for i := 0; i < length; i++ { a[new(uint8)] = uint8(i) runtime.Gosched() } for i := 0; i < mods; i++ { for k, _ := range a { a[k]++ runtime.Gosched() } } }, chanT: func() { a := make(chan uint8) for i := 0; i < mods; i++ { go func() { a <- uint8(i) }() <-a runtime.Gosched() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 21:15:48 UTC 2018 - 34.5K bytes - Viewed (0) -
src/internal/types/testdata/spec/range_int.go
for i = range 256 { } for i := range 256 { _ = i } var u8 uint8 _ = u8 for u8 = range - /* ERROR "cannot use -1 (untyped int constant) as uint8 value in range clause (overflows)" */ 1 { } for u8 = range 0 { } for u8 = range 255 { } for u8 = range 256 /* ERROR "cannot use 256 (untyped int constant) as uint8 value in range clause (overflows)" */ { } } func issue64471() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:56:00 UTC 2024 - 4.7K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_wasm.go
//go:noinline func Xchguintptr(ptr *uintptr, new uintptr) uintptr { old := *ptr *ptr = new return old } //go:nosplit //go:noinline func And8(ptr *uint8, val uint8) { *ptr = *ptr & val } //go:nosplit //go:noinline func Or8(ptr *uint8, val uint8) { *ptr = *ptr | val } // NOTE: Do not add atomicxor8 (XOR is not idempotent). //go:nosplit //go:noinline func And(ptr *uint32, val uint32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/libfuzzer.go
// //go:nosplit func libfuzzerTraceCmp1(arg0, arg1 uint8, fakePC uint) { fakePC = fakePC % retSledSize libfuzzerCallTraceIntCmp(&__sanitizer_cov_trace_cmp1, uintptr(arg0), uintptr(arg1), uintptr(fakePC)) } //go:nosplit func libfuzzerTraceCmp2(arg0, arg1 uint16, fakePC uint) { fakePC = fakePC % retSledSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 23 01:12:02 UTC 2022 - 6.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go
v := x & (1<<8 - 1) rot := (x >> 8) & (1<<4 - 1) * 2 if rot > 0 && v&3 == 0 { // could rotate less return ImmAlt{uint8(v), uint8(rot)} } if rot >= 24 && ((v<<(32-rot))&0xFF)>>(32-rot) == v { // could wrap around to rot==0. return ImmAlt{uint8(v), uint8(rot)} } return Imm(v>>rot | v<<(32-rot)) case arg_endian: return Endian((x >> 9) & 1) case arg_fbits:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 12.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/cmpConstGen.go
Uint(maxU16), Uint(maxU16 - 1), Uint(maxI16 + 1), Uint(maxI16), Uint(maxI16 - 1), Uint(maxU8 + 1), Uint(maxU8), Uint(maxU8 - 1), Uint(maxI8 + 1), Uint(maxI8), Uint(maxI8 - 1), Uint(0), Int(minI8 + 1), Int(minI8), Int(minI8 - 1), Int(minI16 + 1), Int(minI16), Int(minI16 - 1), Int(minI32 + 1), Int(minI32), Int(minI32 - 1), Int(minI64 + 1),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 6.4K bytes - Viewed (0) -
test/typeparam/absdiffimp.dir/a.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a type Numeric interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~complex64 | ~complex128 } // numericAbs matches numeric types with an Abs method. type numericAbs[T any] interface { Numeric Abs() T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 00:11:24 UTC 2021 - 2.1K bytes - Viewed (0) -
src/database/sql/driver/types.go
} case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: return rv.Int(), nil case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32: return int64(rv.Uint()), nil case reflect.Uint64: u64 := rv.Uint() if u64 >= 1<<63 { return nil, fmt.Errorf("uint64 values with high bit set are not supported") } return int64(u64), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 16:30:20 UTC 2024 - 8.8K bytes - Viewed (0) -
src/internal/types/testdata/check/linalg.go
package linalg // Numeric is type bound that matches any numeric type. // It would likely be in a constraints package in the standard library. type Numeric interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~complex64 | ~complex128 } func DotProduct[T Numeric](s1, s2 []T) T { if len(s1) != len(s2) { panic("DotProduct: slices of unequal length")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 2.2K bytes - Viewed (0) -
src/cmd/link/internal/loadmacho/ldmacho.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0)