Displaying 10 results from an estimated 10 matches for "parray".
Did you mean:
array
2012 Aug 20
3
[LLVMdev] How to Identify if an Argument is a pointer?
...u can identify whether or not an Argument is a
pointer. The "isDereferenceablePointer" function for Values doesn't
seem to be what I want (I don't care whether or not the pointer points
to allocated memory or is suitably aligned). I want to be able to
discern between:
i32* %pArray
and
i32 %pArray
Thanks in advance.
- John
2010 Jul 16
2
[LLVMdev] Strange behavior when converting arrays to strings
Hello,
I found saw some strange behavior (to me) when converting constant arrays to strings. Consider the following example:
std::string Text = "HelloWorld";
unsigned TextLengthBefore = Text.length();
ConstantArray *pArray = dyn_cast<ConstantArray>(llvm::ConstantArray::get(pModule->getContext(), Text, true));
unsigned NumElements = pArray->getNumOperands();
Text = pArray->getAsString();
unsigned TextLengthAfter = Text.length();
After running this example here are the values in each variable:
T...
2004 Apr 19
3
encoding from 22050Hz source
...like to encode from a 22050 Hz source wav file (only in that case),
but i get the following error message: "Invalid floating point operation"
I use delphi:
vorbis_encode_init_vbr(vi,2,22050,0.5)
.
.
.
While (i < readCount div 4) Do
Begin
buffer[0][i] := smallInt((pArray(@readbuffer)[i shl 2 + 1] shl 8) or pArray(@readbuffer)[i shl 2 + 0]) / 32768;
buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or pArray(@readbuffer)[i shl 2 + 2]) / 32768;
inc(i);
End
What could be wrong???
Thank you!
crc
-----------------...
2004 Feb 13
10
Encoding into MONO (delphi)
...elp me.
I use a Delphi conversion (from Aleksandr Shamray),
but it doesn't work when I'd like to convert a *.RAW into a
mono *.ogg file.
vorbis_encode_init_vbr(vi, 1, 44100, 0.5); //because of the mono
the program stops at line:
//* uninterleave samples */
.
.
buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or pArray(@readbuffer)[i shl 2 + 2]) / 32768;
.
.
Why?????
Please, help me!
Thank You!
<p>---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
--- >8 ----
List archives: http://www.xiph.org/archives/...
2010 Jul 28
0
[LLVMdev] Strange behavior when converting arrays to strings
...ect: [LLVMdev] Strange behavior when converting arrays to strings
Hello,
I found saw some strange behavior (to me) when converting constant arrays to strings. Consider the following example:
std::string Text = "HelloWorld";
unsigned TextLengthBefore = Text.length();
ConstantArray *pArray = dyn_cast<ConstantArray>(llvm::ConstantArray::get(pModule->getContext(), Text, true));
unsigned NumElements = pArray->getNumOperands();
Text = pArray->getAsString();
unsigned TextLengthAfter = Text.length();
After running this example here are the values in each variable:
T...
2010 Jul 28
1
[LLVMdev] Strange behavior when converting arrays to strings
Hi Javier,
> I found saw some strange behavior (to me) when converting constant
> arrays to strings. Consider the following example:
>
> std::string Text = "HelloWorld";
>
> unsigned TextLengthBefore = Text.length();
>
> ConstantArray *pArray =
> dyn_cast<ConstantArray>(llvm::ConstantArray::get(pModule->getContext(),
> Text, true));
from Constants.h:
/// This method constructs a ConstantArray and initializes it with a text
/// string. The default behavior (AddNull==true) causes a null terminator to
/// be place...
2012 Aug 20
0
[LLVMdev] How to Identify if an Argument is a pointer?
...not an Argument is a
> pointer. The "isDereferenceablePointer" function for Values doesn't
> seem to be what I want (I don't care whether or not the pointer points
> to allocated memory or is suitably aligned). I want to be able to
> discern between:
>
> i32* %pArray
>
> and
>
> i32 %pArray
>
> Thanks in advance.
>
> - John
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
----------...
2005 Mar 14
2
Icecast on OS X
Long, long ago, in a galaxy far away, I compiled and installed Icecast
on OS X. However, after building from the latest source, I'm seeing an
error on launch. The error relates to the poll() function (which
apparently isn't functional in OS X):
poll.c:282: failed assertion `pArray != (struct pollfd *) NULL'
Did I compile wrong? Is this a known issue? Anyone successfully build
the latest sources on OS X?
thanks,
Jaime
2006 Jun 07
2
[PATCH][RESEND][Builder] Check if v_end wraps around to 0
...> On 31 May 2006, at 18:53, Puthiyaparambil, Aravindh wrote:
>
> > An image with VIRT_START and ELF_PADDR_OFFSET equal to 0 and its
linker
> > entry at 0xffffffff80000000 (Is this is an malformed image?) causes
the
> > builder to crash in loadelfimage() [line 235] because parray is
going
> > out of bounds. Output from the builder is show below. What seems to
be
> > happening is that in setup_guest(), the variable v_end is becoming
zero
> > after the "for ( nr_pt_pages = 2; ; nr_pt_pages++ )" loop. Also note
> > that the value of nr_pt_page...
2006 May 16
7
Unable to bring up Mini-OS on x86_64
I am getting the following error when I try to bring up Mini-OS on x86_64 Xen (unstable: 9994). It is dying in xc_linux_build() causing xend to fault and restart. Any clue why this happening? Has something changed in the builder that Mini-OS needs to be aware of?
PS: I tried reverting changeset 9993 (Allow linking of mini-os with application-specific object code), but still got the same error