Home
last modified time | relevance | path

Searched refs:MakeSlice (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_chttp2_hpack.cc41 static grpc_slice MakeSlice(std::vector<uint8_t> bytes) { in MakeSlice() function
492 return {MakeSlice({})}; in GetBenchmarkSlices()
499 return {MakeSlice( in GetInitSlices()
503 return {MakeSlice({0xbe})}; in GetBenchmarkSlices()
511 return {MakeSlice( in GetBenchmarkSlices()
519 return {MakeSlice( in GetInitSlices()
523 return {MakeSlice({0x7e, 0x03, 'd', 'e', 'f'})}; in GetBenchmarkSlices()
530 return {MakeSlice({0x40, 0x03, 'a', 'b', 'c', 0x03, 'd', 'e', 'f'})}; in GetInitSlices()
533 return {MakeSlice({0xbe})}; in GetBenchmarkSlices()
541 return {MakeSlice({0x40, 0x03, 'a', 'b', 'c', 0x03, 'd', 'e', 'f'})}; in GetBenchmarkSlices()
[all …]
/external/golang-protobuf/proto/
Dpointer_reflect.go191 slice := reflect.MakeSlice(p.v.Type().Elem(), len(v), cap(v))
298 s := reflect.MakeSlice(p.v.Elem().Type(), 0, len(v))
Dclone.go217 out.Set(reflect.MakeSlice(in.Type(), 0, n))
Dtext_parser.go559 sl = reflect.MakeSlice(typ, 0, 1)
/external/tensorflow/tensorflow/go/
Dtensor.go278 slice = reflect.MakeSlice(typ, n, n)
319 nextSlice := reflect.MakeSlice(typ, n, n)
/external/golang-protobuf/jsonpb/
Djsonpb.go1017 target.Set(reflect.MakeSlice(targetType, l, l))