- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 314 for Int16 (0.03 sec)
-
src/cmd/compile/internal/types2/builtins_test.go
{"make", `var l byte ; _ = make([]int8 , l )`, `func([]int8, byte) []int8`}, {"make", ` _ = make([]int16 , 0, 0)`, `func([]int16, int, int) []int16`}, {"make", `var l int16; _ = make([]string , l, 0)`, `func([]string, int16, int) []string`}, {"make", `var c int32; _ = make([]float64 , 0, c)`, `func([]float64, int, int32) []float64`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
test/abi/spills4.go
// wasm is excluded because the compiler chatter about register abi pragma ends up // on stdout, and causes the expected output to not match. package main import "fmt" type i5f5 struct { a, b int16 c, d, e int32 r, s, t, u, v float32 } //go:noinline func spills(_ *float32) { } //go:registerparams //go:noinline func F(x i5f5) i5f5 { y := x.v spills(&y) x.r = y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 753 bytes - Viewed (0) -
test/typeparam/issue51925.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "fmt" type IntLike interface { ~int | ~int64 | ~int32 | ~int16 | ~int8 } func Reduce[T any, U any, Uslice ~[]U](function func(T, U) T, sequence Uslice, initial T) T { result := initial for _, x := range sequence { result = function(result, x) } return result }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 963 bytes - Viewed (0) -
src/encoding/gob/encgen.go
}, { "float64", "Float64", "0", `bits := floatBits(x) state.encodeUint(bits)`, }, { "int", "Int", "0", `state.encodeInt(int64(x))`, }, { "int16", "Int16", "0", `state.encodeInt(int64(x))`, }, { "int32", "Int32", "0", `state.encodeInt(int64(x))`, }, { "int64", "Int64", "0", `state.encodeInt(x)`, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:39:09 UTC 2024 - 3.8K bytes - Viewed (0) -
src/syscall/syscall_openbsd_ppc64.go
return Timespec{Sec: sec, Nsec: nsec} } func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: sec, Usec: usec} } func SetKevent(k *Kevent_t, fd, mode, flags int) { k.Ident = uint64(fd) k.Filter = int16(mode) k.Flags = uint16(flags) } func (iov *Iovec) SetLen(length int) { iov.Len = uint64(length) } func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint32(length) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 03:24:15 UTC 2023 - 906 bytes - Viewed (0) -
src/syscall/syscall_openbsd_riscv64.go
return Timespec{Sec: sec, Nsec: nsec} } func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: sec, Usec: usec} } func SetKevent(k *Kevent_t, fd, mode, flags int) { k.Ident = uint64(fd) k.Filter = int16(mode) k.Flags = uint16(flags) } func (iov *Iovec) SetLen(length int) { iov.Len = uint64(length) } func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint32(length) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:38 UTC 2023 - 906 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic.go
// umagicOKn reports whether we should strength reduce an unsigned n-bit divide by c. // We can strength reduce when c != 0 and c is not a power of two. func umagicOK8(c int8) bool { return c&(c-1) != 0 } func umagicOK16(c int16) bool { return c&(c-1) != 0 } func umagicOK32(c int32) bool { return c&(c-1) != 0 } func umagicOK64(c int64) bool { return c&(c-1) != 0 } type umagicData struct { s int64 // ⎡log2(c)⎤
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0) -
schema/serializer.go
rv := reflect.ValueOf(fieldValue) switch v := fieldValue.(type) { case int64, int, uint, uint64, int32, uint32, int16, uint16: result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC() case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16: if rv.IsZero() { return nil, nil } result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC() default:
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 08:28:46 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/a.out.go
// https://openpowerfoundation.org/?resource_lib=64-bit-elf-v2-abi-specification-power-architecture var PPC64DWARFRegisters = map[int16]int16{} func init() { // f assigns dwarfregister[from:to] = (base):(to-from+base) f := func(from, to, base int16) { for r := int16(from); r <= to; r++ { PPC64DWARFRegisters[r] = r - from + base } } f(REG_R0, REG_R31, 0) f(REG_F0, REG_F31, 32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 18:50:29 UTC 2024 - 16K bytes - Viewed (0) -
src/cmd/compile/internal/test/switch_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.2K bytes - Viewed (0)