Name Description Size
components.conf 439
mdb.h canonical boolean constants provided only for code clarity: 125887
mork.h | OffsetOf: the unsigned integer offset of a class or struct *| field from the beginning of that class or struct. This is *| the same as the similarly named public domain IronDoc macro, *| and is also the same as another macro appearing in stdlib.h. *| We want these offsets so we can correctly convert pointers *| to member slots back into pointers to enclosing objects, and *| have this exactly match what the compiler thinks is true. *| *|| Basically we are asking the compiler to determine the offset at *| compile time, and we use the definition of address artithmetic *| to do this. By casting integer zero to a pointer of type obj*, *| we can reference the address of a slot in such an object that *| is hypothetically physically placed at address zero, but without *| actually dereferencing a memory location. The absolute address *| of slot is the same as offset of that slot, when the object is *| placed at address zero. | 10325
morkArray.cpp public virtual 6905
morkArray.h i 3905
morkAtom.cpp static 13745
morkAtom.h max for 8-bit integer 14482
morkAtomMap.cpp public virtual 11539
morkAtomMap.h i 14435
morkAtomSpace.cpp public virtual 6924
morkAtomSpace.h | kMinUnderId: the smallest ID we auto-assign to the 'under' namespace *| reserved for tokens expected to occur very frequently, such as the names *| of columns. We reserve single byte ids in the ASCII range to correspond *| one-to-one to those tokens consisting single ASCII characters (so that *| this assignment is always known and constant). So we start at 0x80, and *| then reserve the upper half of two hex digit ids and all the three hex *| digit IDs for the 'under' namespace for common tokens. | 8843
morkBead.cpp public virtual 9765
morkBead.h i 8913
morkBlob.cpp static 2530
morkBlob.h | Buf: the minimum needed to describe location and content length. *| This is typically only enough to read from this buffer, since *| one cannot write effectively without knowing the size of a buf. | 5509
morkBuilder.cpp public virtual 28379
morkBuilder.h | kCellsVecSize: length of cell vector buffer inside morkBuilder | 13864
morkCell.cpp create 3044
morkCell.h 8 bit shift 3525
morkCellObject.cpp public virtual 13045
morkCellObject.h i 7656
morkCh.cpp this byte char predicate source file derives from public domain Mithril 11738
morkCh.h this byte char predicate header file derives from public domain Mithril 4936
morkConfig.cpp empty 4175
morkConfig.h for SEEK_SET, SEEK_END 5645
morkCursor.cpp public virtual 4488
morkCursor.h i 5106
morkDeque.cpp File: morkDeque.cpp Contains: Ferrum deque (double ended queue (linked list)) Copied directly from public domain IronDoc, with minor naming tweaks: Designed and written by David McCusker, but all this code is public domain. There are no warranties, no guarantees, no promises, and no remedies. 6859
morkDeque.h File: morkDeque.h Contains: Ferrum deque (double ended queue (linked list)) Copied directly from public domain IronDoc, with minor naming tweaks: Designed and written by David McCusker, but all this code is public domain. There are no warranties, no guarantees, no promises, and no remedies. 8410
morkEnv.cpp public virtual 14682
morkEnv.h i 8272
morkFactory.cpp public virtual 15866
morkFactory.h i 9227
morkFile.cpp public virtual 23253
morkFile.h ============================================================================= morkFile: abstract file interface 15217
morkHandle.cpp public virtual 10159
morkHandle.h i 6889
morkIntMap.cpp public virtual 6077
morkIntMap.h i 5338
morkMap.cpp public virtual 28708
morkMap.h (These hash methods closely resemble those in public domain IronDoc.) 16873
morkNode.cpp 3456789_123456789_123456789_123456789_123456789_123456789_123456789_12345678 16132
morkNode.h count sticks if it hits this 12978
morkNodeMap.cpp public virtual 3805
morkNodeMap.h i 3206
morkObject.cpp public virtual 4582
morkObject.h i 5248
morkParser.cpp public virtual 38854
morkParser.h ============================================================================= morkPlace: stream byte position and stream line count 21850
morkPool.cpp public virtual 16025
morkPool.h i 6664
morkPortTableCursor.cpp public virtual 11674
morkPortTableCursor.h i 5922
morkProbeMap.cpp ============================================================================ 38988
morkProbeMap.h ascii 'pr' 18825
morkQuickSort.cpp - Copyright (c) 1992, 1993 The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 6453
morkQuickSort.h _MORKQUICKSORT_ 755
morkRow.cpp static 24042
morkRow.h i 7982
morkRowCellCursor.cpp public virtual 6301
morkRowCellCursor.h i 5166
morkRowMap.cpp public virtual 6536
morkRowMap.h i 8029
morkRowObject.cpp public virtual 15508
morkRowObject.h i 8868
morkRowSpace.cpp public virtual 15853
morkRowSpace.h i 8418
morkSearchRowCursor.cpp public virtual 3742
morkSearchRowCursor.h i 3635
morkSink.cpp virtual 7602
morkSink.h | morkSink is intended to be a very cheap buffered i/o sink which *| writes to bufs and other strings a single byte at a time. The *| basic idea is that writing a single byte has a very cheap average *| cost, because a polymophic function call need only occur when the *| space between At and End is exhausted. The rest of the time a *| very cheap inline method will write a byte, and then bump a pointer. *| *|| At: the current position in some sequence of bytes at which to *| write the next byte put into the sink. Presumably At points into *| the private storage of some space which is not yet filled (except *| when At reaches End, and the overflow must then spill). Note both *| At and End are zeroed in the destructor to help show that a sink *| is no longer usable; this is safe because At==End causes the case *| where SpillPutc() is called to handled an exhausted buffer space. *| *|| End: an address one byte past the last byte which can be written *| without needing to make a buffer larger than previously. When At *| and End are equal, this means there is no space to write a byte, *| and that some underlying buffer space must be grown before another *| byte can be written. Note At must always be less than or equal to *| End, and otherwise an important invariant has failed severely. *| *|| Buf: this original class slot has been commented out in the new *| and more abstract version of this sink class, but the general idea *| behind this slot should be explained to help design subclasses. *| Each subclass should provide space into which At and End can point, *| where End is beyond the last writable byte, and At is less than or *| equal to this point inside the same buffer. With some kinds of *| medium, such as writing to an instance of morkBlob, it is feasible *| to point directly into the final resting place for all the content *| written to the medium. Other mediums such as files, which write *| only through function calls, will typically need a local buffer *| to efficiently accumulate many bytes between such function calls. *| *|| FlushSink: this flush method should move any buffered content to *| its final destination. For example, for buffered writes to a *| string medium, where string methods are function calls and not just *| inline macros, it is faster to accumulate many bytes in a small *| local buffer and then move these en masse later in a single call. *| *|| SpillPutc: when At is greater than or equal to End, this means an *| underlying buffer has become full, so the buffer must be flushed *| before a new byte can be written. The intention is that SpillPutc() *| will be equivalent to calling FlushSink() followed by another call *| to Putc(), where the flush is expected to make At less then End once *| again. Except that FlushSink() need not make the underlying buffer *| any larger, and SpillPutc() typically must make room for more bytes. *| Note subclasses might want to guard against the case that both At *| and End are null, which happens when a sink is destroyed, which sets *| both these pointers to null as an indication the sink is disabled. | 7244
morkSpace.cpp public virtual 3407
morkSpace.h i 3962
morkStore.cpp public virtual 64331
morkStore.h i 36251
morkStream.cpp public virtual 26175
morkStream.h ============================================================================= morkStream: buffered file i/o 11712
morkTable.cpp public virtual 44440
morkTable.h i 31386
morkTableRowCursor.cpp public virtual 12133
morkTableRowCursor.h i 6264
morkThumb.cpp public virtual 13364
morkThumb.h factory method 7125
morkUniqRowCursor.h i 3413
morkWriter.cpp public virtual 59252
morkWriter.h buffer size for stream 13713
morkYarn.cpp public virtual 1669
morkYarn.h i 2913
morkZone.cpp morkHunk_USE_TAG_SLOT 14177
morkZone.h | CONFIG_DEBUG: do paranoid debug checks if defined. | 13111
moz.build 1530
nsIMdbFactoryFactory.h 1016
nsMorkFactory.cpp 603
nsMorkFactory.h 750
orkinHeap.cpp virtual 1800
orkinHeap.h ascii 'hEaP' 1430