- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for Int16 (0.08 sec)
-
src/encoding/binary/binary.go
e.offset += 8 } func (d *decoder) int8() int8 { return int8(d.uint8()) } func (e *encoder) int8(x int8) { e.uint8(uint8(x)) } func (d *decoder) int16() int16 { return int16(d.uint16()) } func (e *encoder) int16(x int16) { e.uint16(uint16(x)) } func (d *decoder) int32() int32 { return int32(d.uint32()) } func (e *encoder) int32(x int32) { e.uint32(uint32(x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:29:31 UTC 2024 - 23.4K bytes - Viewed (0) -
test/codegen/arithmetic.go
} return d, e } func NoFix16A(divr int16) (int16, int16) { var d int16 = 42 var e int16 = 84 if divr > 5 { // amd64:-"JMP" // 386:-"JMP" d /= divr // amd64:-"JMP" // 386:-"JMP" e %= divr d += e } return d, e } func NoFix16B(divd int16) (int16, int16) { var d int16 var e int16 var divr int16 = -1 if divd > -32768 { // amd64:-"JMP"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:28:00 UTC 2024 - 15.2K bytes - Viewed (0) -
test/codegen/shift.go
// ppc64x:-".*MOVW" f := int32(v >> 32) // ppc64x:".*MOVW" f += int32(v >> 31) // ppc64x:-".*MOVH" g := int16(v >> 48) // ppc64x:".*MOVH" g += int16(v >> 30) // ppc64x:-".*MOVH" g += int16(f >> 16) // ppc64x:-".*MOVB" h := int8(v >> 56) // ppc64x:".*MOVB" h += int8(v >> 28) // ppc64x:-".*MOVB" h += int8(f >> 24) // ppc64x:".*MOVB"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:53:43 UTC 2024 - 12.7K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
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/cmd/internal/obj/link.go
// reg.<T>[index] // Register element for ARM64 // Encoding: // type = TYPE_REG // reg = REG_ELEM + register + arrangement // index = element index type Addr struct { Reg int16 Index int16 Scale int16 // Sometimes holds a register. Type AddrType Name AddrName Class int8 Offset int64 Sym *LSym // argument value: // for TYPE_SCONST, a string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64latelower.go
// cond: t.Size() <= 2 // result: (ANDconst [int64(int16(m))] n) for { t := v.Type for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 { x := v_0 if x.Op != OpPPC64MOVDconst { continue } m := auxIntToInt64(x.AuxInt) n := v_1 if !(t.Size() <= 2) { continue } v.reset(OpPPC64ANDconst) v.AuxInt = int64ToAuxInt(int64(int16(m))) v.AddArg(n) return true } break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 16.5K bytes - Viewed (0) -
src/database/sql/convert.go
} } var sv reflect.Value switch d := dest.(type) { case *string: sv = reflect.ValueOf(src) switch sv.Kind() { case reflect.Bool, reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Float32, reflect.Float64: *d = asString(src) return nil } case *[]byte:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
dec.Decode(&res) if !reflect.DeepEqual(s8, res) { t.Fatalf("EncodeIntSlice: expected %v, got %v", s8, res) } }) t.Run("int16", func(t *testing.T) { var sink bytes.Buffer enc := NewEncoder(&sink) enc.Encode(s16) dec := NewDecoder(&sink) res := make([]int16, 9) dec.Decode(&res) if !reflect.DeepEqual(s16, res) { t.Fatalf("EncodeIntSlice: expected %v, got %v", s16, res) } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
src/text/template/funcs.go
} return reflect.Value{}, fmt.Errorf("value has type %s; should be %s", value.Type(), argType) } func intLike(typ reflect.Kind) bool { switch typ { case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: return true case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: return true } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64Ops.go
{name: "MOVBZloadidx", argLength: 3, reg: gploadidx, asm: "MOVBZ", typ: "UInt8"}, // zero extend uint8 to uint64 {name: "MOVHloadidx", argLength: 3, reg: gploadidx, asm: "MOVH", typ: "Int16"}, // sign extend int16 to int64 {name: "MOVHZloadidx", argLength: 3, reg: gploadidx, asm: "MOVHZ", typ: "UInt16"}, // zero extend uint16 to uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 43.8K bytes - Viewed (0)