- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 525 for int1 (0.34 sec)
-
src/encoding/gob/encgen.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:39:09 UTC 2024 - 3.8K 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) -
test/codegen/bitfield.go
} func sbfiz4(x int8) int64 { return int64(x << 3) // arm64:"SBFIZ\t[$]3, R[0-9]+, [$]5",-"LSL" } // sbfiz combinations. // merge shift with sbfiz into sbfiz. func sbfiz5(x int32) int32 { // arm64:"SBFIZ\t[$]1, R[0-9]+, [$]28",-"LSL",-"ASR" return (x << 4) >> 3 } func sbfiz6(x int16) int64 { return int64(x+1) << 3 // arm64:"SBFIZ\t[$]3, R[0-9]+, [$]16",-"LSL" } func sbfiz7(x int8) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 06:11:32 UTC 2022 - 9.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/switch_test.go
func benchmarkSwitchType(b *testing.B, predictable bool) { a := []any{ int8(1), int16(2), int32(3), int64(4), uint8(5), uint16(6), uint32(7), uint64(8), } n := 0 rng := newRNG() for i := 0; i < b.N; i++ { rng = rng.next(predictable) switch a[rng.value()&7].(type) { case int8: n += 1 case int16: n += 2 case int32: n += 3 case int64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.2K bytes - Viewed (0) -
test/rename1.go
complex = 4 complex64 = 5 complex128 = 6 cap = 7 close = 8 delete = 9 error = 10 false = 11 float32 = 12 float64 = 13 imag = 14 int = 15 int8 = 16 int16 = 17 int32 = 18 int64 = 19 len = 20 make = 21 new = 22 nil = 23 panic = 24 print = 25 println = 26 real = 27
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:07:00 UTC 2023 - 1.1K bytes - Viewed (0) -
src/reflect/all_test.go
}, {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 }", }, {struct { x struct { a int8 b int8 c int8
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/compile/internal/test/testdata/gen/arithConstGen.go
case "&": ans = i & j case "|": ans = i | j case "^": ans = i ^ 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, "// Code generated by gen/arithConstGen.go. DO NOT EDIT.\n\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
var Typ = [...]*Basic{ Invalid: {Invalid, 0, "invalid type"}, Bool: {Bool, IsBoolean, "bool"}, Int: {Int, IsInteger, "int"}, Int8: {Int8, IsInteger, "int8"}, Int16: {Int16, IsInteger, "int16"}, Int32: {Int32, IsInteger, "int32"}, Int64: {Int64, IsInteger, "int64"}, Uint: {Uint, IsInteger | IsUnsigned, "uint"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
// alias basic type named "byte" (and analogous for "rune"). var Typ = []*Basic{ Invalid: {Invalid, 0, "invalid type"}, Bool: {Bool, IsBoolean, "bool"}, Int: {Int, IsInteger, "int"}, Int8: {Int8, IsInteger, "int8"}, Int16: {Int16, IsInteger, "int16"}, Int32: {Int32, IsInteger, "int32"}, Int64: {Int64, IsInteger, "int64"}, Uint: {Uint, IsInteger | IsUnsigned, "uint"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/test_opkernels.cc
namespace tensorflow { namespace tf_mlrt { REGISTER_OP("TestAsyncIdentity") .Input("in: T") .Output("out: T") .Attr( "T: {bfloat16, half, float, double, uint8, int8, int16, uint32, int32, " "int64, complex64, complex128}") .SetShapeFn(::tensorflow::shape_inference::UnchangedShape); class TestAsyncIdentityKernel : public AsyncOpKernel { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 1.7K bytes - Viewed (0)