cache 162 cygnal/cygnal.cpp static Cache& cache = Cache::getDefaultInstance(); cache 681 cygnal/cygnal.cpp string results = cache.stats(false); cache 1036 cygnal/cygnal.cpp boost::shared_ptr<DiskStream> filestream(cache.findFile(args->filespec)); cache 76 cygnal/http_server.cpp static Cache& cache = Cache::getDefaultInstance(); cache 148 cygnal/http_server.cpp boost::shared_ptr<DiskStream> filestream(cache.findFile(_filespec)); cache 1035 cygnal/http_server.cpp cache.addFile(_filespec, _diskstream); cache 1050 cygnal/http_server.cpp string response = cache.findResponse(filestream->getFilespec()); cache 108 cygnal/libnet/cache.h inline std::ostream& operator << (std::ostream& os, const Cache& cache) cache 110 cygnal/libnet/cache.h cache.dump(os); cache 67 cygnal/libnet/diskstream.cpp static Cache& cache = Cache::getDefaultInstance(); cache 78 cygnal/libnet/http.cpp static Cache& cache = Cache::getDefaultInstance(); cache 431 cygnal/libnet/http.cpp boost::shared_ptr<DiskStream> filestream(cache.findFile(url)); cache 448 cygnal/libnet/http.cpp cache.addPath(_filespec, filestream->getFilespec()); cache 70 cygnal/rtmp_server.cpp static Cache& cache = Cache::getDefaultInstance(); cache 1239 cygnal/rtmp_server.cpp boost::shared_ptr<DiskStream> filestream(cache.findFile(filespec)); cache 1256 cygnal/rtmp_server.cpp cache.addPath(filespec, filestream->getFilespec()); cache 121 cygnal/testsuite/libnet.all/test_cache.cpp Cache cache; cache 124 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("foo", "/bar/foo"); cache 125 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("bar", "/foo/bar"); cache 126 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("barfoo", "/foo/bar/barfoo"); cache 127 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("foobar", "/foo/bar/foobar"); cache 129 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findPath("foo") == "/bar/foo") cache 130 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("bar") == "/foo/bar") cache 131 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("barfoo") == "/foo/bar/barfoo") cache 132 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("foobar") == "/foo/bar/foobar")) { cache 144 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("foo", resp1); cache 145 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("bar", resp2); cache 146 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("barfoo", resp3); cache 147 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("foobar", resp4); cache 148 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findResponse("foo") == resp1) cache 149 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("bar") == resp2) cache 150 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("barfoo") == resp3) cache 151 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("foobar") == resp4)) { cache 173 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("foo", file1); cache 174 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("bar", file2); cache 175 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("barfoo", file3); cache 176 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("foobar", file4); cache 178 cygnal/testsuite/libnet.all/test_cache.cpp boost::shared_ptr<DiskStream> ds1 = cache.findFile("foo"); cache 179 cygnal/testsuite/libnet.all/test_cache.cpp boost::shared_ptr<DiskStream> ds2 = cache.findFile("bar"); cache 203 cygnal/testsuite/libnet.all/test_cache.cpp Cache cache; cache 206 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("foo", "/bar/foo"); cache 207 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("bar", "/foo/bar"); cache 208 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("barfoo", "/foo/bar/barfoo"); cache 209 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("foobar", "/foo/bar/foobar"); cache 212 cygnal/testsuite/libnet.all/test_cache.cpp cache.dump(); cache 215 cygnal/testsuite/libnet.all/test_cache.cpp cache.removePath("barfoo"); cache 216 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findPath("foo") == "/bar/foo") cache 217 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("bar") == "/foo/bar") cache 218 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("barfoo").empty()) cache 219 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("foobar") == "/foo/bar/foobar")) { cache 228 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("foo", resp1); cache 229 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("bar", resp1); cache 230 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("barfoo", resp1); cache 231 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("foobar", resp1); cache 232 cygnal/testsuite/libnet.all/test_cache.cpp cache.removeResponse("barfoo"); cache 233 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findResponse("foo") == resp1) cache 234 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("bar") == resp1) cache 235 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("barfoo").empty()) cache 236 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("foobar") == resp1)) { cache 258 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("foo", file1); cache 259 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("bar", file2); cache 260 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("barfoo", file3); cache 261 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("foobar", file4); cache 262 cygnal/testsuite/libnet.all/test_cache.cpp cache.removeFile("barfoo"); cache 264 cygnal/testsuite/libnet.all/test_cache.cpp boost::shared_ptr<DiskStream> ds1 = cache.findFile("foo"); cache 265 cygnal/testsuite/libnet.all/test_cache.cpp boost::shared_ptr<DiskStream> ds2 = cache.findFile("bar"); cache 267 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findFile("foo")->getFileSize() == file1->getFileSize()) cache 268 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findFile("barfoo") == 0) cache 269 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findFile("bar")->getFileSize() == file2->getFileSize())) { cache 279 cygnal/testsuite/libnet.all/test_cache.cpp cache.dump(); cache 286 cygnal/testsuite/libnet.all/test_cache.cpp Cache cache; cache 288 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("foo", "/bar/foo"); cache 289 cygnal/testsuite/libnet.all/test_cache.cpp cache.addPath("bar", "/foo/bar"); cache 291 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findPath("foo") == "/bar/foo") cache 292 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("bar") == "/foo/bar") cache 293 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findPath("foobar").size() == 0)) { cache 300 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("foo", resp1); cache 301 cygnal/testsuite/libnet.all/test_cache.cpp cache.addResponse("bar", resp1); cache 302 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findResponse("foo") == resp1) cache 303 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("bar") == resp1) cache 304 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findResponse("foobar").size() == 0)) { cache 314 cygnal/testsuite/libnet.all/test_cache.cpp cache.addFile("foo", file1); cache 315 cygnal/testsuite/libnet.all/test_cache.cpp if ((cache.findFile("foo")->getFileSize() == file1->getFileSize()) cache 316 cygnal/testsuite/libnet.all/test_cache.cpp && (cache.findFile("bar") == 0)) { cache 521 libbase/curl_adapter.cpp std::streamsize cache(void *from, std::streamsize sz); cache 547 libbase/curl_adapter.cpp return stream->cache(buf, size * nmemb); cache 121 libbase/noseek_fd_adapter.cpp std::streamsize cache(void *from, std::streamsize sz); cache 239 libbase/noseek_fd_adapter.cpp cache(_buf, bytesRead); cache 136 libcore/SWFStream.cpp byte cache[4]; // at most 4 bytes in the cache cache 138 libcore/SWFStream.cpp if ( spareBits ) m_input->read(&cache, bytesToRead+1); cache 139 libcore/SWFStream.cpp else m_input->read(&cache, bytesToRead); cache 144 libcore/SWFStream.cpp value |= cache[i] << bitcount; cache 150 libcore/SWFStream.cpp m_current_byte = cache[bytesToRead];