Displaying 12 results from an estimated 12 matches for "lstart".
Did you mean:
start
2013 Feb 02
3
vectorisation
...frame ('sl'), which has the same number of columns.
An example of the procedure is as follows:
ml <- data.frame(matrix(sample(1:50,80, replace=TRUE),20,4))
mm <- apply(ml, 2, cumsum)
starts<- data.frame(matrix(0,600,4))
I can achieve the result I want with a loop:
for (i in 1:4){
lstarts[,i][mm[,i]] <-1
}
But as I want to use a large number of columns I would like to do away with the loop
Can anyone suggest how this might be done?
Thanks in advance
Brett Robinson
______________________________________________________________________
This email has been scanned by the Syman...
2013 Jun 19
1
nls singular gradient ..as always..
...exponential model to my data. I have 4
different datasets. For 3 datasets nls seems to work fine and I have no
error messages. But for 1 dataset I am getting the "world known" singular
gradient error.
xfit.dNEE <-
nls(vario.dNEE~V*(1-exp(-1*dist/L)),data=ndat,start=list(V=vstart,L=lstart),trace=T)
I tried also with different starting values but still the same error...
Any help would be highly welcome.
Thank you in advance.
--
View this message in context: http://r.789695.n4.nabble.com/nls-singular-gradient-as-always-tp4669859.html
Sent from the R help mailing list archive...
2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...t blocks */
+ block -= double_blks;
+ if (block < triple_blks)
+ return bmap_indirect(fs, PVT(inode)->triple_indirect_blk_ptr,
+ block, 3, nblocks);
+
+ /* This can't happen... */
+ return 0;
+}
+
+/*
+ * Next extent for getfssec
+ * "Remaining sectors" means (lstart & blkmask).
+ */
+int ufs_next_extent(struct inode *inode, uint32_t lstart)
+{
+ struct fs_info *fs = inode->fs;
+ int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs);
+ int frag_shift = BLOCK_SHIFT(fs) - UFS_SB(fs)->c_blk_frag_shift;
+ int blkmask = (1 << blktosec) - 1;...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...t blocks */
+ block -= double_blks;
+ if (block < triple_blks)
+ return bmap_indirect(fs, PVT(inode)->triple_indirect_blk_ptr,
+ block, 3, nblocks);
+
+ /* This can't happen... */
+ return 0;
+}
+
+/*
+ * Next extent for getfssec
+ * "Remaining sectors" means (lstart & blkmask).
+ */
+int ufs_next_extent(struct inode *inode, uint32_t lstart)
+{
+ struct fs_info *fs = inode->fs;
+ int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs);
+ int frag_shift = BLOCK_SHIFT(fs) - UFS_SB(fs)->c_blk_frag_shift;
+ int blkmask = (1 << blktosec) - 1;...
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...n EXT4, there are two ways to handle the map process, extents and indirect.
@@ -203,7 +203,6 @@ block_t ext2_bmap(struct inode *inode, block_t block, size_t *nblocks)
return ret;
}
-
/*
* Next extent for getfssec
*/
@@ -215,6 +214,8 @@ int ext2_next_extent(struct inode *inode, uint32_t lstart)
block_t block;
size_t nblocks = 0;
+ assert(ext2_has_inline_data(inode) == 0);
+
block = ext2_bmap(inode, lstart >> blktosec, &nblocks);
if (!block)
diff --git a/core/fs/ext2/ext2.c b/core/fs/ext2/ext2.c
index 7988faa..9498480 100644
--- a/core/fs/ext2/ext2.c
+...
2007 Feb 13
6
mongrel_cluster 0.2.2 - plugin cluster::status does not exist?
Hello all. I''ve recently installed the 0.2.2 pre-release of
mongrel_cluster to try out the new --clean option. However, after
installing, when I give a simple "mongrel_rails" command, the
cluster::status command is not listed. The error I receive when I do
try and run the full "mongrel_rails cluster::status" is...
ERROR RUNNING
2024 Jul 09
1
RemoteForward Dynamic Port Allocation
...mically
allocated" the *same* port, one for SSH, one for HTTPS:
> # ss -natp | grep 34014
> LISTEN 0 128 127.0.0.1:34014 *:* users:(("sshd",pid=22509,fd=9))
> LISTEN 0 128 [::1]:34014 [::]:* users:(("sshd",pid=22511,fd=10))
> # ps -eo pid,lstart,cmd | egrep '(22509|22511) '
> 22509 Sun Jul 7 20:30:10 2024 sshd: <user>
> 22511 Sun Jul 7 20:30:10 2024 sshd: <user>
which successfully confused our detection mechanisms. (Access by the
support staff is currently limited to IPv4, so they wanted to use the
WebUI via...
2011 Apr 01
0
Wine release 1.3.17
...pping tests.
shlwapi: Improved UrlGetPart support when parsing host names.
urlmon/tests: Added CoInternetParseUrl tests.
urlmon: Removed str_last_of in favor of memrchrW.
urlmon: Added basic domain zone support to MapUrlToZone.
Vincent Pelletier (2):
dinput: Ramp from lStart to lEnd, not lStart to lStart.
dinput: Effect length can actually be 0.
Vincent Povirk (14):
gdiplus: Clean up HRGN when GdipGetRegionBounds succeeds too.
gdiplus: Initialize the ImageAttributes in GdipCreateTexture2I.
gdiplus: Implement color transforms.
gdiplus: Imp...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Wrote the documentation below. I think it would be good to push the doc to
the wiki as soon as the UFS support gets merged.
Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install)
-----
There is a confusion about the name of this file system, then I decided to
contact the author who replied:
"The name has always been
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Change since v1:
* Fix bug on dentry structure (thank you specification; btw, sarcasm), and
consequently a bug on ufs_readdir.
* Add readlink support (applied tests for symlinks whose destionation path
were stored in blk pointers and the file itself).
* Several improvements.
Wrote the documentation below. I think it would be good to
2015 Dec 15
8
[PATCH] xfs: Add support for v3 directories
...irent, core);
- else if (core->di_format == XFS_DINODE_FMT_EXTENTS)
+ case XFS_DINODE_FMT_EXTENTS:
+ case XFS_DINODE_FMT_BTREE:
return xfs_fmt_extents_readdir(file, dirent, core);
+ }
return -1;
}
@@ -117,8 +120,10 @@ static int xfs_next_extent(struct inode *inode, uint32_t lstart)
goto out;
if (core->di_format == XFS_DINODE_FMT_EXTENTS) {
- bmbt_irec_get(&rec, (xfs_bmbt_rec_t *)&core->di_literal_area[0] +
- XFS_PVT(inode)->i_cur_extent++);
+ bmbt_irec_get(&rec, (xfs_bmbt_rec_t *)XFS_DFORK_PTR(core,
+ XFS_DATA_FORK) +
+...
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...= xfs_fmt_extents_readdir(file, dirent, core);
+
+ return retval;
+}
+
+static uint32_t xfs_getfssec(struct file *file, char *buf, int sectors,
+ bool *have_more)
+{
+ return generic_getfssec(file, buf, sectors, have_more);
+}
+
+static int xfs_next_extent(struct inode *inode, uint32_t lstart)
+{
+ struct fs_info *fs = inode->fs;
+ xfs_dinode_t *core = NULL;
+ xfs_bmbt_irec_t rec;
+ block_t bno;
+ xfs_bmdr_block_t *rblock;
+ int fsize;
+ xfs_bmbt_ptr_t *pp;
+ xfs_btree_block_t *blk;
+ uint16_t nextents;
+ block_t nextbno;
+ uint32_t index;
+
+ (voi...