Searched refs:MakeSlice (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 41 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/ |
D | sort.go | 57 dst := reflect.MakeSlice(src.Type(), src.Len(), src.Len()) 122 dst := reflect.MakeSlice(reflect.SliceOf(outType), src.Len(), src.Len())
|
/external/golang-protobuf/proto/ |
D | pointer_reflect.go | 191 slice := reflect.MakeSlice(p.v.Type().Elem(), len(v), cap(v)) 298 s := reflect.MakeSlice(p.v.Elem().Type(), 0, len(v))
|
D | clone.go | 217 out.Set(reflect.MakeSlice(in.Type(), 0, n))
|
D | text_parser.go | 559 sl = reflect.MakeSlice(typ, 0, 1)
|
/external/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | pointer_reflect.go | 188 slice := reflect.MakeSlice(p.v.Type().Elem(), len(v), cap(v)) 295 s := reflect.MakeSlice(p.v.Elem().Type(), 0, len(v))
|
D | clone.go | 217 out.Set(reflect.MakeSlice(in.Type(), 0, n))
|
D | text_parser.go | 559 sl = reflect.MakeSlice(typ, 0, 1)
|
/external/tensorflow/tensorflow/go/ |
D | tensor.go | 366 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/ |
D | jsonpb.go | 998 target.Set(reflect.MakeSlice(targetType, l, l))
|