search for: slot1

Displaying 20 results from an estimated 40 matches for "slot1".

Did you mean: slot
2015 May 12
2
Unexpected failure when calling new() with unnamed arg and
Hi, The man page for new() suggests that if 'a' is an object with slots "slot1" and "slot2" and C is a class that extends the class of 'a', then the 2 following calls should be equivalent: new("C", a, ...) new("C", slot1=a at slot1, slot2=a at slot2, ...) This is generally the case but I just ran into a situation where it'...
2009 Jan 02
1
"registering" a generic method for a class
...at trivial) problem. Note that I've done generic programming with S3 "objects" in the past, but I've never really dabbled in creating S4 objects until now. So, I've created a new S4 class, call it "myclass", e.g. : > setClass("myclass", representation(slot1 = "list")); And I've also created an implementation of "print" for this class via: > setMethod("print", "myclass", function(x) { print(paste("a myclass instance with a list of length", length(x at slot1), "in slot1")); }); Now I...
2015 May 13
2
Unexpected failure when calling new() with unnamed arg and
...5 03:57 AM, Martin Maechler wrote: >>>>>> Herv? Pag?s <hpages at fredhutch.org> >>>>>> on Tue, 12 May 2015 15:18:42 -0700 writes: > >> Hi, > >> The man page for new() suggests that if 'a' is an object with slots >> "slot1" and "slot2" and C is a class that extends the class of 'a', >> then the 2 following calls should be equivalent: > >> new("C", a, ...) >> new("C", slot1=a at slot1, slot2=a at slot2, ...) > >> This is generally the cas...
2011 Jun 06
1
Seeking help to define method for show() for an S4 object
...r would like see an object of this class some values will be displayed. Then R will ask for **press Enter**. Once user presses enter then, remaining values will be displayed. In the following example, I try to explain this concept. > setClass("MyClass", sealed = FALSE, representation(Slot1 = "vector", Slot2 = "vector")) [1] "MyClass" > > setMethod("show", "MyClass", definition = function(x) { + cat("These are the values. Please press enter to see the values.\n") + ####### User will presss the Ente...
2015 Oct 08
1
Unexpected failure when calling new() with unnamed arg and
...y 2015 15:18:42 -0700 writes: >>>>>>>> >>>>>>> >>> Hi, >>>> >>> >>> The man page for new() suggests that if 'a' is an object >>> with slots >>>> "slot1" and "slot2" and C is a class that extends the >>>> class of 'a', then the 2 following calls should be >>>> equivalent: >>>> >>> >>> new("C", a, ...) >>>> new("C",...
2015 May 13
0
Unexpected failure when calling new() with unnamed arg and
>>>>> Herv? Pag?s <hpages at fredhutch.org> >>>>> on Tue, 12 May 2015 15:18:42 -0700 writes: > Hi, > The man page for new() suggests that if 'a' is an object with slots > "slot1" and "slot2" and C is a class that extends the class of 'a', > then the 2 following calls should be equivalent: > new("C", a, ...) > new("C", slot1=a at slot1, slot2=a at slot2, ...) > This is generally the case but I just ran into a si...
2015 Oct 08
0
Unexpected failure when calling new() with unnamed arg and
...t;hpages at fredhutch.org> >>>>>>> on Tue, 12 May 2015 15:18:42 -0700 writes: >>>>>>> >>>>>> >> Hi, >>> >> >> The man page for new() suggests that if 'a' is an object with slots >>> "slot1" and "slot2" and C is a class that extends the class of 'a', >>> then the 2 following calls should be equivalent: >>> >> >> new("C", a, ...) >>> new("C", slot1=a at slot1, slot2=a at slot2, ...) >>> &...
2015 Nov 16
3
DFAPacketizer, Scheduling and LoadLatency
I'm unclear how does DFAPacketizer and the scheduler know a given instruction is a load. Here is what I'm talking about Let's assume my VLIW target is described as follows: def MyTargetItineraries : ProcessorItineraries<[Slot0, Slot1], [], [ .............................. InstrItinData<RI, [InstrStage<1, [Slot0, Slot1]>]>, InstrItinData<LD, [InstrStage<1, [Slot0, Slot1]>]>, // <-- This itinerary class describes load instructions InstrItinData<BR, [InstrStage<1, [S...
2015 Nov 23
3
Hexagon and choosing of slots
I'm curious how does hexagon hardware decide which slot to use for a given instruction? Is there special hardware to make that decision? I'm asking because I didn't see any information about which slot to use for a given packet. Is it even possible to pass this kind of information through assembly? Say hardware sees a packet and the packet tells it which slot to use. I would greatly
2011 Feb 01
1
Help need to define method of an s4 class
I need some help in defining a "print" method for my new S4 class definition. So fer I have worked like this: setClass("MyClass", sealed=F, representation(slot1 = "list", #create a new class slot2 = "vector", slot3 = "vector", slot4 = "vector")) setMethod("print", "MyClass", function(x) { #set up print method for that cat("My Met...
2011 Mar 06
1
Seeking guidance in package creation when it contains s4 class
Dear all, I am having problem to create a package when this package is supposed to have some newly created s4 class. Here is my workout: > #rm(list = ls()) > setClass("aClass", sealed=T, representation(slot1 = "vector", slot2 = "character")) [1] "aClass" > fn1 <- function(x, y, z) { + x <- x[1] + y <- y[1] + z <- as.character(z[1]) + new("aClass", slot1 = x+y, slot2 = z) + } > #fn1(1,2,3) > package.skeleton("trial11") Creating direc...
2005 Nov 09
1
smarter sparse files?
...ntly requires me to handle the fragmentation explicitly. For example: ...==|== slot 1 ==|=== slot 2 ===|==... Now assume that contents of slot 1 is replaced with a larger chunk of data. I must either append additional data e.g. at the end of the file ...==|== slot 1a =|=== slot2 ===|==...==|=== slot1b ==| (and add my own data structures and code infrastructure to read fragmented slots) or leave the old (defunct) slot 1 data in place and garbage collect it later: ...==|= deadbeef =|=== slot2 ===|==...==|====== slot1' =====| It's my impression that mechanisms for handling similar typ...
2015 Oct 15
3
what can cause a "CPU table is not sorted" assertion
...= 16; // This flag is set to allow the scheduler to assign a default model to // unrecognized opcodes. let CompleteModel = 0; } def WriteALU : SchedWrite; def WriteBranch : SchedWrite; let SchedModel = MyTargetModel in { // SLOT0 can handles everything def Slot0 : ProcResource<1>; // SLOT1 can't handles branches def Slot1 : ProcResource<1>; // Many micro-ops are capable of issuing on multiple ports. def SlotAny : ProcResGroup<[Slot0, Slot1]>; def : WriteRes<WriteALU, [SlotAny]> { let Latency = 1; let ResourceCycles =[1]; } def : WriteRes<WriteBranch,...
2004 Sep 28
1
ZT_CHANCONFIG failed on channel 1
I get this error no matter what I do. I've tried switching to different locations on the TDM400p to no avail. I've got the card setup with the green module in slot1 and red in slot2. My config files are exactly like the "Configure Dev-Kit PCI (TDM11B)" example. http://www.digium.com/index.php?menu=configuration#TDM11B When I run ztcfg -v, I get: 2 channels configured. ZT_CHANCONFIG failed on channel 1: No such device or address (6) Please ad...
2003 May 12
2
Proliant on a 6500
Sorry to reply to myself, but I wanted to expand this to -stable and add some more info... See the original post at the bottom of this msg. I just took the Smart 2/P and put it in slot1 (one of the shared Eisa/PCI slots.) Now the Dmesg output shows the "SMP: AP CPU" lines in a different order... They were: SMP: AP CPU# 3 Launched! SMP: AP CPU# 1 Launched! SMP: AP CPU# 2 Launched! now they are: SMP: AP CPU# 1 Launched! SMP: AP CPU# 2 Launched! SMP: AP CPU# 3 Launched!...
2002 Sep 10
1
adding a method to a class
Hello, I don't see how to add a method to a class. I can add "slots" (and retreive them by : myObject at slot1) but not methods, for example accessor for these slots and others functions. I've read the "methods" library documentation but I can't figure out how to do this. Thanks for any help/tips Vincent -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-h...
2015 Nov 24
2
Hexagon and choosing of slots
...oded "in reverse", > i.e. the instruction that will go to the highest slot will be encoded > first, then the instruction that will go to the second highest slot, etc. > In case of a packet with 4 instructions, it will be > addr: slot3 > addr+4: slot2 > addr+8: slot1 > addr+12: slot0 > Not all slots have to be occupied. If they are not, the hardware will > assign the slots based on the instruction, but within a packet the slots > must be in a decreasing order. For example: > addr: slot2 > addr+4: slot0 > is ok, but > addr:...
2016 Jan 06
2
DFAPacketizer, Scheduling and LoadLatency
...string, PatFrag opNode> : LOAD<subop, asmstring, [(set (i32 GPR:$rD), (opNode ADDRri:$src))]>; let Itinerary = l_lwz in def LWZ : LOADi32<0x1, "l.lwz", load>; My instruction itinerary data looks like the following InstrItinData<l_lwz , [InstrStage<1, [Slot0, Slot1]>]>, and my LoadLatency is set to 2. As you can see mayLoad is never really set to 1 anywhere however it still seems to be using a LoadLatency of 2. What am I missing? Any help is appreciated. -- Rail Shafigulin Software Engineer Esencia Technologies -------------- next part ------------...
2005 Jan 15
0
ADSI unlock codes
...ecurity code -bcPT-d ;FDN 0x01000006 ; Descriptor number -bcPT-SL (slot2) ;SECURITY 0x01070006 ; Security code -bcPT-SL (slot2) ; Aastra 390/480 rev C I think - say ch33s3 ;FDN 0x000000FF ;SECURITY 0X9BDBF7AC ; Security code -slot1 ;FDN 0x85EFD9DA ; Descriptor number -slot2 ;SECURITY 0X78921D49 ; Security code -slot2 ;FDN 0x7BC6450C ; Descriptor number -slot3 ;SECURITY 0X9B609430 ; Security code -slot3 ;FDN 0xFE2EA5D1...
2003 May 13
2
SMP Proliants and Smart2 Array controllers. (Was: Proliant on a 6500)
...: Re: Proliant on a 6500 > > > > > > > Sorry to reply to myself, but I wanted to expand this to -stable and add > > > some more info... > > > See the original post at the bottom of this msg. > > > > > > I just took the Smart 2/P and put it in slot1 (one of the shared > Eisa/PCI > > > slots.) > > > > > > Now the Dmesg output shows the "SMP: AP CPU" lines in a different > order... > > > > > > They were: > > > SMP: AP CPU# 3 Launched! > > > SMP: AP CPU# 1 Launched! &g...