From 802571acdf2cabd60dfd0d84b1abf60adb98b307 Mon Sep 17 00:00:00 2001 From: agibert Date: Mon, 26 Nov 2001 10:17:43 +0000 Subject: [PATCH] Merge win32 branche (1.1.2.3) with main trunc ! --- demo/nddemo0.dat | 15 +++++++ demo/nddemo0.dsp | 101 +++++++++++++++++++++++++++++++++++++++++++++ util/test-100K.ndb | 8 ++++ util/test-10K.ndb | 8 ++++ util/test-1M.ndb | 8 ++++ 5 files changed, 140 insertions(+) create mode 100644 demo/nddemo0.dat create mode 100644 demo/nddemo0.dsp create mode 100644 util/test-100K.ndb create mode 100644 util/test-10K.ndb create mode 100644 util/test-1M.ndb diff --git a/demo/nddemo0.dat b/demo/nddemo0.dat new file mode 100644 index 0000000..4969420 --- /dev/null +++ b/demo/nddemo0.dat @@ -0,0 +1,15 @@ +#--------------------------------------------------------------------------------- +# $RCSfile: nddemo0.dat,v $ +#--------------------------------------------------------------------------------- +# $Revision: 1.2 $ +# $Name: $ +# $Date: 2001/11/26 10:17:43 $ +# $Author: agibert $ +#--------------------------------------------------------------------------------- +ggg 1 xxxxxx example +aaa 7 x this +bbb 6 xxx is +ccc 5 xxxxx a +ddd 4 xxxx really +eee 3 xxxxxxx good +fff 2 xx libnode diff --git a/demo/nddemo0.dsp b/demo/nddemo0.dsp new file mode 100644 index 0000000..1125e89 --- /dev/null +++ b/demo/nddemo0.dsp @@ -0,0 +1,101 @@ +# Microsoft Developer Studio Project File - Name="demo0" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=demo0 - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "demo0.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "demo0.mak" CFG="demo0 - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "demo0 - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "demo0 - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "demo0 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "demo0 - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libnode.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "demo0 - Win32 Release" +# Name "demo0 - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\demo0.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/util/test-100K.ndb b/util/test-100K.ndb new file mode 100644 index 0000000..9ffbbb0 --- /dev/null +++ b/util/test-100K.ndb @@ -0,0 +1,8 @@ +DS_Open +Index_List_Open 0-0 +DS_Value_Add 1-100000 0 +DS_Value_Find 49900-50100 +Index_List_To_Tree 0-0 +DS_Value_Find 1-100000 +DS_Check +DS_Close diff --git a/util/test-10K.ndb b/util/test-10K.ndb new file mode 100644 index 0000000..57c3a59 --- /dev/null +++ b/util/test-10K.ndb @@ -0,0 +1,8 @@ +DS_Open +Index_List_Open 0-0 +DS_Value_Add 1-10000 0 +DS_Value_Find 4000-6000 +Index_List_To_Tree 0-0 +DS_Value_Find 1-10000 +DS_Check +DS_Close diff --git a/util/test-1M.ndb b/util/test-1M.ndb new file mode 100644 index 0000000..01c76eb --- /dev/null +++ b/util/test-1M.ndb @@ -0,0 +1,8 @@ +DS_Open +Index_List_Open 0-0 +DS_Value_Add 1-1000000 0 +DS_Value_Find 499990-500010 +Index_List_To_Tree 0-0 +DS_Value_Find 1-1000000 +DS_Check +DS_Close