- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 111 for uint16 (0.16 sec)
-
src/syscall/route_bsd.go
type RoutingMessage interface { sockaddr() ([]Sockaddr, error) } const anyMessageLen = int(unsafe.Sizeof(anyMessage{})) type anyMessage struct { Msglen uint16 Version uint8 Type uint8 } // RouteMessage represents a routing message containing routing // entries. // // Deprecated: Use golang.org/x/net/route instead. type RouteMessage struct { Header RtMsghdr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.1K bytes - Viewed (0) -
src/compress/lzw/reader_test.go
clear(p) return len(p), nil } func TestHiCodeDoesNotOverflow(t *testing.T) { r := NewReader(devZero{}, LSB, 8) d := r.(*Reader) buf := make([]byte, 1024) oldHi := uint16(0) for i := 0; i < 100; i++ { if _, err := io.ReadFull(r, buf); err != nil { t.Fatalf("i=%d: %v", i, err) } // The hi code should never decrease. if d.hi < oldHi {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:58 UTC 2024 - 7.6K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
int(0x0) int32(0x41) int64(0xfffffffff) uint32(0xcafef00d) uint64(0xffffffffffffffff) uint8(0b0000000) byte(0x0) byte('\000') byte('\u0000') byte('\'') math.Float64frombits(9221120237041090562) math.Float32frombits(2143289345)`, want: `go test fuzz v1 int(0) rune('A') int64(68719476735) uint32(3405705229) uint64(18446744073709551615) byte('\x00') byte('\x00') byte('\x00')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux.go
return nil, err } // attrsProcessed tracks the number of processed attributes. var attrsProcessed int // length and type of netlink attribute. var length, attrType uint16 // now we are just left with the attributes(struct nlattr) after skipping netlink generic // message; we iterate over all the attributes one by one to construct our Counter object. for reader.Len() > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 9.2K bytes - Viewed (0) -
src/runtime/mksizeclasses.go
panic("size class requires more than 32 bits of precision") } // Brute force double-check with the exact computation that will be // done by the runtime. m := ^uint32(0)/uint32(c.size) + 1 for n := 0; n <= max; n++ { if uint32((uint64(n)*uint64(m))>>32) != uint32(n/c.size) { fmt.Printf("d=%d max=%d m=%d n=%d\n", d, max, m, n) panic("bad 32-bit multiply magic") } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/attributes.mlir
// CHECK: tf.ReadVariableOp // CHECK-SAME: dtype = !corert.quint16 %1 = "tf.ReadVariableOp"(%arg1) {_output_shapes = ["tfshape$dim { size: 1 } dim { size: 3 }"], device = "/device:CPU:0", dtype = !tf_type.quint16} : (tensor<!tf_type.resource<tensor<1x3x!tf_type.quint16>>>) -> tensor<1x3x!tf_type.quint16> // CHECK: tf.ReadVariableOp // CHECK-SAME: dtype = !corert.qint8
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils_test.cc
} std::string GetQint16Tensor() { ::tensorflow::Tensor tensor(::tensorflow::DT_QINT16, {2, 2}); tensor.matrix<tsl::qint16>()(0, 0) = tsl::qint16(1); tensor.matrix<tsl::qint16>()(0, 1) = tsl::qint16(2); tensor.matrix<tsl::qint16>()(1, 0) = tsl::qint16(3); tensor.matrix<tsl::qint16>()(1, 1) = tsl::qint16(4); ::tensorflow::TensorProto tensor_proto; tensor.AsProtoTensorContent(&tensor_proto);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9K bytes - Viewed (0) -
src/reflect/type_test.go
_ S }{})}, true}, {"struct{i int; _ S}", args{reflect.TypeOf(struct { i int _ S }{})}, false}, {"struct{a int16; b int32}", args{reflect.TypeOf(struct { a int16 b int32 }{})}, false}, {"struct {x int32; y int16}", args{reflect.TypeOf(struct { x int32 y int16 }{})}, false}, {"struct {_ int32 }", args{reflect.TypeOf(struct{ _ int32 }{})}, false}, } for _, tt := range tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/a.out.go
REGTMP = REG_R30 // used by the assembler FREGRET = REG_F0 // not use ) var LOONG64DWARFRegisters = map[int16]int16{} func init() { // f assigns dwarfregisters[from:to] = (base):(to-from+base) f := func(from, to, base int16) { for r := int16(from); r <= to; r++ { LOONG64DWARFRegisters[r] = (r - from) + base } } f(REG_R0, REG_R31, 0) f(REG_F0, REG_F31, 32) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/asm/internal/arch/ppc64.go
ppc64.ASUBME, ppc64.ASUBZECC, ppc64.ASUBZEVCC, ppc64.ASUBZEV, ppc64.ASUBZE: return true } return false } func ppc64RegisterNumber(name string, n int16) (int16, bool) { switch name { case "CR": if 0 <= n && n <= 7 { return ppc64.REG_CR0 + n, true } case "A": if 0 <= n && n <= 8 { return ppc64.REG_A0 + n, true } case "VS":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 21:53:50 UTC 2024 - 2.2K bytes - Viewed (0)