search for: grandparent

Displaying 20 results from an estimated 79 matches for "grandparent".

2006 Dec 11
6
easy question, how would i search a grandparent???!
hi, i have this in my code Article.find_by_contents("#{searchstring} +city:#{passedincity}") well that returns to me only articles that belong to whatever the user selected in city. now is it possible to search the grandparent? for example class country has_many states class states has_many cities belongs_to country class city belongs_to states ...... i would like to search articles that only belong to a country. something like... Article.find_by_contents("#{searchstring} +states.country:#{passedincountry}&quo...
2015 Nov 26
1
Let lmtp create target directories
...e user directories with the appropriate owners, and to do so, it requires root rights. I am trying to investigate getting rid of this need?. Since Dovecot quite happily creates ~/Maildir when necessary, couldn't it also create parents? The home directory should be trivial (same EUID/EGID), but grandparents etc. might need a different policy (e.g. 0/EGID for the grandparent, 0/0 for great-grandparents, etc.). Is this something that could fall within the realm of Dovecot's lmtp? Or is the lmtp invoked as the user and doesn't actually drop root? If so, might there be another way? ?) http://vm...
2018 Apr 20
2
virtio remoteproc device
Hello! I note the following in the serial console: if (is_rproc_serial(vdev)) { /* * Allocate DMA memory from ancestor. When a virtio * device is created by remoteproc, the DMA memory is * associated with the grandparent device: * vdev => rproc => platform-dev. */ if (!vdev->dev.parent || !vdev->dev.parent->parent) goto free_buf; buf->dev = vdev->dev.parent->parent; /* Increase device r...
2018 Apr 20
2
virtio remoteproc device
Hello! I note the following in the serial console: if (is_rproc_serial(vdev)) { /* * Allocate DMA memory from ancestor. When a virtio * device is created by remoteproc, the DMA memory is * associated with the grandparent device: * vdev => rproc => platform-dev. */ if (!vdev->dev.parent || !vdev->dev.parent->parent) goto free_buf; buf->dev = vdev->dev.parent->parent; /* Increase device r...
2012 Jul 17
2
[LLVMdev] Switching between sibling/cousin registers via API calls
...instruction that can access the 1st and/or 3rd scalar. What I need to do is that given the first scalar, I need to be able to select the 2nd scalar, or/and given the 3rd, select the 4th. I define a sibling register as a register that has the same parent and a cousin as a register that has the same grandparent. So 'x' is a cousin of 'w' because of the grandparent class and 'x' is a sibling of 'y' because of the parent class. I know I can move to parent/children registers via super/sub classes, but is there any way in LLVM currently to easily select a cousin/sibling regist...
2013 Feb 17
1
detecting entry into a recursive function
Given a function that calls itself, what's the best way to detect the entry point? The best I came up with is: IsEntryPoint <- function(){ par <- sys.call(-1L)[[1]] grandpar <- sys.call(-2L)[[1]] !identical(par, grandpar) } but this won't work for functions that don't directly call themselves; for example, in this one the paste gets inserted in the
2018 Apr 23
3
virtio remoteproc device
...console: > > > > if (is_rproc_serial(vdev)) { > > /* > > * Allocate DMA memory from ancestor. When a virtio > > * device is created by remoteproc, the DMA memory is > > * associated with the grandparent device: > > * vdev => rproc => platform-dev. > > */ > > if (!vdev->dev.parent || !vdev->dev.parent->parent) > > goto free_buf; > > buf->dev = vdev->dev.parent...
2018 Apr 23
3
virtio remoteproc device
...console: > > > > if (is_rproc_serial(vdev)) { > > /* > > * Allocate DMA memory from ancestor. When a virtio > > * device is created by remoteproc, the DMA memory is > > * associated with the grandparent device: > > * vdev => rproc => platform-dev. > > */ > > if (!vdev->dev.parent || !vdev->dev.parent->parent) > > goto free_buf; > > buf->dev = vdev->dev.parent...
2012 Jul 17
0
[LLVMdev] Switching between sibling/cousin registers via API calls
...at can access the 1st and/or 3rd scalar. What I need to do > is that given the first scalar, I need to be able to select the 2nd scalar, > or/and given the 3rd, select the 4th. I define a sibling register as a register > that has the same parent and a cousin as a register that has the same grandparent. > So 'x' is a cousin of 'w' because of the grandparent class and 'x' is a sibling > of 'y' because of the parent class. > > I know I can move to parent/children registers via super/sub classes, > but is there any way in LLVM currently to easily sele...
2006 Feb 22
2
Newbie seeks helps ordering ancestors from acts_as_tree
...g with the root. When I then loop through the array to create a breadcrumb list: <% @ancestors.each do |ancestor| %> <%= link_to h(ancestor.name), :action =>"show", :id => ancestor.id %> > <% end %> I get the breadcrumb list but in the wrong order: parent > grandparent > root Should I be changing the order in the controller or the loop. If so, how (zero Ruby skills, as you can prob tell -- pickaxe book on order!) Thanks Chris T -- Posted via http://www.ruby-forum.com/.
2006 May 29
2
Subfolder in Maildir
Hello, We have installed a brand new Dovecot because it seems very interesting as an IMAP server. We created a mailbox for a test user and we succeeded in copying some mails into it. However making subfolders does not work. The only folders we can create are in the root, next to the INBOX that is. We thought Maildir does support subfolders (as opposed to mbox), are we wrong here? Our Dovecot
1998 Aug 25
0
Variations on the t test
...vir=.GlobalEnv))rm(t.test.default) ### Utility function to extract the environment the call is evaluated ### in. If you do eval(x,list), list is found as the variable "envir" ### in the stack frame immediately below the local frame .ParentEnv<-function() { parent<-sys.parent() grandparent <- sys.parent(2) if ( parent - grandparent == 1 ) sys.frame(grandparent) else get("envir",envir=sys.frame(parent-1)) } .t.test<-t.test t.test.default<-function(x,...,group) { e<-.ParentEnv() call <- if ( is.list(x) ) substitute(t.test.list(x,...)) el...
2018 Apr 23
1
virtio remoteproc device
...s_rproc_serial(vdev)) { > > > > /* > > > > * Allocate DMA memory from ancestor. When a virtio > > > > * device is created by remoteproc, the DMA memory is > > > > * associated with the grandparent device: > > > > * vdev => rproc => platform-dev. > > > > */ > > > > if (!vdev->dev.parent || !vdev->dev.parent->parent) > > > > goto free_buf; > > > >...
2009 Feb 11
0
[LLVMdev] Operand, instruction
...documentation (http://llvm.org/doxygen/hierarchy.html). I've found it to be an invaluable resource for answering these sorts of questions. In this case, just look up the llvm::Instruction class and see if it has a method that does what you want. If it doesn't, check its parent class, the grandparent class, etc. until you find the method you want. -- John T. > Thanks > Nipun > >
2018 Apr 22
0
virtio remoteproc device
...e the following in the serial console: > > if (is_rproc_serial(vdev)) { > /* > * Allocate DMA memory from ancestor. When a virtio > * device is created by remoteproc, the DMA memory is > * associated with the grandparent device: > * vdev => rproc => platform-dev. > */ > if (!vdev->dev.parent || !vdev->dev.parent->parent) > goto free_buf; > buf->dev = vdev->dev.parent->parent; > >...
2009 Apr 05
2
Requesting Maintainer for Legacy Family Tree 7
Hello Not sure how I'm meant to go about requesting a Maintainer, but I'll try this method. I am trying to get my grandparents to switch from Windows XP to Linux (Ubuntu). First step, would of course be including all programs they currently have on there computer. So I need Legacy Family Tree 7. Any chance of a maintainer? Thanks in advance, Panarchy
2009 Feb 11
3
[LLVMdev] Operand, instruction
Hi, How can one extract the operand of an instruction in an LLVM pass? Like I can get the opcode bt I'd like to get the operands as well Thanks Nipun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090211/3a073512/attachment.html>
2018 Apr 23
0
virtio remoteproc device
...gt; > if (is_rproc_serial(vdev)) { > > > /* > > > * Allocate DMA memory from ancestor. When a virtio > > > * device is created by remoteproc, the DMA memory is > > > * associated with the grandparent device: > > > * vdev => rproc => platform-dev. > > > */ > > > if (!vdev->dev.parent || !vdev->dev.parent->parent) > > > goto free_buf; > > > buf->...
2001 Nov 01
1
Lossy Audio Compression Research
Hello everyone, I'm a student at the Universtiy of Delaware, and will be soon starting some research on the effects of lossy audio compression on speech sounds. I will be preforming test with both mp3 and vorbis. First of all, if I use the '--ogg' switch to lame, does lame use GPSYCHO to encode the wave, or some other psychoacoustic model (perhaps one designed for
2012 Sep 13
0
[LLVMdev] [RFC] Progress towards OpenMP support
...opping metadata is unreasonable; but am trying to figure out what the core issues are. :) > I'm not sure. We do need to make sure, for example, that an 'ordered' > region stays properly nested within its parent loop. The ordered region mentions the parent loop anyway. Since the grandparent region refs the ordered region, we can ensure that the ordered region isn't dropped (leading to races). > We should assert when an individual metadata entry is malformed; we > should drop non-self-consistent sets of metadata entries (as these > might have resulted from the actions of...