Home
last modified time | relevance | path

Searched refs:BATCH_RECORDS (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_local_batch_crud_test.cpp309 GenerateFixedRecords(entries1, allKeys1, BATCH_RECORDS, KEY_SIX_BYTE, VALUE_ONE_HUNDRED_BYTE);
319 …GenerateFixedRecords(entries2, allKeys2, BATCH_RECORDS + 1, KEY_EIGHT_BYTE, FOUR_M_LONG_STRING - K…
328 …GenerateFixedRecords(entries3, allKeys3, BATCH_RECORDS, FOUR_M_LONG_STRING, VALUE_ONE_HUNDRED_BYTE…
351 GenerateAppointPrefixAndSizeRecords(entries, entrySize, BATCH_RECORDS);
401 GenerateAppointPrefixAndSizeRecords(entries, entrySize, BATCH_RECORDS);
472 GenerateAppointPrefixAndSizeRecords(entries1, entrySize, BATCH_RECORDS);
477 GenerateAppointPrefixAndSizeRecords(entries2, entrySize, BATCH_RECORDS, {'k'}, {'w'});
600 GenerateAppointPrefixAndSizeRecords(entries1, entrySize, BATCH_RECORDS);
H A Ddistributeddb_kv_concurrency_crud_test.cpp184 GenerateRecords(BATCH_RECORDS, DEFAULT_START, allKeys, entriesBatch);
272 GenerateRecords(BATCH_RECORDS, DEFAULT_START, allKeys, entriesBatch);
305 GenerateRecords(BATCH_RECORDS, DEFAULT_START, allKeys, entriesBatch);
H A Ddistributeddb_nb_batch_crud_test.cpp381 …GenerateFixedRecords(entriesBatch, allKeys, BATCH_RECORDS + 1, FOUR_M_LONG_STRING, ONE_M_LONG_STRI…
1156 GenerateAppointPrefixAndSizeRecords(entries, entrySize, BATCH_RECORDS);
1159 EXPECT_EQ(entriesGot.size(), BATCH_RECORDS);
1586 GenerateAppointPrefixAndSizeRecords(entries, entrySize, BATCH_RECORDS);
1676 EXPECT_TRUE(entriesGot.size() == (BATCH_RECORDS - nonexistentRecordNum));
H A Ddistributeddb_kv_create_test.cpp1288 password.assign(BATCH_RECORDS, 'a');
1488 passwordVector.assign(BATCH_RECORDS, 'a');
1792 GenerateRecords(BATCH_RECORDS, DEFAULT_START, allKey1, entries1, K_SEARCH_3); in RunDbRekeyFive()
H A Ddistributeddb_nb_create_test.cpp1207 password.assign(BATCH_RECORDS, 'a');
1456 passwordVector.assign(BATCH_RECORDS, 'a');
H A Ddistributeddb_kv_backup_test.cpp523 passwordVector.assign(BATCH_RECORDS, 'b'); // 1 Byte of passwd.
H A Ddistributeddb_nb_backup_test.cpp491 passwordVector.assign(BATCH_RECORDS, 'b'); // 1 Byte of passwd.
H A Ddistributeddb_kv_observer_test.cpp1663 … GenerateFixedRecords(entriesBatch, allKeys, BATCH_RECORDS, ONE_K_LONG_STRING, FOUR_M_LONG_STRING);
H A Ddistributeddb_nb_observer_test.cpp2100 GenerateRecords(BATCH_RECORDS, DEFAULT_START, allKeys, entriesBatch);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributed_test_tools.cpp680 while (cnt > BATCH_RECORDS) {
681 cnt -= BATCH_RECORDS;
682 std::vector<DistributedDB::Entry> entriesBatch(entries.begin() + index * BATCH_RECORDS,
683 entries.begin() + (index + 1) * BATCH_RECORDS);
690 …std::vector<DistributedDB::Entry> entriesBatch(entries.begin() + index * BATCH_RECORDS, entries.en…
705 if (keys.size() > BATCH_RECORDS) {
712 if (cnt % BATCH_RECORDS == 0 || cnt == static_cast<int>(keys.size())) {
1047 vector< vector<Entry> > groupEntries = GetGroupEntries(data1, BATCH_RECORDS, valueLength, 'a');
1156 … vector< vector<Entry> > groupEntriesUp = GetGroupEntries(data1, BATCH_RECORDS, valueLength, 'b');
H A Ddistributeddb_nb_test_tools.cpp387 if (cnt % BATCH_RECORDS == 0 || cnt == static_cast<int>(entries.size())) { in PutLocalBatch()
424 if (cnt % BATCH_RECORDS == 0 || cnt == static_cast<int>(keys.size())) { in DeleteLocalBatch()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/
H A Ddistributeddb_data_generator.h105 const unsigned int BATCH_RECORDS = 128; variable