Displaying 13 results from an estimated 13 matches for "startline".
2004 Oct 25
2
Reading sections of data files based on pattern matching
...alues@@
Column1 Column2 Column3 ...
Row1 1 2 3 ...
...
@@End OtherValues@@
I looked in the help files and found grep which operates on character
strings, do I have to like this then?
1. Read file with readLines("foo.txt")
2. grep this object for the start and end of each section ->startline &
stopline
3. Read the file again with
read.table("foo.txt",skip=startline,nrows=stoplin-startline)
Or is there a more beautiful way?
Cheers,
---------------------------------------------
Henrik Andersson
Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology
P...
2011 Oct 05
2
[LLVMdev] collect end line number for scope
...h scope, start line, end line, start column, end column
and
- scope heirarchy.
As scope is delimited by "{" and "}" (for an input C/C++ code), hence wanted to collect "endline" for scope.
When I went through the ".ll" emitted by llc, i could find the "startline" in metadata.
For this I could think of 2 approaches
1. Create a pass in llvm, to collect this information from the llvm instructions, by simply traversing them.
Identifying line number for each instruction and checking on the lexical block it points to. Also would maintain the parent/chi...
2011 Oct 05
0
[LLVMdev] collect end line number for scope
...ne, end line, start column, end column
> and
> - scope heirarchy.
> As scope is delimited by "{" and "}" (for an input C/C++ code), hence wanted to collect "endline" for scope.
> When I went through the ".ll" emitted by llc, i could find the "startline" in metadata.
>
> For this I could think of 2 approaches
> 1. Create a pass in llvm, to collect this information from the llvm instructions, by simply traversing them.
> Identifying line number for each instruction and checking on the lexical block it points to. Also would main...
2010 May 13
1
[LLVMdev] libSystem, __clear_cache(), FreeBSD and ARM
Hi folks,
I just tried to build LLVM on FreeBSD/arm. It looks like libSystem
doesn't build and requires the following hack:
--- lib/System/Memory.cpp
+++ lib/System/Memory.cpp
@@ -61,7 +61,7 @@
for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
asm volatile("icbi 0, %0" : : "r"(Line));
asm volatile("isync");
-# elif defined(__arm__) && defined(__GNUC__)
+# elif defined(__arm__) && defined(__GNUC__) && !defined(__FreeBSD__)
// FIXME: Ca...
2010 Feb 11
1
Find Source File Corresponding to Sourced Function
I've noticed that when you debug a function that was loaded into the
workspace using the source function, it prints the location of the
file from which the function was sourced. Is there a way to get that
same information without debugging the function?
Thanks,
Scott
2011 Oct 04
0
[LLVMdev] collect end line number for scope
Pankaj,
On Oct 3, 2011, at 4:36 AM, Pankaj Gode wrote:
> Hi All,
>
> int global;
> int func( int t)
> {
> //scope 1
> {
> ....
> } <-----
> return x;
> }
>
> For the above code, i want to collect endline (indicated by <---) for the scope. Can we get this information from the Dwarf Information in llvm 2.9 ?
>
If there is no code
2008 Jun 16
6
[LLVMdev] PowerPC instruction cache invalidation
...2008-06-16 08:42:25
@@ -336,6 +336,20 @@
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)) && \
defined(__APPLE__)
sys_icache_invalidate(Addr, len);
+#elif defined(__GNUC__)
+ const size_t LineSize = 32;
+
+ const intptr_t Mask = ~(LineSize - 1);
+ const intptr_t StartLine = ((intptr_t) Addr) & Mask;
+ const intptr_t EndLine = ((intptr_t) Addr + len + LineSize - 1) & Mask;
+
+ for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
+ asm volatile("dcbf 0, %0" : : "r"(Line));
+ asm volatile("sync");
+
+ for (...
2017 Sep 21
1
Improve ScopedPrinter::printNumber? (was: [llvm] r313816 - [llvm-readobj] Fix 'Teach readobj to dump .res files'.)
...> SW.printNumber("Characteristics", Ref.getCharacteristics());
> - SW.printNumber("Data size", Ref.getData().size());
> + SW.printNumber("Data size", (uint64_t)Ref.getData().size());
> SW.printBinary("Data:", Ref.getData());
> SW.startLine() << "\n";
> }
2011 Oct 03
4
[LLVMdev] collect end line number for scope
Hi All,
int global;
int func( int t)
{
//scope 1
{
....
} <-----
return x;
}
For the above code, i want to collect endline (indicated by <---) for the scope. Can we get this information from the Dwarf Information in llvm 2.9 ?
Thanks & Regards,
Pankaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Feb 07
0
Update: starcraft runs faster from debugger!
...unct>
And after about 4 or 5 times trying the wine trick doesn't work anymore,
Whatever i do the game starts choppy.
I don't know how to trace a program while it's running from the debugger,
winededbg --debugmsg +x11drv <prog> doesn't seem to work. How is the corrrect
startline?
The trace from wine
shows that DGA is disabled (even with /dev/mem set at 777)
Can somebody confirm this pattern of events?
you need ,wine-20040121 (haven't tried other versions) and starcraft retail or
starcraft shareware to reproduce this. The shareware version of starcraft
should be...
2010 Jun 30
1
CS:S no crosshair, money, health, ammo, radar
...team/Counter Strike Source and Wine, I've installed Steam (with no errors) with wine version: wine 1.1.44-1 and downloaded Counter Strike Source. If I tried to start it, it failed so I read something about ingame community should be disabled, I did and I added the -dxlevel 70 option to my "startline", it works!
I also can join games and choose a team etc. but if the round starts I dont have a radar (I enabled it in the console), I dont see a crosshair and there's also no health, ammo, time, money display etc.
Kernel: 2.6.34-ARCH
Wine: wine 1.1.44-1
VideoCard: Ati HD4850 with xf86-vi...
2009 Mar 20
12
[Bug 20780] New: nouveau corrupts and crashes on 7800gt when NoAccel= false after a few drawing operations
http://bugs.freedesktop.org/show_bug.cgi?id=20780
Summary: nouveau corrupts and crashes on 7800gt when
NoAccel=false after a few drawing operations
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
...ft-justified, centered or
- right-justified (taking outputwidth as the screen width) if
- justification is 0, 1 or 2, respectively.
-
-****************************************************************************/
-
-static int nr_chars=0;
-static void myputchar(unsigned char c)
-{
- static int startline = 1;
-
- if ( startline )
- {
- startline = 0;
- myputchar('' '');
- }
-
- putc(c, stderr);
-
- if ( nr_chars == 18 )
- {
- nr_chars = 0;
- putchar(''"'');
- putchar('' '');
- putchar(&...