search for: attr

Displaying 20 results from an estimated 6210 matches for "attr".

2012 Oct 02
1
ffsave problems
...LSE FALSE FALSE FALSE FALSE FALSE .. $ VirtualIsMatrix : logi FALSE FALSE FALSE FALSE FALSE FALSE .. $ PhysicalIsMatrix : logi FALSE FALSE FALSE FALSE FALSE FALSE .. $ PhysicalElementNo: int 1 2 3 4 5 6 .. $ PhysicalFirstCol : int 1 1 1 1 1 1 .. $ PhysicalLastCol : int 1 1 1 1 1 1 .. - attr(*, "Dim")= int 65640757 6 .. - attr(*, "Dimorder")= int 1 2 $ physical: List of 6 .. $ fecha : list() .. ..- attr(*, "physical")=Class 'ff_pointer' <externalptr> .. .. ..- attr(*, "vmode")= chr "double" .. .. ..- attr(*,...
2018 Jan 31
0
systemd-udevd not applying ATTR to block device at boot
Hi everyone, I have a udev rule file that contains a singular rule: SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_VENDOR}=="*Google*", ENV{DEVTYPE}=="disk", ATTR{queue/scheduler}:="noop" When I use a Google Cloud instance and boot it, things work as expected and /dev/sda (a persistent disk) uses the noop scheduler. If the instance also has a Local SSD type disk, however, the change in scheduler is not applied. This is a bit academic, because the...
2008 Feb 01
2
Four UPS's via usb.
> Hello everyone. I try to connect four PowerMust 2000 ups's via usb to one > computer using megatec_usb driver. But megatec_usb completly ignores port > directive in ups.conf, I even try port = /dev/null and megatec_usb founds > ups and it works. The 'port' is not used for USB connected devices, it's only needed for compatibility reasons. > Problem is that
2011 Apr 19
1
How to Extract Information from SIMEX Output
....684 1.144 0.85 0.624 0.519 ... Can someone suggest how to go about doing this? I can extract the upper level results like fit.simex$coefficients but I have had no success getting at the lower levels. Tom > str(fit.simex) List of 24 $ coefficients : Named num [1:2] -17.1 3 ..- attr(*, "names")= chr [1:2] "(Intercept)" "x" $ SIMEX.estimates : num [1:6, 1:3] -1 0 0.5 1 1.5 ... ..- attr(*, "dimnames")=List of 2 .. ..$ : NULL .. ..$ : chr [1:3] "lambda" "(Intercept)" "x" $ lambda...
2012 May 28
1
[LLVMdev] VMKIT: Error while producing LLVMruntime.inc (using llvm-as and llc)
vmkit fails to build because llvm-as with llc -march=cpp generate wrong code for AttrListPtr AttrListPtr::get(ArrayRef< AttributeWithIndex >Attrs) http://llvm.org/doxygen/classllvm_1_1AttrListPtr.html#a3a19622d131e9f0d981398f54cf6acfc bellow you can see the faulty generated code llvm-as ./vmkit/lib/vmkit/Compiler/LLVMRuntime.ll -o - | llc -march=cpp -cppgen=contents -o - |...
2015 May 29
4
UPower: 95-upower-hid.rules update
...wer-hid.rules -# only support USB, else ignore +# newer hiddev are part of the usbmisc class SUBSYSTEM=="usbmisc", GOTO="up_hid_chkdev" +# only support USB, else ignore SUBSYSTEM!="usb", GOTO="up_hid_end" # if usbraw device, ignore @@ -17,21 +20,31 @@ ATTRS{idVendor}=="03f0", ENV{UPOWER_VENDOR}="Hewlett Packard" ATTRS{idVendor}=="0463", ENV{UPOWER_VENDOR}="Eaton" ATTRS{idVendor}=="047c", ENV{UPOWER_VENDOR}="Dell" +ATTRS{idVendor}=="04d8", ENV{UPOWER_VENDOR}="Minibox" A...
2016 Jun 02
52
[RFC v3 00/45] dma-mapping: Use unsigned long for dma_attrs
Hi, This is third approach (complete this time) for replacing struct dma_attrs with unsigned long. The main patch (2/45) doing the change is split into many subpatches for easier review (3-43). They should be squashed together when applying. *Important:* Patchset is *only* build tested on allyesconfigs: ARM, ARM64, i386, x86_64 and powerpc. Please provide reviewes and te...
2016 Jun 02
0
[RFC v3 44/45] dma-mapping: Remove dma_get_attr
After switching DMA attributes to unsigned long it is easier to just compare the bits. Signed-off-by: Krzysztof Kozlowski <k.kozlowski at samsung.com> --- Documentation/DMA-API.txt | 4 +-- arch/arc/mm/dma.c | 4 +-- arch/arm/mm/dma-mapping.c...
2016 Jun 02
0
[RFC v3 02/45] dma-mapping: Use unsigned long for dma_attrs
The dma-mapping core and the implementations do not change the DMA attributes passed by pointer. Thus the pointer can point to const data. However the attributes do not have to be a bitfield. Instead unsigned long will do fine: 1. This is just simpler. Both in terms of reading the code and setting attributes. Instead of initializing local attributes on the stac...
2005 Aug 22
2
problem building dendrograms to use with heatmap()
...reproduces the problem and below that the output from a run of that code on my computer. Any help would be greatly appreciated. Thanks in advance. -Ben ########################### begin code ################################### version dendro.leaf <- function(label) { ans <- list() attr(ans, 'members') <- 1 attr(ans, 'height') <- 0 attr(ans, 'leaf') <- T attr(ans, 'midpoint') <- 0 attr(ans, 'label') <- label attr(ans, 'class') <- 'dendrogram' ans } dendro.merge <- function(d1, d2, height) {...
2016 Jun 02
0
[RFC v3 19/45] [media] dma-mapping: Use unsigned long for dma_attrs
...9a5 100644 --- a/drivers/media/platform/sti/bdisp/bdisp-hw.c +++ b/drivers/media/platform/sti/bdisp/bdisp-hw.c @@ -125,14 +125,11 @@ int bdisp_hw_get_and_clear_irq(struct bdisp_dev *bdisp) */ void bdisp_hw_free_nodes(struct bdisp_ctx *ctx) { - if (ctx && ctx->node[0]) { - DEFINE_DMA_ATTRS(attrs); - - dma_set_attr(DMA_ATTR_WRITE_COMBINE, &attrs); + if (ctx && ctx->node[0]) dma_free_attrs(ctx->bdisp_dev->dev, sizeof(struct bdisp_node) * MAX_NB_NODE, - ctx->node[0], ctx->node_paddr[0], &attrs); - } + ctx->node[0], ctx-...
2017 Apr 13
2
[PATCH 1/4] nouveau_hwmon: migrate to hwmon_device_register_with_info
...eau_hwmon.c.orig 2017-04-12 19:22:29.070573187 +0200 +++ linux/drivers/gpu/drm/nouveau/nouveau_hwmon.c 2017-04-12 19:21:32.391338011 +0200 @@ -764,6 +764,166 @@ static const struct hwmon_channel_info * &nouveau_power, NULL }; + +static umode_t +nouveau_chip_is_visible(const void *data, u32 attr, int channel) +{ + switch (attr) { + case hwmon_chip_update_interval: + return 0444; + default: + return 0; + } +} + +static umode_t +nouveau_power_is_visible(const void *data, u32 attr, int channel) +{ + struct nouveau_drm *drm = nouveau_drm((struct drm_device *)data); + struct nvkm_iccsense *ic...
2004 Aug 01
2
Strange Problem with "proj" and "aov" for split-plot analysis output
...11 66.04813 15 66.04813 9 66.04813 13 66.04813 17 66.04813 19 66.04813 21 66.04813 23 66.04813 2 66.04813 4 66.04813 6 66.04813 8 66.04813 12 66.04813 16 66.04813 10 66.04813 14 66.04813 18 66.04813 20 66.04813 22 66.04813 24 66.04813 attr(,"df") attr(,"df")$df (Intercept) 1 attr(,"onedf") attr(,"onedf")$onedf [1] FALSE attr(,"factors") attr(,"factors")$"(Intercept)" [1] "(Intercept)" subject : brand Residuals 1 -1.15279697 -5...
2006 Mar 31
10
ruby help / if (cond or cond)
Why this code doesn''t work as expected? It raises exceptions everytime. Tried with || operator, too. validates_each :x, :y do |record, attr| record.errors.add (attr, ''between 1 and 100'') if (attr.to_i>100 or attr.to_i<0) end -- They say money can''t buy happiness? Look at the smile on my face... ear to ear, baby!
2010 Aug 25
1
accessing the attr(*,label.table) after importing from spss
Dear all, I just received a file from a colleague in spss. The read.spss could not finish the file due to an error (Unrecognized record type 7, subtype 18 encountered in system file) so instead I converted the file using stat-transfer. Looking at my data I see that most labels are in the attributes and I?d love to access them and assign the pertinent variables to factors without doing the whole factor(levels,labels) thing manually. Is there any remedy to this ?? regards, M > str(dat) 'data.frame': 860 obs. of 19 variables: $ Ag : int 15 15 15 15 15 15 15 15...
2017 Apr 18
2
[PATCH v2 2/5] nouveau_hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string
...ouveau/nouveau_hwmon.c > +++ b/drivers/gpu/drm/nouveau/nouveau_hwmon.c > @@ -764,6 +764,172 @@ static const struct hwmon_channel_info *nouveau_info[] = { > &nouveau_power, > NULL > }; > + > +static umode_t > +nouveau_chip_is_visible(const void *data, u32 attr, int channel) > +{ > + switch (attr) { > + case hwmon_chip_update_interval: > + return 0444; > + default: > + return 0; > + } > +} > + > +static umode_t > +nouveau_power_is_visible(const void *data, u32 attr, int c...
2012 Jan 05
1
delete.response leaves response in attribute dataClasses
...g.cgi?id=14767), but Prof. Ripley says I'm premature, and I should raise the question here. Here's the behavior I assert is a bug: The output from delete.response on a terms object alters the formula by removing the dependent variable. It removes the response from the "variables" attribute and it changes the response attribute from 1 to 0. The response is removed from "predvars" But it leaves the name of the dependent variable first in the in "dataClasses". It caused an unexpected behavior in my code, so (as usual) the bug may be mine, but in my heart, I b...
2011 Apr 12
1
extract element from list by rownames
...ta) List of 1 $ :List of 4 ..$ :List of 4 .. ..$ : num [1, 1:3] 0.4 0.458 0.5 .. ..$ : num [1:41, 1] 0.4 0.403 0.405 0.407 0.41 ... .. ..$ : num [1:41, 1] 0.000128 0.000328 0.000528 0.000728 0.000992 ... .. ..$ :List of 1 .. .. ..$ : num [1:49, 1] 0 0 -0.00626 0.99832 0 ... .. .. ..- attr(*, "dim")= int [1:3] 1 1 1 .. .. ..- attr(*, "dimnames")=List of 3 .. .. .. ..$ : chr "cont" .. .. .. ..$ : NULL .. .. .. ..$ : NULL .. ..- attr(*, "dim")= int [1:3] 4 1 1 .. ..- attr(*, "dimnames")=List of 3 .. .. ..$ : chr [1:4] &quo...
2017 Mar 01
3
[systemd-devel] udev virtio by-path naming
...39; ? That reports the following, given a basic Fedora 25 guest, with a virtio-mmio disk added as per the guide above... looking at device '/devices/platform/a003e00.virtio_mmio/virtio3/block/vda': KERNEL=="vda" SUBSYSTEM=="block" DRIVER=="" ATTR{alignment_offset}=="0" ATTR{badblocks}=="" ATTR{cache_type}=="write back" ATTR{capability}=="50" ATTR{discard_alignment}=="0" ATTR{ext_range}=="256" ATTR{inflight}==" 0 0" ATTR{range}==&qu...
2017 Mar 01
3
[systemd-devel] udev virtio by-path naming
...39; ? That reports the following, given a basic Fedora 25 guest, with a virtio-mmio disk added as per the guide above... looking at device '/devices/platform/a003e00.virtio_mmio/virtio3/block/vda': KERNEL=="vda" SUBSYSTEM=="block" DRIVER=="" ATTR{alignment_offset}=="0" ATTR{badblocks}=="" ATTR{cache_type}=="write back" ATTR{capability}=="50" ATTR{discard_alignment}=="0" ATTR{ext_range}=="256" ATTR{inflight}==" 0 0" ATTR{range}==&qu...