search for: _m

Displaying 20 results from an estimated 51 matches for "_m".

Did you mean: m_
2006 Aug 09
7
function before_save
Hi everybody I would like a function as the "before_save" method in the model. But it must be the opposite. When I take out data from the database through the model, I want to call a function before the data are available in the controller. Can anyone help me? ---- >>>> thx <<<< ---- -- Posted via http://www.ruby-forum.com/.
2012 Feb 14
2
save objects of own function to workspace
...R-helpers, I created an own function which looks like this s_elternmz <- function(Var="balt") { Dg_a<-mz[,c("asbhh","apkz",Var)] colnames(Dg_a)[colnames(Dg_a)=="apkz"]<-"bpkzm" colnames(Dg_a)[colnames(Dg_a)==Var]<-paste(Var,"_m",sep="") mz_int<-merge(mz,Dg_a,by=c("asbhh","bpkzm"),all.x=T) colnames(Dg_a)[colnames(Dg_a)=="bpkzm"]<-"bpkzv" colnames(Dg_a)[colnames(Dg_a)==paste(Var,"_m",sep="")]<-paste(Var,"_v",sep="")...
2008 Mar 20
5
[LLVMdev] testsuite problems after merge
...we should figure out why and prevent it from happening again.... now what? more $ld/gcc/llvm-gcc-4.2/gcc/testsuite/gcc.apple/5597292.c /* APPLE LOCAL file 5597292 */ /* { dg-do compile } */ /* { dg-options "-static -O0 -gstabs+" } */ void * foo(unsigned int size) { union { char _m[size]; } *mem; } /* APPLE LOCAL file 5597292 */ /* { dg-do compile } */ /* { dg-options "-static -O0 -gstabs+" } */ void * foo(unsigned int size) { union { char _m[size]; } *mem; } /* APPLE LOCAL file 5597292 */ /* { dg-do compile } */ /* { dg-options "-static -O0 -gsta...
2019 Sep 13
0
[PATCH 7/9] drm/nouveau: use drm_debug_enabled() to check for debug categories
...f --git a/drivers/gpu/drm/nouveau/dispnv50/disp.h b/drivers/gpu/drm/nouveau/dispnv50/disp.h index 7c41b0599d1a..c0a79531b087 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.h +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.h @@ -78,14 +78,14 @@ void evo_kick(u32 *, struct nv50_dmac *); #define evo_mthd(p, m, s) do { \ const u32 _m = (m), _s = (s); \ - if (drm_debug & DRM_UT_KMS) \ + if (drm_debug_enabled(DRM_UT_KMS)) \ pr_err("%04x %d %s\n", _m, _s, __func__); \ *((p)++) = ((_s << 18) | _m); \ } while(0) #define evo_data(p, d) do { \ c...
2019 Oct 09
0
[PATCH 2/8] drm/nouveau: use drm_debug_enabled() to check for debug categories
...f --git a/drivers/gpu/drm/nouveau/dispnv50/disp.h b/drivers/gpu/drm/nouveau/dispnv50/disp.h index 7c41b0599d1a..c0a79531b087 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.h +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.h @@ -78,14 +78,14 @@ void evo_kick(u32 *, struct nv50_dmac *); #define evo_mthd(p, m, s) do { \ const u32 _m = (m), _s = (s); \ - if (drm_debug & DRM_UT_KMS) \ + if (drm_debug_enabled(DRM_UT_KMS)) \ pr_err("%04x %d %s\n", _m, _s, __func__); \ *((p)++) = ((_s << 18) | _m); \ } while(0) #define evo_data(p, d) do { \ c...
2019 Oct 28
0
[PATCH RESEND 2/8] drm/nouveau: use drm_debug_enabled() to check for debug categories
...f --git a/drivers/gpu/drm/nouveau/dispnv50/disp.h b/drivers/gpu/drm/nouveau/dispnv50/disp.h index 7c41b0599d1a..c0a79531b087 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.h +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.h @@ -78,14 +78,14 @@ void evo_kick(u32 *, struct nv50_dmac *); #define evo_mthd(p, m, s) do { \ const u32 _m = (m), _s = (s); \ - if (drm_debug & DRM_UT_KMS) \ + if (drm_debug_enabled(DRM_UT_KMS)) \ pr_err("%04x %d %s\n", _m, _s, __func__); \ *((p)++) = ((_s << 18) | _m); \ } while(0) #define evo_data(p, d) do { \ c...
2020 Jun 08
0
[PATCH v5 08/13] drm/nouveau: Change debug checks to specifically target syslog
...ertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.h b/drivers/gpu/drm/nouveau/dispnv50/disp.h index 696e70a6b98b..d60602db2cf0 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.h +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.h @@ -85,14 +85,14 @@ extern const u64 wndwc57e_modifiers[]; #define evo_mthd(p, m, s) do { \ const u32 _m = (m), _s = (s); \ - if (drm_debug_enabled(DRM_UT_KMS)) \ + if (drm_debug_syslog_enabled(DRM_UT_KMS)) \ pr_err("%04x %d %s\n", _m, _s, __func__); \ *((p)++) = ((_s << 18) | _m); \ } while(0) #...
2009 Apr 11
1
get_required_bits32() and alloca() -> corrupted stack
HiI'm trying to run CELT on Win32 but I'm running into some corrupted stack errors when using alloca(). When get_required_bits32() (in file cwrs.c:308) is called from get_required_bits() (in file cwrs.c:328) the 'K' parameter is 1 which means that the uint32 which is allocated on the stack only has 3 bytes instead of 4. This results in a corrupted stack in the following call to
2008 Mar 20
0
[LLVMdev] testsuite problems after merge
...happening > again.... > > now what? more $ld/gcc/llvm-gcc-4.2/gcc/testsuite/gcc.apple/5597292.c > /* APPLE LOCAL file 5597292 */ > /* { dg-do compile } */ > /* { dg-options "-static -O0 -gstabs+" } */ > void * foo(unsigned int size) > { > union { > char _m[size]; > } *mem; > } > /* APPLE LOCAL file 5597292 */ > /* { dg-do compile } */ > /* { dg-options "-static -O0 -gstabs+" } */ > void * foo(unsigned int size) > { > union { > char _m[size]; > } *mem; > } > /* APPLE LOCAL file 5597292 */ > /* { d...
2015 Feb 16
2
[LLVMdev] [Mesa-dev] mesa-10.4.4: BROKEN TLS support in GLXwithllvm-toolchain v3.6.0rc2
...; https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192286 > >> >>> > >> >>> E.g., you can use these patches: > >> >>> > >> >>> https://svnweb.freebsd.org/ports/head/graphics/libGL/files/patch-src_ > >> >>> _ma > >> >>> pi__entry_x86-64_tls.h?view=markup > >> >>> https://svnweb.freebsd.org/ports/head/graphics/libGL/files/patch-src_ > >> >>> _m > >> >>> api__entry_x86_tls.h?view=markup > >> >>> https://svnweb.freebsd...
2019 Sep 13
1
[PATCH 0/9] drm/print: add and use drm_debug_enabled()
...ed() to check for debug categories drm/amdgpu: use drm_debug_enabled() to check for debug categories drm/print: rename drm_debug to __drm_debug to discourage use drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 4 ++-- drivers/gpu/drm/drm_atomic_uapi.c | 2 +- drivers/gpu/drm/drm_dp_mst_topology.c | 6 ++--- drivers/gpu/drm/drm_drv.c | 17 --------------- drivers/gpu/drm/drm_edid.c | 2 +- drivers/gpu/drm/drm_edid_load.c | 2 +- drivers/gpu/drm/drm_mipi_dbi.c | 4 ++-- drivers/gpu/drm/drm_print.c...
2017 Feb 28
0
[PATCH 3/3] gpu: drm: drivers: Convert printk(KERN_<LEVEL> to pr_<level>
...| 9 ++++----- drivers/gpu/drm/gma500/oaktrail_lvds.c | 18 +++++++++--------- drivers/gpu/drm/gma500/psb_drv.h | 5 ++--- drivers/gpu/drm/gma500/psb_intel_lvds.c | 7 +++---- drivers/gpu/drm/i915/i915_sw_fence.c | 8 ++++---- drivers/gpu/drm/mgag200/mgag200_mode.c | 2 +- drivers/gpu/drm/msm/msm_drv.c | 2 +- drivers/gpu/drm/nouveau/nouveau_acpi.c | 7 ++++--- drivers/gpu/drm/nouveau/nouveau_vga.c | 4 ++-- drivers/gpu/drm/nouveau/nv50_display.c | 22 +++++++++++----------- drivers/gpu/drm/nouveau/nvkm/co...
2011 Oct 27
1
[LLVMdev] Trunc Load
> This is contradictory: on a little-endian processor, the address for > loading a 64-bit value is same as the address of the low word. Are > you sure you're modeling the semantics of your lddw and stddw > instructions correctly? ... I thought so until now. Because I implemented stdw (store doubleword) completely analogous to lddw: Just print out stdw with the given pointer and
2007 May 14
0
[PATCH] x86: replace some intpte_t * casts
...3tab_ptr), _ol3e, _nl3e); BUG_ON(_pl3e != _ol3e); } @@ -1316,7 +1316,7 @@ static inline int update_intpte(intpte_t /* Macro that wraps the appropriate type-changes around update_intpte(). * Arguments are: type, ptr, old, new, mfn, vcpu */ #define UPDATE_ENTRY(_t,_p,_o,_n,_m,_v) \ - update_intpte((intpte_t *)(_p), \ + update_intpte(&_t ## e_get_intpte(*(_p)), \ _t ## e_get_intpte(_o), _t ## e_get_intpte(_n), \ (_m), (_v)) @@ -2498,7 +249...
2017 Feb 28
8
[PATCH 2/2] gpu: drm: Convert printk(KERN_<LEVEL> to pr_<level>
...drivers/gpu/drm/gma500/oaktrail_lvds.c | 18 +++---- > drivers/gpu/drm/gma500/psb_drv.h | 5 +- > drivers/gpu/drm/gma500/psb_intel_lvds.c | 7 ++- > drivers/gpu/drm/i915/i915_sw_fence.c | 8 ++-- > drivers/gpu/drm/mgag200/mgag200_mode.c | 2 +- > drivers/gpu/drm/msm/msm_drv.c | 2 +- > drivers/gpu/drm/nouveau/nouveau_acpi.c | 7 +-- > drivers/gpu/drm/nouveau/nouveau_vga.c | 4 +- > drivers/gpu/drm/nouveau/nv50_display.c | 22 ++++----- >...
2019 Sep 24
4
[PATCH v2 0/9] drm/print: add and use drm_debug_enabled()
...ed() to check for debug categories drm/amdgpu: use drm_debug_enabled() to check for debug categories drm/print: rename drm_debug to __drm_debug to discourage use drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 4 ++-- drivers/gpu/drm/drm_atomic_uapi.c | 2 +- drivers/gpu/drm/drm_dp_mst_topology.c | 6 ++--- drivers/gpu/drm/drm_drv.c | 17 --------------- drivers/gpu/drm/drm_edid.c | 2 +- drivers/gpu/drm/drm_edid_load.c | 2 +- drivers/gpu/drm/drm_mipi_dbi.c | 4 ++-- drivers/gpu/drm/drm_print.c...
2012 Jul 19
1
Switching log(J) to log(J+1) to avoid log(0) in HAR-RVJ model
...harModel(dat, periods = c(1,5,22), periodsJ=c(1), RVest = c("RCov","RBPCov"), type="HARRVJ", h=5, transform="log") ; # Estimate the HAR model of type HARRVJ The three HAR models on paper are: 1.?RV?_(t,t+h) = ?_0+ ?_D ?RV?_t+ ?_W ?RV?_(t-5)+ ?_M ?RV?_(t-22) + ?_J J_t + ?_(t,t+h) # NULL model in code at bottom 2. (RV?_(t,t+h) )^(1/2) = ?_0+ ?_D ??RV?_t?^(1/2)+ ?_W (?RV?_(t-5) )^(1/2)+ ?_M (?RV?_(t-22) )^(1/2) + ?_J (? J?_t )^(1/2) + ?_(t,t+h) 3. log(RV?_(t,t+h) )= ?_0+ ?_D.log(?RV?_t )+ ?_W.log(?RV?_(t-5) )+ ?_M.log(?RV?_(t-22) ) +...
2006 Oct 11
6
Indexing problem 10.9/10.10
...5:56 _s.cfs -rw------- 1 blee blee 15M Oct 10 15:11 _r.cfs -rw------- 1 blee blee 13M Oct 10 14:48 _q.cfs -rw------- 1 blee blee 14M Oct 10 14:37 _p.cfs -rw------- 1 blee blee 13M Oct 10 14:28 _o.cfs -rw------- 1 blee blee 12M Oct 10 14:19 _n.cfs -rw------- 1 blee blee 12M Oct 10 14:16 _m.cfs -rw------- 1 blee blee 118M Oct 10 14:10 _l.cfs -rw------- 1 blee blee 129M Oct 10 13:24 _a.cfs -rw------- 1 blee blee 0 Oct 10 13:00 ferret-write.lck Thanks, Ben
2015 Apr 05
3
[LLVMdev] alloca not in first bb behaving differently
Here is some IR that is working and executing as expected -- All allocas are in the first basic block, and only updates happen in other basic blocks. define i32 @f() { entry: %x = alloca i32 store i32 333, i32* %x %i = alloca i32 store i32 11, i32* %i br i1 true, label %if.then, label %if.else if.then: ; preds = %entry store i32 3, i32* %i
2015 Feb 16
1
[LLVMdev] [Mesa-dev] mesa-10.4.4: BROKEN TLS support in GLXwith llvm-toolchain v3.6.0rc2
...r to the fix I posted in this FreeBSD port bug: > >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192286 > >>> > >>> E.g., you can use these patches: > >>> > >>> https://svnweb.freebsd.org/ports/head/graphics/libGL/files/patch-src__ma > >>> pi__entry_x86-64_tls.h?view=markup > >>> https://svnweb.freebsd.org/ports/head/graphics/libGL/files/patch-src__m > >>> api__entry_x86_tls.h?view=markup > >>> https://svnweb.freebsd.org/ports/head/graphics/libGL/files/patch-src__m > >>&...