search for: wc

Displaying 20 results from an estimated 1669 matches for "wc".

2007 Jul 12
5
Compute rank within factor groups
Hi, I have a data.frame which is ordered by score, and has a factor column: Browse[1]> wc[c("report","score")] report score 9 ADEA 0.96 8 ADEA 0.90 11 Asylum_FED9 0.86 3 ADEA 0.75 14 Asylum_FED9 0.60 5 ADEA 0.56 13 Asylum_FED9 0.51 16 Asylum_FED9 0.51 2 ADEA 0.42 7 ADEA 0.31 17...
2004 Aug 11
3
X100P outbound only (Don't answer)
I tried implementing my * and it didn't pass the spouse factor at this time. I wanted to hook it up for outbound only at this point to get a better handle on the dial plans and the echo problem. I thought this might have been done before as a natural part of testing - but maybe not. In wcfxo.c I found this: if (!wc->offhook && !wc->ringdebounce) { if (!wc->ring && (wc->pegcount > PEGCOUNT)) { /* It's ringing */ if (debug) printk("RING!\n");...
2009 Jul 07
0
[PATCH] speed up snapshot dropping
.../btrfs/extent-tree.c 2/fs/btrfs/extent-tree.c --- 1/fs/btrfs/extent-tree.c 2009-07-03 08:08:34.152846801 +0800 +++ 2/fs/btrfs/extent-tree.c 2009-07-03 14:34:50.455818000 +0800 @@ -4568,11 +4568,6 @@ struct walk_control { /* * hepler to process tree block while walking down the tree. * - * when wc->stage == DROP_REFERENCE, this function checks - * reference count of the block. if the block is shared and - * we need update back refs for the subtree rooted at the - * block, this function changes wc->stage to UPDATE_BACKREF - * * when wc->stage == UPDATE_BACKREF, this function update...
2009 Aug 02
1
Non sparse extend init issue
The patch was created against a 1.4 tree. However, it applies cleanly to mainline too. The patch has been lightly tested. I am running fill_verify_holes on a non sparse volume currently. Please review. Sunil
2015 Dec 07
1
template shell RFC2307 loginShell
...|while read i; do id $i|cut -d, -f1; done > users_list.txt 2> bad_list.txt # cat users_list.txt | cut -d'(' -f1|cut -d= -f2|sort -n|head -n 1 9102 # cat users_list.txt | cut -d'(' -f1|cut -d= -f2|sort -n|tail -n 1 8921272 seems to be my issue thank you. # cat bad_list.txt |wc -l 32 looking through those users I found none had uids or gids but I don't care about any of them # cat users_list.txt | wc -l 766 # cat /etc/passwd|wc -l 40 # getent passwd|wc -l 806 yeah the numbers add up also # cat /etc/passwd|wc -l 40 # wbinfo -u|wc -l 798 # cat bad_list.txt |wc -l 32...
2007 Sep 13
1
chartr better
...t;\u3041-\u3093","\u30a1-\u30f3","\u3084\u3063\u305f\u30fc") --- R-alpha.orig/src/main/character.c 2007-09-05 07:13:27.000000000 +0900 +++ R-alpha/src/main/character.c 2007-09-13 16:10:21.000000000 +0900 @@ -2041,6 +2041,16 @@ return(c); } +typedef struct { wchar_t c_old, c_new; } xtable_t; +static inline int xtable_comp(const xtable_t *a, const xtable_t *b) +{ + return a->c_old - b->c_old; +} +static inline int xtable_key_comp(const wchar_t *a, const xtable_t *b) +{ + return *a - b->c_old; +} + SEXP attribute_hidden do_chartr(SEXP call,...
2009 Aug 03
1
Non sparse init fix v3
One line fix from Joel's version. Also, some comments removed. 18:58 <sunil> wc->w_first_new_cpos = 18:58 <sunil> - ocfs2_align_bytes_to_clusters(inode->i_sb, i_size_read(inode)); 18:58 <sunil> + ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode));
2023 Nov 03
2
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
Just a minor point in the suggested solution: df$LAP <- with(df, ifelse(G=='male', (WC-65)*TG, (WC-58)*TG)) since WC and TG are not conditional, would this be a slight improvement? df$LAP <- with(df, TG*(WC - ifelse(G=='male', 65, 58))) -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Jorgen Harmse via R-help Sent: Friday, N...
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...t i; + mlog(0, "(0x%p, %d)\n", pages, num_pages); + for(i = 0; i < num_pages; i++) { if (pages[i]) { unlock_page(pages[i]); @@ -965,6 +1035,8 @@ void ocfs2_unlock_and_free_pages(struct page **pages, int num_pages) static void ocfs2_free_write_ctxt(struct ocfs2_write_ctxt *wc) { + mlog(0, "(0x%p)\n", wc); + ocfs2_unlock_and_free_pages(wc->w_pages, wc->w_num_pages); brelse(wc->w_di_bh); @@ -978,9 +1050,14 @@ static int ocfs2_alloc_write_ctxt(struct ocfs2_write_ctxt **wcp, u32 cend; struct ocfs2_write_ctxt *wc; + mlog_entry("(.., 0x%p,...
2009 Jul 21
1
(no subject)
...t i; + mlog(0, "(0x%p, %d)\n", pages, num_pages); + for(i = 0; i < num_pages; i++) { if (pages[i]) { unlock_page(pages[i]); @@ -965,6 +1041,8 @@ void ocfs2_unlock_and_free_pages(struct page **pages, int num_pages) static void ocfs2_free_write_ctxt(struct ocfs2_write_ctxt *wc) { + mlog(0, "(0x%p)\n", wc); + ocfs2_unlock_and_free_pages(wc->w_pages, wc->w_num_pages); brelse(wc->w_di_bh); @@ -978,9 +1056,14 @@ static int ocfs2_alloc_write_ctxt(struct ocfs2_write_ctxt **wcp, u32 cend; struct ocfs2_write_ctxt *wc; + mlog_entry("(.., 0x%p,...
2023 Mar 02
1
[PATCH] ocfs2: Fix data corruption after failed write
...ed, 17 insertions(+), 2 deletions(-) diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index 1d65f6ef00ca..0394505fdce3 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c @@ -1977,11 +1977,26 @@ int ocfs2_write_end_nolock(struct address_space *mapping, } if (unlikely(copied < len) && wc->w_target_page) { + loff_t new_isize; + if (!PageUptodate(wc->w_target_page)) copied = 0; - ocfs2_zero_new_buffers(wc->w_target_page, start+copied, - start+len); + new_isize = max_t(loff_t, i_size_read(inode), pos + copied); + if (new_isize > page_offset(wc->w_...
2020 Jan 08
2
Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable
...nabled it for one server, but will have to wait for users to reconnect and for the issue to reappear there. In the meantime, on another server experiencing the same issue at this moment (same configuration), but no proctitles: root at imap03:~# doveadm process status | grep "^imap " | wc -l 7564 root at imap03:~# ps aux | grep "dovecot/imap$" | wc -l 7570 root at imap03:~# ss -tp | grep '"imap-login"' | wc -l 8009 root at imap03:~# ss -tp | grep '"imap"' | wc -l 536 root at imap03:~# ss -nt "( sport = :143 or sport = :993 )" |...
2006 Aug 10
4
imap-login (proxy) Connection queue full
When running Dovecot (rc6 CVS dovecot-20060808) as a proxy, why would it log the following when it has not yet maxed out the allowed number of imap-login processes? Aug 10 16:23:34 director5 dovecot: imap-login: Disconnected: Connection queue full: I am seeing this logged several times per minute. From netstat, the server has 650 proxied IMAP connections and 450 proxied IMAPS connections, there
2012 Jul 10
6
getting rid of old spam from +spam Maildir ?
I'm trying to setup per user '+spam' delivery from amavis tags, so that each user gets any mails tagged as spam to 'spam' Maildir via +spam Dovecot lmtp delivery. after say 7 days I want to delete all spams older than 7 days, if I simply delete mail files from the file system, is that a 'bad thing' ? what is a proper way to do that, and scripts ? for
2003 Sep 18
1
e100p and E-bit alarm indication
...t was impossible we were getting that many errors and something must have been wrong with our handling of the E-bit signal. I've come across the DS21554 framer documentation and i've seen that it has a flag for enabling the E-bit generation in the "TCR2" register and that the wct1xxp.c wasn't setting it. So i tried this small patch and the telco is perfectly happy with it, now, the E-bit error has disappeared. Since there had been a thread in May (started by Konrad Gorsky) about weird far end CRC errors i'm posting in the hope to help somebody. Note that i d...
2023 Mar 20
2
FAILED: patch "[PATCH] ocfs2: fix data corruption after failed write" failed to apply to 5.10-stable tree
...<akpm at linux-foundation.org> diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index 1d65f6ef00ca..0394505fdce3 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c @@ -1977,11 +1977,26 @@ int ocfs2_write_end_nolock(struct address_space *mapping, } if (unlikely(copied < len) && wc->w_target_page) { + loff_t new_isize; + if (!PageUptodate(wc->w_target_page)) copied = 0; - ocfs2_zero_new_buffers(wc->w_target_page, start+copied, - start+len); + new_isize = max_t(loff_t, i_size_read(inode), pos + copied); + if (new_isize > page_offset(wc->w_...
2023 Nov 04
2
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
...ight have factored the gender. I'm not sure it would in any way be quicker. But might be to some extent easier to develop variations of. And is sort of what factors should be doing... # make dummy data gender <- c("Male", "Female", "Male", "Female") WC <- c(70,60,75,65) TG <- c(0.9, 1.1, 1.2, 1.0) myDf <- data.frame( gender, WC, TG ) # label a factor myDf$GF <- factor(myDf$gender, labels= c("Male"=65, "Female"=58)) # do the maths myDf$LAP <- (myDf$WC - as.numeric(myDf$GF))* myDf$TG #show results head(myDf) g...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...t i; + mlog(0, "(0x%p, %d)\n", pages, num_pages); + for(i = 0; i < num_pages; i++) { if (pages[i]) { unlock_page(pages[i]); @@ -965,6 +1041,8 @@ void ocfs2_unlock_and_free_pages(struct page **pages, int num_pages) static void ocfs2_free_write_ctxt(struct ocfs2_write_ctxt *wc) { + mlog(0, "(0x%p)\n", wc); + ocfs2_unlock_and_free_pages(wc->w_pages, wc->w_num_pages); brelse(wc->w_di_bh); @@ -978,9 +1056,14 @@ static int ocfs2_alloc_write_ctxt(struct ocfs2_write_ctxt **wcp, u32 cend; struct ocfs2_write_ctxt *wc; + mlog_entry("(.., 0x%p,...
2004 Aug 01
2
Strange Problem with "proj" and "aov" for split-plot analysis output
...h 25.295 mc 11 joe h 75.000 mc 15 Lei h 44.500 mc 9 helen n 42.500 mc 13 jonathon n 55.500 mc 17 pablo n 47.000 mc 19 purin n 97.000 mc 21 scott n 85.000 mc 23 vince n 65.850 mc 2 christian h 168.000 wc 4 christina h 37.500 wc 6 ERIN h 45.500 wc 8 gautam h 28.860 wc 12 joe h 70.000 wc 16 Lei h 52.500 wc 10 helen n 57.500 wc 14 jonathon n 46.000 wc 18 pablo n 58.000 wc 20 purin n 113.000 wc 22 scot...
2004 Oct 05
1
Brazillian Caller ID: almost there...
Hello, Talking with Soren Sratje about Caller ID in Brazil, we compare ours DTMF tones captured by ztmonitor. wcfxo correctly recognize the "DTMF CLIP" and asterisk shot the AST_STATE_PRERING correctly. But the DTMF tones are not reconized. In the chan_zap.c, the code: if (f->frametype == AST_FRAME_DTMF) { (...) Does not occurs because the frametype is always reconized as voice (AST_FRAME_VOICE...