Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 9 of 9) sorted by relevance

/test/xts/acts/kernel_lite/sys_posix/src/
DSysApiTest.cpp521 unsigned short seed[3] = {1, 10, 100}; variable
522 unsigned short *res = seed48(seed);
523 res = seed48(seed);
525 EXPECT_EQ(res[i], seed[i]) << "seed48 test error!";
529 seed48(seed);
/test/ostest/wukong/
DREADME.md104 | -s,--seed | Set the Random Seed. | No | Configuring the same random seed results in the sam…
119 > Instructions: Configuring the same random seed results in the same sequence of random events
130 | -s | 10 | Parameter set random seed, 10 is the seed value. |
148 1. Support the whole machine application pull up, set the random seed, set the application pull up …
DREADME_zh.md106 | -s,--seed | 设置随机种子。 | 否 | 配置相同随机种子,会生成相同随机事件序列。 |
/test/xts/device_attest_lite/services/core/network/
Dattest_network.c163 static TLSSession* CustomConfig(const char* seed, ServerInfo* networkInfo) in CustomConfig() argument
166 if (seed == NULL || networkInfo == NULL) { in CustomConfig()
177 if (memcpy_s(session->entropySeed, MAX_SEED_LEN, seed, strlen(seed)) != 0 || in CustomConfig()
206 const char* seed = NULL; in ConnectNetWork() local
208 seed = DEFAULT_VER; in ConnectNetWork()
210 seed = (const char*)reserved; in ConnectNetWork()
220 tmpSession = CustomConfig(seed, networkInfo); in ConnectNetWork()
/test/ostest/wukong/report/include/
Dreport.h45 void SetSeed(std::string seed);
/test/testfwk/arkxtest/uitest/napi/
Duitest_napi.cpp478 napi_value seed = nullptr; in ExportClass() local
479 NAPI_CALL_BASE(env, napi_new_instance(env, ctor, 0, nullptr, &seed), NAPI_ERR); in ExportClass()
482 … NAPI_CALL_BASE(env, napi_set_named_property(env, seed, PROP_BACKEND_OBJ_REF, prop), NAPI_ERR); in ExportClass()
483 NAPI_CALL_BASE(env, napi_set_named_property(env, exports, seedName, seed), NAPI_ERR); in ExportClass()
/test/ostest/wukong/report/src/
Dreport.cpp529 void Report::SetSeed(std::string seed) in SetSeed() argument
531 seed_ = seed; in SetSeed()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dstdlibndk.cpp196 unsigned seed = getpid(); in RandR() local
197 int randR_value = rand_r(&seed); in RandR()
202 unsigned seed = getpid(); in RandR() local
203 int randR_value = rand_r(&seed); in RandR()
/test/testfwk/developer_test/src/core/driver/
Ddrivers.py611 seed = random.randint(1, 100)
617 seed)