Home
last modified time | relevance | path

Searched refs:CreateString (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/mindspore/tests/st/fl/mobile/
Dsimulator.py57 fl_name = start_fl_job_builder.CreateString('fl_test_job')
58 fl_id = start_fl_job_builder.CreateString(str_fl_id)
60 timestamp = start_fl_job_builder.CreateString('2020/11/16/19/18')
81 weight_full_name = builder.CreateString(name)
97 fl_name = builder_update_model.CreateString('fl_test_job')
98 fl_id = builder_update_model.CreateString(str_fl_id)
99 timestamp = builder_update_model.CreateString('2020/11/16/19/18')
124 fl_name = builder_get_model.CreateString('fl_test_job')
125 timestamp = builder_get_model.CreateString('2020/12/16/19/18')
/third_party/mindspore/tests/st/fl/hybrid_lenet/
Dsimulator.py57 fl_name = start_fl_job_builder.CreateString('fl_test_job')
58 fl_id = start_fl_job_builder.CreateString(str_fl_id)
60 timestamp = start_fl_job_builder.CreateString('2020/11/16/19/18')
81 weight_full_name = builder.CreateString(name)
97 fl_name = builder_update_model.CreateString('fl_test_job')
98 fl_id = builder_update_model.CreateString(str_fl_id)
99 timestamp = builder_update_model.CreateString('2020/11/16/19/18')
124 fl_name = builder_get_model.CreateString('fl_test_job')
125 timestamp = builder_get_model.CreateString('2020/12/16/19/18')
/third_party/flatbuffers/tests/FlatBuffers.Benchmarks/
DFlatBufferBuilderBenchmark.cs39 var str1 = fbb1.CreateString(nestedMonsterName); in BuildNestedMonster()
51 var str2 = fbb2.CreateString("My Monster"); in BuildNestedMonster()
69 var str1 = builder.CreateString("MonsterName"); in BuildMonster()
91 var offset = builder.CreateString("T"); in TestTables()
/third_party/flatbuffers/grpc/tests/
Dgo_test.go24 i := b.CreateString(test)
35 i := b.CreateString(test)
44 i := b.CreateString(test)
60 i := b.CreateString(test)
Dgrpctest.py80 i = b.CreateString(test_stat_id)
95 i = b.CreateString(test_monsters_name_retrieve[i])
119 name2 = b.CreateString(test_monster_name2)
120 name1 = b.CreateString(test_monster_name1)
124 test1 = b.CreateString(test_string)
Dgrpctest.cpp42 fbb_, fbb_.CreateString("Hello, " + request->GetRoot()->name()->str())); in Store()
58 fbb_.CreateString(request->GetRoot()->id()->str() + in Retrieve()
105 auto monster_offset = CreateMonster(fbb, 0, 0, 0, fbb.CreateString("Fred")); in StoreRPC()
126 auto stat_offset = CreateStat(fbb, fbb.CreateString("Fred")); in RetrieveRPC()
Dmessage_builder_test.cpp234 auto name_offset = fbb.CreateString(m1_name()); in builder_move_ctor_conversion_before_finish_half_n_half_table_test()
252 auto stat_offset = CreateStat(fbb, fbb.CreateString("SomeId"), 0, 0); in builder_move_ctor_conversion_before_finish_test()
255 CreateMonster(mb, 0, 150, 100, mb.CreateString(m1_name()), 0, in builder_move_ctor_conversion_before_finish_test()
282 auto name_offset = fbb.CreateString(m1_name()); in builder_move_assign_conversion_before_finish_half_n_half_table_test()
302 auto stat_offset = CreateStat(fbb, fbb.CreateString("SomeId"), 0, 0); in builder_move_assign_conversion_before_finish_test()
305 CreateMonster(mb, 0, 150, 100, mb.CreateString(m1_name()), 0, in builder_move_assign_conversion_before_finish_test()
/third_party/flatbuffers/samples/
Dsample_binary.cpp28 auto weapon_one_name = builder.CreateString("Sword"); in main()
31 auto weapon_two_name = builder.CreateString("Axe"); in main()
47 auto name = builder.CreateString("MyMonster"); in main()
Dsample_binary.lua20 local weaponOne = builder:CreateString("Sword")
21 local weaponTwo = builder:CreateString("Axe")
36 local name = builder:CreateString("Orc")
Dsample_binary.py38 weapon_one = builder.CreateString('Sword')
39 weapon_two = builder.CreateString('Axe')
52 name = builder.CreateString('Orc')
DSampleBinary.cs31 var weapon1Name = builder.CreateString("Sword"); in Main()
33 var weapon2Name = builder.CreateString("Axe"); in Main()
42 var name = builder.CreateString("Orc"); in Main()
Dsample_binary.go33 weaponOne := builder.CreateString("Sword")
34 weaponTwo := builder.CreateString("Axe")
47 name := builder.CreateString("Orc")
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/round/
Dstart_fl_job_kernel.cc217 auto fbs_reason = fbb->CreateString(reason); in BuildStartFLJobRsp()
218 auto fbs_next_req_time = fbb->CreateString(next_req_time); in BuildStartFLJobRsp()
219 auto fbs_server_mode = fbb->CreateString(ps::PSContext::instance()->server_mode()); in BuildStartFLJobRsp()
220 auto fbs_fl_name = fbb->CreateString(ps::PSContext::instance()->fl_name()); in BuildStartFLJobRsp()
231 auto encrypt_type = fbb->CreateString(ps::PSContext::instance()->encrypt_type()); in BuildStartFLJobRsp()
251 auto fbs_weight_fullname = fbb->CreateString(feature_map.first); in BuildStartFLJobRsp()
Dget_model_kernel.cc138 auto fbs_reason = fbb->CreateString(reason); in BuildGetModelRsp()
139 auto fbs_timestamp = fbb->CreateString(timestamp); in BuildGetModelRsp()
142 auto fbs_weight_fullname = fbb->CreateString(feature_map.first); in BuildGetModelRsp()
/third_party/mindspore/mindspore/ccsrc/fl/armour/cipher/
Dcipher_keys.cc142 auto rsp_reason = fbb->CreateString(reason); in BuildExchangeKeysRsp()
143 auto rsp_next_req_time = fbb->CreateString(next_req_time); in BuildExchangeKeysRsp()
158 auto fbs_next_req_time = fbb->CreateString(next_req_time); in BuildGetKeysRsp()
174 auto fbs_fl_id = fbb->CreateString(fl_id); in BuildGetKeysRsp()
187 auto fbs_next_req_time = fbb->CreateString(next_req_time); in BuildGetKeysRsp()
Dcipher_shares.cc170 auto one_fl_id = fbb->CreateString(ptr->fl_id); in GetSecrets()
191 auto rsp_next_req_time = fbb->CreateString(next_req_time); in BuildGetSecretsRsp()
207 auto rsp_reason = share_secrets_resp_builder->CreateString(reason); in BuildShareSecretsRsp()
208 auto rsp_next_req_time = share_secrets_resp_builder->CreateString(next_req_time); in BuildShareSecretsRsp()
/third_party/mindspore/mindspore/lite/mindir/src/
Dmindir_tensor.cc34 0, fbb.CreateString(name.c_str(), name.size())); in MindIR_Tensor_Create()
49 … ConvertQuantParams(fbb, quant_params), 0, fbb.CreateString(name.c_str(), name.size())); in MindIR_Tensor_Create()
88 … ConvertQuantParams(fbb, value->quantParams()), 0, fbb.CreateString(name.c_str(), name.size())); in MindIR_Tensor_SetName()
132 name = fbb.CreateString(value->name()->c_str(), value->name()->size()); in MindIR_Tensor_SetDataType()
180 name = fbb.CreateString(value->name()->c_str(), value->name()->size()); in MindIR_Tensor_SetDims()
228 name = fbb.CreateString(value->name()->c_str(), value->name()->size()); in MindIR_Tensor_SetFormat()
309 name = fbb.CreateString(value->name()->c_str(), value->name()->size()); in MindIR_Tensor_SetData()
367 name = fbb.CreateString(value->name()->c_str(), value->name()->size()); in MindIR_Tensor_SetQuantParams()
/third_party/flatbuffers/tests/
Dluatest.lua100 local str = b:CreateString("MyMonster")
101 local test1 = b:CreateString("test1")
102 local test2 = b:CreateString("test2")
103 local fred = b:CreateString("Fred")
191 local strOffset = builder:CreateString("Hi there")
227 local str = b:CreateString("")
Dgo_test.go761 b.CreateString("foo")
763 b.CreateString("moop")
774 b.CreateString(uni_str)
1130 str := b.CreateString("MyMonster")
1197 str := b.CreateString("MyStat")
1223 str := b.CreateString("MyMonster")
1224 test1 := b.CreateString("test1")
1225 test2 := b.CreateString("test2")
1226 fred := b.CreateString("Fred")
1290 str := b.CreateString("MyStat")
[all …]
Dlobstertest.lobster69 let name = b.CreateString("MyMonster")
70 let fred = b.CreateString("Fred")
85 [ b.CreateString("test1"), b.CreateString("test2") ])
/third_party/flatbuffers/grpc/examples/go/greeter/server/
Dmain.go32 idx := b.CreateString("welcome " + m)
50 idx := b.CreateString(greeting + " " + m)
/third_party/flatbuffers/grpc/samples/greeter/
Dserver.cpp27 auto msg_offset = mb_.CreateString("Hello, " + name); in SayHello()
53 auto msg_offset = mb_.CreateString("Many hellos, " + name); in SayManyHellos()
Dclient.cpp17 auto name_offset = mb.CreateString(name); in SayHello()
40 auto name_offset = mb.CreateString(name); in SayManyHellos()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/fl/
Dupdate_model_kernel.h124 auto fbs_fl_name = fbb->CreateString(fl_name_); in BuildUpdateModelReq()
125 auto fbs_fl_id = fbb->CreateString(fl_id_); in BuildUpdateModelReq()
129 auto fbs_weight_fullname = fbb->CreateString(weight_name); in BuildUpdateModelReq()
/third_party/flatbuffers/grpc/examples/go/greeter/client/
Dmain.go24 i := b.CreateString(name)
41 i := b.CreateString(name)

1234