Home
last modified time | relevance | path

Searched refs:MakeSlice (Results 1 – 10 of 10) 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/syzkaller/vendor/github.com/google/go-cmp/cmp/cmpopts/
Dsort.go57 dst := reflect.MakeSlice(src.Type(), src.Len(), src.Len())
122 dst := reflect.MakeSlice(reflect.SliceOf(outType), src.Len(), src.Len())
/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/syzkaller/vendor/github.com/golang/protobuf/proto/
Dpointer_reflect.go188 slice := reflect.MakeSlice(p.v.Type().Elem(), len(v), cap(v))
295 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.go366 val.Set(reflect.MakeSlice(typ, int(shape[0]), int(shape[0])))
458 val.Set(reflect.MakeSlice(typeOf(String, shape), int(shape[0]), int(shape[0])))
/external/golang-protobuf/jsonpb/
Djsonpb.go998 target.Set(reflect.MakeSlice(targetType, l, l))