Several shared _ptr objects may own the same object. You can see why this is called the shared nothing model. Shared _ptr是一种智能指针(smartpointer)类型。A shared _ptr is a type of a smart pointer. C++11智能指针(四):创建shared _ptr对象. C++11 Smart Pointer- Part 4: Create shared _ptr objects carefully. The 4shared service provides accounts for storing only legal data.
Weak_ptr指向的是一个被shared _ptr所指向的对象。 Instead, a weak_ptr points to an object that is managed by a shared _ptr. 第一种智能指针是shared _ptr,它有一个叫做共享所有权(sharedownership)的概念。 The first of its kind is shared _ptr which has the notion called shared ownership. 一个weak_ptr指向的是一个被shared _ptr所指向的对象。 Instead, a weak_ptr points to an object that is managed by a shared _ptr. 如果你一直在使用Shared Caching你应该知道它由很多cache服务器构成。 If you had been using the Shared Caching you should know that it is constructed by a bunch of cache servers. 在某些情况下需要中断shared _ptr实例之间的循环引用。 Required in some cases to break circular references between shared _ptr instances. 将一个weak_ptr绑定到shared _ptr不会改变shared _ptr的引用计数。 Binding a weak_ptr to a shared _ptr does not change the reference count of that shared _ptr. If(autospt=gw.lock()){//使用之前必须复制到shared _ptr. If(auto spt= wp. lock()){// to be safe, have to be copy into a shared _ptr before usage. C++11包含了新的智能指针类:shared _ptr和最近新加的unique_ptr。 C++11 includes new smart pointer classes: shared _ptr and the recently-added unique_ptr. 如果使用Shared Caching我们需要为cache服务付费但同时浪费了一些本地的内存和CPU。 If using Shared Caching we have to pay for the cache service while waste of some of our memory and CPU locally. 当引用计数变为0时,shared _ptr自动删除底层的vector。 As soon as the number of references reaches zero, the shared _ptr automatically deletes the underlying vector. Povertyandshared prosperity2016Takingoninequality,世界银行,2016年。 This figure is taken from The World Bank(2016)- Poverty and Shared Prosperity 2016: Taking on Inequality. 在WindowsAzure上现在有两个caching解决方案,Shared Caching和Caching(预览)。 So now we have two caching solutions in Windows Azure, the Shared Caching and Caching(Preview). 这个RString结构体包含了一个字符数组ary但没有ptr,len和shared 值,就像上图中我们看到的。 This RString structure contains a character array called ary and not the ptr, len and shared values we saw above. 它提供了比…更好的性能shared _ptr,但需要类型T提供自己的参考计数机制。 It provides better performance than shared _ptr, but requires the type T to provide its own reference counting mechanism. 简而言之,SSL/TLS(除1.3版本之外)可以在握手期间使用RSA密钥交换来协商共享秘钥(Shared Secret)。 Briefly, SSL/TLS(except TLS 1.3) can use an RSA key exchange during a handshake to negotiate a shared secret. 即使在Shared Caching系统中有一些caches,但从云服务到cache服务还是需要一定时间的。 Even though there are some caches in the Shared Caching system it also takes time from your cloud services to the cache service. Weak_ptr提供对一个或多个shared _ptr实例拥有的对象的访问,但不参与引用计数。 A weak_ptr provides access to an object that is owned by one or more shared _ptr instances, but does not participate in reference counting. 从逻辑功能角度,Shared pool主要包含三个部分:LibraryCache,DictionaryCache和ControlStructure。 The shared pool portion of the SGA contains three major areas: library cache, dictionary cache, and control structures. 自2002年以来,HostGator以超低的价格为其全球客户群提供了shared 、WordPress、cloud和VPS托管服务。 Since 2002 HostGator has provided their global client base with shared , WordPress, cloud, and VPS hosting services at ultra cheap prices. 就业服务团队的下一站是Shared Tables午宴,由PhilippeMouchel发起,在他的新城市餐厅“Philippe”。 Next stop for the Career Services team is a Shared Tables luncheon, hosted by Philippe Mouchel, at his new city based restaurant“Philippe”. 因为shared _ptr主动分配内存并且保存引用计数(referencecount),make_shared以一种更有效率的方法来实现创建工作。 As shared _ptr allocates memory internally, to hold the reference count, make_shared() is implemented in a way to do this job effectively. 由于使用静态分析来确定所有泛型实例非常复杂,团队引入了UniversalShared Generics(UGS)。 Because using static analysis to determine all of the generic instantiations is fairly complicated, the team is introducing Universal Shared Generics(UGS). Codd's提出的关系模型的论文"arelationalmodelofdataforlargeshared databanks",这使得数据建模和应用程序编程更加简单。 Codd's 1970 paper"A relational model of data for large shared data banks" which made data modeling and application programming much easier. 除了高可用性,Caching(预览)比WindowsAzureShared Caching支持WindowsServerAppFabricCaching引进的更多特性。 Besides the high availability, the Caching(Preview) support more features introduced in Windows Server AppFabric Caching than the Windows Azure Shared Caching. 程序函数库可分为3种类型:静态函数库(staticlibraries)、共享函数库(shared libraries)和动态加载函数库(dynamicallyloadedlibraries)。 Program libraries can be divided into three types: static libraries, shared libraries, and dynamically loaded(Shared) libraries.
展示更多例子
结果: 122 ,
时间: 0.0239
English
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt