亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cff.txt

?? OXCC is a multipass, interpreting C compiler with several language extensions. It generates an Archi
?? TXT
?? 第 1 頁 / 共 5 頁
字號:

                     Culvers Fabulous Filesystem
                            Version 5.9
                           June 15, 1995

              Copyright 1991, 1992, 1993, 1994, 1995 Norman D. Culver
                          All Rights Reserved


                    Send bug reports and suggestions to:
                            Oxbow Software
                       1323 S.E. 17th Street #662
                        Ft. Lauderdale, FL 33316
                            (954) 463-4754
                            ndc@icanect.net


        This software package is distributed as a preliminary version for
                TESTING PURPOSES ONLY, WITHOUT ANY WARRANTY;
                   without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



GENERAL DESCRIPTION

This distribution contains a single threaded 32 bit portable library
compiled with gcc for the Intel 386 cpu. The library contains external
references to functions in 'cfport.c' which is supplied as source code.
The user can modify cfport.c to accommodate a non-unix like OS.

The user API for the library is declared in the file 'cff.h' and described
in this document. CFF is a filesystem/database engine which handles
allocation of memory, extended memory and disk. It supports incrementally
hashed and B+ tree storage maps in an identical fashion for memory and
disk. The standard flavors of malloc are included. NEW for the first time,
to my knowledge, is the ability to malloc by category and the ability
to malloc PERMANENTLY.

Data is stored in and accessed through 'objects' which are referenced
in the classical filesystem manner. e.g. MEMORY/myobject/subobject/...
Objects are opened and closed in the time honored unix fashion. But there
is a big difference between CFF objects and normal filesystem objects.
Each object has the properties of a directory, stack, file, dictionary and
repository. Objects can be created as F_SORTED, in which case they are
B+ trees, and/or with their own local 'bitmaps' for locality of reference,
or, if hashed, with PREALLOCATED DATA AND ENTRIES for ultra fast inserts.
The objects expand and shrink automatically as entries are added or deleted.
The in-core index for hashed objects is never saved to disk because it can be
rebuilt when the object is loaded. Data can be accessed directly in the
localizer buffers or copied to/from user space.


COPY OBJECTS

The 'cfcopy' command will move an object and all subobjects within and
between filesystems. A filesystem on disk is denoted with the extension
'.cff'.     The filesystems for memory and extended memory
(if it exists) are predefined as MEMORY and EXTDMEM. The copy command
will create a filesystem on disk if an object is copied to a '.cff' object.

The command: 

	cfcopy("newsys.cff", "MEMORY/object/subobject/target");

copies the object named 'target' to the disk file newsys.cff and thus
'target' becomes a filesystem. Conversely, filesystems can become objects, etc.


PATHNAME TRANSLATION

A pathname translation facility permits brevity.
Translation dictionaries are maintained for process, application and system.

Example:

void *h1, *h2;

     cfdef("phone book", "myfile.cff/users/applications/faxmodem/phones");
     h1 = cfopen("phone book", F_RDWR, NULL);
or
     h2 = cfcopy("MEMORY/tempobj", "phone book");
	 
or
     h2 = cfcopy("MEMORY/tempobj", h1);

And when finished you can get a fully garbage collected and shrunk disk object 
with the command:


    cfcopy(h1, h2);
or
    cfcopy("phone book", h2);
or
    cfcopy("phone book", "MEMORY/tempobj");


EXTERNAL FILES

It is possible to access normal OS files and directories. If a path doesn't
reference a .cff filesystem then it is assumed to be external. Copy to/from an
external file only exercises the file property of an object, so it is
trivial to import/export external data.


FANCY MALLOCS

The CFF library supplies standard versions of malloc, calloc, realloc etc.
which MUST superceed the standard compiler versions. Don't worry, these
implementations are fast and debugged. They are implemented with skip lists
and keep their bookeeping info separate from the allocated data. This can
increase the speed in a demand paged environment by a large factor.

The enhancements to malloc are simple to use but rather complicated to
implement. They permit the programmer to malloc, calloc, free etc. by
CATEGORY and they are FAST. Category 0 is reserved for normal malloc, and
is somewhat segregated in the address space because it calls 'sbrk()'
directly. All other categories call cfmalloc() which does it's own calls
to sbrk (actually PORTSBRK in cfport.c). NOTE: Normal malloc, etc. will work
even if cfinit() is not issued.

Examples:

void *ptr;

    ptr = mallocC (5, 1024);  // malloc 1K bytes for category 5
    freeC (5, ptr);           // free the pointer in category 5
    freecat (5);              // free all memory allocated to category 5

Permanent categories have negative numbers.

   NOTE -- VERSION 5.9 HAS DISABLED PERMANENT CATEGORIES
   DUE TO THE VARIABILITY IN SUPPORTING OPERATING SYSTEMS
   FOR ANY GIVEN COMPATIBLE SET OF OPERATING SYSTEMS, THEY
   CAN EASILY BE RE-ENABLED.

    ptr = malloc (-20, 1024);  // malloc 1K bytes for permanent category -20
    freeC (-20, ptr);          // free the pointer in category -20
    freecat (-20);             // free all memory allocated to category -20


Permanent categories are enabled only if the programmer has named a
filesystem when 'cfinit' is called.

main()
{
cfinit("app1", 512, "myfile.cff"); // enables permanent categories in myfile.cff
or
cfinit("app1", 512, NULL);         // permanent categories are disabled;

...

cfexit(); // saves active permanent categories and closes objects
		  // cfinit calls atexit with this function, you do not
		  // have to include it in the program, but it is harmless to do
		  // so.
}

Data in active permanent categories is reloaded to exactly the same memory
addresses at program startup and saved in the named filesystem at program exit.
Creep in the data segment as program development proceeds is accommodated
by setting the variable 'heapstart' in cfport.c. The programmer should
pick a number large enough to accommodate the environment in which development
is taking place. If C++ is used, static constructors can gobble a lot of
space before cfinit() is called. The command cfcreep() returns the amount
of space in the safety zone. WARNING: you can't change heapstart after
permanent categories have been saved in a file.

The named filesystem can hold permanent categories for multiple applications
providing the applications are uniquely identified by the first argument
to cfinit().

In a clean design, a programmer would save a small number of pointers (one??)
to a complex memory structure which will come and go automatically as the
application is run. The purpose here is to speed up the process of loading
permanent objects. Some CAD programs take 30 minutes to start; with CFF
startup can be reduced to seconds on similarly endianed machines.

for example:

main()
{
struct masterstruct *masterptr;
	
    cfinit("myapp", 256,"myfile.cff");  // PERMINFO is now defined
    if(!cfisnew(PERMINFO))
    {/* The file is not new, load the saved copy of masterptr */
        cfget(PERMINFO, "masterptr", 9, &masterptr, sizeof(void *));
    }
    else
    {/* The file is new, build the basic structures */
        masterptr = mallocC(-1, sizeof(masterstruct)); // or whatever

        ...  // build memory structures based on masterptr
             // and various negative categories
    }

    ...  // use and modify the permanent structures
         // always use negative categories

    /* Save the master pointer before exit */
    cfreput(PERMINFO, "masterptr", 9, &masterptr, sizeof(void *));
    cfexit();
}

PREDEFINED PATHNAMES (use as the leading element of a path)

    MEMORY    the memory filesystem
    EXTDMEM   the extended memory filesystem

PREDEFINED PATHNAMES or HANDLES (use as the leading element or as a handle)

    PERMFILE  the filesystem which was mentioned in cfinit()
    PERMCAT   an object in PERMFILE containing the app's permanent categories
    PERMINFO  an object in PERMFILE into which the user can store app info


PREDEFINED HANDLE (use only as a handle)

	MEMTEMP	a memory object which can be used by the programmer

ALIGNMENT

The granularity of the 5.9 release is 4 bytes for malloc and 32 bytes
for filesystem allocations. I am considering allowing each bitmap to 
carry a different alignment, if all programmers used gcc then I could
use long long arguments in the user API.

NODE SIZES

Node (bucket) sizes can range from 512 bytes to 8192 bytes. When an
object is created, the default size is 2048 bytes. The programmer can
modify this size by setting a flag in the mode bits for cfopen. The
root directory of a filesystem is defaulted to 1024 bytes per node.

        F_FILEONLY      512 bytes
        F_BIGDIR        4096 bytes
        F_HUGEDIR       8192 bytes
		

