Searched defs:cache (Results 1 - 5 of 5) sorted by relevance

/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/misc/finder/
H A DIconFinder.java36 private ObjectCache<String, ImageIcon> cache = field in class:IconFinder
44 * Clear the cache of retrieved {@code ImageIcon}s.
47 synchronized (cache) {
48 cache.clear();
118 * Retrieve from cache, or create, an {@code ImageIcon} for the given {@code
125 synchronized (cache) {
126 if (cache.containsKey(key)) {
128 icon = cache.get(key);
131 cache.put(key, icon);
H A DGnomeUtil.java63 private static ObjectCache<String, Icon> cache = field in class:GnomeUtil
71 * Clear the cache of retrieved {@code Icon}s.
74 synchronized (cache) {
75 cache.clear();
94 Icon icon = cache.get(key);
98 cache.put(key, icon);
138 Icon icon = cache.get(key);
142 cache.put(key, icon);
/solaris-userland-s11u3/components/net-snmp/sun/sdk/demo/demo_module_9/
H A Ddemo_module_9.c121 * Create a "cache" of useful
144 * Extract the cache from the passed argument.
146 netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *) clientarg; local
153 * Make sure the cache created earlier is still
158 cache = netsnmp_handler_check_cache(cache);
160 if (!cache) {
168 reqinfo = cache->reqinfo;
169 requests = cache->requests;
173 cache
[all...]
/solaris-userland-s11u3/components/net-snmp/sun/sdk/demo/demo_module_10/
H A Ddemo_module_10.c214 * Create a "cache" of useful
318 * Extract the cache from the passed argument.
320 netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *) clientarg; local
326 * Make sure the cache created earlier is still
331 cache = netsnmp_handler_check_cache(cache);
333 if (!cache) {
341 reqinfo = cache->reqinfo;
342 requests = cache->requests;
346 cache
[all...]
/solaris-userland-s11u3/components/open-fabrics/libibverbs/
H A Dsolaris_compatibility.c167 * Some temporary cache code, until things are cleaned up as part of DR
186 /* IB device info cache */
275 * For usages where ibdev cache needs to be read based on the IB device
276 * name instead of uverbs device name a simple compare against the cache
277 * entries is used to retrieve the corresponding ibdev cache entry.
283 ibdev_cache_info_t *cache = NULL; local
289 cache = &ibdev_cache[idx];
290 if (strcmp(cache->ibd_name, devname) == 0)
298 cache = NULL;
300 return (cache);
[all...]

Completed in 63 milliseconds