Displaying 20 results from an estimated 20 matches for "classs".
Did you mean:
class
2007 Jan 26
7
How to protect attributes from being updated?
Hi!
I''m new to Rails!
Rails rox!
1 quesion so far:
I have :email attribute in User model.
I dont'' want :email to allow to be updated.
How do i do this with Rails?
Do I have to implement required validation manually?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 May 09
2
[LLVMdev] instructions requiring specific physical registers for operands
...O", [i32], 32, (add R0)>;
def GPRr1 : RegisterClass<"FOO", [i32], 32, (add R1)>;
def GPRr2 : RegisterClass<"FOO", [i32], 32, (add R2)>;
The an instruction that uses R0 and R1 as fixed input registers and R2 for output could define itself using those register classs:
def myInst : baseclass<…, (outs GPRr2:$dst), (ins GPRr0:$src1, GPRr1:$src2), …>
Use those reg classes in pattern to match also, and things should just work. The register allocator can take care of any reg-to-reg copies that are required.
-Jim
2008 Jul 23
5
Histogram
Hi,
how can I treat data organised in classes and frequencies?
Ex.
class frequency
20-23 9
23-25 7
26-28 5
29-31 5
32-34 3
Thanks
Angelo Scozzarella
2009 Apr 02
2
[LLVMdev] JIT compilation and debuggen
...ing call stack and data, and setting
breakpoints. It is unclear to me whether or not LLVM supports this
currently.
(1) I have been unable to add stop points to the generated code. I would
have expected to use
DbgStopPoint::Create(BasicBlock *)
but there is no such function.
(2) I see a Debugger classs with stepping functions, and an InferiorProcess
class with stepping functions and the ability to add breakpoints, but I see
no way to connect these classes to the ExecutionEngine that is used to run
the generated function through "runFunction".
(3) Although I see stepping and breakpoint...
2007 Jun 06
4
how hierarchical is HTB?
...(10,100) and 1:101 (20,100)
1:20 children classes 1:200 (30,100) and 1:201 (70,100)
I managed to have the root rate equals to the sum of its children.
But how must the rates of the leaves be signed?
And how the bandwidth of these leaves will be distributed when
borrowing/lending is necessary?
classs 1:10 will/may lend/borrow from class 1:20. I know that.
But how about 1:1XX and classes 1:2XX? will the borrow/lend from each
others?
Any docs about this?
Thanx
Ethy
2007 Apr 18
0
[Bridge] QoS in bridging
Hi all,
I have got one query on QoS in bridging in Linux
My question is, when we define IP QoS ( using a tc command ) queuing discplines and classses, will these be applicable to bridged frames also ? I mean the packets that take IP path will be sent out according to QoS we defined, but the bridged/ swithced packets will also be sent according to this defined IP QoS classses ?
My doubt is that since bridging happens at layer 2, how will it g...
2012 May 09
0
[LLVMdev] instructions requiring specific physical registers for operands
Jim,
> The an instruction that uses R0 and R1 as fixed input registers and R2 for output could define itself using those register classs:
> def myInst : baseclass<…, (outs GPRr2:$dst), (ins GPRr0:$src1, GPRr1:$src2), …>
> Use those reg classes in pattern to match also, and things should just work. The register allocator can take care of any reg-to-reg copies that are required.
As far as I understand Jonas, this does not...
2002 Apr 03
1
Fwd: Re: "weight" parameter in htb?
...about :), but can we have some sort of a
keyword where by we might be able to use excess bandwdith (basically pump
excess bw from a class specifically created for addressing excess bandwidth
to its cousin class)
say in the same example as above,
root class 512
| create a new classs to
child class A 320 | address excess bandwidth
ceil 320 | child class B 192 ceil 192
---------------------------------------------
--------------------- ---------------------
256 64...
2005 Jan 20
5
glm and percentage data with many zero values
Dear all,
I am interested in correctly testing effects of continuous environmental
variables and ordered factors on bacterial abundance. Bacterial
abundance is derived from counts and expressed as percentage. My problem
is that the abundance data contain many zero values:
Bacteria <-
2012 May 09
2
[LLVMdev] instructions requiring specific physical registers for operands
Hi,
I have som instructions that require the operand to be placed in exactly one physical register, and thus I have introduced a Just_a0 register class.
I have found that the register allocators / coalescer do not seem to care about this. In many cases they "run out of registers during register allocation". I have managed to avoid some problems, by inserting target move instructions in
2012 May 09
0
[LLVMdev] instructions requiring specific physical registers for operands
Hello Jonas,
> I wonder, what would be the best solution for instructions that require
> operands in a particular register, and even gives the result in a particular
> register?
You need to custom select such instruction. See e.g. div / idiv on x86
as an example.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2006 Nov 13
0
i have a question with queuing discipline.
i have a question with queuing discipline " if i create many classs with sfq
and cbq and ... i would like to know about qos . which queuing discipline
will be chosen first. ( not use priority )
(queuing discipline)
sfq--------->
packet incoming packet outgoing
cbq---...
2010 Nov 02
0
tagged not working ?
...group => "root"
}
}
}
node basenode {
tag ("fly-puppet")
include puppet_tagged
include fly-base
include fly-nrpe::base
include fly-munin::client
}
# Default, undefined nodes always gets this
# No classs installed, just a ''tagged puppet default'' file.
node default {
tag ("fly-default")
include puppet_tagged
}
node "coco" inherits basenode {
include puppet_tagged
include fly-memcached
}
and the file under /tmp/ never gets crea...
2006 Sep 26
0
newbie: Example of using prototype window class
HI guys,
I really want to use some of the cool protoype window libs I have seen,
im a real dope when it comes to javascript and the such, can someone
give me some code hints on how to use a prototype skin classs as my
default browser skin for the app I am working on?
Also how to open a prototype window from within a ruby app?
Is the prototype window lib included with RoR out of the box?
thx in advance
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You re...
2008 Oct 15
3
[LLVMdev] INSERT_SUBREG node.
..., FSR1]> {
let SubRegClassList = [FSR8, FSR8]; // HERE.
}
SubRegSet : <1, [FSR0, FSR1], [FSR0L, FSR0H]>;
SubRegSet : <2, [FSR0, FSR1], [FSR0H, FSR0L]>;
I think the fundamental problem we have there is that we are using
SubIdx for both purposes: 1. to enumerate over subregister classses, 2.
To enumerate subregs of the same type of a super reg.
- Sanjiv.
> >
> >
> >
> > Hope I made it clear. Please write back if they aren't.
> >
> >
> > - Sanjiv
> >
> >
> >
> >
> >
> >
> >
> >> On...
2012 Sep 27
2
Puppetdashboard :: cannot add class
I have puppet running on WEBrick.
Dashboard works. I can see the hosts currently in puppet.
In Dashboard I can add hosts and create groups, but cannot add classes. The
auto-search returns nothing when I click on a group or server and start
typing in the Classes textbox.
Is this a common occurrence with Dashboard?
I have looked on the web and found no answer.
Appreciate any pointers.
Thanks.
2004 Aug 25
0
S3 classes in S4 class definitions
...ges are noticing from the recent
modifications to methods is warnings of "undefined classes" during
installation when the package extends S3 classes or uses them as slots
UNLESSS they have been declared in a setOldClass() call. The green book
"strongly recommends" declaring S3 classs this way (pp 449-451).
The warnings on undeclared classes threatened in the book have now been
implemented ;-) (However the statement in the book that S3 inheritance
is not used in dispatching S4 methods is not true. Once the relevant
setOldClass call has been done, the inheritance should work.)...
2008 Oct 16
0
[LLVMdev] INSERT_SUBREG node.
...oon.
Thanks,
Evan
>
>
> SubRegSet : <1, [FSR0, FSR1], [FSR0L, FSR0H]>;
> SubRegSet : <2, [FSR0, FSR1], [FSR0H, FSR0L]>;
>
>
> I think the fundamental problem we have there is that we are using
> SubIdx for both purposes: 1. to enumerate over subregister
> classses, 2.
> To enumerate subregs of the same type of a super reg.
>
>
> - Sanjiv.
>
>>>
>>>
>>>
>>> Hope I made it clear. Please write back if they aren't.
>>>
>>>
>>> - Sanjiv
>>>
>>>
>>>
>...
2008 Oct 15
0
[LLVMdev] INSERT_SUBREG node.
On Oct 15, 2008, at 5:29 AM, sanjiv gupta wrote:
> On Tue, 2008-10-14 at 10:19 -0700, Evan Cheng wrote:
>> You need to specify sub-register == super-register, idx relationship.
>> See X86RegisterInfo.td:
>>
>> def x86_subreg_8bit : PatLeaf<(i32 1)>;
>> def x86_subreg_16bit : PatLeaf<(i32 2)>;
>> def x86_subreg_32bit : PatLeaf<(i32
2008 Oct 15
2
[LLVMdev] INSERT_SUBREG node.
On Tue, 2008-10-14 at 10:19 -0700, Evan Cheng wrote:
> You need to specify sub-register == super-register, idx relationship.
> See X86RegisterInfo.td:
>
> def x86_subreg_8bit : PatLeaf<(i32 1)>;
> def x86_subreg_16bit : PatLeaf<(i32 2)>;
> def x86_subreg_32bit : PatLeaf<(i32 3)>;
>
> def : SubRegSet<1, [AX, CX, DX, BX, SP, BP, SI, DI,
>