search for: base1

Displaying 20 results from an estimated 45 matches for "base1".

Did you mean: base
2011 Jun 24
2
Nested VM
..., As part of my project for my MSc, I am looking for a solution to implement nested virtual machines. My current scenario is: - I have a server with AMD Phenom II X6 1100T and 8GB RAM - virtualization enabled at BIOS. - I have installed 64bit CentOS-5.6 with Xen enabled (let''s call it as base1). - On top of base1 I have also installed 64bit CentOS-5.6 (guest1) with Xen enabled and I would like to install Debian and WIndows XP on top of guest1, when I try to install using Virtual Machine Manager I am not able to see the ''Fully Virtualized'' option. Could you please sugge...
2013 Jun 07
1
[LLVMdev] tablegen foreach question
...list of strings and the foreach construct, but apparently tablegen doesn't allow using identifiers to access array elements. $ cat tbl3.td def StrList { list<string> ls = ["A", "B", "C", "D"]; } class Base0<int i> { int I = i; } class Base1<string s> { string S1 = s; } foreach i = 0-3 in def D#i: Base0<i>, Base1<StrList.ls[i]>; $ llvm-tblgen tbl3.td tbl3.td:15:37: error: expected integer or bitrange def D#i: Base0<i>, Base1<StrList.ls[i]>; -------------- next part -------------- An HTML attachment was...
2015 Feb 22
2
[LLVMdev] Eliminating redundant loads
...base = getelementptr inbounds %ravi.CallInfo* %6, i32 0, i32 4, i32 0 %7 = load %ravi.TValue** %base %8 = bitcast %ravi.TValue* %7 to i8* %9 = bitcast %ravi.TValue* %5 to i8* call void @llvm.memcpy.p0i8.p0i8.i32(i8* %8, i8* %9, i32 16, i32 8, i1 false) %10 = load %ravi.CallInfo** %L_ci %base1 = getelementptr inbounds %ravi.CallInfo* %10, i32 0, i32 4, i32 0 %11 = load %ravi.TValue** %base1 %12 = getelementptr inbounds %ravi.TValue* %11, i32 1 %13 = getelementptr inbounds %ravi.TValue* %5, i32 1 %14 = bitcast %ravi.TValue* %12 to i8* %15 = bitcast %ravi.TValue* %13 to i8* cal...
2013 Jun 08
1
Puppet error reporting
...1.pp at line 15; cannot redeclare on node slave1 What I am trying to figure out is why the error is reported in base-1/slave-1... even though those 2 alone work until I introduce base-2/slave3. I would have expected the error to report say in slave-3.. that the adduser was already defined in base1-/slave-1.. but don''t understand why it refers to base1/slave1 If I had come to this error without knowing I just added base-2 and slave3 I would be looking, possibly, at the wrong files. Is: puppet catalog find <any-node-name> the best way to "lint" after making changes...
2014 Nov 02
0
[Bug 977] ulogd_inppkt_NFLOG.c:503 forcing unbind of existing log handler for protocol
.../show_bug.cgi?id=977 --- Comment #6 from Netbug <b1b30ee4 at opayq.com> --- I upgraded to ulogd 2.0.4 & kernel 3.17.2 but these did not make a difference, here's how the output looks now; Sat Nov 1 17:07:03 2014 <5> ulogd.c:843 building new pluginstance stack: 'log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU' Sat Nov 1 17:07:03 2014 <5> ulogd_inppkt_NFLOG.c:503 forcing unbind of existing log handler for protocol 2 Sat Nov 1 17:07:03 2014 <5> ulogd_inppkt_NFLOG.c:503 forcing unbind of existing log handler for protocol 10 Sat...
2007 Apr 18
3
[PATCH 12/21] i386 Deprecate descriptor asm
...uot;movb $0,6(%2)\n\t" \ - "movb %h1,7(%2)\n\t" \ - "rorl $16,%1" \ - : "=m"(*(n)) : "q" (addr), "r"(n), "ir"(limit), "i"(type)) +struct desc_internal_struct { + unsigned short limit0; + unsigned short base0; + unsigned char base1; + unsigned char type; + unsigned int limit1 : 4; + unsigned int flags : 4; + unsigned char base2; +} __attribute__((packed)); + +static inline struct desc_internal_struct *desc_internal(struct desc_struct *d) +{ + return (struct desc_internal_struct *)d; +} + +static inline unsigned long get_desc_...
2007 Apr 18
3
[PATCH 12/21] i386 Deprecate descriptor asm
...uot;movb $0,6(%2)\n\t" \ - "movb %h1,7(%2)\n\t" \ - "rorl $16,%1" \ - : "=m"(*(n)) : "q" (addr), "r"(n), "ir"(limit), "i"(type)) +struct desc_internal_struct { + unsigned short limit0; + unsigned short base0; + unsigned char base1; + unsigned char type; + unsigned int limit1 : 4; + unsigned int flags : 4; + unsigned char base2; +} __attribute__((packed)); + +static inline struct desc_internal_struct *desc_internal(struct desc_struct *d) +{ + return (struct desc_internal_struct *)d; +} + +static inline unsigned long get_desc_...
2005 Aug 26
3
[LLVMdev] Mapping of class derivated and interfaces
...me pointer, right? Ok, if it's so the example you gave me worked becouse the first element of "derived" is the "base" portion, thus having the same pointer. But what if it was not the first? For example with multiple derivation only one class can be in the first position: %base1 = type { int } %base2 = type { sbyte } %derived = type { %base1, %base2, long } void myProc(base2 obj) { } Now if you use get elementptr to obtain "base2" member of "derived" to pass it to myProc, then you're basically passing a different pointer, breaking instance identit...
2007 Dec 13
2
[PATCH] avoid ifdefs in desc.h, getting rid of pack_ldt and pack_tss
...uct *gdt, int entry, memcpy(&gdt[entry], desc, size); } -static inline void set_tssldt_descriptor(struct ldttss_desc64 *d, - unsigned long tss, unsigned type, - unsigned size) -{ - memset(d, 0, sizeof(*d)); - d->limit0 = size & 0xFFFF; - d->base0 = PTR_LOW(tss); - d->base1 = PTR_MIDDLE(tss) & 0xFF; - d->type = type; - d->p = 1; - d->limit1 = (size >> 16) & 0xF; - d->base2 = (PTR_MIDDLE(tss) >> 8) & 0xFF; - d->base3 = PTR_HIGH(tss); -} - static inline void pack_descriptor(struct desc_struct *desc, unsigned long base, uns...
2007 Dec 13
2
[PATCH] avoid ifdefs in desc.h, getting rid of pack_ldt and pack_tss
...uct *gdt, int entry, memcpy(&gdt[entry], desc, size); } -static inline void set_tssldt_descriptor(struct ldttss_desc64 *d, - unsigned long tss, unsigned type, - unsigned size) -{ - memset(d, 0, sizeof(*d)); - d->limit0 = size & 0xFFFF; - d->base0 = PTR_LOW(tss); - d->base1 = PTR_MIDDLE(tss) & 0xFF; - d->type = type; - d->p = 1; - d->limit1 = (size >> 16) & 0xF; - d->base2 = (PTR_MIDDLE(tss) >> 8) & 0xFF; - d->base3 = PTR_HIGH(tss); -} - static inline void pack_descriptor(struct desc_struct *desc, unsigned long base, uns...
2011 Aug 10
2
Loops for repetitive task
...e there to be an 'i' so that the script can be applied in a general sense. ################################Code############################### chr2.data<-read.table(file="chr2.out.txt", header=F) colnames(chr2.data)<-c("chr","start","end","base1","base2","totalreads","methylation","strand") splc2<-split(chr2.data, paste(chr2.data$chr)) chr2.df<-as.data.frame(t(sapply(splc2, function(x) list(TR=NROW(x[['totalreads']]), RG1=sum(x[['totalreads']]>=1), percent=(NROW(x[[...
2018 Feb 15
3
help (Crear bucle para generar un dataframe a partir de datos .mdb)
...ary(RODBC) setwd("C:/Users/M/Documents/R data/") base<-odbcConnectAccess("2014") datos1<-sqlQuery(base ,"SELECT * FROM TABLA1_2014") datos2<-sqlQuery(base ,"SELECT * FROM TABLA2_2014") datos3<-sqlQuery(base , "SELECT * FROM TABLA3_2014") base1<-Reduce(function(...) merge (...,by="ID", all=T), list(datos1,datos2,datos3)) Sin embargo, no he podido realizar un bucle para hacer este mismo proceso para el conjunto de datos. quiero hacer una función for para automatizar el proceso. agradecería una ayuda al respecto. <http...
2005 Aug 26
0
[LLVMdev] Mapping of class derivated and interfaces
...f it's so the example you gave me worked becouse the first > element of "derived" is the "base" portion, thus having the same > pointer. But what if it was not the first? For example with multiple > derivation only one class can be in the first position: > > %base1 = type { int } > %base2 = type { sbyte } > %derived = type { %base1, %base2, long } This will not work with multiple inheritance but I assume we are talking about Java, right? > void myProc(base2 obj) > { > } > > Now if you use get elementptr to obtain "base2" memb...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 07/17] paravirt_ops - descriptor changes.
...essor */ -#define cpu_gdt(_cpu) ((struct desc_struct *)cpu_gdt_descr[_cpu].address) static inline void _set_gate(void *adr, unsigned type, unsigned long func, unsigned dpl, unsigned ist) { @@ -115,7 +112,35 @@ static inline void set_seg_base(unsigned d->base0 = addr & 0xffff; d->base1 = (addr >> 16) & 0xff; d->base2 = (addr >> 24) & 0xff; -} +} + +static inline void native_load_tr_desc(void) +{ + asm volatile("ltr %w0"::"r" (GDT_ENTRY_TSS*8)); +} + +static inline void native_load_gdt(const struct desc_ptr *dtr) +{ + asm volatile(&quo...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 07/17] paravirt_ops - descriptor changes.
...essor */ -#define cpu_gdt(_cpu) ((struct desc_struct *)cpu_gdt_descr[_cpu].address) static inline void _set_gate(void *adr, unsigned type, unsigned long func, unsigned dpl, unsigned ist) { @@ -115,7 +112,35 @@ static inline void set_seg_base(unsigned d->base0 = addr & 0xffff; d->base1 = (addr >> 16) & 0xff; d->base2 = (addr >> 24) & 0xff; -} +} + +static inline void native_load_tr_desc(void) +{ + asm volatile("ltr %w0"::"r" (GDT_ENTRY_TSS*8)); +} + +static inline void native_load_gdt(const struct desc_ptr *dtr) +{ + asm volatile(&quo...
2023 Nov 20
1
Calculating volume under polygons
...that polyon. I would be more than happy if anyone could help me. I provided codes at the end of this email. Sincerely ########################################################################################## library(raster); library(sf) # Load the DEM raster and shapefile r <- raster("E:/Base1.tif") p <- read_sf(dsn = "E:/Sites.shp", layer = " Sites") # Extract the values of the DEM raster for each polygon values <- extract(r, p) Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'add...
2005 Jul 29
2
segment fault with 2.6.6 or CVS
...a ssh or if the daemon is started via ssh. But it crashed in daemon mode (started standalone or by xinetd) Here is the gdb log gdb ... set follow-fork-mode child run --daemon --no-detach Program received signal SIGSEGV, Segmentation fault. [Switching to process 32521] 0x08056577 in glob_expand (base1=0x5 <Address 0x5 out of bounds>, argv_ptr=0xbfa4a20c, argc_ptr=0xbfa4a210, maxargs_ptr=0xbfa4a214) at util.c:548 548 if (!(argv[argc++] = strdup(globbuf.gl_pathv[i]))) (gdb) where #0 0x08056577 in glob_expand (base1=0x5 <Address 0x5 out of bounds>,...
2011 Jan 09
1
how to recreate eth0 - Realtek 8169sc
...bus 0x0001 cardnum 0x01 function 0x00: vendor 0x1186 device 0x4300 D-Link System Inc DGE-528T Gigabit Ethernet Adapter STATUS 0x02b0 COMMAND 0x0017 CLASS 0x02 0x00 0x00 REVISION 0x10 BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x08 BASE0 0x0000a001 addr 0x0000a000 I/O BASE1 0xe1000000 addr 0xe1000000 MEM MAX_LAT 0x40 MIN_GNT 0x20 INT_PIN 0x01 INT_LINE 0x0b pci bus 0x0001 cardnum 0x05 function 0x00: vendor 0x10ec device 0x8167 Realtek Semiconductor Co., Ltd. Device unknown CardVendor 0x1458 card 0xe000 (Card unknown) STATUS 0x02b0 COMMAND 0x0017...
2010 Dec 17
1
Help for loop
Hello all, Is there any way to get each file from a website list and aggregate in a data frame? Otherwise I have to type 23 thousand web address into a long script like it: base1 <- read.table("site 1", sep=";", header=T, fileEncoding="windows-1252") base2 <- read.table("site 2", sep=";", header=T, fileEncoding="windows-1252") I need to download each .CSV file from each address in the list vector and row bi...
2010 Feb 22
2
Siegel-Tukey test for equal variability (code)
Hi, I recently ran into the problem that I needed a Siegel-Tukey test for equal variability based on ranks. Maybe there is a package that has it implemented, but I could not find it. So I programmed an R function to do it. The Siegel-Tukey test requires to recode the ranks so that they express variability rather than ascending order. This is essentially what the code further below does. After the