Displaying 4 results from an estimated 4 matches for "arraywithobjects".
2011 Jun 20
3
[LLVMdev] C struct as function argument
...LLVMStructFuncCall(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 createStandaloneCall...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...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 drain];
}
void SpeexRecorder::OpenN...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...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 drain];
}
void SpeexRecorder::OpenNe...
2008 Sep 01
1
Porting Swfdec to Mac OS X & Timing question
Hi all:
I've been working on porting Swfdec to Mac OS X on my own time. So far
I'm making some progress; stuff is displaying and events are working.
I still have a bit of work to do, but in the meantime, I have some
questions:
1. How does one get the ability to commit things to the repository? I
don't expect this right away; I'll probably just distribute the Mac OS
X