search for: objectatindex

Displaying 8 results from an estimated 8 matches for "objectatindex".

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
2011 Jun 20
3
[LLVMdev] C struct as function argument
I've been working on a wrapper for LLVM's C++ API to use from Objective-C for a scripting language I'm working on. I currently have an issue with passing arguments to a function that takes a struct argument. typedef struct _test_struct { int x; int y; } test_struct; id testLLVMStructFuncCall(test_struct x) { NSLog(@"%d %d",x.x,x.y); return N(x.x + x.y); }
2005 Apr 21
0
Internal error on Max OS X?
...um. I'm new to the MacOS X platform and I'am experiencing some strange behaviour on the Mac OS X platform, with R 2.0.1 Here is the error message I get when doing such a basic thing as ls() or summary(an_object): 2005-04-15 14:59:48.177 R[1147] *** Assertion failure in -[NSMutableRLEArray objectAtIndex:effectiveRange:], String.subproj/NSAttributedString.m:1009 2005-04-15 14:59:48.178 R[1147] *** NSTimer discarding exception 'NSInternalInconsistencyException' (reason 'Access invalid attribute location 65505 (length 65505)') that raised during firing of timer with target 3b0a60 and...
2009 Jan 19
2
Mac OS X / preview.app / fullrefman.pdf
this may be slightly off-topic, as it doesn't pertain directly to the R application, but some of the documentation. when reading R's fullrefman.pdf (available from http://cran.r-project.org/doc/manuals/fullrefman.pdf) in Mac OS X's preview.app (version 4.1, on Mac OS 10.5.x), if i try to do a keyword search within the document, the indexing step freezes about 2/3 the way through the
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
...e) { speex_bits_reset(&bits); short samplesArray[samplesPerFrame]; // c-array which will get samples from _intermediateSampleBuffer for (int j = 0; j < samplesPerFrame; j++) { samplesArray[j] = (short)[(NSData *)[_intermediateSampleBuffer objectAtIndex:j] bytes]; } [_intermediateSampleBuffer removeAllObjects]; // flushing _intermediateSampleBuffer to make it ready for next samples speex_encode_int(encoderState, samplesArray, &bits); writtenBytesNumber = speex_bits_write(&bits, compressedBi...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
...e) { speex_bits_reset(&bits); short samplesArray[samplesPerFrame]; // c-array which will get samples from _intermediateSampleBuffer for (int j = 0; j < samplesPerFrame; j++) { samplesArray[j] = (short)[(NSData *)[_intermediateSampleBuffer objectAtIndex:j] bytes]; } [_intermediateSampleBuffer removeAllObjects]; // flushing _intermediateSampleBuffer to make it ready for next samples speex_encode_int(encoderState, samplesArray, &bits); writtenBytesNumber = speex_bits_write(&bits, compressedBi...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
...e) { speex_bits_reset(&bits); short samplesArray[samplesPerFrame]; // c-array which will get samples from _intermediateSampleBuffer for (int j = 0; j < samplesPerFrame; j++) { samplesArray[j] = (short)[(NSData *)[_intermediateSampleBuffer objectAtIndex:j] bytes]; } [_intermediateSampleBuffer removeAllObjects]; // flushing _intermediateSampleBuffer to make it ready for next samples speex_encode_int(encoderState, samplesArray, &bits); writtenBytesNumber = speex_bits_write(&bits, compressedBi...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
...e) { speex_bits_reset(&bits); short samplesArray[samplesPerFrame]; // c-array which will get samples from _intermediateSampleBuffer for (int j = 0; j < samplesPerFrame; j++) { samplesArray[j] = (short)[(NSData *)[_intermediateSampleBuffer objectAtIndex:j] bytes]; } [_intermediateSampleBuffer removeAllObjects]; // flushing _intermediateSampleBuffer to make it ready for next samples speex_encode_int(encoderState, samplesArray, &bits); writtenBytesNumber = speex_bits_write(&bits, compressedBi...