Home
last modified time | relevance | path

Searched refs:MAX_BATCH_SIZE (Results 1 - 21 of 21) sorted by relevance

/foundation/distributedhardware/device_manager/utils/src/kvadapter/
H A Dkv_adapter.cpp38 constexpr uint32_t MAX_BATCH_SIZE = 128; member
219 for (uint32_t i = 0; i < keysSize; i += MAX_BATCH_SIZE) { in DeleteBatch()
220 uint32_t end = (i + MAX_BATCH_SIZE) > keysSize ? keysSize : (i + MAX_BATCH_SIZE); in DeleteBatch()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_const_properties.cpp41 constexpr int32_t MAX_BATCH_SIZE = 128; in ExportConstants() local
50 SetNamedProperty(env, constants, "MAX_BATCH_SIZE", MAX_BATCH_SIZE); in ExportConstants()
/foundation/multimedia/ringtone_library/services/ringtone_scanner/include/
H A Dringtone_scanner_utils.h37 constexpr int32_t MAX_BATCH_SIZE = 5; member
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_const_properties.cpp52 constexpr int32_t MAX_BATCH_SIZE = 128; in ExportConstants() local
61 SetNamedProperty(env, constants, "MAX_BATCH_SIZE", MAX_BATCH_SIZE); in ExportConstants()
/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dkv_adapter.cpp37 constexpr uint32_t MAX_BATCH_SIZE = 128; member
375 for (uint32_t i = 0; i < keysSize; i += MAX_BATCH_SIZE) { in DeleteBatch()
376 uint32_t end = (i + MAX_BATCH_SIZE) > keysSize ? keysSize : (i + MAX_BATCH_SIZE); in DeleteBatch()
/foundation/multimedia/media_library/frameworks/services/media_scanner/include/scanner/
H A Dscanner_utils.h39 constexpr int32_t MAX_BATCH_SIZE = 5; member
/foundation/distributeddatamgr/kv_store/kvstoremock/distributeddb/distributeddataservice/adapter/autils/
H A Dconstant.cpp55 const size_t Constant::MAX_BATCH_SIZE = 128; member in OHOS::DistributedKv::Constant
H A Dconstant.h119 KVSTORE_API static const size_t MAX_BATCH_SIZE; member in OHOS::DistributedKv::Constant
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Druntime_store.h51 static constexpr std::int32_t MAX_BATCH_SIZE = 128; member in OHOS::UDMF::final
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_constant.h26 static constexpr size_t MAX_BATCH_SIZE = 128; member in DistributedDB::DBConstant
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/
H A Dsqlite_local_kvdb_connection.cpp186 if (entries.empty() || entries.size() > DBConstant::MAX_BATCH_SIZE) { in PutBatch()
228 if (keys.empty() || keys.size() > DBConstant::MAX_BATCH_SIZE) { in DeleteBatch()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store_connection.cpp182 if (entries.empty() || entries.size() > DBConstant::MAX_BATCH_SIZE) { in PutBatch()
219 if (keys.empty() || keys.size() > DBConstant::MAX_BATCH_SIZE) { in DeleteBatch()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_nb_delegate_local_batch_test.cpp281 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) { in HWTEST_F()
342 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) { in HWTEST_F()
533 CreatEntrys(DBConstant::MAX_BATCH_SIZE + DIVIDE_BATCH_PRESET_SIZE, keys, values, entries); in HWTEST_F()
777 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE, entrys3, keys3); in HWTEST_F()
H A Ddistributeddb_interfaces_nb_delegate_rd_test.cpp518 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) { in HWTEST_F()
579 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) { in HWTEST_F()
780 CreatEntrys(DBConstant::MAX_BATCH_SIZE + 1, keys, values, entries); in HWTEST_F()
794 CreatEntrys(DBConstant::MAX_BATCH_SIZE + DIVIDE_BATCH_PRESET_SIZE, keys, values, entries); in HWTEST_F()
1015 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE + 1, entrys1, keys1); in HWTEST_F()
1047 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE, entrys3, keys3); in HWTEST_F()
H A Ddistributeddb_interfaces_nb_delegate_test.cpp949 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) { in HWTEST_F()
1010 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) { in HWTEST_F()
1215 CreatEntrys(DBConstant::MAX_BATCH_SIZE + 1, keys, values, entries); in HWTEST_F()
1229 CreatEntrys(DBConstant::MAX_BATCH_SIZE + DIVIDE_BATCH_PRESET_SIZE, keys, values, entries); in HWTEST_F()
1509 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE, entrys3, keys3); in HWTEST_F()
H A Ddistributeddb_interfaces_data_operation_test.cpp1890 * @tc.steps: step2. Construct a key set, and the key size over MAX_BATCH_SIZE in HWTEST_F()
1893 for (uint8_t i = 0; i < DBConstant::MAX_BATCH_SIZE + 1; i++) { in HWTEST_F()
/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/
H A Dringtone_scanner.cpp460 if (vibrateDataBuffer_.size() >= MAX_BATCH_SIZE) { in AddToTransaction()
465 if (dataBuffer_.size() >= MAX_BATCH_SIZE) { in AddToTransaction()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store_connection.cpp511 if (entries.size() > DBConstant::MAX_BATCH_SIZE) { in CheckSyncEntriesValid()
705 if (keys.size() > DBConstant::MAX_BATCH_SIZE) { in CheckSyncKeysValid()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp192 if (dataBuffer_.size() >= MAX_BATCH_SIZE) { in AddToTransaction()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_p2p_query_sync_test.cpp526 for (uint8_t i = 0; i < DBConstant::MAX_BATCH_SIZE + 1; i++) { in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store.cpp1456 if (recordSize > DBConstant::MAX_BATCH_SIZE) { in CheckParamForUpsertData()

Completed in 43 milliseconds