Example: Caching with local storage.
例子:利用本地存储实现高速缓存。
Next, it iterates over all of the data in local storage.
接着,它遍历本地存储中的所有数据。
Each SPE has 256kb of local storage for both instructions and data.
每个SPE对于指令和数据都有256kb的本地存储。
Implementing local storage, caching and offline access are relatively easy.
调用本地存储、缓存和离线访问相对来说很简单。
The ability to access local storage and to run offline all become important.
访问本地存储和离线功能都很重要。
Again, this function starts by checking if local storage is available or not.
同样,这个函数从检查本地存储是否可用开始。
Now you just need a function for reading all of this data back from local storage.
这样,我们只需要一个从本地存储读取所有数据的函数。
This is definitely a little more of a complex use case than the local storage one.
这显然比使用本地存储复杂一点。
So saving the entries to local storage is straightforward, and is shown in Listing 8.
所以将记录保存到本地存储是很简单的,如清单8所示。
After using thread local storage, the handler sets the thread local username to null.
使用线程本地存储之后,处理程序将线程本地用户名设置为空。
You can dramatically increase how much local storage is available to your application.
您可以极大地增加应用程序所能访问的本地存储容量。
HTML5 gives you access to many low-level OS features (geo-location, local storage... etc).
HTML5能让你访问到底层的操作系统特性(地理位置,本地存储等等)。
After each use, the thread local storage values of username and password are reset to null.
每次使用后,用户名和密码的线程本地存储值都被重新设置为空。
All the user data is synchronized with the cloud, the local storage being used just as a cache.
所有的用户数据都与云中数据保持同步,本地存储仅仅用做缓存而已。
Early versions of Ceph implemented a custom low-level file system on the local storage called EBOFS.
Ceph的早期版本在一个名为ebofs的本地存储器上实现一个自定义低级文件系统。
Our primary concern is leveraging local storage and Ajax to build a practical and useful application.
我们关注的主要问题是利用本地存储和Ajax构建一个实用的、有用的应用程序。
Next, you sort the entries, because the order that they come out of from local storage is not guaranteed.
接着,我们需要对记录进行排序,因为它们从本地存储返回的顺序是不一定的。
HTML5 also allows specification of offline support, which makes local storage possible, helping with connectivity interruptions.
HTML5还支持规范离线支持,使本地存储成为可能,帮助解决连接中断问题。
This trend will only accelerate in the coming year as local storage in Web browsers makes it increasingly possible to work offline.
在未来几年中,这种趋势会进一步加速,因为Web浏览器中的本地存储使其脱机工作的可能性越来越高。
The local storage of an instance includes the operating system, software applications, data, and configurations added to the instance.
实例的本地存储包括操作系统、软件应用程序、数据,以及为实例添加的配置。
Native applications built in Objective-C make full use of all the iPhone features: GPS, accelerometer, local storage, camera and more.
用Objective - C语言创建的本地应用程序能完全使用iPhone的所有功能:GPS、加速器、本地存储、照相机等。
This is a perfectly reasonable assumption for a Swing or SWT application accessing a configuration database or a local storage system.
对于要访问配置数据库或逻辑存储系统的Swing 或SWT应用程序,这是一个非常合理的假设。
Write operations occur through the primary node and are performed to the local storage and secondary storage simultaneously (see Figure 3).
写操作从主节点开始进行,同时执行本地存储和辅助存储(见图3)。
Typically, clients have a local copy of the versions of files they are working on, but no local storage of previous versions or alternate branches.
通常来说,客户端只有一份当前工作分支的本地文件,没有之前版本或者其他分支的本地文件。
Accessing the documentation from the web has the advantage of reducing local storage space requirements, plus the information will be updated regularly.
从网络访问文档,拥有降低本地存储空间需求的优势,而且信息还可以得到规范的更新。
Since you did not call any functions or use any local storage, you did not need a stack frame at all, so you can now just exit through the link register.
由于未调用任何函数,也未使用任何本地存储,所以您根本无需堆栈框架,并可通过链接寄存器退出。
Fortunately for Web developers, the HTML 5 specification finally contains a standard for local storage that is implemented by a wide variety of browsers.
对Web开发人员来说幸运的是,HTML5规范最终包含了一个针对本地存储的标准,被广泛的浏览器所实现。
Key things to note here are the thread local storage declarations and the instance variables used to hold the potential source of the username and password.
这里需要注意的关键内容是用于存放用户名和密码的可能来源的线程本地存储声明和实例变量。
Similar to the local storage use case, some Web browsers have come up with their own way to do this, and there has been subsequent attempts at standardization.
与本地存储的用例一样,一些Web浏览器实现了自己的方式,后来也出现了一些标准化工作。
Read operations are performed using local storage (unless the local disk has failed, at which point the secondary storage is accessed through the secondary node).
读操作是使用本地存储执行的(除非本地磁盘发生故障,那时通过辅助节点访问辅助存储)。
应用推荐