Displaying 3 results from an estimated 3 matches for "get_print".
2007 Jan 31
2
SystemStackError: stack level too deep
I''m testing the http module in console.
BUt I got the following error.
Anyone knows why?
>> Net::HTTP.get_print ''www.google.com'', ''index.html''
SystemStackError: stack level too deep
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
`newobj''
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
`newobj''
from C:/InstantRa...
2007 Jul 14
2
How to invoke a GET request to home page
The homepage of my application has time sensitive data. The homepage is
cached for fast loading.
However I clean out the cache every day midnight. It means the first person
who hits the after the cache clean up has to wait extra long.
The cache is cleaned out using a rake job. Is there a way I could write a
rake job to just go and hit the homepage and generate the cache page just
after the
2013 Dec 16
3
[LLVMdev] Add call printf instructions problems
...::getInt32Ty(ctx),
printf_arg_types, true);
llvm::Function *func = llvm::Function::Create(printf_type,
llvm::Function::ExternalLinkage,
llvm::Twine("printf"),mod);
func->setCallingConv(llvm::CallingConv::C);
return func;
}
//get a printf function
Function* Get_print()
{
llvm::LLVMContext& ctx = llvm::getGlobalContext();
Module* mod = new Module("test",ctx);
// Constant* c = mod->getOrInsertFunction("printf");
Function *printf_func = printf_prototype(ctx, mod);
printf_func->setCallingConv(CallingConv::C);
return printf_func;
}
vir...