/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/kv/ |
H A D | grd_kv_api.cpp | 116 GRD_API int32_t GRD_KVBatchPrepare(uint16_t itemNum, GRD_KVBatchT **batch) in GRD_KVBatchPrepare() argument 124 return GRD_KVApiInfo.KVBatchPrepareApi(itemNum, batch); in GRD_KVBatchPrepare() 128 GRD_KVBatchT *batch) in GRD_KVBatchPushback() argument 136 return GRD_KVApiInfo.KVBatchPushbackApi(key, keyLen, data, dataLen, batch); in GRD_KVBatchPushback() 139 GRD_API int32_t GRD_KVBatchPut(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch) in GRD_KVBatchPut() argument 147 return GRD_KVApiInfo.KVBatchPutApi(db, collectionName, batch); in GRD_KVBatchPut() 150 GRD_API int32_t GRD_KVBatchDel(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch) in GRD_KVBatchDel() argument 158 return GRD_KVApiInfo.KVBatchDelApi(db, collectionName, batch); in GRD_KVBatchDel() 161 GRD_API int32_t GRD_KVBatchDestroy(GRD_KVBatchT *batch) in GRD_KVBatchDestroy() argument 169 return GRD_KVApiInfo.KVBatchDestoryApi(batch); in GRD_KVBatchDestroy()
|
H A D | grd_kv_api_inner.cpp | 65 int32_t GRD_KVBatchPrepareInner(uint16_t itemNum, GRD_KVBatchT **batch) in GRD_KVBatchPrepareInner() argument 71 GRD_KVBatchT *batch) in GRD_KVBatchPushbackInner() argument 76 int32_t GRD_KVBatchPutInner(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch) in GRD_KVBatchPutInner() argument 81 int32_t GRD_KVBatchDelInner(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch) in GRD_KVBatchDelInner() argument 86 int32_t GRD_KVBatchDestroyInner(GRD_KVBatchT *batch) in GRD_KVBatchDestroyInner() argument
|
/ohos5.0/foundation/multimodalinput/input/service/event_resample/src/ |
H A D | event_resample.cpp | 154 Batch& batch = batches_.at(batchIndex); in UpdateBatch() local 155 if (CanAddSample(batch, inputEvent_)) { in UpdateBatch() 165 Batch batch; in UpdateBatch() local 166 batch.samples.push_back(inputEvent_); in UpdateBatch() 167 batches_.push_back(std::move(batch)); in UpdateBatch() 240 Batch& batch = batches_.at(i); in ConsumeBatch() local 242 result = ConsumeSamples(batch, batch.samples.size(), outEvent); in ConsumeBatch() 258 if (batch.samples.empty()) { in ConsumeBatch() 262 next = &batch.samples.at(0); in ConsumeBatch() 286 batch.samples.erase(batch.samples.begin(), batch.samples.begin() + count); in ConsumeSamples() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/include/ |
H A D | grd_kv_api_inner.h | 43 int32_t GRD_KVBatchPrepareInner(uint16_t itemNum, GRD_KVBatchT **batch); 46 GRD_KVBatchT *batch); 48 int32_t GRD_KVBatchPutInner(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch); 50 int32_t GRD_KVBatchDelInner(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch); 52 int32_t GRD_KVBatchDestroyInner(GRD_KVBatchT *batch);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/include/grd_kv/ |
H A D | grd_kv_api.h | 45 GRD_API int32_t GRD_KVBatchPrepare(uint16_t itemNum, GRD_KVBatchT **batch); 48 GRD_KVBatchT *batch); 50 GRD_API int32_t GRD_KVBatchPut(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch); 52 GRD_API int32_t GRD_KVBatchDel(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch); 54 GRD_API int32_t GRD_KVBatchDestroy(GRD_KVBatchT *batch);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_utils.h | 67 int RdKVBatchPrepare(uint16_t itemNum, GRD_KVBatchT **batch); 69 int RdKVBatchPushback(GRD_KVBatchT *batch, const Key &key, const Value &value); 71 int RdKVBatchPut(GRD_DB *db, const char *kvTableName, GRD_KVBatchT *batch); 76 int RdKVBatchDel(GRD_DB *db, const char *kvTableName, GRD_KVBatchT *batch); 78 int RdKVBatchDestroy(GRD_KVBatchT *batch);
|
H A D | rd_utils.cpp | 230 int RdKVBatchPrepare(uint16_t itemNum, GRD_KVBatchT **batch) in RdKVBatchPrepare() argument 232 return TransferGrdErrno(GRD_KVBatchPrepare(itemNum, batch)); in RdKVBatchPrepare() 235 int RdKVBatchPushback(GRD_KVBatchT *batch, const Key &key, const Value &value) in RdKVBatchPushback() argument 240 … GRD_KVBatchPushback(innerKey.data, innerKey.dataLen, innerVal.data, innerVal.dataLen, batch)); in RdKVBatchPushback() 247 int RdKVBatchPut(GRD_DB *db, const char *kvTableName, GRD_KVBatchT *batch) in RdKVBatchPut() argument 253 return TransferGrdErrno(GRD_KVBatchPut(db, kvTableName, batch)); in RdKVBatchPut() 266 int RdKVBatchDel(GRD_DB *db, const char *kvTableName, GRD_KVBatchT *batch) in RdKVBatchDel() argument 272 return TransferGrdErrno(GRD_KVBatchDel(db, kvTableName, batch)); in RdKVBatchDel() 275 int RdKVBatchDestroy(GRD_KVBatchT *batch) in RdKVBatchDestroy() argument 277 return TransferGrdErrno(GRD_KVBatchDestroy(batch)); in RdKVBatchDestroy()
|
H A D | rd_single_ver_storage_executor.cpp | 395 GRD_KVBatchT *batch = nullptr; in BatchSaveEntries() local 396 int ret = RdKVBatchPrepare(entries.size(), &batch); in BatchSaveEntries() 402 ret = RdKVBatchPushback(batch, entry.key, entry.value); in BatchSaveEntries() 404 (void)RdKVBatchDestroy(batch); in BatchSaveEntries() 412 (void)RdKVBatchDestroy(batch); in BatchSaveEntries() 416 ret = RdKVBatchDel(db_, SYNC_COLLECTION_NAME, batch); in BatchSaveEntries() 418 ret = RdKVBatchPut(db_, SYNC_COLLECTION_NAME, batch); in BatchSaveEntries() 421 (void)RdKVBatchDestroy(batch); in BatchSaveEntries() 429 int errCode = RdKVBatchDestroy(batch); in BatchSaveEntries()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/include/ |
H A D | grd_api_manager.h | 55 typedef int32_t (*KVBatchPrepare)(uint16_t itemNum, GRD_KVBatchT **batch); 57 GRD_KVBatchT *batch); 58 typedef int32_t (*KVBatchPut)(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch); 59 typedef int32_t (*KVBatchDel)(GRD_DB *db, const char *collectionName, GRD_KVBatchT *batch); 60 typedef int32_t (*KVBatchDestory)(GRD_KVBatchT *batch);
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_utils.h | 118 const int32_t batch = dims[DEPTHWISE_WEIGHT_BATCH_DIMENSION]; in TransposeTensor() local 125 for (int32_t n = 0; n < batch; ++n) { in TransposeTensor() 126 int32_t newPos = c * (height * width) * batch + j * batch + n; in TransposeTensor()
|
/ohos5.0/base/time/time_service/services/timer/src/ |
H A D | timer_manager.cpp | 475 auto batch = *it; in RemoveLocked() local 480 if (batch->Size() != 0) { in RemoveLocked() 559 for (const auto &batch : oldSet) { in ReBatchAllTimers() local 560 auto n = batch->Size(); in ReBatchAllTimers() 747 auto batch = *iter; in TriggerTimersLocked() local 751 const auto n = batch->Size(); in TriggerTimersLocked() 753 auto alarm = batch->Get(i); in TriggerTimersLocked() 835 if (batch->Add(alarm)) { in InsertAndBatchTimerLocked() 1025 if (!batch) { in AdjustTimer() 1028 auto n = batch->Size(); in AdjustTimer() [all …]
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | create-dataability.md | 4 …ExecuteBatch** methods have already implemented the traversal logic, but not batch data processing. 44 hilog.info(domain, TAG, 'DataAbility batch insert start'); 47 hilog.info(domain, TAG, 'DataAbility batch insert i=' + i); 50 hilog.info(domain, TAG, 'DataAbility batch insert ret=' + num);
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | create-dataability.md | 44 hilog.info(domain, TAG, 'DataAbility batch insert start'); 47 hilog.info(domain, TAG, 'DataAbility batch insert i=' + i); 50 hilog.info(domain, TAG, 'DataAbility batch insert ret=' + num);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_packet.cpp | 148 std::vector<uint8_t> batch(writeBuffer_.begin() + i, writeBuffer_.begin() + end); in Write() local 149 mtpDriver_->Write(batch, end); in Write() 150 std::vector<uint8_t>().swap(batch); in Write()
|
/ohos5.0/foundation/multimodalinput/input/service/event_resample/include/ |
H A D | event_resample.h | 251 ErrCode ConsumeSamples(Batch& batch, size_t count, MotionEvent** outEvent); 259 bool CanAddSample(const Batch &batch, MotionEvent &event); 261 ssize_t FindSampleNoLaterThan(const Batch& batch, int64_t time);
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/ |
H A D | _space_to_batch_n_d_v10.md | 6 将4维张量在空间维度上进行切分成多个小块,然后在batch维度上拼接这些小块。
|
H A D | _space_to_batch_n_d_v20.md | 6 将4维张量在空间维度上进行切分成多个小块,然后在batch维度上拼接这些小块。
|
H A D | _batch_to_space_n_d_v10.md | 6 将一个4维tensor的batch维度按block_shape切分成小块,并将这些小块拼接到空间维度。
|
H A D | _batch_to_space_n_d_v20.md | 6 将一个4维tensor的batch维度按block_shape切分成小块,并将这些小块拼接到空间维度。
|
H A D | _node_attr_types_8idl_v10.md | 34 | struct [BatchToSpaceND](_batch_to_space_n_d_v10.md) | 将一个4维tensor的batch维度按block_shape切… 66 | struct [SpaceToBatchND](_space_to_batch_n_d_v10.md) | 将4维张量在空间维度上进行切分成多个小块,然后在batch维度上…
|
H A D | _node_attr_types_8idl_v20.md | 34 | struct [BatchToSpaceND](_batch_to_space_n_d_v20.md) | 将一个4维tensor的batch维度按block_shape切… 66 | struct [SpaceToBatchND](_space_to_batch_n_d_v20.md) | 将4维张量在空间维度上进行切分成多个小块,然后在batch维度上…
|
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/ |
H A D | taskpool-vs-worker.md | 49 - 大量或者调度点较分散的任务。例如大型应用的多个模块包含多个耗时任务,不方便使用Worker去做负载管理,推荐采用TaskPool。场景示例可参考[批量数据写数据库场景](./batch-data…
|
H A D | concurrency-overview.md | 14 …ask-overview.md)等。开发者可以根据不同的任务诉求和场景,选择相应的并发策略进行优化和开发,也可以具体查看[应用多线程开发实践案例](batch-database-operation…
|
/ohos5.0/foundation/distributedhardware/device_manager/utils/src/kvadapter/ |
H A D | kv_adapter.cpp | 221 auto batch = std::vector<std::string>(keys.begin() + i, keys.begin() + end); in DeleteBatch() local 223 for (auto item : batch) { in DeleteBatch()
|
/ohos5.0/base/time/time_service/services/ |
H A D | BUILD.gn | 59 "timer/src/batch.cpp", 135 "timer/src/batch.cpp",
|