Displaying 7 results from an estimated 7 matches for "nsmakerang".
Did you mean:
nsmakerange
2005 Dec 16
1
AppleScript commands don't execute until mouse over console window (PR#8405)
...LL
+ subtype: 0
+ data1: 0
+ data2: 0
+ ] atStart: YES];
/*
unsigned textLength = [[RTextView textStorage] length];
[RTextView setSelectedRange:NSMakeRange(textLength, 0)];
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
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
...ytes(blockBufferRef, 0, blockBufferDataLength,
allSamplesMutableData.mutableBytes); // copying bytes to object
int nextSampleStartPosition = 0;
for (int i = 0; i < numberOfSamples; i++) {
NSData *singleSampleData = [NSData
dataWithBytes:[[allSamplesMutableData subdataWithRange:NSMakeRange(
nextSampleStartPosition, sampleSize)] bytes] length:sampleSize];
nextSampleStartPosition += sampleSize;
[_intermediateSampleBuffer addObject:singleSampleData]; // we put
samples here until it's enough for the frame
if (_intermediateSampleBuffer.count == samplesPerFra...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
...ytes(blockBufferRef, 0, blockBufferDataLength, allSamplesMutableData.mutableBytes); // copying bytes to object
int nextSampleStartPosition = 0;
for (int i = 0; i < numberOfSamples; i++) {
NSData *singleSampleData = [NSData dataWithBytes:[[allSamplesMutableData subdataWithRange:NSMakeRange(nextSampleStartPosition, sampleSize)] bytes] length:sampleSize];
nextSampleStartPosition += sampleSize;
[_intermediateSampleBuffer addObject:singleSampleData]; // we put samples here until it's enough for the frame
if (_intermediateSampleBuffer.count == sample...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
...ytes(blockBufferRef, 0, blockBufferDataLength,
allSamplesMutableData.mutableBytes); // copying bytes to object
int nextSampleStartPosition = 0;
for (int i = 0; i < numberOfSamples; i++) {
NSData *singleSampleData = [NSData
dataWithBytes:[[allSamplesMutableData subdataWithRange:NSMakeRange(
nextSampleStartPosition, sampleSize)] bytes] length:sampleSize];
nextSampleStartPosition += sampleSize;
[_intermediateSampleBuffer addObject:singleSampleData]; // we put
samples here until it's enough for the frame
if (_intermediateSampleBuffer.count == samplesPerFra...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
...ytes(blockBufferRef, 0, blockBufferDataLength, allSamplesMutableData.mutableBytes); // copying bytes to object
int nextSampleStartPosition = 0;
for (int i = 0; i < numberOfSamples; i++) {
NSData *singleSampleData = [NSData dataWithBytes:[[allSamplesMutableData subdataWithRange:NSMakeRange(nextSampleStartPosition, sampleSize)] bytes] length:sampleSize];
nextSampleStartPosition += sampleSize;
[_intermediateSampleBuffer addObject:singleSampleData]; // we put samples here until it's enough for the frame
if (_intermediateSampleBuffer.count == sample...
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);
}