78%
07.11.2011
, how can you get all the threads to work on a collated result – for example, to total the values in an array? reduction()
(Listing 2) handles this.
Listing 2: reduction()
01 a = 0 ; b = 0 ;
02 #pragma
78%
30.11.2025
is as follows:
tc filter add dev $DEV protocol ip parent 1:0 prio 100 u32 match ip $DIR 12.34.56.78 flowid 1:12
You'll be glad to know the filter's config is much simpler than the classes or the qdisc
78%
07.10.2014
compiling (Listing 2).
Listing 2
Sheepdog Uses the FNV-1a Algorithm
01 #define FNV1A_64_INIT ((uint64_t) 0xcbf29ce484222325ULL)
02 #define FNV_64_PRIME ((uint64_t) 0x100000001b3ULL)
03
04
78%
01.06.2024
long count=0; //Count holds all the number of how many good coordinates
14 double z; //Used to check if x^2+y^2<=1
15 double pi
78%
08.06.2021
numpy as np
nx = 100
ny = 100
a = np.random.rand(nx,ny)
b = np.random.rand(ny)
x = np.linalg.solve(a, b)
Array a
and the second part of the tuple, b
,
are created by a random number generator with random
78%
04.11.2011
with a fictive “do in parallel … .”
Listing 2: Pseudocode for Execution in Parallel
01 // Do in parallel
02 for all y in {0, ..., out.height ‑ 1} and all x in {0, ..., out.width ‑ 1}
03 {
04 float
78%
30.11.2025
in the cgroup. You can then use the tc with the group. Start by defining the classID for the cgroup:
echo 0x00100001 > /cgroup/net_cls/libvirt/qemu/guest/net_cls.classid
This hexadecimal number comprises two
78%
30.11.2025
.bash_profile. Note that this setup assumes you will later install OpenSSH in /usr/local/.
Listing 1
.bash_profile Variables
01 CC=gcc
02 CPPFLAGS=-I/usr/local/ssl/include
03 EDITOR=vi
04
78%
10.04.2015
Tomcat 7 (JBoss EWS 2.0) web
21 jboss-vertx-2.1 (!) Vert.x 2.1 web
22 jboss-wildfly-8 (!) WildFly Application Server 8.2.0.Final web
23 diy-0.1
77%
11.02.2016
Use of mysqld
# ps aux | egrep 'mysqld|VSZ'
USER PID %CPU %MEM VSZ RSS START TIME COMMAND
mysql 1568 0.0 0.0 4440 744 Sep08 0:00 mysqld_safe
mysql 2337 0.1 5.9 29163040