Displaying 15 results from an estimated 15 matches for "iloc".
Did you mean:
ilo
2005 Dec 29
1
use of tapply?
...39;))
calcDist<-function(x,y){
#calcualates distance from origin (C)
origin<-data.frame(x=0.34,y=0.36)
dx<-origin$x-x
dy<-origin$y-y
length<-sqrt(dx^2+dy^2)
angle<-asin(dy/length)
return(list('length'=length,'angle'=angle))
}
for(iLoc in 1:length(data.intersects[,1])){
result<-calcDist(data.intersects[iLoc,]$x,data.intersects[iLoc,]$y)
data.intersects[iLoc,]$angle<-result$angle
data.intersects[iLoc,]$length<-result$length
}
2001 Mar 28
1
Ext3 and LFS - possible? fatal?
Has anyone tried LFS (ie >2G files support) and Ext3 together?
Are there good reasons why this should/should not work?
I see the RH enterprise kernel patch set specifically does not attempt
both lfs and ext3, but the lfs patches themselves touch some reasonably
localised parts of ext2, so I would hope (without having dived in there
to test), that the ext3 changes would mirror that
2003 Mar 25
1
Help : stablereg parameter interpretation
...set.seed(1234)
# Simulate normal data with mean 5 and sd 2 using rstable> normal5.2<-rstable(10000,loc=5,disp=2/sqrt(2),skew=0,tail=2)
mean(normal5.2)
[1] 5.010073
sd(normal5.2)
[1] 2.005362
# summary(lm(normal5.2~1)) yields similar results
fittest<-stablereg(y=normal5.2,loc=~1,disp=~1,iloc=5,idisp=2/sqrt(2),iskew=0,itail=2,oskew=F,otail=F)
# Normal model, as skew=0 and tail=2
yields :
Call:
stablereg(y = normal5.2, loc = ~1, disp = ~1, iloc = 5, idisp = 2/sqrt(2),
iskew = 0, itail = 2, oskew = F, otail = F)
-Log likelihood 21498.69
No. of obs 10...
2005 Dec 08
3
scoping issues?
Can anyone please help me understand whats happening here?
Thanks
Tom
getAmpRatio<-function(v_amps){
#calculates the amplitude ratios between the 3 largest amps and the
rest
bigamp<-0
map<-rep(TRUE,length(v_amps))
for(iLoc in 1:3){
bigamp<-bigamp+max(v_amps)
map[which.max(v_amps)]<-FALSE
v_amps<-v_amps[map]
map<-rep(TRUE,length(v_amps))
}
browser()
return(bigamp/mean(v_amps))
}
amps<-c(1,2,3,3,3,2,1)
getAmpRatio(amps)
Browse[1]> v_amps
[1] 1 1 2 2 1
Brow...
2009 Nov 05
0
[LLVMdev] Debug Information for LLVM 2.6 and TOT
...ation information to indicate that this instruction
is inlined at this location. I have local patch in my tree that is
waiting finishing touch in codegen before I commit. I pasted it below
for your reference.
Now, each instruction can have location information attached with it.
The location info (DILocation) include
- unsigned - line number
- unsigned - col number
- DIScope - lexical scope
- DILocation - inlined at location
When an instruction is inlined, the first three fields will stay
unchanged. But the inlined instruction will have non null "inlined at
location" indicating where th...
2009 Nov 05
2
[LLVMdev] Debug Information for LLVM 2.6 and TOT
Devang Patel wrote:
> Hi John,
>
> On Wed, Nov 4, 2009 at 12:04 PM, John Criswell <criswell at uiuc.edu> wrote:
>
>> Dear All,
>>
>> 1) I recall reading somewhere that a few optimizations in LLVM 2.6 strip
>> away debug information when such information interferes with
>> optimization. Is this correct,
>>
>
> Yes.
>
>
2005 Jun 20
0
[patch 2/3] fs/ext3/resize.c: fix sparse warnings
An embedded and charset-unspecified text was scrubbed...
Name: sparse-fs_ext3_resize.patch
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20050620/8e33ffa8/attachment.ksh>
2005 Feb 15
1
[PATCH] ext3: Fix sparse -Wbitwise warnings.
...even = 7;
unsigned grp;
- __u32 *p = (__u32 *)primary->b_data;
+ __le32 *p = (__le32 *)primary->b_data;
int gdbackups = 0;
while ((grp = ext3_list_backups(sb, &three, &five, &seven)) < end) {
@@ -371,7 +371,7 @@
struct buffer_head *dind;
int gdbackups;
struct ext3_iloc iloc;
- __u32 *data;
+ __le32 *data;
int err;
if (test_opt(sb, DEBUG))
@@ -408,7 +408,7 @@
goto exit_bh;
}
- data = (__u32 *)dind->b_data;
+ data = (__le32 *)dind->b_data;
if (le32_to_cpu(data[gdb_num % EXT3_ADDR_PER_BLOCK(sb)]) != gdblock) {
ext3_warning(sb, __FUNCTION__,...
2008 Mar 07
1
Trouble with R CMD check
...In function `compall':
hareall.c:1656: warning: 'lala' might be used uninitialized in this
function
hareall.c: In function `newton':
hareall.c:1876: warning: 'rall' might be used uninitialized in this
function
hareall.c: In function `search':
hareall.c:646: warning: 'iloc' might be used uninitialized in this
function
hareall.c:646: warning: 'lloc' might be used uninitialized in this
function
hareall.c:646: warning: 'uloc' might be used uninitialized in this
function
hareall.c: In function `adders':
hareall.c:529: warning: 'crit1' migh...
2007 Feb 23
0
how to commit a directory entry to the disk
...buffer to the disk
i have intialised the values of struct ext3_dir_entry_2 *de and now
want to commit it to the disk in the function
EXT3 FS----linux 2.6.18 ----/ext3/inode.c
static int ext33_do_update_inode(handle_t *handle,
struct inode *inode,
struct ext33_iloc *iloc)
{
--------------- raw inode updation------------------
dentry=list_entry(inode->i_dentry.next,struct dentry,d_alias);
bh1=ext33_find_entry(dentry,&de1);
---please tell me how to commit the de1 to the disk data structures after
this point----------
}
-------------- next part -------...
2007 Feb 24
0
how to commit a directory entry to the disk in EXT3 FS
...buffer to the disk
i have intialised the values of struct ext3_dir_entry_2 *de and now
want to commit it to the disk in the function
EXT3 FS----linux 2.6.18 ----fs/ext3/inode.c
static int ext3_do_update_inode(handle_t *handle,
struct inode *inode,
struct ext3_iloc *iloc)
{
--------------- raw inode updation------------------
dentry=list_entry(inode->identry.next,struct dentry,d_alias);
bh1=ext3_find_entry(dentry,&de1);
-----please tell me how to commit the de1 to the disk data structures after
this point----------
}
-------------- next part -------...
2005 Jan 12
0
samba printing does not work
...sd
printcap name = /etc/printcap.smb
load printers = yes
log file = /var/samba/log/log.%m
max log size = 50
preserve case = yes
ip addresses removed,127.0.0.1
short preserve case = yes
lock directory = /var/samba/locks
locking = yes
share modes = yes
wins server = ip address removed
username map = /ilocal/etc/samba/smb.map
hosts allow = ALL
dead time = 0
wide links = no
follow symlinks = no
#smb passwd file = /var/samba/private/smbpasswd
smb passwd file = /usr/local/smb/smbpasswd
#update encrypted = yes #for this to work 'encrypt passwords = no'
encrypt passwords = yes
socket options = T...
2009 Mar 26
0
(Interpretation) VGAM - FRECHET 3 parameters by maximum likelihood estimation for
Dear R Helpers
This is the R code (which I have slightly changed) I got in VGAM package for estimating the parameters of FRECHET.
_________________________________________________________________
y = rfrechet(n <- 100, shape=exp(exp(0))) # (A)
fit3 = vglm(y ~ 1, frechet3(ilocation=0), trace=TRUE, maxit=155) # (B)
coef(fit3, matrix=TRUE) # (C)
Coef(fit3) # (D)
fitted(fit3)[1:5,] # (E)
mean(y) # (F)
wei...
2004 Sep 07
1
Problem with DNAT
...Metric:1
RX packets:1803457 errors:0 dropped:0 overruns:0 frame:0
TX packets:1783929 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:261270108 (249.1 Mb) TX bytes:1149310777 (1096.0 Mb)
Eth0 Net Zone (two Ip addresses)
Eth1 iLocal Zone
In Eth1 i have my email server, with the public ip 10.10.10.163, when i do the DNAT i have this:
Sep 5 11:13:55 ns kernel: Shorewall:net_dnat:DNAT:IN=eth0 OUT= MAC=00:c0:f0:54:dc:1e:00:04:27:fd:6c:cb:08:00 SRC=205.240.205.176 DST=10.10.10.163 LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=50942 DF...
2009 Jan 12
1
samba printing problems
...mp
[printers]
comment = Channing Lab Printers
path = /var/samba/spool
browseable = no
printable = yes
guest ok = no
writable = no
create mask = 0700
...
many pages worth of disk shares...
Am I missing something obvious. I don't know too much about samba or
Windows. I tried this:
root # /ilocal/bin/smbclient //sambahost/glsr1 -U salbb
Password:
Domain=[NFSSRV2] OS=[Unix] Server=[Samba 3.0.28]
smb: \> lcd /udd/salbb
smb: \> print .login
putting file .login as .login (10.4 kb/s) (average 10.4 kb/s)
smb: \> queue
smb: \> exit
I have stopped the smbd completely and restarted...