Home
last modified time | relevance | path

Searched refs:Version (Results 1 - 25 of 55) sorted by relevance

123

/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/
H A DVersionTest.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
48 Version a; in HWTEST_F()
49 Version b(1, 0); in HWTEST_F()
50 Version c(1, 1); in HWTEST_F()
51 Version d(0, 9999); in HWTEST_F()
52 Version e(1, 9999); in HWTEST_F()
53 Version f(2366, 0); in HWTEST_F()
84 void TestFromToVersion(Version v) in TestFromToVersion()
86 Version other(v.ToString()); in TestFromToVersion()
98 TestFromToVersion(Version()); in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dikvdb_multi_ver_transaction.h3 * Licensed under the Apache License, Version 2.0 (the "License");
35 virtual int GetEntriesByVersion(const Version &versionInfo, std::vector<MultiVerKvEntry *> &entries) const = 0;
36 virtual int GetDiffEntries(const Version &begin, const Version &end, MultiVerDiffData &data) const = 0;
37 virtual int GetMaxVersion(MultiVerDataType type, Version &maxVersion) const = 0;
38 virtual int ClearEntriesByVersion(const Version &versionInfo) = 0;
42 virtual int UpdateTimestampByVersion(const Version &version, Timestamp stamp) const = 0;
46 virtual void SetVersion(const Version &versionInfo) = 0;
47 virtual Version GetVersion() const = 0;
48 virtual int GetEntriesByVersion(Version versio
[all...]
H A Dmulti_ver_storage_executor.h3 * Licensed under the Apache License, Version 2.0 (the "License");
90 Version GetCurrentReadVersion() const;
96 int GetEntriesByVersion(Version version, std::list<MultiVerTrimedVersionData> &data) const;
99 int GetOverwrittenClearTypeEntries(Version clearVersion, std::list<MultiVerTrimedVersionData> &data) const;
102 int GetOverwrittenNonClearTypeEntries(Version version, const Key &hashKey,
106 int DeleteEntriesByHashKey(Version version, const Key &hashKey);
109 int UpdateTrimedFlag(Version version, const Key &hashKey);
133 int GetParentCommitId(const CommitID &commitId, CommitID &parentId, Version &curVersion) const;
137 int FillAndCommitLogEntry(const Version &versionInfo, CommitID &commitId, uint64_t timestamp) const;
140 const Version
[all...]
H A Dmulti_ver_commit.h3 * Licensed under the Apache License, Version 2.0 (the "License");
34 Version GetCommitVersion() const override;
35 void SetCommitVersion(const Version &versionInfo) override;
61 Version versionInfo_;
H A Dmulti_ver_natural_store.h3 * Licensed under the Apache License, Version 2.0 (the "License");
128 Version GetMaxCommitVersion() const;
130 void SetMaxCommitVersion(const Version &version);
140 void AddVersionConstraintToList(Version version);
142 void RemoveVersionConstraintFromList(Version version);
145 Version GetMaxTrimmableVersion() const;
203 Version maxCommitVersion_;
205 std::multiset<Version> versionConstraints_;
H A Dmulti_ver_natural_store_commit_notify_data.h3 * Licensed under the Apache License, Version 2.0 (the "License");
29 const CommitID &endCommitID, Version curVersion);
54 Version version_;
H A Dmulti_ver_commit.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
30 Version MultiVerCommit::GetCommitVersion() const in GetCommitVersion()
35 void MultiVerCommit::SetCommitVersion(const Version &versionInfo) in SetCommitVersion()
H A Dikvdb_multi_ver_data_storage.h3 * Licensed under the Apache License, Version 2.0 (the "License");
54 virtual int RollbackWritePhaseOne(IKvDBMultiVerTransaction *transaction, const Version &versionInfo) = 0;
57 virtual IKvDBMultiVerTransaction *StartRead(KvDataType dataType, const Version &versionInfo, int &errCode) = 0;
H A Dmulti_ver_storage_executor.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
159 Version version; in GetCommitData()
593 Version verBegin; in GetDiffEntries()
612 Version verEnd = commitEnd->GetCommitVersion(); in GetDiffEntries()
739 Version maxVersion = static_cast<MultiVerNaturalStore *>(kvDB_)->GetMaxCommitVersion(); in StartAllDbTransaction()
793 Version maxVersion = static_cast<MultiVerNaturalStore *>(kvDB_)->GetMaxCommitVersion(); in StartTransaction()
852 Version commitVersion; in CommitTransaction()
963 Version version = 0; in InitCurrentReadVersion()
1109 Version version = commit->GetCommitVersion(); in GetResolvedConflictEntries()
1110 LOGD("Version i in GetResolvedConflictEntries()
[all...]
H A Dmulti_ver_natural_store_commit_storage.h3 * Licensed under the Apache License, Version 2.0 (the "License");
60 Version GetMaxCommitVersion(int &errCode) const override;
95 const std::map<DeviceID, CommitID> &latestCommits, std::map<DeviceID, Version> &latestCommitVersions);
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dversion.h3 * Licensed under the Apache License, Version 2.0 (the "License");
25 class Version { class
27 constexpr Version(uint16_t major = 0, uint16_t minor = 0) : major_(major), minor_(minor) {} in Version() function in Version
29 constexpr explicit Version(BASE_NS::string_view str) in Version() function in Version
69 constexpr inline bool operator==(const Version& l, const Version& r) in operator ==()
74 constexpr inline bool operator!=(const Version& l, const Version& r) in operator !=()
79 constexpr inline bool operator<(const Version& l, const Version
[all...]
H A Dplugin.h3 * Licensed under the Apache License, Version 2.0 (the "License");
31 constexpr Version META_VERSION(META_VERSION_STRING);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_multi_ver_transaction.h3 * Licensed under the Apache License, Version 2.0 (the "License");
57 int GetDiffEntries(const Version &begin, const Version &end, MultiVerDiffData &data) const override;
59 int GetMaxVersion(MultiVerDataType type, Version &maxVersion) const override;
61 int ClearEntriesByVersion(const Version &versionInfo) override;
69 int GetEntriesByVersion(Version version, std::list<MultiVerTrimedVersionData> &data) const override;
72 int GetEntriesByVersion(const Version &versionInfo, std::vector<MultiVerKvEntry *> &entries) const override;
75 int UpdateTimestampByVersion(const Version &version, Timestamp stamp) const override;
91 void SetVersion(const Version &versionInfo) override;
93 Version GetVersio
[all...]
H A Dsqlite_multi_ver_data_storage.h3 * Licensed under the Apache License, Version 2.0 (the "License");
51 int RollbackWritePhaseOne(IKvDBMultiVerTransaction *transaction, const Version &versionInfo) override;
57 IKvDBMultiVerTransaction *StartRead(KvDataType dataType, const Version &versionInfo, int &errCode) override;
H A Dsqlite_multi_ver_transaction.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
159 void SQLiteMultiVerTransaction::SetVersion(const Version &versionInfo) in SetVersion()
260 int SQLiteMultiVerTransaction::GetValueForTrimSlice(const Key &hashKey, const Version version, Value &value) const in GetValueForTrimSlice()
449 int SQLiteMultiVerTransaction::GetDiffEntries(const Version &begin, const Version &end, MultiVerDiffData &data) const in GetDiffEntries()
501 int SQLiteMultiVerTransaction::GetMaxVersion(MultiVerDataType type, Version &maxVersion) const in GetMaxVersion()
524 maxVersion = static_cast<Version>(sqlite3_column_int64(statement, 0)); // only select the first result. in GetMaxVersion()
532 int SQLiteMultiVerTransaction::ClearEntriesByVersion(const Version &versionInfo) in ClearEntriesByVersion()
563 int SQLiteMultiVerTransaction::GetPrePutValues(const Version &versionInfo, Timestamp timestamp, in GetPrePutValues()
611 int SQLiteMultiVerTransaction::RemovePrePutEntries(const Version
[all...]
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/
H A Dmod.rs3 * Licensed under the Apache License, Version 2.0 (the "License");
30 pub use reqwest::{tls::Version as TlsVersion, Method, Response, Version};
H A Drequest.rs3 * Licensed under the Apache License, Version 2.0 (the "License");
17 use crate::reqwest_impl::{Method, Version};
143 /// Sets the `Version` of the request.
148 /// use ylong_http_client::{RequestBuilder, Version};
150 /// let builder = RequestBuilder::new().version(Version::HTTP_11);
152 pub fn version(mut self, version: Version) -> Self { in version()
234 pub(crate) version: Version,
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/backend/
H A Djson_input.h3 * Licensed under the Apache License, Version 2.0 (the "License");
52 Version GetJsonVersion() const in GetJsonVersion()
61 Version jsonVersion_;
62 Version exporterVersion_;
H A Djson_input.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
31 constexpr Version CURRENT_JSON_VERSION(2, 0);
152 auto ver = Version(CORE_NS::json::unescape(v->string_)); in ReadMetadata()
153 if (ver == Version()) { in ReadMetadata()
163 exporterVersion_ = Version(CORE_NS::json::unescape(v->string_)); in ReadMetadata()
181 if (jsonVersion_ == Version {}) { in ImportRootObject()
182 jsonVersion_ = Version { 1, 0 }; in ImportRootObject()
189 if (jsonVersion_ < Version(2, 0)) { in ImportRootObject()
209 CORE_LOG_I("Enabling Meta Object Version 1 compatibility"); in SetMetaV1Compatibility()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dikvdb_commit.h3 * Licensed under the Apache License, Version 2.0 (the "License");
26 virtual Version GetCommitVersion() const = 0;
27 virtual void SetCommitVersion(const Version &versionInfo) = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_commit_storage_test.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
32 Version g_defaultCommitVer1 = 1;
33 Version g_defaultCommitVer2 = 2;
34 Version g_defaultCommitVer3 = 3;
35 Version g_defaultCommitVer4 = 4;
36 Version g_defaultCommitVer5 = 5;
37 Version g_defaultCommitVer6 = 6;
38 Version g_defaultCommitVer7 = 7;
39 Version g_defaultCommitVer8 = 8;
40 Version g_defaultCommitVer
[all...]
H A Ddistributeddb_storage_transaction_record_test.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
93 Version originVer = 0; in HWTEST_F()
121 Version currentVer = 0; in HWTEST_F()
138 Version originVer = 0; in HWTEST_F()
154 Version currentVer = 0; in HWTEST_F()
171 Version originVer = 0; in HWTEST_F()
195 Version currentVer = 0; in HWTEST_F()
212 Version originVer = 0; in HWTEST_F()
226 Version currentVer = 0; in HWTEST_F()
266 Version originVe in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dbundle_pack_info.h3 * Licensed under the Apache License, Version 2.0 (the "License");
34 struct Version { struct
42 Version version;
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/plugin/
H A Dintf_plugin.h3 * Licensed under the Apache License, Version 2.0 (the "License");
38 struct Version { struct
143 /** Version information of the plugin. */
144 const Version version;
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Djson_importer.cpp3 * Licensed under the Apache License, Version 2.0 (the "License");
37 if (json.GetJsonVersion() < Version(2, 0)) { in ImportAsTree()

Completed in 10 milliseconds

123