Go to the source code of this file.
Classes | |
class | VersionArrayReaderSupport |
class | VersionMango |
Functions | |
void | testBuffer () |
void | testAppend () |
void | testToken1 () |
void | testToken2 () |
void | testToken3 () |
void | testFormat () |
void | testLayout () |
void | testClassIO () |
void | testClassSerialization () |
void | testFile4 () |
void | testRandomAccess () |
void | testConduitFilters () |
void | testFile5 () |
void | testFile1 () |
void | testFile2 () |
void | testFile3 () |
void | testScanFiles () |
void | testSocket () |
void | testColumn () |
void | testStdin () |
void | wordRegex (IBuffer buffer) |
void | testFileRegex () |
void | testSocketRegex () |
void | testLineRegex () |
void | testFileSize () |
void | testFileList () |
void | testFilePath () |
void | testMappedFile () |
void | testCompositeIO () |
void | testDirectIO () |
void | testUri () |
void | testClient () |
void | testServer (IProvider provider) |
void | testHttpServer () |
void | testServletEngine () |
void | testHttpClient () |
void | testHttpClient2 () |
void | testHttpClient3 () |
void | testPlainCache () |
void | testQueuedCache () |
void | testFileBucket () |
void | testVirtualCache () |
void | testProtocol () |
void | testHashMap () |
void | testMulticast () |
void | testClusterCache () |
void | testClusterQueue () |
void | testInvalidatee () |
void | testClusterServer () |
void | testClusterMessage () |
void | testCacheLoader () |
void | testRemoteCacheLoader () |
void | testDisplay () |
void | testTextWriter () |
int | main (char[][] args) |
Variables | |
import mango io | Uri |
import mango io mango io | Stdio |
import mango io mango io mango io | Token |
import mango io mango io mango io mango io | Reader |
import mango io mango io mango io mango io mango io | Writer |
import mango io mango io mango io mango io mango io mango io | Buffer |
import mango io mango io mango io mango io mango io mango io mango io | Socket |
import mango io mango io mango io mango io mango io mango io mango io mango io | Conduit |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io | FilePath |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | FileStyle |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | FileProxy |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | Tokenizer |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | TextReader |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | TextWriter |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | FileBucket |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | FileConduit |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | TextLayout |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | TextFormat |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | ColumnWriter |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | DisplayWriter |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | PickleReader |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | PickleWriter |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | SocketConduit |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | SocketListener |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | ArrayAllocator |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | PickleRegistry |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | DatagramSocket |
import mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io mango io | MulticastSocket |
import mango log | Logger |
import mango log mango log | Layout |
import mango log mango log mango log | Manager |
import mango log mango log mango log mango log | DateLayout |
import mango log mango log mango log mango log mango log | Configurator |
import mango log mango log mango log mango log mango log mango log | FileAppender |
import mango log mango log mango log mango log mango log mango log mango log | StdioAppender |
import mango log mango log mango log mango log mango log mango log mango log mango log | ConsoleAppender |
import mango log mango log mango log mango log mango log mango log mango log mango log mango log | RollingFileAppender |
import mango io model | IReader |
import mango io model mango io model | IWriter |
import mango io model mango io model mango io model | IPickle |
import mango http server | HttpParams |
import mango http server mango http server | HttpCookies |
import mango http server mango http server mango http server | HttpHeaders |
import mango http server mango http server mango http server mango http server | HttpServer |
import mango http server mango http server mango http server mango http server mango http server | HttpRequest |
import mango http server mango http server mango http server mango http server mango http server mango http server | HttpResponse |
import mango http server mango http server mango http server mango http server mango http server mango http server mango http server | HttpProvider |
import mango http server model | IProvider |
import mango http server model mango http server model | IProviderBridge |
import mango http client | HttpClient |
import mango servlet | Servlet |
import mango servlet mango servlet | ServletConfig |
import mango servlet mango servlet mango servlet | ServletContext |
import mango servlet mango servlet mango servlet mango servlet | ServletProvider |
import mango cache | PlainCache |
import mango cache mango cache | HashMap |
import mango cache mango cache mango cache | Payload |
import mango cache mango cache mango cache mango cache | QueuedCache |
import mango cache mango cache mango cache mango cache mango cache | VirtualCache |
import mango cluster | Message |
import mango cluster mango cluster | NetworkQueue |
import mango cluster mango cluster mango cluster | NetworkCache |
import mango cluster mango cluster mango cluster mango cluster | CacheInvalidator |
import mango cluster mango cluster mango cluster mango cluster mango cluster | CacheInvalidatee |
import mango cluster qos socket | Cluster |
import mango cluster qos socket mango cluster qos socket | ClusterServer |
import mango cluster qos socket mango cluster qos socket mango cluster qos socket | ProtocolReader |
import mango cluster qos socket mango cluster qos socket mango cluster qos socket mango cluster qos socket | ProtocolWriter |
Logger | logger |
import std | regexp |
This shows a number of different ways to manipulate buffers, readers, writers, and how to perform IO on files and sockets.
The basic premise behind this IO package is as follows:
1) the central concept is that of a buffer. The buffer acts as a queue (line) where items are removed from the front and new items are added to the back. Buffers are modeled by mango.io.model.IBuffer, and a concrete implementation is provided via mango.io.Buffer.
2) buffers can be written to directly, but a Reader and/or Writer are typically used to read & write formatted data. These readers & writers are bound to a specific buffer; often the same buffer. It's also perfectly legitimate to bind multiple writers to the same buffer; they will all behave serially as one would expect. The same applies to multiple readers on the same buffer. Readers and writers support two styles of IO: put/get, and the C++ style << and >> operators. All such operations can be chained.
3) Any class can be made compatable with the reader/writer framework by implementing the IReadable and/or IWritable interfaces. Each of these specify just a single method.
4) Buffers may also be tokenized. This is handy when one is dealing with text input, and/or the content suits a more fluid format than most typical readers & writers support. Tokens are mapped directly onto buffer content, so there is only minor overhead in using them. Tokens can be read and written by reader/writers also, using a more relaxed set of rules than those applied to integral IO.
5) buffers are sometimes memory-only, in which case there is nothing left to do when a reader (or tokenizer) hits end of buffer conditions. Other buffers are themselves bound to a Conduit. When this is the case, a reader will eventually cause the buffer to reload via its associated conduit. Previous buffer content will thus be lost. The same concept is applied to writers, whereby they flush the content of a full buffer to a bound conduit before continuing.
6) conduits provide virtualized access to external content, and represent things like files or Internet connections. They are just a different kind of stream. Conduits are modelled by mango.io.model.IConduit, and implemented via classes FileConduit and SocketConduit. Additional kinds of conduit are easy to construct: one either subclasses mango.io.Conduit, or implements mango.io.model.IConduit. The conduit reads and writes a buffer in large segments; typically the entire buffer.
7) additional file-system support is provided through two classes: FileSystem supports operations such as getting and setting the current directory, and FileProxy exposes facilities to manipulate both files and directories.
8) console IO is implemented via Stdio, using FileConduit and appropriate readers and writers. Console IO can be redirected in the traditional (shell) manner.
9) the package is intended to be portable between linux and Win32 platforms.
Kris Bell, March 26th 2004
Definition in file unittest.d.
|
Simple test of in-memory buffer. Bind both a Reader and a Writer onto the same buffer. Definition at line 298 of file unittest.d. References Buffer, Buffer::clear(), IReader::get(), AbstractReader::get(), IWriter::put(), AbstractWriter::put(), Reader, and Writer. |
|
Append to a buffer directly without using a Writer. This can be useful for appending a set of strings (or other array type) to a contiguous space in a similar fashion to std.outbuffer. Definition at line 345 of file unittest.d. References IBuffer::append(), Buffer::append(), Buffer, and Buffer::toString(). |
|
write delimited text tokens to a buffer, then read them back out to the console Definition at line 367 of file unittest.d. References Buffer, BoundToken::next(), IWriter::put(), and TextWriter. |
|
Use tokens directly with reader/writer also Definition at line 393 of file unittest.d. References Buffer, Reader, and TextWriter. |
|
use TextReader to convert text into integral types. This is akin to what scanf does. Definition at line 426 of file unittest.d. References Buffer, TextReader, and TextWriter. |
|
Use printf via a wrapper class Definition at line 488 of file unittest.d. References TextFormat::format(), and TextFormat. |
|
Layout text strings in an indexed fashion Definition at line 504 of file unittest.d. References TextLayout. |
|
Use interfaces to make any class reader and/or writer compatible Definition at line 520 of file unittest.d. References Buffer, IReader::get(), IReadable::read(), Reader, IWritable::write(), and Writer. |
|
Use interfaces to make any class serializable. This will be used by mango.server to move class-instances around the network. Each class is effectively a factory for itself. Note that this is not the same as Java; you can't ship code with the data ... one might perhaps use dll's or something to do that. Definition at line 570 of file unittest.d. References Buffer, IPickleFactory::create(), PickleWriter::freeze(), IReader::get(), IPickle::getGuid(), PickleReader, PickleWriter, IWriter::put(), IReadable::read(), and IWritable::write(). |
|
open a file, and stream directly to console Definition at line 638 of file unittest.d. References FileConduit. |
|
Create a file for random access. Write some stuff to it, rewind to file start and read back. Definition at line 655 of file unittest.d. References FileConduit, AbstractWriter::flush(), IReader::get(), AbstractReader::get(), IWriter::put(), AbstractWriter::put(), Reader, FileConduit::seek(), and Writer. |
|
Create a file for random access. Write some stuff to it, rewind to file start and read back. Definition at line 690 of file unittest.d. References Conduit::attach(), FileConduit, IWriter::flush(), AbstractReader::get(), AbstractWriter::put(), Reader, ConduitSource::reader(), FileConduit::seek(), Writer, and ConduitSink::writer(). |
|
open a file, and explicitly buffer it to another conduit. This is effectively what Conduit.copyTo() does. Definition at line 740 of file unittest.d. References FileConduit::createBuffer(), FileConduit, and Conduit::read(). |
|
Open a file and read it line-by-line using a line tokenizer. This uses CompositeToken to hide some of the details. Definition at line 765 of file unittest.d. References FileConduit, and CompositeToken::get(). |
|
Unwound version of above: we now explicitly pass a buffer instance to the tokenizer, although the token itself is still bound. Definition at line 787 of file unittest.d. References FileConduit::createBuffer(), FileConduit, Token::getLength(), and BoundToken::next(). |
|
Further unwinding of above: we invoke the tokenizer directly, explicitly passing both the buffer and the token Definition at line 812 of file unittest.d. References FileConduit::createBuffer(), FileConduit, Token::getLength(), and Token. |
|
Recursively scan files and directories, adding filtered files to an output structure as we go. Thanks to Chris S for this. delegate for filtering sub-directories and D source files Definition at line 837 of file unittest.d. References FilePath, FileProxy, FilePath::getExtension(), FilePath::getName(), FileProxy::getPath(), and FileProxy::toList(). |
|
Open an internet connection, and copy home page to console (via Chris Miller's socket.d). We could use a line-by-line approach in the same manner as above since both Files & Sockets are conduits. All conduits are interchangable with others. Definition at line 925 of file unittest.d. References Socket::connect(), DisplayWriter, SocketConduit::setTimeout(), and SocketConduit. |
|
Use a ColumnWriter to write formatted data onto the console. Note that we map the ColumnWriter directly into the Stdout buffer. Definition at line 954 of file unittest.d. References ColumnWriter, ColumnWriter::put, and DisplayWriter::setPrecision(). |
|
Get a line of input from the console, and extract an integer. Input from the console always waits until CR is pressed (at the OS level). Definition at line 979 of file unittest.d. |
|
Use RegExp to scan words via a buffer. Definition at line 999 of file unittest.d. References CompositeToken::next(). Referenced by testFileRegex(), testLineRegex(), and testSocketRegex(). |
|
Use RegExp to scan file content via a buffer. Buffered scanning avoids loading the entire file into memory at one time. Definition at line 1022 of file unittest.d. References FileConduit::createBuffer(), FileConduit, and wordRegex(). |
|
open an internet connection and scan home-page for words. Definition at line 1038 of file unittest.d. References Socket::connect(), SocketConduit::createBuffer(), DisplayWriter, SocketConduit::setTimeout(), SocketConduit, and wordRegex(). |
|
Read lines from a file, and scan each line for words. This shows how to map the content of one buffer into another without copying any data. Unlikely to be a common activity. Definition at line 1068 of file unittest.d. References FileConduit, CompositeToken::get(), Buffer::setValidContent(), and wordRegex(). |
|
Display the size of a file Definition at line 1102 of file unittest.d. References FileProxy, and FileProxy::getPath(). |
|
list a set of files Definition at line 1120 of file unittest.d. References FileProxy, and FileProxy::toList(). |
|
list a set of files Definition at line 1134 of file unittest.d. References FilePath, Uri::getHost(), Uri::getPath(), Uri::getPort(), Uri::getScheme(), Uri::toString(), FilePath::toUri(), and Uri. |
|
Construct a memory-mapped buffer upon a 200MB file. Note that we should close both the conduit and buffer when finished. Note also that Win32 takes a while to close the initial file if it has just been created or resized. Subsequently opening the file as ReadWriteExising performs admirably. I imagine it's to do with spooling a gazillion dirty pages to the drive? Definition at line 1172 of file unittest.d. References Buffer::append(), MappedBuffer::close(), FileConduit, FileConduit::seek(), and MappedBuffer::setPosition(). |
|
Use Composite IO to read and write a data-set. See CompositeReader and CompositeWriter for more on this. Definition at line 1194 of file unittest.d. References FileConduit, IWriter::flush(), IReader::get(), IWriter::put(), IReadable::read(), Reader, FileConduit::seek(), IWritable::write(), and Writer. |
|
One can perform direct IO on a conduit, simply by mapping a Buffer onto a local array. No additional buffering takes place but readers, writers, and tokenizers can't tell the difference: they may all be used without issue. This example uses the same direct-buffer for both reading & writing. However, seperate buffers may be used as appropriate. Definition at line 1251 of file unittest.d. References Buffer, IBuffer::clear(), FileConduit, Conduit::read(), FileConduit::seek(), IBuffer::setConduit(), and Conduit::write(). |
|
Definition at line 1292 of file unittest.d. References MutableUri::parse(). |
|
Test the http server by sending it a few thousand requests. Note that we don't use a reader or a writer here, though we could just as easily have done so. Also note that (Gentoo) linux has a hard time scavenging sockets fast enough to complete more than around 6000 iterations. Without the appropriate guru incantations to make ulimit work as desired, we just limit the iterations to a more agreeable level. Testing under Win32 seems to be fine at the 100,000 iteration mark. Definition at line 1329 of file unittest.d. References Buffer::append(), Buffer, Buffer::clear(), IResource::close(), Socket::connect(), SocketConduit::read(), Socket::setLingerPeriod(), Socket::shutdown(), SocketConduit, and SocketConduit::write(). Referenced by testServer(). |
|
Create an http server with the given IProvider Definition at line 1389 of file unittest.d. References HttpServer, AbstractServer::start(), testClient(), and time. Referenced by testHttpServer(), and testServletEngine(). |
|
Declare a class for handling http requests. This one just simply returns a status page Definition at line 1418 of file unittest.d. References HttpResponse::sendError(), HttpProvider::service(), and testServer(). |
|
|
Shows a variety of ways in which to access data returned from a client-side socket connection. Bulk copy from input to Stdout Unwound version of the above, where we explicitly move data between endpoints using a buffer Read input a line at a time from the input. You can access the line content via method Token.toString() Read input a char at a time. This will read in big chunks of data from the input, but spit them out one character at a time. While this is a lot faster then reading one char at a time from the OS (the typical approach), this style of reading is not recommended. Instead, try the 'chunked' approach (below). Read big chunks of data, and process them as such. Each read operation will eat as much as there is from the input, up to the size limit of the buffer. unwound version of the above, where we setup buffer space on the stack (instead of the heap). We need to explicitly ask the buffer how much data is actually available. One could use the return value from read() as the number of bytes available instead (in this particular case), or use buffer.toString() as in the above case Open a web-site connection, and process the returned page Definition at line 1577 of file unittest.d. References Buffer, IBuffer::clear(), Socket::connect(), IWriter::cr(), IConduit::createBuffer(), DisplayWriter, IConduit::Eof, AbstractReader::get(), CompositeToken::get(), IWriter::put(), IConduit::read(), IBuffer::readable(), Reader, SocketConduit::setTimeout(), SocketConduit, and IBuffer::toString(). |
|
Extract client-side headers from an HTTP reply Definition at line 1741 of file unittest.d. References IBuffer::clear(), Socket::connect(), IWriter::cr(), SocketConduit::createBuffer(), DisplayWriter, IConduit::Eof, HttpHeaders::parse, IWriter::put(), SocketConduit::read(), SocketConduit::setTimeout(), and IBuffer::toString(). |
|
Poke an HTTP server, using HttpClient. Definition at line 1787 of file unittest.d. References HttpMutableHeaders::add(), Uri::getHost(), HttpHeaders::getInt(), HttpClient::getRequestHeaders(), HttpClient::getResponseHeaders(), HttpClient::getUri(), HttpClient, HttpClient::isResponseOK(), HttpClient::open(), and HttpClient::read(). |
|
Definition at line 1837 of file unittest.d. References PlainCache::extract(), PlainCache::get(), Payload, PlainCache, and PlainCache::put(). |
|
QueuedCache maintains a linked list of items, in addition to a hashmap. Any reference to an item places it at the list head, resulting in the LRU items always being left at the tail. When the list becomes full, tail items are dropped and their places reused. This is great for keeping commonly accessed items around, while limiting the amount of memory used. Typically, the queue size would be set in the hundreds (perhaps thousands) but we just use 2 for testing purposes. Definition at line 1868 of file unittest.d. References QueuedCache::get(), Payload, QueuedCache::put(), and QueuedCache. |
|
Stuff some data into a FileBucket, and pull it out again. Definition at line 1887 of file unittest.d. References FileBucket::close(), FileBucket, FileBucket::get(), and FileBucket::put(). |
|
Use a combination of QueuedCache and FileBucket to spill LRU cache entries onto the hard-drive, and then recover them intact. This demonstrates what one can do with the IPickle notion. Definition at line 1911 of file unittest.d. References FileBucket::close(), FileBucket, VirtualCache::get(), Payload, VirtualCache::put(), and VirtualCache. |
|
Definition at line 1932 of file unittest.d. References Buffer, ProtocolWriter::Command, Payload::create(), IReader::get(), Payload::getGuid(), ProtocolReader::getPayload(), ProtocolReader, ProtocolWriter, ProtocolWriter::put(), IWriter::put(), Payload::read(), and Payload::write(). |
|
Definition at line 2002 of file unittest.d. References HashMap, Logger::info(), HashMap::put(), and HashMap::remove(). |
|
Join a socket to a multicast group, and send the group a packet. Definition at line 2099 of file unittest.d. References Buffer, MulticastSocket::join(), MulticastSocket, SocketListener::notify(), IBuffer::readable(), and DatagramSocket::write(). |
|
Definition at line 2143 of file unittest.d. References Cluster, NetworkCache::get(), NetworkCache, and NetworkCache::put(). |
|
Definition at line 2188 of file unittest.d. References Cluster, NetworkQueue::createConsumer(), IEvent::getChannel(), IChannel::getName(), NetworkQueue, IEventListener::notify(), and NetworkQueue::put(). |
|
Definition at line 2216 of file unittest.d. References CacheInvalidatee, CacheInvalidator, Cluster, and CacheInvalidator::invalidate(). |
|
Definition at line 2234 of file unittest.d. References ClusterServer, Socket::connect(), SocketConduit, and ClusterServer::start(). |
|
Definition at line 2251 of file unittest.d. References Cluster, NetworkQueue::createConsumer(), IMessage::getReply(), IEventListener::notify(), NetworkMessage::put(), and IEvent::reply(). |
|
Definition at line 2297 of file unittest.d. References IMutableCache::bind(), ICache::get(), ICacheLoader::load(), ICacheLoader::test(), and time. |
|
Definition at line 2325 of file unittest.d. References NetworkCache::bind(), Cluster, IPickleFactory::create(), ICache::get(), IPickle::getGuid(), ICacheLoader::load(), NetworkCache, IRemoteCacheLoader::pause(), Payload::read(), IReadable::read(), ICacheLoader::test(), time, and IWritable::write(). |
|
Definition at line 2411 of file unittest.d. References IStringEncoder::char16(), IStringEncoder::char32(), IStringEncoder::char8(), IWriter::cr(), DisplayWriter, IWriter::flush(), IWriter::put(), and IWriter::setStringEncoder(). |
|
Definition at line 2456 of file unittest.d. References IStringEncoder::char16(), IStringEncoder::char32(), IStringEncoder::char8(), IWriter::cr(), IWriter::flush(), IWriter::put(), IWriter::setStringEncoder(), and TextWriter. |
|
Definition at line 2498 of file unittest.d. References Logger::fatal(), Logger::getLogger(), and Logger::info(). |
|
Definition at line 202 of file unittest.d. Referenced by testFilePath(). |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. Referenced by TokenStack::resize(), and testFile3(). |
|
Definition at line 202 of file unittest.d. Referenced by testBuffer(), testClassIO(), testCompositeIO(), testConduitFilters(), testHttpClient(), testRandomAccess(), and testToken2(). |
|
Definition at line 202 of file unittest.d. Referenced by testBuffer(), testClassIO(), testCompositeIO(), testConduitFilters(), and testRandomAccess(). |
|
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. Referenced by FileSystem::Versionlinux::getDirectory(), FileSystem::VersionWin32::getDirectory(), testFilePath(), testScanFiles(), FileProxy::this(), FileConduit::this(), FileProxy::Versionlinux::toList(), FileProxy::VersionWin32::toList(), FilePath::toParent(), and FilePath::toSibling(). |
|
Definition at line 202 of file unittest.d. Referenced by FileStyle::this(). |
|
Definition at line 202 of file unittest.d. Referenced by testFileList(), testFileSize(), and testScanFiles(). |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. Referenced by testToken3(), VersionArrayReaderSupport::testToken4(), and Stdio::this(). |
|
Definition at line 202 of file unittest.d. Referenced by testTextWriter(), testToken1(), testToken2(), and testToken3(). |
|
Definition at line 202 of file unittest.d. Referenced by testFileBucket(), and testVirtualCache(). |
|
Definition at line 202 of file unittest.d. Referenced by FileConduit::copy(), ServletContext::getResourceAsFile(), Properties::load(), testCompositeIO(), testConduitFilters(), testDirectIO(), testFile1(), testFile2(), testFile3(), testFile4(), testFile5(), testFileRegex(), testLineRegex(), testMappedFile(), testRandomAccess(), VersionArrayReaderSupport::testToken4(), Stdio::this(), and FileBucket::this(). |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. Referenced by testFormat(). |
|
Definition at line 202 of file unittest.d. Referenced by testColumn(). |
|
Definition at line 202 of file unittest.d. Referenced by HttpClient::open(), VersionMango::FileAppender::setConduit(), testDisplay(), testHttpClient(), testHttpClient2(), testSocket(), testSocketRegex(), and Stdio::this(). |
|
Definition at line 202 of file unittest.d. Referenced by testClassSerialization(), and VirtualCache::this(). |
|
Definition at line 202 of file unittest.d. Referenced by testClassSerialization(), and VirtualCache::this(). |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. |
|
Definition at line 202 of file unittest.d. Referenced by testMulticast(). |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 232 of file unittest.d. |
|
Definition at line 243 of file unittest.d. |
|
Definition at line 243 of file unittest.d. |
|
Definition at line 243 of file unittest.d. |
|
Definition at line 248 of file unittest.d. Referenced by HttpParams::clone(), and HttpRequest::this(). |
|
Definition at line 248 of file unittest.d. Referenced by HttpRequest::this(). |
|
Definition at line 248 of file unittest.d. Referenced by HttpHeaders::clone(), and HttpClient::this(). |
|
Definition at line 248 of file unittest.d. Referenced by testServer(), and TaskServer::this(). |
|
Definition at line 248 of file unittest.d. Referenced by HttpProvider::createRequest(). |
|
Definition at line 248 of file unittest.d. Referenced by HttpProvider::createResponse(). |
|
Definition at line 248 of file unittest.d. |
|
Definition at line 256 of file unittest.d. |
|
Definition at line 256 of file unittest.d. |
|
Definition at line 259 of file unittest.d. Referenced by testHttpClient3(). |
|
Definition at line 261 of file unittest.d. |
|
Definition at line 261 of file unittest.d. |
|
Definition at line 261 of file unittest.d. |
|
Definition at line 261 of file unittest.d. Referenced by testServletEngine(). |
|
Definition at line 266 of file unittest.d. Referenced by testPlainCache(). |
|
Definition at line 266 of file unittest.d. Referenced by testHashMap(), ServletProvider::this(), PlainCache::this(), ChannelCache::this(), ClusterQueue::this(), ClusterCache::this(), and Cluster::this(). |
|
Definition at line 266 of file unittest.d. |
|
Definition at line 266 of file unittest.d. Referenced by testQueuedCache(), ServletProvider::this(), and ChannelCache::this(). |
|
Definition at line 266 of file unittest.d. Referenced by testVirtualCache(). |
|
Definition at line 272 of file unittest.d. |
|
Definition at line 272 of file unittest.d. Referenced by testClusterQueue(). |
|
Definition at line 272 of file unittest.d. Referenced by testClusterCache(), and testRemoteCacheLoader(). |
|
Definition at line 272 of file unittest.d. Referenced by testInvalidatee(). |
|
Definition at line 272 of file unittest.d. Referenced by testInvalidatee(), and ChannelCache::this(). |
|
Definition at line 278 of file unittest.d. Referenced by testClusterCache(), testClusterMessage(), testClusterQueue(), testInvalidatee(), testRemoteCacheLoader(), and ClusterServer::this(). |
|
Definition at line 278 of file unittest.d. Referenced by testClusterServer(). |
|
Definition at line 278 of file unittest.d. Referenced by testProtocol(), ClusterThread::this(), CacheServer::LoaderThread::this(), and BulletinConsumer::this(). |
|
Definition at line 278 of file unittest.d. Referenced by testProtocol(), ClusterThread::this(), CacheServer::LoaderThread::this(), and Cluster::this(). |
|
global scope variables Definition at line 289 of file unittest.d. |
|
Definition at line 991 of file unittest.d. |