Searched refs:cache (Results 1 - 6 of 6) sorted by relevance

/opengrok-sun/test/org/opensolaris/opengrok/history/
H A DJDBCHistoryCacheTest.java49 private JDBCHistoryCache cache; field in class:JDBCHistoryCacheTest
74 * Set up the test environment with repositories and a cache instance.
80 cache = new JDBCHistoryCache(
82 cache.initialize();
93 cache = null;
175 cache.store(historyToStore, repos);
176 cache.optimize();
183 History retrievedHistory = cache.get(makefile, repos, true);
207 History dirHistory = cache.get(reposRoot, repos, true);
217 repos.createCache(cache, cach
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DFileHistoryCache.java78 * Get a <code>File</code> object describing the cache file.
80 * @param file the file to find the cache for
123 File cache = getCachedFile(file);
125 File dir = cache.getParentFile();
128 "Unable to create cache directory '" + dir + "'.");
131 // We have a problem that multiple threads may access the cache layer
133 // serialize the write access to the cache file. The generation of the
134 // cache file would most likely be executed during index generation, and
156 if (!cache.delete() && cache
[all...]
H A DHistoryGuru.java57 /** The history cache to use */
69 HistoryCache cache = null;
74 cache = new JDBCHistoryCache();
76 cache = new FileHistoryCache();
79 cache.initialize();
82 "Failed to initialize the history cache", he);
83 // Failed to initialize, run without a history cache
84 cache = null;
87 historyCache = cache;
99 * Return whether or not a cache shoul
[all...]
H A DRepository.java253 * Create a history log cache for all of the files in this repository.
258 * @param cache the cache instance in which to store the history log
259 * @param sinceRevision if non-null, incrementally update the cache with
265 final void createCache(HistoryCache cache, String sinceRevision) argument
271 // If we don't have a directory parser, we can't create the cache
276 "Skipping creation of history cache for {0}, since retrieval " +
294 // (bug #14724) so we'll try to regenerate the cache from
298 "recreate the history cache from scratch.", he);
305 // Got full history successfully. Clear the history cache s
[all...]
/opengrok-sun/web/
H A Djquery-1.4.4.min.js42 "none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h=
43 c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);
60 w.handle)b.elem=null;delete w.events;delete w.handle;if(typeof w==="function")c.removeData(a,J);else c.isEmptyObject(w)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===
77 c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
124 d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i,
136 !T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache
[all...]
/opengrok-sun/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 24 milliseconds