Displaying 20 results from an estimated 30 matches for "setdefault".
2015 Jul 28
0
[LLVMdev] Notice for out-of-tree maintainer: RegisterScheduler::setDefault removed
Hi all,
Just a notice for out-of-tree maintainer, I removed RegisterScheduler::setDefault in r243388. It was used to override the default command line option that selects the DAG scheduler to use.
Instead of hacking into the command line plumbing, a target that wants more control over the selection of the scheduler than it already has with setSchedulingPreference has a SubTargetHook “...
2002 Feb 11
0
profile
...r <- f.summary$parameters[, "Std. Error"]
npar <- length(std.err)
nobs <- length(resid(fitted))
cutoff <- sqrt(npar * qf(1 - alphamax, npar, nobs - npar))
outmat <- array(0, c(nobs, npar))
out <- list()
prof <- profiler(fitted)
on.exit(prof$setDefault())
for (par in which) {
pars <- prof$getFittedPars()
prof$setDefault(varying = par)
sgn <- -1
count <- 1
varying <- rep(TRUE, npar)
varying[par] <- FALSE
tau <- double(2 * maxpts)
par.vals <- array(0, c(2 * max...
2011 Oct 29
2
Bruker Topspin 3.1
...E)")
invoked from within
"set ::env(szHostname) $::env(COMPUTERNAME)"
(procedure "InitGlobals_windows" line 10)
invoked from within
"InitGlobals_windows"
invoked from within
"if [OsIsWin] {
InitGlobals_windows
}"
(procedure "SetDefaults" line 3)
invoked from within
"SetDefaults"
(procedure "MainProgram" line 44)
invoked from within
"MainProgram menu env"
Error code = NONE
auto_path = Z:/home/markus/install-topspin-3.1.tmp~/windows/tcl-8.5.9/lib/tcl8.5 Z:/home/markus/install-topspin-3...
2011 Mar 16
0
Quantmod getSymbol.MySQL
...ot;ACC")
tdata=(xts(data[,-1], as.POSIXct(data[,1])))
*barChart(tdata)*
dbDisconnect(con)
This thing works fine. I mean if done through DBI and RMySQL basic command,
then table
get read properly and I get a wonderful chart.
But doing it through getSymbol is giving problem.
*first i tried *
setDefaults(getSymbols.MySQL, dbname='ts')
getSymbols('ACC',src='MySQL')
Error in getSymbols.MySQL(Symbols = "ACC", env = <environment>, verbose =
FALSE, :
At least one connection argument ( ‘user’ ‘password’ ‘dbname’ ) is not set
*second i tried *
setDefaults(get...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in
the libxl interface followed by auto-generation of a destructor
function for each type. In the future it may be possible to use the
related data structures for other purposes, for example auto-generation
of the functions to marshal between C and language binding data types.
tools/_libxl_types.h should be identical both before
2010 May 18
2
[LLVMdev] Fast register allocation
...ontend/CodeGenAction.cpp b/lib/Frontend/CodeGenAction.cpp
index 86005f2..cd2d2f0 100644
--- a/lib/Frontend/CodeGenAction.cpp
+++ b/lib/Frontend/CodeGenAction.cpp
@@ -322,7 +322,7 @@ bool BackendConsumer::AddEmitPasses() {
// Set register scheduler & allocation policy.
RegisterScheduler::setDefault(createDefaultScheduler);
- RegisterRegAlloc::setDefault(Fast ? createLocalRegisterAllocator :
+ RegisterRegAlloc::setDefault(Fast ? createFastRegisterAllocator :
createLinearScanRegisterAllocator);
// Create the code generator passes.
I have tested clang self...
2010 Sep 09
2
[PATCH]: add libxl python binding
...None: # e.g. system provided types
self.typename = typename
+ self.rawname = typename
else:
self.typename = self.namespace + typename
+ self.rawname = typename
if self.typename is not None:
self.destructor_fn = kwargs.setdefault(''destructor_fn'', self.typename + "_destroy")
@@ -26,17 +29,27 @@ class Type(object):
self.autogenerate_destructor = kwargs.setdefault(''autogenerate_destructor'', True)
+ self.internal = kwargs.setdefault(''internal'',...
2012 Mar 07
1
Anyone recognize "www-mysql"?
I'm transitioning someone's quite old server [Debian] to a new CentOS6
host. All going pretty well. But they server up some functionality
using CGI scripts via Apache that use something referred to on the
Debian box as the www-mysql package? This a binary that executes HTML
pages containing embedded SQL statements.
Anyone know where the source for this can be found or if it has a more
2012 Apr 16
2
[LLVMdev] Representing -ffast-math at the IR level
...ath accuracy not a positive number!", &I);
To be pedantic for a moment, zero is not a positive number. What about
asserting these individually to give us more clear asserts if they fire?
That also makes the string easier to write: "fpmath accuracy is a negative
number!".
+ /// SetDefaultFPMathTag - Set the floating point math metadata to be
used.
+ void SetDefaultFPMathTag(MDNode *FPMathTag) { DefaultFPMathTag =
FPMathTag; }
This should be 'setDefault...' much like 'getDefault...' above.
+ Instruction *AddFPMathTag(Instruction *I, MDNode *FPMathTag) const {
Ano...
2007 Aug 24
2
setting the font in FXText
...ts, nil, 0,
TEXT_READONLY|TEXT_WORDWRAP|LAYOUT_FILL_X|LAYOUT_FILL_Y)
@fxtext.font = FXFont.new(getApp(), "courier", 8)
# Ok button
ok = FXButton.new(button, "OK", nil, self, ID_CANCEL,
FRAME_RAISED|FRAME_THICK|LAYOUT_CENTER_X|LAYOUT_CENTER_Y|LAYOUT_FILL_X)
ok.setDefault
ok.setFocus
end
end
However, when I add the following method to FXTextDialog and call it I
get a Seg Fault!:
def set_font()
@fxtext.font = FXFont.new(getApp(), "courier", 8)
end
Usage in my application:
def onTableHex(sender, sel, ptr)
@dialog = FXTextDialog.new(s...
2012 May 30
1
[PATCH QXL 2/2] libxl: Add qxl vga interface support.
Add qxl vga interface support.
Usage:
qxl=1
qxlvram=64
qxlram=64
Signed-off-by: Zhou Peng <ailvpeng25@gmail.com>
diff -r c6641e3fe158 tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c Mon May 28 16:25:59 2012 +0800
+++ b/tools/libxl/libxl_dm.c Wed May 30 17:48:38 2012 +0800
@@ -181,6 +181,8 @@ static char ** libxl__build_device_model
flexarray_append(dm_args,
2016 Mar 24
2
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
...gt;>>> + if isinstance(res, lit.Test.Result):
>>>>>>> + return res
>>>>>>> +
>>>>>>> + out, err, exitCode, timeoutInfo = res
>>>>>>> + metrics.setdefault(metric,
>>>>>>> list()).append(float(out))
>>>>>>> +
>>>>>>> try:
>>>>>>> runtime = runsafely.getTime(context)
>>>>>>> runtimes.append(runtime)
>>>>...
2008 Dec 20
0
[LLVMdev] A faster instruction selector?
...files is non-optimized.
>
Yes, I am running the optimised version
>> Finally, it must be possible to select the register allocator for the
>> JIT using the API, but I am unable to find out how to do this, any
>> ideas?
>
> See RegAllocRegistry.h and RegisterRegAlloc::setDefault.
Thanks
>
> Dan
>
Seasons Greetings,
Mark.
2016 Mar 24
0
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
...+ if isinstance(res, lit.Test.Result):
>>>>>>>> + return res
>>>>>>>> +
>>>>>>>> + out, err, exitCode, timeoutInfo = res
>>>>>>>> + metrics.setdefault(metric,
>>>>>>>> list()).append(float(out))
>>>>>>>> +
>>>>>>>> try:
>>>>>>>> runtime = runsafely.getTime(context)
>>>>>>>> runtimes.append(runt...
2012 Apr 16
0
[LLVMdev] Representing -ffast-math at the IR level
...erts if they fire? That also makes
> the string easier to write: "fpmath accuracy is a negative number!".
It will fire on: zero, negative numbers, NaN, +-infinity. Personally I reckon
"fpmath accuracy not a positive number!" is reasonable for all of these.
>
> + /// SetDefaultFPMathTag - Set the floating point math metadata to be used.
> + void SetDefaultFPMathTag(MDNode *FPMathTag) { DefaultFPMathTag = FPMathTag; }
>
> This should be 'setDefault...' much like 'getDefault...' above.
The rest of IRBuilder uses a capital S in its setters, so I wa...
2016 Mar 24
1
[test-suite] r261857 - [cmake] Add support for arbitrary metrics
...if isinstance(res, lit.Test.Result):
>>>>>>>>> + return res
>>>>>>>>> +
>>>>>>>>> + out, err, exitCode, timeoutInfo = res
>>>>>>>>> + metrics.setdefault(metric,
>>>>>>>>> list()).append(float(out))
>>>>>>>>> +
>>>>>>>>> try:
>>>>>>>>> runtime = runsafely.getTime(context)
>>>>>>>>>...
2007 Nov 02
1
Interaction bug between Puppet CA and mod_ssl
...ow.
I am happy to document this on the Wiki, if someone could suggest an
appropriate location.
Hoping this helps someone out there,
Alex
--- configuration.rb-orig 2007-11-01 21:19:47.000000000 -0400
+++ configuration.rb 2007-11-01 21:03:27.000000000 -0400
@@ -136,6 +136,8 @@
Puppet.setdefaults(:ssl,
:certname => [fqdn, "The name to use when handling certificates. Defaults
to the fully qualified domain name."],
+ :caname => [fqdn, "The name used for the CA certificate. Defaults
+ to the fully qualified domain name."],...
2008 Dec 17
1
[LLVMdev] A faster instruction selector?[MESSAGE NOT SCANNED]
Hi Nicolas and Dan,
Thanks for your replies.
I've been playing around with various setting, as you suggested.
> What version of LLVM are you using here?
I'm using 2.4
My original time ratios of reg-alloc to instruction selection (1:12)
referred to the local register allocator and the standard instruction
selector (all passes), not a sensible comparison, I realise.
> I did
2009 Jan 15
2
Partial function application in R
Hello,
in a desperate desire of using partial function application in R I fried out
the following piece of code:
bind <- function( f, ... ) {
args <- list(...)
function(...) f( ..., unlist(args) )
}
Its purpose, if not clear, is to return a function with part of its
arguments bound to specific values, so that I can for example create and use
functions like this:
q1 <- bind(
2012 Apr 16
0
[LLVMdev] Representing -ffast-math at the IR level
Here's a revised patch, plus patches showing how fpmath metadata could be
turned on in clang and dragonegg (it seemed safest for the moment to
condition on -ffast-math rather than on one of the flags implied by
-ffast-math).
Major changes:
- The FPMathOperator class can no longer be used to change math settings,
only to read them. Currently it can be queried for accuracy info. I split
the