search for: fn4

Displaying 14 results from an estimated 14 matches for "fn4".

Did you mean: fn
2013 Jan 01
1
Behavior or as.environment in function arguments/call (and force() behaviors...)
...rm used in that doc is 'search list', which is ambiguous, but the see also section mentions search(), so I would *think* that is what is intended. Either way Fn1() below can't really be explained. Major question is what in the world is Fn1 doing, and why is Fn2 not equal to Fn3? [ Fn3/Fn4 are doing what I want. ] Fn1 <- function(x="test",pos=-1,env=as.environment(pos)) { ls(env) } Fn2 <- function(x="test",pos=-1,env=as.environment(pos)) { force(env) ls(env) } Fn3 <- function(x="test",pos=-1,env=as.environment(pos)) { # should be the same as...
2008 Aug 25
0
[LLVMdev] Proposal : Function Notes
...> The function fn2() is aggressively optimized for size. The code > generator may > sacrifice performance while selecting instructions. The inliner will > aggressively > reduce inlining threshold. > > define void @fn3() notes("noinline") { ... } > define void @fn4() notes("always_inline") { ... } > define void @fn5() notes("noinline,always_inline") { ... } > > Here the inliner is instructed to not inline function fn3() anywhere > and inline > function fn4() everywhere. The function fn5() is malformed and it > should...
2007 Apr 10
1
Memory management
...optimization that keeps calling the same function with a large set of parameters... so then I start to wonder if it's better if I attach the variables first vs passing them in (coz that involves a lot of copying.. ) Thus, I do this fn3 <- function(x, y, z, a, b, c){ sum(x, y, z, a, b, c) } fn4 <- function(){ sum(x, y, z, a, b, c) } rdn <- rep(1.1, times=1e8) r <- proc.time() for (i in 1:5) fn3(rdn, rdn, rdn, rdn, rdn, rdn) time1 <- proc.time() - r print(time1) lt <- list(x = rdn, y = rdn, z = rdn, a = rdn, b = rdn, c = rdn) attach(lt) r <- proc.time() for (i in 1:5)...
2008 Aug 22
10
[LLVMdev] Proposal : Function Notes
...notes("opt-size=2") { ... } The function fn2() is aggressively optimized for size. The code generator may sacrifice performance while selecting instructions. The inliner will aggressively reduce inlining threshold. define void @fn3() notes("noinline") { ... } define void @fn4() notes("always_inline") { ... } define void @fn5() notes("noinline,always_inline") { ... } Here the inliner is instructed to not inline function fn3() anywhere and inline function fn4() everywhere. The function fn5() is malformed and it should be rejected by the verifier....
2008 Aug 25
2
[LLVMdev] Proposal : Function Notes
...aggressively optimized for size. The code >> generator may >> sacrifice performance while selecting instructions. The inliner >> will aggressively >> reduce inlining threshold. >> >> define void @fn3() notes("noinline") { ... } >> define void @fn4() notes("always_inline") { ... } >> define void @fn5() notes("noinline,always_inline") { ... } >> >> Here the inliner is instructed to not inline function fn3() >> anywhere and inline >> function fn4() everywhere. The function fn5() is malformed a...
2009 Mar 23
4
newton method
Hi R-users, Does R has a topic on newton's method? Thank you for the info.
2008 Aug 25
0
[LLVMdev] Proposal : Function Notes
...> The function fn2() is aggressively optimized for size. The code > generator may > sacrifice performance while selecting instructions. The inliner will > aggressively > reduce inlining threshold. > > define void @fn3() notes("noinline") { ... } > define void @fn4() notes("always_inline") { ... } > define void @fn5() notes("noinline,always_inline") { ... } > > Here the inliner is instructed to not inline function fn3() anywhere > and inline > function fn4() everywhere. The function fn5() is malformed and it > should...
2017 Aug 04
3
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
...f (!changed && dst_ptr && dst_ptr->idx == a_ptr->idx) { /* Do something */ } else { changed = 1; if (!dst_ptr) dst_ptr = fn3(); else dst_ptr->idx = a_ptr->idx; /* Do something. */ } } else { changed = fn4(); } return changed; } unsigned char fn1 (element_t *a_ptr, element_t *b_ptr) { unsigned char changed = 0; while (b_ptr) { if (!a_ptr || a_ptr->idx == b_ptr->idx) { changed = fn2 (a_ptr, a_ptr, b_ptr, changed); b_ptr = b_ptr->next; } } return chan...
2010 Oct 18
1
Icecast relay/fallback problem
Hi list, I'm having some problems with my new Icecast setup and I was hoping you can help me with it. My Icecast setup looks like this: [encoder] [encoder] \ / [back-end node] | | | | [fn1][fn2][fn3][fn4] I have two active encoders, one is encoding to the active mount and one is encoding to the fallback mount on the back-end node. Configuration of the mounts is as follows: <mount> <mount-name>/activemount.mp3</mount-name> <fallback-mount>/fallbackmo...
2017 Aug 07
3
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
...dx) { if (!changed && dst_ptr && dst_ptr->idx == a_ptr->idx) { /* Do something */ } else { changed = 1; if (!dst_ptr) dst_ptr = fn3(); else dst_ptr->idx = a_ptr->idx; /* Do something. */ } } else { changed = fn4(); } return changed; } unsigned char fn1 (element_t *a_ptr, element_t *b_ptr) { unsigned char changed = 0; while (b_ptr) { if (!a_ptr || a_ptr->idx == b_ptr->idx) { changed = fn2 (a_ptr, a_ptr, b_ptr, changed); b_ptr = b_ptr->next; } } return changed; } Wh...
2017 Aug 04
4
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
.../* Do something */ > } else { > changed = 1; > if (!dst_ptr) > dst_ptr = fn3(); > else > dst_ptr->idx = a_ptr->idx; > /* Do something. */ > } > } else { > changed = fn4(); > } > return changed; > } > > unsigned char fn1 (element_t *a_ptr, element_t *b_ptr) { > unsigned char changed = 0; > while (b_ptr) { > if (!a_ptr || a_ptr->idx == b_ptr->idx) { > changed = fn2 (a_ptr, a_ptr, b_pt...
2017 Aug 07
2
[RFC][InlineCost] Modeling JumpThreading (or similar) in inline cost model
...if (!dst_ptr) > dst_ptr = fn3(); > else > dst_ptr->idx = a_ptr->idx; > /* Do something. */ > } > } else { > changed = fn4(); > } > return changed; > } > > unsigned char fn1 (element_t *a_ptr, element_t *b_ptr) { > unsigned char changed = 0; > while (b_ptr) { > if (!a_ptr |...
2012 Jun 24
0
nouveau _BIOS method
...F.p.VFN3[."FAN3 4190: 08 5f 48 49 44 0c 41 d0 0c 0b 08 5f 55 49 44 0a ._HID.A...._UID. 41a0: 03 08 5f 50 52 30 12 06 01 46 4e 30 33 5b 84 2e .._PR0...FN03[.. 41b0: 46 4e 30 34 00 00 00 14 0b 5f 53 54 41 08 a4 56 FN04....._STA..V 41c0: 46 4e 34 14 0c 5f 4f 4e 5f 08 70 01 56 46 4e 34 FN4.._ON_.p.VFN4 41d0: 14 0c 5f 4f 46 46 08 70 00 56 46 4e 34 5b 82 22 .._OFF.p.VFN4[." 41e0: 46 41 4e 34 08 5f 48 49 44 0c 41 d0 0c 0b 08 5f FAN4._HID.A...._ 41f0: 55 49 44 0a 04 08 5f 50 52 30 12 06 01 46 4e 30 UID..._PR0...FN0 4200: 34 5b 85 49 17 54 5a 30 30 08 50 54 4d 50 0b b8 4[...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...h%ktQ{aECOX^d$!Tqf at gPhCcPS_*(6 zr2t=an^EJdE{P4S_T`~#8FgXD`++beZG5m0fG;DF>#?c^qBX-zS!Qse*npBnGhS0U zA)nQ2*SvdYhNXUmw@^?$%dgT!m*dZ>m}u0>p7)`?p6o!8#q+?oZuDkE-UcD8 at aGmK z^@$RyvGAU3{;KM7fCY>?>yDPB!t;K{qn;=sS2XQQYf$I_VA8LN*vv0pUR%8HoB74Y zv68ws{9gUgqdRGGVTR+hvP3MxD8I`=3d0r2$_g>L1h|Fn4^zGI)}S{n9?CqjVLmE1 z1c<ZBUw%{l`#j~g17UO at j7{bUk`)z|`<D~Hs%&j3v>il_5i9iHJU8(}{<l9SrPq8B zY-pe~gX}23_A3<_R<y5X-McqU86_<<)C+<zV0E?qAUu49K*fgzToT`n#<sdLZ!wN5 z&pkJbZ?e1*y8HvsUVyZDc=(*^ENX1!nAkB$tPucBrz<;}g%Xl402bPy+_|}t8*;(f z48p`IIwT%MO9M9S?1ia at _lXx(fU5Ax`...