/external/tensorflow/tensorflow/core/framework/ |
tensor_util_test.cc | 176 TEST(TensorUtil, Split) { 186 TF_ASSERT_OK(tensor::Split(to_split, sizes, &splits)); 192 const Tensor& split = splits[entry]; local 194 ASSERT_EQ(TensorShape({size, 2}), split.shape()); 197 EXPECT_EQ(2 * i + j, split.matrix<int64>()(i - offset, j)); 211 std::vector<Tensor> split; local 212 TF_ASSERT_OK(tensor::Split(x, {2, 1, 1}, &split)); 214 TF_ASSERT_OK(tensor::Concat(split, &x_round_tripped));
|
/system/extras/simpleperf/ |
event_type.cpp | 67 for (auto& line : android::base::Split(s, "\n")) { 68 std::vector<std::string> items = android::base::Split(line, " "); 130 for (auto& s : android::base::Split(event_type_str, "\n")) {
|
/external/protobuf/src/google/protobuf/util/ |
field_mask_util.cc | 48 vector<string> paths = Split(str, ","); 119 vector<string> paths = Split(str, ","); 133 vector<string> parts = Split(path, "."); 273 vector<string> parts = Split(path, "."); 300 vector<string> parts = Split(path, ".");
|
/prebuilts/go/darwin-x86/src/cmd/asm/internal/asm/ |
endtoend_test.go | 50 output := strings.Split(testOut.String(), "\n") 74 parts := strings.Split(line, "//") 171 // spurious blank caused by Split on "\n" 221 for _, hex := range strings.Split(hexes, " or ") { 252 for _, f := range strings.Split(s, " or ") { 299 for _, line := range strings.Split(errBuf.String(), "\n") { 323 lines := strings.Split(string(data), "\n")
|
/prebuilts/go/linux-x86/src/cmd/asm/internal/asm/ |
endtoend_test.go | 50 output := strings.Split(testOut.String(), "\n") 74 parts := strings.Split(line, "//") 171 // spurious blank caused by Split on "\n" 221 for _, hex := range strings.Split(hexes, " or ") { 252 for _, f := range strings.Split(s, " or ") { 299 for _, line := range strings.Split(errBuf.String(), "\n") { 323 lines := strings.Split(string(data), "\n")
|
/prebuilts/go/darwin-x86/src/net/smtp/ |
smtp_test.go | 163 server := strings.Join(strings.Split(basicServer, "\n"), "\r\n") 164 client := strings.Join(strings.Split(basicClient, "\n"), "\r\n") 291 server := strings.Join(strings.Split(newClientServer, "\n"), "\r\n") 292 client := strings.Join(strings.Split(newClientClient, "\n"), "\r\n") 336 server := strings.Join(strings.Split(newClient2Server, "\n"), "\r\n") 337 client := strings.Join(strings.Split(newClient2Client, "\n"), "\r\n") 430 server := strings.Join(strings.Split(baseHelloServer+helloServer[i], "\n"), "\r\n") 431 client := strings.Join(strings.Split(baseHelloClient+helloClient[i], "\n"), "\r\n") 536 server := strings.Join(strings.Split(sendMailServer, "\n"), "\r\n") 537 client := strings.Join(strings.Split(sendMailClient, "\n"), "\r\n" [all...] |
/prebuilts/go/linux-x86/src/net/smtp/ |
smtp_test.go | 163 server := strings.Join(strings.Split(basicServer, "\n"), "\r\n") 164 client := strings.Join(strings.Split(basicClient, "\n"), "\r\n") 291 server := strings.Join(strings.Split(newClientServer, "\n"), "\r\n") 292 client := strings.Join(strings.Split(newClientClient, "\n"), "\r\n") 336 server := strings.Join(strings.Split(newClient2Server, "\n"), "\r\n") 337 client := strings.Join(strings.Split(newClient2Client, "\n"), "\r\n") 430 server := strings.Join(strings.Split(baseHelloServer+helloServer[i], "\n"), "\r\n") 431 client := strings.Join(strings.Split(baseHelloClient+helloClient[i], "\n"), "\r\n") 536 server := strings.Join(strings.Split(sendMailServer, "\n"), "\r\n") 537 client := strings.Join(strings.Split(sendMailClient, "\n"), "\r\n" [all...] |
/prebuilts/go/darwin-x86/src/path/ |
path.go | 142 // Split splits path immediately following the final slash, 144 // If there is no slash in path, Split returns an empty dir and 147 func Split(path string) (dir, file string) { 206 // After dropping the final element using Split, the path is Cleaned and trailing 213 dir, _ := Split(path)
|
/prebuilts/go/linux-x86/src/path/ |
path.go | 142 // Split splits path immediately following the final slash, 144 // If there is no slash in path, Split returns an empty dir and 147 func Split(path string) (dir, file string) { 206 // After dropping the final element using Split, the path is Cleaned and trailing 213 dir, _ := Split(path)
|
/prebuilts/go/darwin-x86/src/cmd/internal/obj/x86/ |
obj6_test.go | 57 parts := strings.Split(line, "->") 64 for _, input_insn := range strings.Split(parts[0], ";") { 68 for _, expected_insn := range strings.Split(parts[1], ";") {
|
/prebuilts/go/darwin-x86/src/net/ |
platform_test.go | 18 ss := strings.Split(network, ":") 70 switch ss := strings.Split(network, ":"); ss[0] { 89 switch ss := strings.Split(network, ":"); ss[0] {
|
/prebuilts/go/linux-x86/src/cmd/internal/obj/x86/ |
obj6_test.go | 57 parts := strings.Split(line, "->") 64 for _, input_insn := range strings.Split(parts[0], ";") { 68 for _, expected_insn := range strings.Split(parts[1], ";") {
|
/prebuilts/go/linux-x86/src/net/ |
platform_test.go | 18 ss := strings.Split(network, ":") 70 switch ss := strings.Split(network, ":"); ss[0] { 89 switch ss := strings.Split(network, ":"); ss[0] {
|
/art/compiler/optimizing/ |
register_allocator.cc | 215 LiveInterval* RegisterAllocator::Split(LiveInterval* interval, size_t position) { 248 // Both locations are in the same block. We split at the given location. 250 return Split(interval, to); 256 * split the interval at this position. Take the following example (block number is the linear 265 * B2 needs to split an interval, whose next use is in B4. If we were to split at the 296 // Split at the start of the found block, to piggy back on existing moves 298 return Split(interval, block_to->GetLifetimeStart());
|
/external/tensorflow/tensorflow/core/kernels/ |
spectrogram_test_utils.cc | 114 std::vector<string> lines = str_util::Split(data_string, '\n'); 120 std::vector<string> values = str_util::Split(line, ','); 158 std::vector<string> lines = str_util::Split(contents, '\n');
|
sparse_split_op.cc | 69 sparse::SparseTensor::Split<T>(sparse_tensor, split_dim, num_split_);
|
/art/build/ |
codegen.go | 34 hostArches = strings.Split(e, " ") 41 deviceArches = strings.Split(e, " ")
|
/bionic/tests/ |
sys_prctl_test.cpp | 47 std::vector<std::string> lines = android::base::Split(file_data, "\n");
|
/external/libbrillo/brillo/dbus/ |
utils.cc | 55 std::vector<std::string> parts = string_utils::Split(dbus_error_message, ";");
|
/external/libbrillo/brillo/strings/ |
string_utils.cc | 17 std::vector<std::string> Split(const std::string& str,
|
/external/tensorflow/tensorflow/contrib/gdr/ |
gdr_server_lib.cc | 36 str_util::Split(iter->second, ':');
|
/external/tensorflow/tensorflow/core/util/ |
saved_tensor_slice_util.cc | 95 std::vector<string> splits = str_util::Split(shape_and_slice, ' '); 104 // The last split is the slice specification.
|
/prebuilts/go/darwin-x86/misc/cgo/errors/ |
errors_test.go | 33 for i, line := range bytes.Split(contents, []byte("\n")) { 72 lines := bytes.Split(out, []byte("\n"))
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue7978.go | 60 for _, goroutine := range strings.Split(trace, "\n\n") { 62 trace := strings.Split(goroutine, "\n")
|
/prebuilts/go/darwin-x86/src/cmd/addr2line/ |
addr2line_test.go | 48 f := strings.Split(string(out), "\n") 54 f = strings.Split(pathAndLineNo, ":")
|