Home
last modified time | relevance | path

Searched refs:MAX_BATCH_SIZE (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/foundation/distributedhardware/device_manager/utils/src/kvadapter/
H A Dkv_adapter.cpp38 constexpr uint32_t MAX_BATCH_SIZE = 128; variable
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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/jskits/distributeddata/
H A Ddistributed_data.js31 MAX_BATCH_SIZE: 128,
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/jskits/distributedkvstore/
H A Ddistributed_kvstore.js31 MAX_BATCH_SIZE: 128,
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dkv_adapter.cpp37 constexpr uint32_t MAX_BATCH_SIZE = 128; variable
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()
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_scanner/include/
H A Dringtone_scanner_utils.h37 constexpr int32_t MAX_BATCH_SIZE = 5; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/
H A DSingleKvStoreEnumJsTest.js129 var maxBatchSize = factory.Constants.MAX_BATCH_SIZE;
/ohos5.0/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; variable
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Druntime_store.h48 static constexpr std::int32_t MAX_BATCH_SIZE = 128; variable
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/include/scanner/
H A Dscanner_utils.h39 constexpr int32_t MAX_BATCH_SIZE = 5; variable
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_constant.h26 static constexpr size_t MAX_BATCH_SIZE = 128; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/
H A DSingleKvStoreEnumJsTest.js115 var maxBatchSize = factory.Constants.MAX_BATCH_SIZE;
/ohos5.0/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++) {
342 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) {
533 CreatEntrys(DBConstant::MAX_BATCH_SIZE + DIVIDE_BATCH_PRESET_SIZE, keys, values, entries);
777 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE, entrys3, keys3);
H A Ddistributeddb_interfaces_nb_delegate_rd_test.cpp518 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) {
579 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) {
780 CreatEntrys(DBConstant::MAX_BATCH_SIZE + 1, keys, values, entries);
794 CreatEntrys(DBConstant::MAX_BATCH_SIZE + DIVIDE_BATCH_PRESET_SIZE, keys, values, entries);
1015 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE + 1, entrys1, keys1);
1047 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE, entrys3, keys3);
H A Ddistributeddb_interfaces_nb_delegate_test.cpp830 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) {
891 for (size_t i = 0; i < DBConstant::MAX_BATCH_SIZE; i++) {
1096 CreatEntrys(DBConstant::MAX_BATCH_SIZE + 1, keys, values, entries);
1110 CreatEntrys(DBConstant::MAX_BATCH_SIZE + DIVIDE_BATCH_PRESET_SIZE, keys, values, entries);
1390 DistributedDBUnitTest::GenerateRecords(DBConstant::MAX_BATCH_SIZE, entrys3, keys3);
/ohos5.0/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()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store_connection.cpp534 if (entries.size() > DBConstant::MAX_BATCH_SIZE) { in CheckSyncEntriesValid()
723 if (keys.size() > DBConstant::MAX_BATCH_SIZE) { in CheckSyncKeysValid()
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/
H A Djs-apidiff-distributed-data.md32 |新增|NA|类名:Constants<br>方法or属性:readonly MAX_BATCH_SIZE: number;|@ohos.data.distributedKVStore.d.ts|
51 |删除|模块名:ohos.data.distributedKVStore<br>类名:Constants<br>方法 or 属性:const MAX_BATCH_SIZE = 128;|NA|@oh…
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/
H A Djs-apidiff-distributed-data.md32 |Added|NA|Class name: Constants<br>Method or attribute name: readonly MAX_BATCH_SIZE: number;|@ohos…
51 …dKVStore<br>Class name: Constants<br>Method or attribute name: const MAX_BATCH_SIZE = 128;|NA|@oho…
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp192 if (dataBuffer_.size() >= MAX_BATCH_SIZE) { in AddToTransaction()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store.cpp1482 if (recordSize > DBConstant::MAX_BATCH_SIZE) { in CheckParamForUpsertData()

12