From 79b7b631750b69cbe06daedb0453306595dea6ad Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 10 Feb 2010 18:20:40 +0000 Subject: Changed the name of nids to Myriad, I like it, but I'm not getting rid of nids until I can safely migrate to Myriad. --- src/tests/nids.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/tests/nids.cpp') diff --git a/src/tests/nids.cpp b/src/tests/nids.cpp index bb5993b..41d0432 100644 --- a/src/tests/nids.cpp +++ b/src/tests/nids.cpp @@ -23,18 +23,19 @@ int main( int argc, char *argv[] ) Bu::File::ReadWrite|Bu::File::Create|Bu::File::Truncate ); Bu::Nids n( fOut ); - n.initialize( 120, 1 ); - Bu::NidsStream s = n.openStream( n.createStream() ); + n.initialize( 32, 1 ); +/* Bu::NidsStream s = n.openStream( n.createStream() ); Bu::FString sBuf( 350 ); memset( sBuf.getStr(), 'a', 350 ); - s.write( sBuf ); + s.write( sBuf );*/ } else if( argv[1][0] == 'r' ) { Bu::File fOut( argv[2], Bu::File::Read ); Bu::Nids n( fOut ); - + n.initialize(); +/* Bu::NidsStream s = n.openStream( 0 ); char buf[75]; for( int j = 0; j < 3; j++ ) @@ -44,6 +45,7 @@ int main( int argc, char *argv[] ) printf("\n(read %d chars)\n", iRead ); } printf("Position: %ld\n", s.tell() ); + */ } else { -- cgit v1.2.3