mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Massive tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6862 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dae20769ac
commit
7617609b41
17 changed files with 745 additions and 379 deletions
|
@ -175,6 +175,21 @@ printf("oneway %d\n", _F_ONEWAY);
|
|||
printf("%s - %s\n", [k cString], [[v description] cString]);
|
||||
}
|
||||
|
||||
{
|
||||
NSDate *d = [NSDate date];
|
||||
|
||||
[NSConnection setDebug: 0];
|
||||
[NSDistantObject setDebug: 0];
|
||||
[NSPort setDebug: 0];
|
||||
for (j = 0; j < 10000; j++)
|
||||
{
|
||||
[p echoObject: localObj];
|
||||
}
|
||||
|
||||
NSLog(@"Delay is %f", [d timeIntervalSinceNow]);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
[arp release];
|
||||
arp = [NSAutoreleasePool new];
|
||||
printf("%d\n", [c retainCount]);
|
||||
|
|
|
@ -51,6 +51,7 @@ struct myarray {
|
|||
: (int)i7 : (int)i8 : (int)i9 : (int)i10 : (int)i11 : (int)i12;
|
||||
- (float) returnFloat;
|
||||
- (double) returnDouble;
|
||||
- (id) echoObject: (id)obj;
|
||||
@end
|
||||
|
||||
#if NeXT_runtime
|
||||
|
|
|
@ -79,6 +79,16 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) echoObject: (id)obj
|
||||
{
|
||||
static BOOL debugging = YES;
|
||||
|
||||
if (debugging)
|
||||
{
|
||||
[BinaryCStream setDebugging:NO];
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
- (void) outputStats:obj
|
||||
{
|
||||
id c = [obj connectionForProxy];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue