search for: cret

Displaying 9 results from an estimated 9 matches for "cret".

Did you mean: bret
2007 Apr 18
1
[patch 5/9] Guest page hinting: mlocked pages.
...g add BUG_ON(addr >= end); BUG_ON(end > vma->vm_end); len = (end+PAGE_SIZE-1)/PAGE_SIZE-addr/PAGE_SIZE; + + if (page_host_discards() && (vma->vm_flags & VM_LOCKED)) { + int rlen = len; + ret = 0; + while (rlen > 0) { + struct page *page_refs[32]; + int chunk, cret, i; + + chunk = rlen < 32 ? rlen : 32; + cret = get_user_pages(current, current->mm, addr, + chunk, write, 0, + page_refs, NULL); + if (cret > 0) { + for (i = 0; i < cret; i++) + page_cache_release(page_refs[i]); + ret += cret; + } + if (cret <...
2007 Apr 18
1
[patch 5/9] Guest page hinting: mlocked pages.
...g add BUG_ON(addr >= end); BUG_ON(end > vma->vm_end); len = (end+PAGE_SIZE-1)/PAGE_SIZE-addr/PAGE_SIZE; + + if (page_host_discards() && (vma->vm_flags & VM_LOCKED)) { + int rlen = len; + ret = 0; + while (rlen > 0) { + struct page *page_refs[32]; + int chunk, cret, i; + + chunk = rlen < 32 ? rlen : 32; + cret = get_user_pages(current, current->mm, addr, + chunk, write, 0, + page_refs, NULL); + if (cret > 0) { + for (i = 0; i < cret; i++) + page_cache_release(page_refs[i]); + ret += cret; + } + if (cret <...
2006 Jun 13
0
Help debugging superodoctor
...rom /lib64/tls/libc.so.6 #4 0x000000000042e8f8 in smbus_byte_data_read (bustype=0, smb_base_io_addr=4352, slave=47, offset=40, data=0x7fbffff45c) at smbus.c:636 #5 0x000000000042c00f in get_item_reading (sThis_System=0x63e010, thisitem=0x63e480, parameters=0x63f910, iParameter_Count=38, cRet=0x7fbffff4f0 "0?s") at sd.c:2131 #6 0x000000000040b411 in create_SD_Table (sThis_System=0x63e010, spItem=0x63e480, iItem_Count=19, spParameter=0x63f910, iParameter_Count=38) at main.c:1798 #7 0x000000000040c146 in main (argc=7007456, argv=0x6aece0) at main.c:2471 Thread 1 (Thread...
2007 Feb 19
2
Calculating the Sharpe ratio
Hi useRs, I am trying to calculate the Sharpe ratio with "sharpe" of the library "tseries". The documentation requires the univariate time series to be a portfolio's cumulated returns. In this case, the example given data(EuStockMarkets) dax <- log(EuStockMarkets[,"FTSE"]) is however not the cumulated returns but rather the daily returns of the FTSE
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
...... 868 } 869 if(type(ret)=="one-svc") 870 { ... 874 } 875 876 if(type(ret)=="eps-svr"||type(ret)=="nu-svr"||type(ret)=="eps-bsvr") 877 { 878 cret <- ksvm(x[cind,],y[cind],type=type(ret),kernel=kernel,kpar = NULL,C=C,nu=nu,epsilon=epsilon,tol=tol,scaled=FALSE, cross = 0, fit = FALSE, cache = cache, prob.model = FALSE) 879 cres <- predict(cret, x[vgr[[i]],,drop=FALSE]) 880 if (!is.null(scaling(ret)$y.sca...
2017 Dec 01
2
Some strange i64 behavior with arm 32bit. (Raspberry Pi)
...1) call void @debug(i64 4294967296) call void @debug(i64 4294967297) call void @debug(i64 4294967298) [...] ret void } ``` where @debug is: ``` @.str = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 declare i32 @printf(i8*, ...) define void @debug(i64 %val) { %cret = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), i64 %val) ret void } ``` When I run it the output is: ``` -1 4294967296 ; expected this to be 1 = [0x0,0x0,0x0,0x0 ; ,0x0,0x0,0x0,0x1] 1...
2016 Aug 03
0
Samba 4.2.14 Group Policy (GPO) sync error
...t; > Any help or hint would be highly appreciated! > > > When running gpupdate the following block of messages are repeated > multiple > times in samba logs: > [2016/08/03 13:12:39.715332, 3] ../lib/ldb- > samba/ldb_wrap.c:321(ldb_wrap_connect) > ldb_wrap open of secrets.ldb > [2016/08/03 13:12:39.716203, 5] > ../auth/gensec/gensec_start.c:672(gensec_start_mech) > Starting GENSEC mechanism spnego > [2016/08/03 13:12:39.716472, 5] > ../auth/gensec/gensec_start.c:672(gensec_start_mech) > Starting GENSEC submechanism gssapi_krb5 > [2016/0...
2016 Aug 03
3
Samba 4.2.14 Group Policy (GPO) sync error
...(last version before badlock security update). Any help or hint would be highly appreciated! When running gpupdate the following block of messages are repeated multiple times in samba logs: [2016/08/03 13:12:39.715332, 3] ../lib/ldb-samba/ldb_wrap.c:321(ldb_wrap_connect) ldb_wrap open of secrets.ldb [2016/08/03 13:12:39.716203, 5] ../auth/gensec/gensec_start.c:672(gensec_start_mech) Starting GENSEC mechanism spnego [2016/08/03 13:12:39.716472, 5] ../auth/gensec/gensec_start.c:672(gensec_start_mech) Starting GENSEC submechanism gssapi_krb5 [2016/08/03 13:12:39.718868, 5] ../sou...
2008 Oct 22
2
Another node is heartbeating in our slot! errors with LUN removal/addition
Greetings, Last night I manually unpresented and deleted a LUN (a SAN snapshot) that was presented to one node in a four node RAC environment running OCFS2 v1.4.1-1. The system then rebooted with the following error: Oct 21 16:45:34 ausracdb03 kernel: (27,1):o2hb_write_timeout:166 ERROR: Heartbeat write timeout to device dm-24 after 120000 milliseconds Oct 21 16:45:34 ausracdb03 kernel: