- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,640 for int2 (0.21 sec)
-
src/runtime/defs1_solaris_amd64.go
__sigbits [4]uint32 } type stackt struct { ss_sp *byte ss_size uintptr ss_flags int32 pad_cgo_0 [4]byte } type siginfo struct { si_signo int32 si_code int32 si_errno int32 si_pad int32 __data [240]byte } type sigactiont struct { sa_flags int32 pad_cgo_0 [4]byte _funcptr [8]byte sa_mask sigset } type fpregset struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 19:40:51 UTC 2023 - 4K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue49705.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type Integer interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr } func shl[I Integer](n int) I { return 1 << n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 347 bytes - Viewed (0) -
src/internal/types/testdata/spec/assignability.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 5.1K bytes - Viewed (0) -
src/runtime/os_plan9.go
//go:noescape func brk_(addr unsafe.Pointer) int32 func sleep(ms int32) int32 func rfork(flags int32) int32 //go:noescape func plan9_semacquire(addr *uint32, block int32) int32 //go:noescape func plan9_tsemacquire(addr *uint32, ms int32) int32 //go:noescape func plan9_semrelease(addr *uint32, count int32) int32 //go:noescape func notify(fn unsafe.Pointer) int32 func noted(mode int32) int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/math/rand/rand.go
} // Int31 returns a non-negative pseudo-random 31-bit integer as an int32. func (r *Rand) Int31() int32 { return int32(r.Int63() >> 32) } // Int returns a non-negative pseudo-random int. func (r *Rand) Int() int { u := uint(r.Int63()) return int(u << 1 >> 1) // clear sign bit if int == int32 } // Int63n returns, as an int64, a non-negative pseudo-random number in the half-open interval [0,n).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 16.9K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
`, want: `go test fuzz v1 rune('\x00') rune('A') int32(-1) rune('�') int32(55296) rune('\U0010ffff') int32(1114112)`, }, { desc: "int overflow", in: `go test fuzz v1 int(0x7fffffffffffffff) uint(0xffffffffffffffff)`, want: func() string { switch strconv.IntSize { case 32: return `go test fuzz v1 int(-1) uint(4294967295)` case 64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/op.go
} func makeValAndOff(val, off int32) ValAndOff { return ValAndOff(int64(val)<<32 + int64(uint32(off))) } func (x ValAndOff) canAdd32(off int32) bool { newoff := x.Off64() + int64(off) return newoff == int64(int32(newoff)) } func (x ValAndOff) canAdd64(off int64) bool { newoff := x.Off64() + off return newoff == int64(int32(newoff)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 15:29:10 UTC 2024 - 18.7K bytes - Viewed (0) -
src/go/types/basic.go
// license that can be found in the LICENSE file. package types // BasicKind describes the kind of basic type. type BasicKind int const ( Invalid BasicKind = iota // type is invalid // predeclared types Bool Int Int8 Int16 Int32 Int64 Uint Uint8 Uint16 Uint32 Uint64 Uintptr Float32 Float64 Complex64 Complex128 String UnsafePointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 1.6K bytes - Viewed (0) -
utils/utils_test.go
} } func TestToString(t *testing.T) { tests := []struct { name string in interface{} out string }{ {"int", math.MaxInt64, "9223372036854775807"}, {"int8", int8(math.MaxInt8), "127"}, {"int16", int16(math.MaxInt16), "32767"}, {"int32", int32(math.MaxInt32), "2147483647"}, {"int64", int64(math.MaxInt64), "9223372036854775807"}, {"uint", uint(math.MaxUint64), "18446744073709551615"},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Feb 19 03:42:25 UTC 2024 - 3.6K bytes - Viewed (0) -
src/internal/types/testdata/check/issues1.go
func at[T interface{ ~[]E }, E interface{}](x T, i int) E { return x[i] } // Conversion of a local type to a type parameter. func _[T interface{~int}](x T) { type myint int var _ int = int(x) var _ T = 42 var _ T = T(myint(42)) } // Indexing a type parameter with an array type bound checks length. // (Example by mdempsky@.) func _[T interface { ~[10]int }](x T) { _ = x[9] // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:56:37 UTC 2023 - 6K bytes - Viewed (0)