- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,820 for int2 (0.19 sec)
-
test/typeparam/typeswitch1.go
case T: println("T") case int: println("int") case int32, int16: println("int32/int16") case struct{ a, b T }: println("struct{T,T}") default: println("other") } } func main() { f[float64](float64(6)) f[float64](int(7)) f[float64](int32(8)) f[float64](struct{ a, b float64 }{a: 1, b: 2}) f[float64](int8(9)) f[int32](int32(7)) f[int](int32(7)) f[any](int(10))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 07 13:47:58 UTC 2022 - 648 bytes - Viewed (0) -
test/fixedbugs/issue66066b.go
package main //go:noinline func f32(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int32) uint64 { return uint64(uint32(x)) } //go:noinline func f16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int16) uint64 { return uint64(uint16(x)) } //go:noinline func f8(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int8) uint64 { return uint64(uint8(x)) } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 17:35:29 UTC 2024 - 1.5K bytes - Viewed (0) -
src/reflect/all_test.go
a int8 b int8 c int32 } }{}, "struct { a int8; b int8; c int32 }", }, {struct { x struct { a int8 b int8 c int8 d int32 } }{}, "struct { a int8; b int8; c int8; d int32 }", }, {struct { x struct { a int8 b int8 c int8 d int8 e int32 } }{}, "struct { a int8; b int8; c int8; d int8; e int32 }",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/a.out.go
C_ADDCON // -0x800 <= v < 0 C_ANDCON // 0 < v <= 0xFFF C_LCON // other 32 C_DCON // other 64 (could subdivide further) C_SACON // $n(REG) where n <= int12 C_SECON C_LACON // $n(REG) where int12 < n <= int32 C_LECON C_DACON // $n(REG) where int32 < n C_STCON // $tlsvar C_SBRA C_LBRA C_SAUTO C_LAUTO C_SEXT C_LEXT C_ZOREG C_SOREG C_LOREG C_GOK C_ADDR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 5.7K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
} } } func TestSizeInvalid(t *testing.T) { testcases := []any{ int(0), new(int), (*int)(nil), [1]uint{}, new([1]uint), (*[1]uint)(nil), []int{}, []int(nil), new([]int), (*[]int)(nil), (*int8)(nil), (*uint8)(nil), (*int16)(nil), (*uint16)(nil), (*int32)(nil), (*uint32)(nil), (*int64)(nil), (*uint64)(nil), (*float32)(nil),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K 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) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 2.2K bytes - Viewed (0) -
logger/sql.go
// RegEx matches only numeric values var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`) func isNumeric(k reflect.Kind) bool { switch k { case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: return true case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: return true case reflect.Float32, reflect.Float64: return true default:
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
test/typeparam/absdiffimp.dir/a.go
// Copyright 2021 The Go Authors. All rights reserved. // 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 {
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/runtime/defs1_netbsd_amd64.go
_NOTE_TRIGGER = 0x1000000 ) type sigset struct { __bits [4]uint32 } type siginfo struct { _signo int32 _code int32 _errno int32 _pad int32 _reason [24]byte } type stackt struct { ss_sp uintptr ss_size uintptr ss_flags int32 pad_cgo_0 [4]byte } type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/sys_plan9_amd64.s
SYSCALL MOVL AX, ret+32(FP) RET TEXT runtime·pwrite(SB),NOSPLIT,$0 MOVQ $51, BP SYSCALL MOVL AX, ret+32(FP) RET // int32 _seek(int64*, int32, int64, int32) TEXT _seek<>(SB),NOSPLIT,$0 MOVQ $39, BP SYSCALL RET // int64 seek(int32, int64, int32) // Convenience wrapper around _seek, the actual system call. TEXT runtime·seek(SB),NOSPLIT,$32 LEAQ ret+24(FP), AX MOVL fd+0(FP), BX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 16:41:22 UTC 2023 - 4.6K bytes - Viewed (0)