- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,093 for int2 (0.04 sec)
-
test/map1.go
package main type v bool var ( // valid _ map[int8]v _ map[uint8]v _ map[int16]v _ map[uint16]v _ map[int32]v _ map[uint32]v _ map[int64]v _ map[uint64]v _ map[int]v _ map[uint]v _ map[uintptr]v _ map[float32]v _ map[float64]v _ map[complex64]v _ map[complex128]v _ map[bool]v _ map[string]v _ map[chan int]v _ map[*int]v _ map[struct{}]v _ map[[10]int]v // invalid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 20:13:36 UTC 2020 - 1.5K bytes - Viewed (0) -
test/ken/divconst.go
u64test(a, b, 16384) } } func i32rand() int32 { for { a := int32(rand.Uint32()) a >>= uint(rand.Intn(32)) if -a != a { return a } } return 0 // impossible } func i32test(a, b, c int32) { d := a / c if d != b { println("i32", a, b, c, d) panic("fail") } } func i32run() { var a, b int32 for i := 0; i < Count; i++ { a = i32rand()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 9.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARMOps.go
{name: "ADDshiftRL", argLength: 2, reg: gp21, asm: "ADD", aux: "Int32"}, // arg0 + arg1>>auxInt, unsigned shift {name: "ADDshiftRA", argLength: 2, reg: gp21, asm: "ADD", aux: "Int32"}, // arg0 + arg1>>auxInt, signed shift {name: "SUBshiftLL", argLength: 2, reg: gp21, asm: "SUB", aux: "Int32"}, // arg0 - arg1<<auxInt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 41K bytes - Viewed (0) -
src/runtime/error.go
print(`")`) case abi.Bool: print(typestring, "(", *(*bool)(eface.data), ")") case abi.Int: print(typestring, "(", *(*int)(eface.data), ")") case abi.Int8: print(typestring, "(", *(*int8)(eface.data), ")") case abi.Int16: print(typestring, "(", *(*int16)(eface.data), ")") case abi.Int32: print(typestring, "(", *(*int32)(eface.data), ")") case abi.Int64: print(typestring, "(", *(*int64)(eface.data), ")")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/compile/internal/types/universe.go
package types import ( "cmd/compile/internal/base" "cmd/internal/src" ) var basicTypes = [...]struct { name string etype Kind }{ {"int8", TINT8}, {"int16", TINT16}, {"int32", TINT32}, {"int64", TINT64}, {"uint8", TUINT8}, {"uint16", TUINT16}, {"uint32", TUINT32}, {"uint64", TUINT64}, {"float32", TFLOAT32}, {"float64", TFLOAT64},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/constFoldGen.go
if j != 0 { ans = i % j } case "<<": ans = i << uint64(j) case ">>": ans = i >> uint64(j) } switch t { case "int32": ans = int64(int32(ans)) case "int16": ans = int64(int16(ans)) case "int8": ans = int64(int8(ans)) } return fmt.Sprintf("%d", ans) } func main() { w := new(bytes.Buffer) fmt.Fprintf(w, "// run\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/inst.go
case R0 <= r && r <= R31: return fmt.Sprintf("r%d", int(r-R0)) case F0 <= r && r <= F31: return fmt.Sprintf("f%d", int(r-F0)) case V0 <= r && r <= V31: return fmt.Sprintf("v%d", int(r-V0)) case VS0 <= r && r <= VS63: return fmt.Sprintf("vs%d", int(r-VS0)) case A0 <= r && r <= A7: return fmt.Sprintf("a%d", int(r-A0)) default: return fmt.Sprintf("Reg(%d)", int(r)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 03 01:35:44 UTC 2021 - 4.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
// nlzX returns the number of leading zeros. func nlz64(x int64) int { return bits.LeadingZeros64(uint64(x)) } func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) } func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) } func nlz8(x int8) int { return bits.LeadingZeros8(uint8(x)) } // ntzX returns the number of trailing zeros. func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/main.go
func countRegs(r regMask) int { return bits.OnesCount64(uint64(r)) } // for sorting a pair of integers by key type intPair struct { key, val int } type byKey []intPair func (a byKey) Len() int { return len(a) } func (a byKey) Swap(i, j int) { a[i], a[j] = a[j], a[i] } func (a byKey) Less(i, j int) bool { return a[i].key < a[j].key } type ArchsByName []arch
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 16.9K bytes - Viewed (0) -
test/typeparam/ordered.go
import ( "fmt" "math" "sort" ) type Ordered interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~string } type orderedSlice[Elem Ordered] []Elem func (s orderedSlice[Elem]) Len() int { return len(s) } func (s orderedSlice[Elem]) Less(i, j int) bool { if s[i] < s[j] { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 2.2K bytes - Viewed (0)