KEYS, ITEMS and DATA

Keys are the names of things in the filesystem. When used as part of a 
path the key must contain only characters in the range 0x40 to 0x7f 
(space to tilde) or it will be rejected by the name translation mechanism.
In all other cases a key may contain anything. When using hashed objects
the programmer should make a distinction between long and short keys.
Short keys are 8 bytes or less and are stored directly in the hash buckets
along with Items. Long keys are stored in a special KEYCACHE area and
require the overhead of the hash bucket entry which is 20 bytes plus
the overhead of the KEYCACHE which is 13 bytes + the size of the key.
Note: the minimum KEYCACHE allocation is 32 bytes. When a long key is
stored in a hash bucket the 8 byte key region is converted to an alternative
hash value for the key, this ensures that only one key comparison
is ever done. B+ tree objects store the keys and items together in the
tree nodes. The programmer should ensure that at least 2 keys will fit
into a B+ tree node, 1 key per node results in a B tree.

The key comparison routine can be set for each object with the command
cfkeycmp(handle, funcaddr);

Items are the basic insertable/retrievable elements in a node. They are
64 bits in size with the high 4 bits reserved for tags. B+ trees can support
untagged items if created with F_UNTAGGED set.

The programmer will find that 64 bit items are a bit of a pain, especially
if his compiler does not support the long long type. They are worth the
extra effort, believe me.

When the system stores a tagged item it checks the high 4 bits, if they
are non-zero it assumes that a tag is already present, otherwise the
item is tagged as a STO_VALUE. Be SURE that your program generated items
have the high 4 bits set to zero.

Due to the tagged nature of most items, the system can automatically allocate
and deallocate storage if the item happens to describe a chunk of data.
Currently the maximum size of a single contiguous chunk is 16 Megabytes -1.
This can change if I implement adjustable alignment per bitmap.
See the file cff.h for tag values.

The item comparison routine can be set for each object with the command
cfitemcmp(handle, funcaddr);

A copy of the default keycmp and itemcmp functions are located in the
module cfport.c so that the programmer can see what needs to be done for
alternative functions.


HASHED vs SORTED

The default method for an object is hashed. The root directory of a
filesystem is forced to be hashed even if created as F_SORTED. Thus
a SORTED object cannot become a filesystem with the cfcopy command.
I may change this but it complicates opening a filesystem.

SORTED pros
1. Sequential access of a sorted object produces sorted output.
2. Sorted objects can support untagged items, no subobjects are allowed.
3. Normal mode duplicate entries have the overhead of only one key per node.
4. An unlimited number of normal mode duplicate entries is supported.
5. There is no in-core index for the nodes. This could be important for
   an object with 100 million items.
6. Inserts and deletes to sorted objects do not invalidate the mark.

SORTED cons
1. Access and update of sorted objects is MUCH slower than hashed.
2. Key length is limited by the node size.

HASHED pros
1. Hashed objects are fast to update and access, and VERY fast with short keys.
2. Key length is unlimited (16 Megabytes).
3. Hashed objects can be created with PREALLOCATED entries and data. This
   produces complete locality of reference and great speed when creating
   a database.

HASHED cons
1. The in-core index for each object takes up space (4 bytes per bucket).
   This is a consideration when the object contains a lot of items. The
   maximum bucket of 8192 bytes contains 406 items.
2. Normal mode duplicate entries is limited to 406 dups.
3. Under pathological conditions the hashed object may fill up, i.e. a
   bucket may contain a mix of keys which cannot be split.
4. Sequential access to a hashed object produces unsorted output.



DUPLICATE ENTRIES

Keys with duplicate entries are supported in two ways: the normal
`dupnum' way and the `dupname' way. Dupnames are 48 bit unique names + a 12 bit
unique id. Each object can support and control 4093 dupname sets.
Dupnames can be used as keys or items. Normal dups must be accessed by
a key-item combination or sequentially; the items for each normal 
dup should be different.
DO NOT MIX NORMAL AND DUPNAME DUPLICATES.


OBJECTS AS FILES

