search for: _i

Displaying 20 results from an estimated 89 matches for "_i".

Did you mean: _ti
2011 Dec 06
0
[LLVMdev] Implement implicit TLS on Windows - need advice
...ends up in the .tls section > - to access a thread local variable, you have to do >  (1) load pointer to thread local storage from TEB >      On x86_64, this is gs:0x58, on x86 it is fs:0x2C. >  (2) load pointer to thread local state. In general, the index is stored in > variable _tls_index. For a .exe, _tls_index is always 0. >  (3) load offset of variable to start of .tls section. >  (4) the thread local variable can now accessed with the add of step 2 and > 3. > > For x86_64, something like the following should be generated for the tls1.ll > test case: > &g...
2011 Dec 04
3
[LLVMdev] Implement implicit TLS on Windows - need advice
...ad local variable ends up in the .tls section - to access a thread local variable, you have to do (1) load pointer to thread local storage from TEB On x86_64, this is gs:0x58, on x86 it is fs:0x2C. (2) load pointer to thread local state. In general, the index is stored in variable _tls_index. For a .exe, _tls_index is always 0. (3) load offset of variable to start of .tls section. (4) the thread local variable can now accessed with the add of step 2 and 3. For x86_64, something like the following should be generated for the tls1.ll test case: (1) mov rdx, qword [g...
2008 Jun 30
2
Build bug and execution bug
The build bug: DESTDIR=$SOMEDIR does not work: mkdir ${HOME}/tools/openssh/openssh-5.0p1/_i/usr/local/etc ${HOME}/tools/openssh/openssh-5.0p1/_i/usr/local/sbin/sshd -t -f ${HOME}/tools/openssh/openssh-5.0p1/_i/usr/local/etc/sshd_config Could not load host key: /usr/local/etc/ssh_host_rsa_key Could not load host key: /usr/local/etc/ssh_host_dsa_key Disabling protocol version 2. Could not l...
2011 Oct 20
1
[PATCH] remove the xen dracut module
...h -p /usr/lib/xen-default/bin/xen-detect xen-detect || return 1 - fi - - . $dracutfunctions - [[ $debug ]] && set -x - - # Yes, we are under Xen PV env. - xen-detect | grep -q -v PV || return 0 - - return 1 -} - -depends() { - return 0 -} - -installkernel() { - local _i - for _i in \ - xenbus_probe_frontend xen-pcifront \ - xen-fbfront xen-kbdfront xen-blkfront xen-netfront \ - ; do - modinfo -k $kernel $_i >/dev/null 2>&1 && instmods $_i - done - -} - -install() { - hash xen-detect 2>/dev/null || \ -...
2020 May 22
0
[PATCH nbdkit 3/4] tests/functions.sh.in: Rename variables $status and $i when running cleanups.
...ile changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/functions.sh.in b/tests/functions.sh.in index e2ef9701..b5c7d88b 100644 --- a/tests/functions.sh.in +++ b/tests/functions.sh.in @@ -43,17 +43,17 @@ cleanup_fn () _run_cleanup_hooks () { - local status=$? i + local _status=$? _i set +e trap '' INT QUIT TERM EXIT ERR - echo $0: run cleanup hooks: exit code $status + echo $0: run cleanup hooks: exit code $_status - for (( i = 0; i < ${#_cleanup_hook[@]}; ++i )); do - ${_cleanup_hook[i]} + for (( _i = 0; _i < ${#_cleanup_hook[@]}...
2007 Feb 01
2
Index mapping on arrays
Dear R-community, I have some trouble with index mappings for arrays. If, for example, I have the array R> A <- array(1:9, c(3,3,2)) and two index mappings both of same size R> x <- c(2, 3) R> y <- c(1, 2) Now I want to access the elements (A[1, x[i], y[i]])_i of A, i.e. A[1, x[1], y[1]] = A[1, 2, 1] and A[1, x[2], y[2]] = A[1, 3, 2]. If I use R> A[1, x, y] I would get every combinations of indices of all elements of x and y i.e. A[1, x[1], y[1]], A[1, x[1], y[2]], A[1, x[2], y[1]] and A[1, x[2], y[2]]. But how can I access the elements (A[1, x[i],...
2019 Mar 01
1
Surprising results from INTEGER_GET_REGION with ALTREP object
Dear Listmembers, wanting to learn more about ALTREP I wrote the following function to extract a subsequence from an integer vector: #include <Rinternals.h> SEXP integer_get_region(SEXP _x, SEXP _i, SEXP _n) { int i = INTEGER(_i)[0]; int n = INTEGER(_n)[0]; SEXP result = PROTECT(Rf_allocVector(INTSXP, n)); INTEGER_GET_REGION(_x, i, n, INTEGER(result)); UNPROTECT(1); return result; } For "shorter" vectors, the result is as expected: > dyn.load("altrep_int_region...
2012 May 24
0
[PATCH RFC 2/9] console: prepare for non-COMn port support
Widen SERHND_IDX (and use it where needed), introduce a flush low level driver method, and remove unnecessary peeking of the common code at the (driver specific) serial port identification string in the "console=" command line option value. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xe...
2020 May 22
6
[PATCH nbdkit 0/4] Add fuamode=pass and fuamode=discard
Two hopefully useful additions to the fua filter. The second one is kind of like cache=unsafe in qemu, in that it exchanges correctness for speed. Useful for data which is easily recreated in the event of a crash or for people who like living on the edge and have good backups. Rich.
2020 Aug 02
2
[nbdkit] Failure in test-retry-size.sh
...]: debug: calling: /tmp/nbdkitpKY00D/inline-script.sh can_extents "" nbdkit: sh[1]: debug: completed: /tmp/nbdkitpKY00D/inline-script.sh can_extents: status 2 nbdkit: sh[1]: debug: newstyle negotiation: flags: export 0x83 nbdkit: sh[1]: debug: newstyle negotiation: NBD_OPT_GO: ignoring NBD_INFO_* request 3 (NBD_INFO_BLOCK_SIZE) nbdkit: sh[1]: debug: handshake complete, processing requests serially nbdkit: sh[1]: debug: retry: pread count=512 offset=0 nbdkit: sh[1]: debug: sh: pread count=512 offset=0 nbdkit: sh[1]: debug: calling: /tmp/nbdkitpKY00D/inline-script.sh pread "" 5...
2012 Feb 06
1
multiple comparisons in nested design
Dear professors and collegues I need to perform a analysis of dates from a nested experimental design. From "Bioestatical Analysis" of Zar "Bimetry of Sokal" & Rohlf "Design and Analysis of Experiments" of Montgomery I have: Sum (mean(x)_i - mean(x)_T)2 / (a-1) -> var(epsilon) + n sigma2_B + n b (sum alfa_i)2 / (a-1) Sum (mean(x)_ij - mean(x)_i)2 / (ba-a) -> var(epsilon) + n sigma2_B Sum (x_ijl - mean(x)_ij)2 / (abn-ab) -> var(epsilon) Dates for the execution of a example: #> Mesures <- as.data.frame(matrix(rnorm(45...
2020 Aug 03
0
Re: [nbdkit] Failure in test-retry-size.sh
...ng: /tmp/nbdkitpKY00D/inline-script.sh can_extents "" > nbdkit: sh[1]: debug: completed: /tmp/nbdkitpKY00D/inline-script.sh can_extents: status 2 > nbdkit: sh[1]: debug: newstyle negotiation: flags: export 0x83 > nbdkit: sh[1]: debug: newstyle negotiation: NBD_OPT_GO: ignoring NBD_INFO_* request 3 (NBD_INFO_BLOCK_SIZE) > nbdkit: sh[1]: debug: handshake complete, processing requests serially > nbdkit: sh[1]: debug: retry: pread count=512 offset=0 > nbdkit: sh[1]: debug: sh: pread count=512 offset=0 > nbdkit: sh[1]: debug: calling: /tmp/nbdkitpKY00D/inline-script.sh...
2010 Nov 06
4
Using changing names in loop in R
...h loops: What I want to do: Say, I have several data files that differ only in a number, e.g. data points (or vector, or matrix...) Data_1, Data_2, Data_3,... and I want to manipulate them e.g. a simple sum of several data points >data <- c(NA,n) >for (i in 1:n){ >data[i] <- Data_i + Data_[i-1] > } I know that the above code doesn't work, and I don't want to combine the files into one vector to solve the problem etc. - I would just like to know who make sure R recognizes the extension "_i". I have the same problem for say, reading in da...
2005 Jul 12
21
Dom0 crashing on x86_64
...0 0000000080397db8 0000000000000001 ffff88000290d840 ffff88000a93d380 ffffffff8014bd98 0000000000000000 ffff88000c02ef30 ffffffff8013000e ffffffff80355f6c Call Trace:<ffffffff8014bd98>{mempool_alloc+152} <ffffffff8013000e>{proc_opensys+30} <ffffffff80355f6c>{nf_iterate+92} <ffffffff80397a50>{br_nf_pre_routing_finish+0} <ffffffff80356b4d>{nf_hook_slow+125} <ffffffff80397a50>{br_nf_pre_routing_finish+0} <ffffffff803984d1>{br_nf_pre_routing+1793} <ffffffff8014bceb>{mempool_free+171} <ffffffff80355f6c>{nf...
2009 Jul 21
3
EM algorithm
Hi, I have the following problem: I am working on assessing the accuracy of diagnostic tests. I have a log likelihood and 3 unknown parameters. Now I want to apply the EM algorithm to find the maximum likelihood estimates of these parameters. But I don't know anaything about how to code that in R. Can somebody help me?? Greats, Elena -- View this message in context:
2009 Jul 23
0
How to get w in SVR with e1071 package
> > Hi all, > > I need some help about how to calculate w in a SVR in package e1071. > > I have a regression y_i=f(x_i)+e > > where f(*x*)=(w,phi(x))+b > > then go on with the SVR calculation I know that w*=Sum_i=1^n [(á_i - > á*_i)K(x,x_i) ] where á_i and á*_i are the lagrangian multipliers of the > dual form. > > o.k but how I will get it in R? > > When I run my model I have in...
2018 Jan 24
0
Should llvm-nm classify Mach-O __DATA, __common symbols as BSS?
...c question, but I'm wondering how __DATA,__common and __DATA,__bss symbols differ, and whether llvm-nm ought not classify the former as type "B" as it does the latter: $ cat bss.c int i; static int si __attribute__((used)); $ clang -fno-common -c bss.c $ nm bss.o 0000000000000000 S _i 0000000000000004 b _si $ nm -m bss.o 0000000000000000 (__DATA,__common) external _i 0000000000000004 (__DATA,__bss) non-external [no dead strip] _si My (somewhat limited) understanding of linking and loading is that both of these symbols will be zero-filled at run-time by the operating system or...
2005 Jul 06
1
windows acl with rsync possible ?
...dir. but if special acls are setted on some files these are lost in the replication : only inherited acls are written i tried this with rsync 130a, one collegue of mine tried this in 201 i know there is a CYGWIN=[ntsec|nontsec] option i will try to change that inside the server and let you know _I also heard about an acl-patch : is it for windoz ACL also or unix ACL only ?_ (https://bugzilla.samba.org/show_bug.cgi?id=2780) ps : http://www.itefix.no/ has been hacked... some guys has time to waste (it is easier to destroy than to construct) a real thank you in advance to all Stephane ------...
2018 Jan 08
1
Switching from Internal DNS to Bind9_DLZ
...nd/db.127"; > }; > > zone "0.in-addr.arpa" { > type master; > file "/etc/bind/db.0"; > }; > > zone "255.in-addr.arpa" { > type master; > file "/etc/bind/db.255"; > }; > > Rowland _It looks as if I have a issue with the switch to Bind on one of my 6 DC's. Samba log gives the following. _ [2018/01/08 10:59:19.002290,  0, pid=968, effective(0, 0), real(0, 0)] ../lib/util/fault.c:79(fault_report)   INTERNAL ERROR: Signal 7 in pid 968 (4.7.4)   Please read the Trouble-Sho...
2019 Sep 11
0
[vhost:linux-next 8/9] drivers/vhost/vhost.c:2076:5: note: in expansion of macro 'array_index_nospec'
...clude/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) ^~~~~~~~~~~~~~~~ >> include/linux/nospec.h:55:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(sizeof(_i) > sizeof(long)); \ ^~~~~~~~~~~~ >> drivers/vhost/vhost.c:2076:5: note: in expansion of macro 'array_index_nospec' array_index_nospec(addr - node->start, ^~~~~~~~~~~~~~~~~~ >> include/linux/compiler.h:350:38: error: call to '__compiletime_assert_...