search for: x__

Displaying 5 results from an estimated 5 matches for "x__".

Did you mean: __
2008 Apr 05
2
Adding a Matrix Exponentiation Operator
...t nrows, int ncols, int mode) { for (int i=0; i < ncols; ++i) for (int j=0; j < nrows; ++j) REAL(b)[i * nrows + j] = REAL(a)[i * nrows + j]; } SEXP do_matexp(SEXP call, SEXP op, SEXP args, SEXP rho) { int nrows, ncols; SEXP matrix, tmp, dims, dims2; SEXP x, y, x_, x__; int i,j,e,mode; // Still need to fix full complex support mode = isComplex(CAR(args)) ? CPLXSXP : REALSXP; SETCAR(args, coerceVector(CAR(args), mode)); x = CAR(args); y = CADR(args); dims = getAttrib(x, R_DimSymbol); nrows = INTEGER(dims)[0]; ncols = INTEGER(...
2012 Jun 29
0
[PATCH] linux-2.6.18/x86: improve CR0 read/write handling
...; \ __asm__ __volatile__( \ "movl %%cr0,%0\n\t" \ :"=r" (__dummy)); \ __dummy; \ }) -#define write_cr0(x) \ - __asm__ __volatile__("movl %0,%%cr0": :"r" (x)) +#define read_cr0() __get_cpu_var(xen_x86_cr0) +#define write_cr0(x) do { \ + unsigned int x__ = (x); \ + switch (x__ ^ __get_cpu_var(xen_x86_cr0)) { \ + case 0: \ + continue; \ + case X86_CR0_TS: \ + HYPERVISOR_fpu_taskswitch(!!(x__ & X86_CR0_TS)); \ + break; \ + default: \ + __asm__ __volatile__("movl %0,%%cr0": :"r" (x__)); \ + break; \ + } \ + __get_cpu_var(x...
2005 May 11
2
Multiple Internet links - routing traffic to the correct one.
...| \ (eth3)| +-------------+ Telecomms +------- | adsl link | ADSL | | ___ | +------------+ \________ _/ \__ | __/ \___ | / \----+ | Local Network | \__172.16.1.x__/ \__ ___/ \_/ In words: Two local LAN''s (172.16.1.x) and (192.168.1.x). They service different parts of the organisation. The point is, the client does not want traffic from the 172.16.1.x network going over the ADSL link otherwise the cap will be reached in hours (iteral...
2006 Jan 25
1
xx-0.1.0 : xhtml and xml make it twice as dirty
...# - at_ # - att_ # - yat_ # include XX::XML doc = xml_{ root_{ t_{ "this is a text element" } t__{ "this is not text, but a __tag__ called t" } x_{ "this un-escaped & < > stuff" } x__{ "this is not un-escaped & < > stuff but a tag called x" } } } puts doc.pretty ~ > ruby sample/d.rb <?xml version=''1.0''?> <root>this is a text element<t>this is not text, but a __tag__ called t</...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking