Displaying 9 results from an estimated 9 matches for "nsarray".
2011 Jun 20
3
[LLVMdev] C struct as function argument
...id testLLVMStructFuncCall(test_struct x) {
NSLog(@"%d %d",x.x,x.y);
return N(x.x + x.y);
}
-(void) testLLVMStructFuncCall {
CGKModule* myMod = [CGKModule moduleWithName:@"llvm_structfunccall_test"];
CGKType* testStructType = [CGKType structTypeWithElementTypes:[NSArray arrayWithObjects:[CGKType intTypeWith32Bits],[CGKType intTypeWith32Bits],nil]];
CGKFunction* lfunc = [CGKFunction functionWithName:@"testLLVMStructFuncCall" types:[NSArray arrayWithObjects:[CGKType idType],testStructType,nil] intoModule:myMod];
CGKFunction* rfunc = [CGKBuilder cre...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...encoded_frame_data_ + 1, kMaxSpeexFrameLength);
encoded_frame_data_[0] = static_cast<char>(frame_length);
speex_bits_reset(&bits_);
NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
NSData *dataToSend = [NSData dataWithBytes:encoded_frame_data_ length:frame_length];
NSArray *array = [NSArray arrayWithObjects:dataToSend, [defs objectForKey:@"inLang"], nil];
NSLog(@"WriteToFile -> dataToSend: [%d]", [dataToSend length]);
[mAudioStreamer performSelectorOnMainThread:@selector(sendDataToServer:) withObject:array waitUntilDone:YES];
}
[pool...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...encoded_frame_data_ + 1, kMaxSpeexFrameLength);
encoded_frame_data_[0] = static_cast<char>(frame_length);
speex_bits_reset(&bits_);
NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
NSData *dataToSend = [NSData dataWithBytes:encoded_frame_data_ length:frame_length];
NSArray *array = [NSArray arrayWithObjects:dataToSend, [defs objectForKey:@"inLang"], nil];
NSLog(@"WriteToFile -> dataToSend: [%d]", [dataToSend length]);
[mAudioStreamer performSelectorOnMainThread:@selector(sendDataToServer:) withObject:array waitUntilDone:YES];
}
[pool d...
2008 Sep 01
1
Porting Swfdec to Mac OS X & Timing question
...swfdec_player_get_default_size(_private->_player, &width, &height);
[self setBounds:NSMakeRect(0.0, 0.0, width, height)];
[self setNeedsDisplay:YES];
}
[[NSRunLoop currentRunLoop]
performSelector:@selector(scheduleNextEvent) target:self argument:nil
order:100 modes:[NSArray arrayWithObject:NSDefaultRunLoopMode]];
}
else
{
NSTimeInterval fMillisecondsToNextEvent = millisecondsToNextEvent;
fMillisecondsToNextEvent /= 1000000.0; // translate to seconds so we
can use NSTimer
_private->_timeOfLastTimer = CFAbsoluteTimeGetCurrent();
_private->_nextEven...
2011 Jun 20
0
[LLVMdev] C struct as function argument
Hello Michael,
> The module dump suggests everything is right, i can see in the function call the struct with the values 10 and 25, but the function is only received the 10 for the x field, nothing for the y field. Am I missing something?
You're missing the Platform ABI. I assume you're on x86-64, then your
struct (according to the ABI) should be passed in a single 64 bit
register as
2005 Jun 30
0
Fwd: Does not run under Mac OS X 10.3.9 (PR#7975)
...EXC_BAD_ACCESS (0x0001)
> Codes: KERN_INVALID_ADDRESS (0x0001) at 0x80000006
>
> Thread 0 Crashed:
> 0 com.apple.CoreFoundation 0x901c0f74 CFRetain + 0x20
> 1 com.apple.CoreFoundation 0x901dcc74 CFArrayCreate + 0x144
> 2 com.apple.Foundation 0x90a6c5e4 -[NSArray
> initWithObjects:] + 0xbc
> 3 org.R-project.R 0x000032e4 -[RController init] +
> 0x174
> 4 com.apple.AppKit 0x92f6bca8 -[NSCustomObject
> nibInstantiate] + 0x10c
> 5 com.apple.AppKit 0x92e9ae54 -[NSIBObjectData
> instantiateOb...
2005 May 03
1
Problem: R lässt sich nicht starten
Hallo,
ich schreibe einfach mal deutsch, und hoffe dass Du das auch verstehst
(if not write me back in English).
OS X 10.3.9
Ich habe R 2.1.0 installiert, und das Programm hat auch funktioniert.
Will wenig sp??ter wieder mit R arbeiten, es l??sst sich aber nicht mehr
starten. "Das Programm R wurde unerwartet beendet", w??hrend ich versuche
es durch Doppelklicken auf das R.app-symbol
2009 Oct 13
2
Mac R spinning wheel with Package Manager (PR#14005)
...Foundation) [0x91e31156]
4 __NSWalkData2 + 1724 (in
Foundation) [0x91e3bdac]
4 -[NSConcretePortCoder
decodeRetainedObject] + 282 (in Foundation) [0x91e3f64a]
4 -[NSArray(NSArray)
initWithCoder:] + 612 (in Foundation) [0x91e10b64]
4 __NSWalkData2 + 1724 (in
Foundation) [0x91e3bdac]
4 -[NSConcretePortCoder
decodeRetainedObject] + 282 (in Foundation) [0x91e3f64a]...
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...M1HFivES1_4whatIKS_E5what2IS8_ES3_", "r(int (G::*)(), int (G::*)() const, G, int (H::*)(), int (G::*)(), what<G const>, what2<G const>, int (G::*)() const)"},
{"_Z1fPU11objcproto1A11objc_object", "f(id<A>)"},
{"_Z1fPKU11objcproto1A7NSArray", "f(NSArray<A> const*)"},
{"_ZNK1AIJ1Z1Y1XEEcv1BIJDpPT_EEIJS2_S1_S0_EEEv", "A<Z, Y, X>::operator B<X*, Y*, Z*><X, Y, Z>() const"},
{"_ZNK3Ncr6Silver7Utility6detail12CallOnThreadIZ53-[DeploymentSetupController handleManualSer...