Any object is a file, just read and write to it. If you read
before writing, read will return ERROR. When an object is closed
space allocated to the file property is truncated to within 128 bytes
of the filesize, filesize is limited to 2G bytes.


OBJECTS AS STACKS

Any object is a stack, just push and pop items or data. Stacks retain
their data when an object is closed and/or copied, stack depth is unlimited.

OBJECTS AS DIRECTORIES

Any object is a directory, just create a subobject (subdirectory) with
the cfopen or cfsubopen commands. The directory property can be accessed
with cfopendir, cfreaddir, cfrewinddir, cftelldir, cfseekdir and cfclosedir.


OBJECTS AS DICTIONARIES

Any object is an dictionary, just insert, find and delete keyed items.
To find out what is in an object, issue the command cfprintentries(something).

OBJECTS AS REPOSITORIES

Any object is a repository, just put and get keyed data chunks 
(max 16Meg per chunk, min 32 bytes per chunk).


INTERNAL BUFFERING

The 5.9 version supports 512 buffer headers and unlimited data
buffering. The cfinit command includes an argument for the number of 1K blocks
of data buffering allowed. cfinit("app",700,NULL) designates that 700K of 
memory be allocated to buffering.

Data chunks can be accessed directly in the buffer region with the command
cflocalize(). The localizer will allow most of the defined
data region to be allocated to a single localization request, excess
buffers are flushed. The size of the data region may be increased/decreased
dynamically with the cfmodbufs() command.

This localizer does not localize blocks; it localizes chunks which may
be large or small. Most of the time the localizer is working with nodes
and keys so the memory reqirements are not large internally. The file
property is read/written in 8K chunks. If the user creates a huge chunk
then it is up to the user to deal with it.

Huge data chunks can be accessed with the command cfopen_chunk() or cfopen()
followed by reads and writes to the returned handle.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人av网站| 91高清视频在线| 青青国产91久久久久久| 亚洲成av人**亚洲成av**| 亚洲乱码国产乱码精品精98午夜 | 欧美日韩一区二区三区高清 | 久久精品人人做| 国产亚洲欧洲997久久综合| 精品国产精品网麻豆系列| 欧美一区二区三区免费视频 | 欧美在线|欧美| 欧美日韩免费一区二区三区| 欧美美女喷水视频| 91精品国产高清一区二区三区| 日韩亚洲欧美中文三级| 久久久久久久电影| 国产精品国产a| 午夜一区二区三区在线观看| 亚洲大片精品永久免费| 久久99国产精品久久99果冻传媒| 国产精品自产自拍| 99精品黄色片免费大全| 欧美日本在线观看| 欧美不卡视频一区| 国产精品国产三级国产a| 樱桃国产成人精品视频| 日本最新不卡在线| 成人午夜免费电影| 欧美精品在线观看一区二区| 久久久噜噜噜久噜久久综合| 一区二区三区精品在线| 久久国产免费看| 色一情一乱一乱一91av| 日韩午夜小视频| 亚洲欧洲日产国产综合网| 亚洲国产欧美在线人成| 国产精品1区2区| 欧美天堂一区二区三区| 久久免费看少妇高潮| 亚洲国产裸拍裸体视频在线观看乱了| 久久国产精品99精品国产| 91色porny在线视频| 欧美刺激脚交jootjob| 自拍偷自拍亚洲精品播放| 看片网站欧美日韩| 91久久精品国产91性色tv| 精品美女一区二区三区| 亚洲自拍欧美精品| av资源网一区| 久久精品这里都是精品| 免费成人在线网站| 欧美午夜一区二区三区| 中文一区二区在线观看| 精品系列免费在线观看| 欧美三日本三级三级在线播放| 国产人成亚洲第一网站在线播放| 日本不卡免费在线视频| 欧美人与性动xxxx| 亚洲精品国产无天堂网2021| www.色精品| 国产精品网曝门| 国产一区二区三区久久悠悠色av| 欧美日韩高清一区二区三区| 玉米视频成人免费看| 99久久精品国产导航| 国产欧美日韩亚州综合 | 国产精品污网站| 国产一区二区在线影院| 日韩欧美色综合网站| 美女精品一区二区| 欧美一区二视频| 视频在线观看91| 555www色欧美视频| 天天综合网 天天综合色| 欧美午夜精品电影| 丝袜美腿亚洲综合| 欧美精品一二三| 另类小说欧美激情| 久久人人97超碰com| 国产麻豆精品视频| 久久你懂得1024| 成人免费视频免费观看| 综合中文字幕亚洲| 欧美视频一区二区三区在线观看| 一区二区三区资源| 7777精品伊人久久久大香线蕉完整版 | 全部av―极品视觉盛宴亚洲| 欧美一区2区视频在线观看| 麻豆国产精品一区二区三区| 久久综合久色欧美综合狠狠| 国产成人在线观看免费网站| 亚洲日韩欧美一区二区在线| 欧洲精品视频在线观看| 日韩在线a电影| 久久久久久日产精品| 9久草视频在线视频精品| 一区二区三区在线视频观看58| 3d动漫精品啪啪一区二区竹菊| 美女网站一区二区| 国产精品人人做人人爽人人添| 在线看不卡av| 国产资源在线一区| 亚洲黄色录像片| 欧美成人三级在线| 91在线高清观看| 日本在线不卡视频| 国产精品视频一二三| 欧美在线影院一区二区| 精品在线你懂的| 亚洲激情自拍偷拍| 日韩精品自拍偷拍| 色婷婷综合久久久久中文一区二区 | 欧美精品粉嫩高潮一区二区| 国产丶欧美丶日本不卡视频| 夜色激情一区二区| 国产日韩精品久久久| 9191国产精品| 成人午夜大片免费观看| 午夜精品免费在线观看| 欧美国产丝袜视频| 欧美成人a视频| 欧美午夜精品一区二区三区| 国产成人午夜99999| 一区二区三区中文免费| 欧美激情一区二区在线| 91精品国产色综合久久不卡电影 | 天天色天天操综合| 亚洲国产成人在线| 日韩视频在线观看一区二区| 97aⅴ精品视频一二三区| 国产伦精品一区二区三区免费 | 国产精品人妖ts系列视频| 日韩欧美在线1卡| 欧美亚洲国产一区二区三区| 国产成人精品1024| 紧缚捆绑精品一区二区| 日韩影院在线观看| 亚洲午夜电影在线观看| 亚洲日本va在线观看| 久久婷婷久久一区二区三区| 日韩午夜中文字幕| 日韩欧美一级片| 91精品国产综合久久精品图片| 91亚洲午夜精品久久久久久| 国产高清不卡一区二区| 国产精品自拍在线| 国产高清无密码一区二区三区| 精品一区二区日韩| 激情欧美一区二区三区在线观看| 日韩av成人高清| 蜜臀av在线播放一区二区三区| 日韩国产欧美视频| 免费在线看成人av| 蜜芽一区二区三区| 久久成人av少妇免费| 久久国产精品区| 国产高清不卡一区| 99国产麻豆精品| 色哟哟国产精品| 欧美日韩久久久| 日韩一卡二卡三卡国产欧美| 欧美tickling网站挠脚心| 日韩精品一区二区在线观看| 久久色.com| 国产精品伦一区| 亚洲日本成人在线观看| 亚洲国产日韩av| 久久91精品久久久久久秒播| 国产成人一级电影| 91免费视频大全| 欧美日韩精品三区| 日韩欧美在线123| 国产午夜精品久久久久久免费视| 国产精品人成在线观看免费 | 国产99精品在线观看| 91亚洲精品久久久蜜桃网站| 欧美性猛交xxxxxxxx| 日韩一区二区精品葵司在线| 国产偷v国产偷v亚洲高清| 日韩一区欧美一区| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产精品一品二品| 在线亚洲免费视频| 日韩精品中文字幕在线一区| 中文字幕一区日韩精品欧美| 午夜激情一区二区三区| 国产一区91精品张津瑜| 在线影视一区二区三区| 精品播放一区二区| 亚洲综合成人在线| 国产91丝袜在线观看| 欧美色手机在线观看| 亚洲精品在线免费播放| 亚洲色图制服诱惑| 狠狠狠色丁香婷婷综合激情| 99视频精品全部免费在线| 日韩欧美综合在线| 亚洲一二三四在线| 成人禁用看黄a在线| 日韩欧美在线不卡|