search for: bi

Displaying 20 results from an estimated 1305 matches for "bi".

Did you mean: bit
2007 Apr 25
2
[LLVMdev] Work in progress patch to speed up andersen's implementation
...more improvements to be made, and in particular implementing ovs. This is not more than a couple hundred lines of code, and would speed it up by another few orders of magnitude (as well as reduce memory usage greatly). The main thing blocking this patch, however, is that someone needs to rewrite bitmap.c/bitmap.h, obstack.c and obstack.h, into C++. They are currently just modified versions of what gcc is using. You can get rid of the obstacks, of course. Using set<u32> or BitVector or something like it will result in a slowdown of mammoth proporations, and about a 10x memory increase....
2017 Jun 27
3
Windows iconv() "failure" in certain locales
...translate from "UTF-8" to the "current locale", in the case mentioned there. I'm giving some easier reproducible examples: no need to install half of tidyverse just to get citation("readr") : > x <- c("Ekstr\xf8m", "J\xf6reskog", "bi\xdfchen Z\xfcrcher") > Encoding(x1) <- "latin1" > xU <- iconv(x1, "latin1", "UTF-8") > Sys.setlocale("LC_CTYPE", "Chinese") [1] "Chinese (Simplified)_People's Republic of China.936" > > iconv(x1, "latin...
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...; >+ >+static LIST_HEAD(bypass_master_list); >+static DEFINE_SPINLOCK(bypass_lock); >+ >+static int bypass_slave_pre_register(struct net_device *slave_netdev, >+ struct net_device *bypass_netdev, >+ struct bypass_ops *bypass_ops) >+{ >+ struct bypass_info *bi; >+ bool backup; >+ >+ if (bypass_ops) { >+ if (!bypass_ops->slave_pre_register) >+ return -EINVAL; >+ >+ return bypass_ops->slave_pre_register(slave_netdev, >+ bypass_netdev); >+ } >+ >+ bi = netdev_priv(bypass_netdev); >+ backup = (slave_ne...
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...; >+ >+static LIST_HEAD(bypass_master_list); >+static DEFINE_SPINLOCK(bypass_lock); >+ >+static int bypass_slave_pre_register(struct net_device *slave_netdev, >+ struct net_device *bypass_netdev, >+ struct bypass_ops *bypass_ops) >+{ >+ struct bypass_info *bi; >+ bool backup; >+ >+ if (bypass_ops) { >+ if (!bypass_ops->slave_pre_register) >+ return -EINVAL; >+ >+ return bypass_ops->slave_pre_register(slave_netdev, >+ bypass_netdev); >+ } >+ >+ bi = netdev_priv(bypass_netdev); >+ backup = (slave_ne...
2018 Apr 10
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
....h> +#include <net/bypass.h> + +static LIST_HEAD(bypass_master_list); +static DEFINE_SPINLOCK(bypass_lock); + +static int bypass_slave_pre_register(struct net_device *slave_netdev, + struct net_device *bypass_netdev, + struct bypass_ops *bypass_ops) +{ + struct bypass_info *bi; + bool backup; + + if (bypass_ops) { + if (!bypass_ops->slave_pre_register) + return -EINVAL; + + return bypass_ops->slave_pre_register(slave_netdev, + bypass_netdev); + } + + bi = netdev_priv(bypass_netdev); + backup = (slave_netdev->dev.parent == bypass_netdev->dev.par...
2005 Aug 29
0
Core dump during lazy loading of "survival" at installation time (PR#8106)
...3 U ia64 0029870451 unlimited-user license Submission from: (NULL) (62.178.15.60) I sadly get a core-dump during installation, when it tries to lazyload package survival. Any idea what to do about this? Best regards, D. ... include -fPIC -g -O2 -c survindex2.c -o survindex2.o gcc -I/bi/common/src/R-2.1.1/include -I/bi/common/include -I/usr/local/ include -fPIC -g -O2 -c survindex3.c -o survindex3.o gcc -I/bi/common/src/R-2.1.1/include -I/bi/common/include -I/usr/local/ include -fPIC -g -O2 -c survreg2.c -o survreg2.o gcc -I/bi/common/src/R-2.1.1/include -...
2017 Jun 28
0
Windows iconv() "failure" in certain locales
...uot; to the > "current locale", in the case mentioned there. > > I'm giving some easier reproducible examples: no need to install > half of tidyverse just to get citation("readr") : > >> x <- c("Ekstr\xf8m", "J\xf6reskog", "bi\xdfchen Z\xfcrcher") >> Encoding(x1) <- "latin1" >> xU <- iconv(x1, "latin1", "UTF-8") > >> Sys.setlocale("LC_CTYPE", "Chinese") > [1] "Chinese (Simplified)_People's Republic of China.936" >> &...
2018 Apr 11
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...which is highly misleading as > it has completely different meaning that in bond for example. > I noted that in my previous review already. Please change it. I guess the issue is with only the 'active'? name. 'backup' should be fine as it also matches with the BACKUP feature bit we are adding to virtio_net. With regards to alternate names for 'active', you suggested 'stolen', but i am not too happy with it. netvsc uses vf_netdev, are you OK with this? Or another option is 'passthru' > > >> + >> + /* virtio_net netdev */ >&g...
2012 Jul 03
2
EM algorithm to find MLE of coeff in mixed effects model
I have a general question about coefficients estimation of the mixed model. I simulated a very basic model: Y|b=X*\beta+Z*b +\sigma^2* diag(ni); b follows N(0,\psi) #i.e. bivariate normal where b is the latent variable, Z and X are ni*2 design matrices, sigma is the error variance, Y are longitudinal data, i.e. there are ni measurements for object i. Parameters are \beta, \sigma, \psi; call them \theta. I wrote a regular EM, the M step is to maximize the log(f(Y,b;\t...
2012 Jun 29
0
Adding Bi-gram in the QueryParser and Object.
Hi all, I have jotted down a plan for how to handle or add Bi-gram in Query Object though QueryParser. PFA as a sequence diagram which depicts what i got to know about how parser works and query is build from tokens provided by the lexer.I have highlighted some area in blue where i think there is possibility of having bi-grams.While Integrating bi-gram in th...
2018 Apr 10
6
[RFC PATCH net-next v6 0/4] Enable virtio_net to act as a backup for a passthru device
...ice providers to provide an accelerated datapath to virtio-net enabled VMs in a transparent manner with no/minimal guest userspace changes. This also enables hypervisor controlled live migration to be supported with VMs that have direct attached SR-IOV VF devices. Patch 1 introduces a new feature bit VIRTIO_NET_F_BACKUP that can be used by hypervisor to indicate that virtio_net interface should act as a backup for another device with the same MAC address. Patch 2 introduces a bypass module that provides a generic interface for paravirtual drivers to listen for netdev register/unregister/link...
2012 Aug 22
1
[LLVMdev] Insert Self Written Function Call from a FunctionPass?
...lvm; Module * M; LLVMContext Context; Twine * name = new Twine("print"); FunctionType *STy=FunctionType::get(Type::getInt32Ty(Context),Type::getInt32Ty(Context), false); Function *check = Function::Create(STy, Function::ExternalLinkage, *name ,M); AllocaInst* count; namespace{ struct bishe_insert : public FunctionPass{ static char ID; bishe_insert() : FunctionPass(ID) {} virtual bool runOnFunction(Function &func) { count = new AllocaInst(IntegerType::getInt32Ty(Context), 0, "count"); count->setAlignment(4); for(Function...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...leading as >> it has completely different meaning that in bond for example. >> I noted that in my previous review already. Please change it. > >I guess the issue is with only the 'active'? name. 'backup' should be fine as it also >matches with the BACKUP feature bit we are adding to virtio_net. I think that "backup" is also misleading. Both "active" and "backup" mean a *state* of slaves. This should be named differently. > >With regards to alternate names for 'active', you suggested 'stolen', but i >a...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...leading as >> it has completely different meaning that in bond for example. >> I noted that in my previous review already. Please change it. > >I guess the issue is with only the 'active'? name. 'backup' should be fine as it also >matches with the BACKUP feature bit we are adding to virtio_net. I think that "backup" is also misleading. Both "active" and "backup" mean a *state* of slaves. This should be named differently. > >With regards to alternate names for 'active', you suggested 'stolen', but i >a...
2012 Jun 27
4
[V4]fix ocfs2 aio/dio writing process hang
V4 changes: add Acked-by: Joel Becker <jlbec at evilplan.org> V3 changes: - add Cc: stable at vger.kernel.org in the patch header to align with stable rules - add Acked-by: Jeff Moyer <jmoyer at redhat.com> V2 changes: - update the patch header of the first patch to make it more clear. This patch list fixes an issue about ocfs2 aio/dio write process hang. The call trace is like
2012 Jul 03
0
need help EM algorithm to find MLE of coeff in mixed effects model
Dear All, have a general question about coefficients estimation of the mixed model. I simulated a very basic model: Y|b=X*\beta+Z*b +\sigma^2* diag(ni); b follows N(0,\psi) #i.e. bivariate normal where b is the latent variable, Z and X are ni*2 design matrices, sigma is the error variance, Y are longitudinal data, i.e. there are ni measurements for object i. Parameters are \beta, \sigma, \psi; call them \theta. I wrote a regular EM, the M step is to maximize the log(f(Y,b;\th...
2006 Jul 01
5
generate bi-variate normal data
Dear all, I would like to generate bi-variate normal data given that the first column of the data is known. for example: I first generate a set of data using the command, x <- rmvnorm(10, c(0, 0), matrix(c(1, 0, 0, 1), 2)) then I would like to sum up the two columns of x: x.sum <- apply(x, 1, sum) now with x.sum I would like t...
2007 Jan 09
3
[LLVMdev] Pattern matching questions
...rrectly computed and hauling in the raft of intrinsics that the Cell SDK defines. Three quick questions: - How does one deal with multiple instruction sequences in a pattern? To load a constant is a two instruction sequence, but both instructions only take two operands (assume that r3 is a 32-bit register): ilhu $3, 45 # r3 = (45 << 16) iohl $3, 5 # r3 |= 5 I tried: def : Pat<(i32 imm:$imm), (IOHL (ILHU (HI16 imm:$imm)), (LO16 imm:$imm))>; - The return instruction for Cell SPU is "bi $lr". How do I jam that into the...
2007 Jan 09
2
[LLVMdev] Pattern matching questions
On Tue, 9 Jan 2007, Evan Cheng wrote: >> - How does one deal with multiple instruction sequences in a pattern? >> To load a constant is a two instruction sequence, but both >> instructions only take two operands (assume that r3 is a 32-bit >> register): >> >> ilhu $3, 45 # r3 = (45 << 16) >> iohl $3, 5 # r3 |= 5 >> >> I tried: >> >> def : Pat<(i32 imm:$imm), >> (IOHL (ILHU (HI16 imm:$imm)), (LO16 imm:$imm))>; > > It...
2007 Jan 09
0
[LLVMdev] Pattern matching questions
...he raft of intrinsics that > the Cell SDK defines. > > Three quick questions: > > - How does one deal with multiple instruction sequences in a pattern? > To load a constant is a two instruction sequence, but both > instructions only take two operands (assume that r3 is a 32-bit > register): > > ilhu $3, 45 # r3 = (45 << 16) > iohl $3, 5 # r3 |= 5 > > I tried: > > def : Pat<(i32 imm:$imm), > (IOHL (ILHU (HI16 imm:$imm)), (LO16 imm:$imm))>; It is possible to write multi-instruction patte...