- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 576 for Int8 (0.04 sec)
-
test/typeparam/issue50121b.dir/a.go
// Copyright 2022 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 Integer interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr } type Builder[T Integer] struct{} func (r Builder[T]) New() T { return T(42)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 03 03:13:33 UTC 2022 - 379 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/main.go
ParamFloatRegNames string gpregmask regMask fpregmask regMask fp32regmask regMask fp64regmask regMask specialregmask regMask framepointerreg int8 linkreg int8 generic bool imports []string } type opData struct { name string reg regInfo asm string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 16.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go
if p == 0 && w == 1 { return nil } sign := int8(+1) if u == 0 { sign = -1 } imm := int16((x>>8)&(1<<4-1)<<4 | x&(1<<4-1)) mode := AddrMode(uint8(p<<1) | uint8(w^1)) return Mem{Base: Rn, Mode: mode, Offset: int16(sign) * imm} case arg_mem_R_pm_imm8at0_offset: Rn := Reg((x >> 16) & (1<<4 - 1)) u := (x >> 23) & 1 sign := int8(+1) if u == 0 { sign = -1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 12.6K bytes - Viewed (0) -
src/syscall/syscall_solaris.go
msg.Namelen = uint32(SizeofSockaddrAny) var iov Iovec if len(p) > 0 { iov.Base = (*int8)(unsafe.Pointer(&p[0])) iov.SetLen(len(p)) } var dummy int8 if len(oob) > 0 { // receive at least one normal byte if len(p) == 0 { iov.Base = &dummy iov.SetLen(1) } msg.Accrights = (*int8)(unsafe.Pointer(&oob[0])) msg.Accrightslen = int32(len(oob)) } msg.Iov = &iov msg.Iovlen = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 15.7K bytes - Viewed (0) -
test/codegen/smallintiface.go
func booliface() interface{} { // amd64:`LEAQ\truntime.staticuint64s\+8\(SB\)` return true } func smallint8iface() interface{} { // amd64:`LEAQ\truntime.staticuint64s\+2024\(SB\)` return int8(-3) } func smalluint8iface() interface{} { // amd64:`LEAQ\truntime.staticuint64s\+24\(SB\)` return uint8(3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 04 21:43:01 UTC 2020 - 500 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/branchelim_test.go
{"amd64", "int32", true}, {"amd64", "int8", false}, } for _, data := range testData { t.Run(data.arch+"/"+data.intType, func(t *testing.T) { c := testConfigArch(t, data.arch) boolType := c.config.Types.Bool var intType *types.Type switch data.intType { case "int32": intType = c.config.Types.Int32 case "int8": intType = c.config.Types.Int8 default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 24 15:51:15 UTC 2018 - 5.2K bytes - Viewed (0) -
src/cmd/vet/testdata/shift/shift.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 358 bytes - Viewed (0) -
src/reflect/iter_test.go
t.Fatalf("got %d, want %d", v.Int(), i) } i++ } if i != 4 { t.Fatalf("should loop four times") } }}, {"int8", ValueOf(int8(4)), func(t *testing.T, s iter.Seq[Value]) { i := int8(0) for v := range s { if v.Interface().(int8) != i { t.Fatalf("got %d, want %d", v.Int(), i) } i++ } if i != 4 { t.Fatalf("should loop four times") } }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 14:27:54 UTC 2024 - 6.4K bytes - Viewed (0) -
test/fixedbugs/issue40746.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p func f(x byte, b bool) byte { var c byte if b { c = 1 } if int8(c) < 0 { x++ } return x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 13 22:59:31 UTC 2020 - 284 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/config.go
fp64RegMask regMask // floating point register mask specialRegMask regMask // special register mask intParamRegs []int8 // register numbers of integer param (in/out) registers floatParamRegs []int8 // register numbers of floating param (in/out) registers ABI1 *abi.ABIConfig // "ABIInternal" under development // TODO change comment when this becomes current
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:11:47 UTC 2024 - 12.9K bytes - Viewed (0)