- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 460 for Int16 (0.04 sec)
-
src/internal/types/testdata/check/const1.go
) const ( _ int16 = minInt16 /* ERROR "overflows" */ - 1 _ int16 = minInt16 _ int16 = maxInt16 _ int16 = maxInt16 /* ERROR "overflows" */ + 1 _ int16 = smallestFloat64 /* ERROR "truncated" */ _ = int16(minInt16 /* ERROR "overflows" */ - 1) _ = int16(minInt16) _ = int16(maxInt16) _ = int16(maxInt16 /* ERROR "overflows" */ + 1) _ = int16(smallestFloat64 /* ERROR "cannot convert" */) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue63563.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p var ( _ = int8(1 /* ERROR "constant 255 overflows int8" */ <<8 - 1) _ = int16(1 /* ERROR "constant 65535 overflows int16" */ <<16 - 1) _ = int32(1 /* ERROR "constant 4294967295 overflows int32" */ <<32 - 1) _ = int64(1 /* ERROR "constant 18446744073709551615 overflows int64" */ <<64 - 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 1.2K bytes - Viewed (0) -
src/internal/zstd/fse_test.go
// for literal lengths. RFC 3.1.1.3.2.2.1. var literalPredefinedDistribution = []int16{ 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 1, 1, 1, 1, 1, -1, -1, -1, -1, } // offsetPredefinedDistribution is the predefined distribution table // for offsets. RFC 3.1.1.3.2.2.3. var offsetPredefinedDistribution = []int16{ 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 2.6K bytes - Viewed (0) -
test/fixedbugs/issue57955.go
package main func main() { Decode[int16](nil) Decode[uint16](nil) Decode[float64](nil) } func DecodeInt16(b []byte) (int16, int) { return 0, 0 } func DecodeUint16(b []byte) (uint16, int) { return 0, 0 } func DecodeFloat64(b []byte) (float64, int) { return 0, 0 } func Decode[T any](b []byte) (T, int) { switch any(*new(T)).(type) { case int16: v, n := DecodeInt16(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 19:29:08 UTC 2023 - 794 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
Asyncwrites int64 Fstypename [16]byte Mntonname [80]byte Syncreads int64 Asyncreads int64 Spares1 int16 Mntfromname [80]byte Spares2 int16 Spare [2]int64 } type Flock_t struct { Start int64 Len int64 Pid int32 Type int16 Whence int16 } type Dirent struct { Fileno uint64 Namlen uint16 Type uint8 Unused1 uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
Charspare [80]int8 Fstypename [16]byte Mntfromname [1024]byte Mntonname [1024]byte } type Flock_t struct { Start int64 Len int64 Pid int32 Type int16 Whence int16 Sysid int32 _ [4]byte } type Dirent struct { Fileno uint64 Off int64 Reclen uint16 Type uint8 Pad0 uint8 Namlen uint16 Pad1 uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.5K bytes - Viewed (0) -
src/syscall/ztypes_dragonfly_amd64.go
Fstypename [16]int8 Mntonname [80]int8 Syncreads int64 Asyncreads int64 Spares1 int16 Mntfromname [80]int8 Spares2 int16 Pad_cgo_1 [4]byte Spare [2]int64 } type Flock_t struct { Start int64 Len int64 Pid int32 Type int16 Whence int16 } type Dirent struct { Fileno uint64 Namlen uint16 Type uint8 Unused1 uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 6.7K bytes - Viewed (0) -
src/go/doc/testdata/generics.go
type Constraint[P, Q interface{ string | ~int | Type[int] }] interface { ~int | ~byte | Type[string] M() P } // int16 shadows the predeclared type int16. type int16 int // NewEmbeddings demonstrates how we filter the new embedded elements. type NewEmbeddings interface { string // should not be filtered int16 struct{ f int } ~struct{ f int } *struct{ f int } struct{ f int } | ~struct{ f int } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 10 18:06:32 UTC 2021 - 2.1K bytes - Viewed (0) -
test/typeparam/typeswitch1.out
T int int32/int16 struct{T,T} other T int32/int16 T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 07 13:47:58 UTC 2022 - 56 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/location.go
} // A Register is a machine register, like AX. // They are numbered densely from 0 (for each architecture). type Register struct { num int32 // dense numbering objNum int16 // register number from cmd/internal/obj/$ARCH gcNum int16 // GC register map number (dense numbering of registers that can contain pointers) name string } func (r *Register) String() string { return r.name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.1K bytes - Viewed (0)