search for: type_a

Displaying 8 results from an estimated 8 matches for "type_a".

Did you mean: type_
2006 Apr 28
2
entries that match a regexp
Hi all, I am trying to filter the element of a df that start with "TF", like this: alfa = c(123221,"TF13124",41243,"TF1234",32414,"TF13124","TF14333",2134123,"TF1234") beta = c("type_a","type_b","type_a","type_g","type_d","type_a","type_g","type_a","type_g") mydf = data.frame(alfa,beta) mydf tf = mydf[mydf$alfa %in% "TF",] Shouldn't the %in% operator to the trick here? Thanks in a...
2006 Nov 04
0
accessing constants in model from controller.
Hello, In my model Example, I''ve defined three types as such: class Example < ActiveRecord::Base TYPE_A = ''A'' TYPE_B = ''B'' TYPE_C = ''C'' def select.... end end How can I access these types in my controller. I''m trying the following with my controller named Read: def init a = Example.TYPE_A end It won''t allow me to d...
2015 Sep 10
3
[PATCH 0/1] efi: DNS resolver
From: Sylvain Gault <sylvain.gault at gmail.com> Despite having native network capabilities, UEFI 2.4 (the most widely deployed at the moment) has no native DNS resolver. I propose here an implementation more or less inspired by the one found in core/legacynet/dnsresolv.c. Since it's non-trivial, I'd like to ask for a deep review of this code. I tried to make it as strong as
2016 Feb 15
2
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...2_0_COMPONENTS_SIZES__SHIFT; > + tic[0] |= fmt->tic.type_r << GM107_TIC2_0_R_DATA_TYPE__SHIFT; > + tic[0] |= fmt->tic.type_g << GM107_TIC2_0_G_DATA_TYPE__SHIFT; > + tic[0] |= fmt->tic.type_b << GM107_TIC2_0_B_DATA_TYPE__SHIFT; > + tic[0] |= fmt->tic.type_a << GM107_TIC2_0_A_DATA_TYPE__SHIFT; > + tic[0] |= swz[0] << GM107_TIC2_0_X_SOURCE__SHIFT; > + tic[0] |= swz[1] << GM107_TIC2_0_Y_SOURCE__SHIFT; > + tic[0] |= swz[2] << GM107_TIC2_0_Z_SOURCE__SHIFT; > + tic[0] |= swz[3] << GM107_TIC2_0_W_SOURCE__SHIF...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...t << GM107_TIC2_0_COMPONENTS_SIZES__SHIFT; + tic[0] |= fmt->tic.type_r << GM107_TIC2_0_R_DATA_TYPE__SHIFT; + tic[0] |= fmt->tic.type_g << GM107_TIC2_0_G_DATA_TYPE__SHIFT; + tic[0] |= fmt->tic.type_b << GM107_TIC2_0_B_DATA_TYPE__SHIFT; + tic[0] |= fmt->tic.type_a << GM107_TIC2_0_A_DATA_TYPE__SHIFT; + tic[0] |= swz[0] << GM107_TIC2_0_X_SOURCE__SHIFT; + tic[0] |= swz[1] << GM107_TIC2_0_Y_SOURCE__SHIFT; + tic[0] |= swz[2] << GM107_TIC2_0_Z_SOURCE__SHIFT; + tic[0] |= swz[3] << GM107_TIC2_0_W_SOURCE__SHIFT; + // PACK_COMPO...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...IZES__SHIFT; >> + tic[0] |= fmt->tic.type_r << GM107_TIC2_0_R_DATA_TYPE__SHIFT; >> + tic[0] |= fmt->tic.type_g << GM107_TIC2_0_G_DATA_TYPE__SHIFT; >> + tic[0] |= fmt->tic.type_b << GM107_TIC2_0_B_DATA_TYPE__SHIFT; >> + tic[0] |= fmt->tic.type_a << GM107_TIC2_0_A_DATA_TYPE__SHIFT; >> + tic[0] |= swz[0] << GM107_TIC2_0_X_SOURCE__SHIFT; >> + tic[0] |= swz[1] << GM107_TIC2_0_Y_SOURCE__SHIFT; >> + tic[0] |= swz[2] << GM107_TIC2_0_Z_SOURCE__SHIFT; >> + tic[0] |= swz[3] << GM107_TIC2_...
2016 Feb 15
24
[PATCH 01/23] nv50: import updated g80_defs.xml.h from rnndb
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- src/gallium/drivers/nouveau/nv50/g80_defs.xml.h | 279 ++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 src/gallium/drivers/nouveau/nv50/g80_defs.xml.h diff --git a/src/gallium/drivers/nouveau/nv50/g80_defs.xml.h
2011 May 13
18
Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Hi, I have been trying to improve the coding of some of my puppet recipes and had some trouble so wrote this: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/ Comments on the web seem to indicate that extlookup() solves "all problems" but I don''t really see that and hence have proposed a possible way to keep the data closer together and make the extlookup()