search for: getheader

Displaying 20 results from an estimated 60 matches for "getheader".

Did you mean: get_header
2007 Oct 06
3
Prototype: resp.getHeader('Location'); redirects browser
Why when I call resp.getHeader(''Location''); after my ajax call does the browser get redirected to the location header. I just want to get the value of it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinof...
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...f (ExitBr == 0) return getCouldNotCompute(); assert(ExitBr->isConditional() && "If unconditional, it can't be in loop!"); @@ -4315,8 +4320,12 @@ ScalarEvolution::ComputeExitLimit(const Loop *L, BasicBlock *ExitingBlock) { // if (ExitBr->getSuccessor(0) != L->getHeader() && ExitBr->getSuccessor(1) != L->getHeader() && - ExitBr->getParent() != L->getHeader()) { - // The simple checks failed, try climbing the unique predecessor chain + ExitBr->getParent() != L->getHeader() && + !((BrFirstSucc &&...
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
..., we don't know if the branch is executed each >   // time through the loop.  If not, then the execution count of the > branch will > @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop > *L, BasicBlock *ExitingBlock) { >   if (ExitBr->getSuccessor(0) != L->getHeader() && >       ExitBr->getSuccessor(1) != L->getHeader() && >       ExitBr->getParent() != L->getHeader()) { > -    // The simple checks failed, try climbing the unique predecessor chain > -    // up to the header. > + >     bool Ok = false; > -    for...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...oop is exited. However, we don't know if the branch is executed each // time through the loop. If not, then the execution count of the branch will @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop *L, BasicBlock *ExitingBlock) { if (ExitBr->getSuccessor(0) != L->getHeader() && ExitBr->getSuccessor(1) != L->getHeader() && ExitBr->getParent() != L->getHeader()) { - // The simple checks failed, try climbing the unique predecessor chain - // up to the header. + bool Ok = false; - for (BasicBlock *BB = ExitBr->ge...
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...each >> >   // time through the loop.  If not, then the execution count of the >> > branch will >> > @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop >> > *L, BasicBlock *ExitingBlock) { >> >   if (ExitBr->getSuccessor(0) != L->getHeader() && >> >       ExitBr->getSuccessor(1) != L->getHeader() && >> >       ExitBr->getParent() != L->getHeader()) { >> > -    // The simple checks failed, try climbing the unique predecessor >> > chain >> > -    // up to the head...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...nch is > executed each > > // time through the loop. If not, then the execution count of the > > branch will > > @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop > > *L, BasicBlock *ExitingBlock) { > > if (ExitBr->getSuccessor(0) != L->getHeader() && > > ExitBr->getSuccessor(1) != L->getHeader() && > > ExitBr->getParent() != L->getHeader()) { > > - // The simple checks failed, try climbing the unique predecessor > chain > > - // up to the header. > > + > >...
2012 Feb 09
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...h the loop.  If not, then the execution count of the >> >> > branch will >> >> > @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop >> >> > *L, BasicBlock *ExitingBlock) { >> >> >   if (ExitBr->getSuccessor(0) != L->getHeader() && >> >> >       ExitBr->getSuccessor(1) != L->getHeader() && >> >> >       ExitBr->getParent() != L->getHeader()) { >> >> > -    // The simple checks failed, try climbing the unique predecessor >> >> > chain...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...// time through the loop. If not, then the execution count of the > >> > branch will > >> > @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop > >> > *L, BasicBlock *ExitingBlock) { > >> > if (ExitBr->getSuccessor(0) != L->getHeader() && > >> > ExitBr->getSuccessor(1) != L->getHeader() && > >> > ExitBr->getParent() != L->getHeader()) { > >> > - // The simple checks failed, try climbing the unique predecessor > >> > chain > >> &g...
2012 Feb 09
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...not, then the execution count of the >>> >> > branch will >>> >> > @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop >>> >> > *L, BasicBlock *ExitingBlock) { >>> >> >   if (ExitBr->getSuccessor(0) != L->getHeader() && >>> >> >       ExitBr->getSuccessor(1) != L->getHeader() && >>> >> >       ExitBr->getParent() != L->getHeader()) { >>> >> > -    // The simple checks failed, try climbing the unique predecessor >>> >...
2012 Feb 09
1
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...ecution count of the >>>> >> > branch will >>>> >> > @@ -4316,10 +4322,23 @@ ScalarEvolution::ComputeExitLimit(const Loop >>>> >> > *L, BasicBlock *ExitingBlock) { >>>> >> >   if (ExitBr->getSuccessor(0) != L->getHeader() && >>>> >> >       ExitBr->getSuccessor(1) != L->getHeader() && >>>> >> >       ExitBr->getParent() != L->getHeader()) { >>>> >> > -    // The simple checks failed, try climbing the unique predecessor >&...
2004 Aug 05
4
newest up2date rpm
...r.py", line 357, in setup File "depSolver.py", line 390, in __add File "headers.py", line 37, in __getitem__ File "headers.py", line 42, in __retrievePackage File "rpcServer.py", line 304, in doCall File "repoDirector.py", line 31, in getHeader File "rpmSource.py", line 210, in getHeader File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 100, in getHeader hdr = rpmUtils.readHeaderBlob(hdrBuf) TypeError: readHeaderBlob() takes exactly 2 arguments (1 given) ill post this in bugzilla also
2017 Mar 31
4
Dereferenceable load semantics & LICM
...e first throwing instruction in the header, instead of a    boolean, in LoopSafetyInfo  - In hoistRegion, remember if you've seen the first throwing    instruction yet  - Pass the above as a boolean parameter to isGuaranteedToExecute, and    instead of      if (Inst.getParent() == CurLoop->getHeader())        return !SafetyInfo->HeaderMayThrow;    do something like      if (Inst.getParent() == CurLoop->getHeader())        return IsBeforeThrowingInst; -- Sanjoy
2005 Aug 26
1
wchar and wstring.
...g an R interface to some C++ files which make use of std::wstring classes for internationalization. Previously (when I wanted to make R strings from C++ std::strings), I would do something like this to construct a string in R from the results of the parse. SET_VECTOR_ELT(vals, i++, mkString(header.GetHeader().c_str())); However, now the call header.GetHeader().c_str() returns a pointer to an array of wchar_t's. I was going to use wcstombs() to convert the wchar_t* to char*, but I wanted to see if there was a similar function in R for the mkString function which I had initially used which deals w...
2013 May 21
1
[LLVMdev] How to find the first block of each loop
Hello, I want to insert a control-block before every outermost loop. My current solution is: 1) find each outermost loop in some function; 2) find the loop header with Loop->getHeader() APIs, and then insert the controller block before the header block of current loop. But I encounters problems when there multi subsequent loops in the following example, where there is no code between loops: for( i = 0 ; i < N; i++){ arrayA[i] = i + 1; } for( j = 0 ; j < N; j++){...
2010 Apr 05
3
[LLVMdev] Get the loop trip count variable
...unt in LLVM? For example, int NUM; NUM=atoi(argv[i]); for (int i=0; i<NUM; i++) { ... } How can I get the corresponding variable name for "NUM"? Then, I can instrument something in the source code to record the loop trip count for a given input data set. BasicBlock* b = L->getHeader(); returns the basicblock of the loop header, but I don't know how to extract "NUM" from basicblock b. Cheers, Zheng
2007 Jul 19
0
ASP.NET AJAX Web Services and Prototype Version 1.5.1.1
...transport.send(Hash.toJSON(this.options.postBody)); } else { this.body = this.method == ''post'' ? (this.options.postBody || params) : null; this.transport.send(this.body); } Replace this at line 1145: evalJSON: function() { try { var json = this.getHeader(''X-JSON''); return json ? json.evalJSON() : null; } catch (e) { return null } }, With this: evalJSON: function() { try { var json = this.getHeader(''X-JSON''); var contentType = this.getHeader(''Content-type'');...
2010 Apr 05
0
[LLVMdev] Get the loop trip count variable
...[i]); > > for (int i=0; i<NUM; i++) > { >    ... > } > > How can I get the corresponding variable name for "NUM"? Then, I can > instrument something in the source code to record the loop trip count > for a given input data set. > > BasicBlock* b = L->getHeader(); > > returns the basicblock of the loop header, but I don't know how to > extract "NUM" from basicblock b. If you need to instrument the source, you'd probably be better off doing this with clang purely at the source level; by the time LLVM loop analyzers can tell &quo...
2017 Apr 03
4
Dereferenceable load semantics & LICM
...oolean, in LoopSafetyInfo >> >> - In hoistRegion, remember if you've seen the first throwing >> instruction yet >> >> - Pass the above as a boolean parameter to isGuaranteedToExecute, and >> instead of >> if (Inst.getParent() == CurLoop->getHeader()) >> return !SafetyInfo->HeaderMayThrow; >> do something like >> if (Inst.getParent() == CurLoop->getHeader()) >> return IsBeforeThrowingInst; >> >> -- Sanjoy >> > I was thinking about something very similar and it seems to b...
2019 Jan 25
2
答复: How to add new arch for llvm-cov show?
...m and object file is provided by biutils. I think these ELF header information is provided by my binutils now, so maybe I have to modify binutils code to provide ELF header to llvm? Second, I’m sorry to say that I’m now working on llvm-4.0.0 and in ELF.cpp there is no “return getDynamicTagAsString(getHeader()->e_machine, Type);”. But I think it makes sense ELF file reader get nothing because my compiler doesn’t write these information. It seems I have to find somewhere(maybe an ELF file writer) to write e_machine so my reader will read this. But I have no idea where to write it now. 2. In...
2019 Jan 24
2
答复: 答复: How to add new arch for llvm-cov show?
...Arch).getArch()" loadBinaryFormat in CoverageMappingReader.cpp and returned an error. It's because "OF->getArch()" returned null and "Triple(Arch).getArch()" returned XXXX(name of my arch). The returned value of " OF->getArch()" is decided by " EF.getHeader()->e_machine" but I found "e_machine" is defined somewhere in MCAssembler I haven’t double-checked, but I thought this definition came from llvm/Support/ELF.h? (My compiler uses binutils as assembler) . Although I make some hacks to pass this checking, I still get other errors...