Displaying 20 results from an estimated 973 matches for "occupied".
2003 Apr 28
2
sum(..., na.rm=TRUE) oddity
...I will need to apply the function
to missing data, simple as it is.
Code:
x<-matrix(runif(20,0,5)%/%1,4,5) # random matrix data set 4x5,
values are integers between 0 and 4
coords<-c(2,3,3,4) # choose any sub-matrix, with
c(ymin,ymax,xmin,xmax) being row and column indices.
occupied.counter<-function(coords){sum(x[coords[3]:coords[4],coords[1]:coords[2]])}
occupied.counter(coords)
[1] 7
occupied.counter<-function(coords){sum(x[coords[3]:coords[4],coords[1]:coords[2]],
na.rm=TRUE)}
occupied.counter(coords)
[1] 8
Cheers in advance
Rohan Sadler
--
Ecosystems Res...
2020 May 30
5
looking for ideas about how to create a constant data stream
Hi,
I'm looking for a good way to create a constant data stream that will occupy a
bandwidth of about 2--5Mbit/sec between two remote hosts over the internet. I
have full access to the hosts involved.
My first attempt to use scp to copy data from /dev/null on host A to /dev/null
on host B, but scp says '/dev/null: not a regular file'. If something like
that would work, I would
2019 Mar 14
4
[RFC] We are running out of slots in the Attribute::AttrKind enum
I would like to add a target-dependent attribute to the LLVM IR, and the guidance in http://llvm.org/docs/HowToUseAttributes.html says that target-dependent attributes should not occupy a slot in the Attribute::AttrKind enum, but I have yet to find an attribute that is represented in the IR that does not also have a slot in the AttrKind enum.
We are limited to 63 slots in the AttrKind enum
2003 Sep 11
1
check if drive letters are occupied by novell
...create dynamic logon scripts:
root preexec = /usr/local/samba/install/bin/make_logon_script
'%m' '%U' '%a' '%g' '%L
Who do I check in the by make_logon_script generated logon .bat script,
which is executed on the windows clients, if a drive letters is already
occupied by novell. The logon.bat script should then select the next
free drive letter for the samba share. Possible?
Thanks,
Marcus
2011 Sep 23
0
[LLVMdev] What CCAssignToXXXWithShadow means?
...ood example :) Look into win64 calling convention. Shadow
means if some register is allocated for incoming argument another one
cannot be used for argument allocation.
On Win64 general purpose registers shadow xmm and vice versa, so, say,
if you put argument into ecx, the xmm0 is marked as already occupied,
if you put argument into xmm1, edx is marked as occupied, etc.
> CCIfType<[i32], CCIfAlign<"8", CCAssignToRegWithShadow<[R0, R2], [R0, R1]>>>
>
> If we assign a value to R0(R2), then what happen to R0(R1)?
It will be marked as occupied.
> def RetCC_ARM_AA...
2012 Oct 11
0
Error with cForest
...m Forest using Conditional Inference Trees
Number of trees: 500
Response: Light
Inputs: FormH, FormV, Uratio, Void, Transmis
Number of observations: 660
FormH FormV Uratio Void Transmis
2259311332 713202692 4250413991 50551193145 571666638
Error in print.default(occupied$Fan, predicted) :
invalid 'digits' argument"
This error only occurs when I change the dependent variable name from " Fan " (the variable I used to develop and test the script with) to any of the other dependent variables I need to test. All variables being tested are eith...
2011 Sep 23
2
[LLVMdev] What CCAssignToXXXWithShadow means?
Hi, all
On the website, it says,
CCAssignToRegWithShadow <registerList, shadowList>
— similar to CCAssignToReg, but with a shadow list of registers
I don't know when we should use CCAssignToRegWithShadow. Because
I am not a architecture expert, please bear with my naive question.
Take ARMCallingConv.td as an example,
CCIfType<[i32], CCIfAlign<"8",
2008 Nov 04
3
getting "small" graphs with Sweave using Rnews.sty
I'm sorry for having to post this, but I can't seem to find any
solutions to this, which seems pretty simple, but then again...
I've started playing with the example r news project and wanted to start
adding some graphs, but replacing:
\begin{figure}
\vspace*{.1in}
\framebox[\textwidth]{\hfill \raisebox{-.45in}{\rule{0in}{1in}}
A graph goes here \hfill}
2017 Apr 12
3
Potential issue with noalias @malloc and @realloc
...an object of type T ends when:
— if T is a class type with a non-trivial destructor (12.4), the destructor
call starts, or
— the storage which the object occupies is reused or released."
it also says:
"If, after the lifetime of an object has ended and before the storage which
the object occupied is reused or released, a new object is created at the
storage location which the original object occupied, a pointer that pointed
to the original object, a reference that referred to the original object,
or the name of the original object will automatically refer to the new
object and, once the lif...
2010 Nov 10
1
Difficult doubt about choose distances randomly in a matrix with a probability of event
I would like to build a model in R to simulate the seed dispersal by one plant.
The plant produced 5 seeds and the probability of falling inside the eight closest space was 0.8 and in the next space 0.2 and in the rest space 0:
0
0
0
0
0
0
0.2
0.2
0.2
0.2
0.2
0
0.2
0.8
0.8
0.8
0.2
0
0.2
0.8
1
0.8
0.2
0
0.2
0.8
0.8
0.8
0.2
0
0.2
0.2
0.2
0.2
0.2
0
0
0
0
0
0
0
2008 Dec 05
2
All lines occupied notification from endpoint
Hi,
I've noticed that if I have a multi-line linksys (942 or 962) phone
with the same sip registration mapped to each line key, that if all
the lines are full the phone will accept another call. I would expect
the phone to respond with "busy" so the call would to directly to
voicemail.
Has anyone else experienced this and know of a workaround? I know it
seems like an
2013 Jul 12
1
port for rpc.statd occupied rsync port
Hello,
booting starts /etc/init.d/nfslock. today, rpc.statd used port 873.
later starting xinetd finds port used and disabled rsync daemon.
So its more or less a lucky break, to boot CentOS and have rsync running?
In /etc/rc3.d is
S14nfslock
S56xinetd
so by design xinetd starts always after nfslock!!!!
Best regards
--
Viele Gr??e
i.V. Helmut Drodofsky
________________________________
2011 Sep 23
1
[LLVMdev] What CCAssignToXXXWithShadow means?
Hi, Anton
> On Win64 general purpose registers shadow xmm and vice versa, so, say,
> if you put argument into ecx, the xmm0 is marked as already occupied,
> if you put argument into xmm1, edx is marked as occupied, etc.
I think ecx and xmm0 are physical different registers (not like ecx
and cx), right? So why we cannot use xmm0 while ecx has been used? Is
it just a rule or there are some considerations behind it?
>> CCIfType<[i32], C...
2012 Mar 13
1
Amount of memory occupied by data type
Hello all,
I was under the (false?) assumption that an object that is class
logical, would take up less memory than an object with class integer.
Below am I correctly showing this is not the case?
This was an attempt to reduce memory usage. I'm dealing with two large
arrays (could be integers). Their contents are the exact same, but one
has NA's in random locations. I thought instead
2015 Feb 02
0
Tinc1.1 generates Port automatically when port is occupied
On Mon, Feb 02, 2015 at 07:46:11PM +0100, Eric Feliksik wrote:
> I like the config generator of tinc 1.1! An issue to consider on the
> default behavior:
>
> It turns out 'tinc -n mynet init mynodename' makes up a default Port=...
> when the standard port is taken:
> "Warning: could not bind to port 655. Tinc will instead listen on port
> 22911".
The goal
2016 Apr 11
4
meminfo
Dear All
As far as I know , to check for the amount of installed RAM on my
centos server I checked it as:
#more /proc/meminfo
Can you please let me know how can I check for the instantaneous
occupied amount of my RAM the similar way the task manager shows it on
my Win server ?
Thank you in advance
2013 Aug 29
2
Why does an empty vector occupy 40 bytes?
Hi all,
Why is the object size of an empty vector 40 bytes? (At least in 64-bit R.)
object.size(integer(0))
# 40 bytes
Reading R internals, it looks like it should be:
* 4 bytes: sxpinfo header (= 32 bits)
* 8 bytes: pointer to attributes
* 8 bytes: pointer to next node
* 8 bytes: pointer to previous node
* 4 bytes: length
* 4 bytes: true length
= 36 bytes
Where are the extra 4 bytes coming
2001 Dec 24
11
Traffic balancing by IP.
Hello all!
As far as I know that the traffic that will pass thru the router is balanced
so that all connections have the same privilegies. Is it possible to
configure the linux based router so that all computers will have the same
privilegies? I mean that if in default case full traffic is splitted by
connections, so I need to split it by users to prevent one user occupy all
traffic by starting
2014 Apr 18
3
Can the output of Sys.getenv() be improved?
Within an R session, type Sys.getenv() will list all the environment variables, but each one of them occupies about a page, so scrolling to find one is difficult. Is this because I don't know how to use it or something could be improved? Usually I'm not sure the exact name of a variable but want to look it up. Recently I installed rjags, with the JAGS-3.4.0's lib, include, modules
2010 Oct 19
0
[LLVMdev] Structure memory layout
Hi Jin Gu Kang
> 5 %0 = type { i3, i4, i3, i2 }
each of the above struct fields occupies 1 byte. If you were hoping that an
i3 field would occupy only 3 bits then I am sorry, it doesn't work that way.
Ciao,
Duncan.