15%
05.08.2024
= [size][size]int {{0},{0},}
08
09 for i := 0; i < size; i++ {
10 for j := 0; j < size; j++ {
11 array[i][j]++
12 }
13 }
14
15
14%
07.11.2011
print str(id) + ' Total waste of CPU cycles!'
08
09 if '__main__' == __name__:
10
11 for i in xrange(20):
12 Process(target = waste, args = (i,)).start()
The counting.py
program delays
14%
30.11.2025
(number, label):
07 for i in xrange(number):
08 print ' ' + str(i) + ' ' + label
09 sleep((number - 15)/10.0)
10
11 if '__main__' == __name__:
12
13 p1 = Process(target = count, args = (20
14%
30.11.2025
=> 12;
05
06 # Hash AV pairs: (load in vusers, throughput in gets/sec)
07 %tpdata = ( (1,24), (2,48), (4,85), (7,100), (10,99), (20,94) );
08
09 @vusers = keys(%tpdata);
10 $model = "e-Commerce Final
14%
30.11.2025
.";
04 String s04 = "Hello, Linux Magazine!";
05 %>
06
07
08
<%= message%>
09 <%= s04%>
10 <%= new java
14%
30.11.2020
):
11
12 s = 0.0
13 s += h * f(a)
14 for i in range(1, n):
15 s += 2.0 * h * f(a + i*h)
16 # end for
17 s += h * f(b)
18 return (s/2.)
19 # end def
20
21
22 # Main section
23 comm = MPI
14%
30.11.2025
to perform the check before Icinga notifies
09 check_interval 5
10 retry_interval 1
11 check_period 24x7
12
14%
17.06.2017
real :: diameter
08 real :: radius
09 real :: area
10 end type meta_data
11
12 contains
13 subroutine meta_comp(r, item)
14 type(meta_data) :: item
15 item%diameter = 2.0
14%
01.06.2024
* argv[])
08 {
09 long niter = 1000000000;
10 int myid; //holds process's rank id
11 double x,y; //x,y value for the random coordinate
12 int i;
13
14%
10.04.2015
]
20 }
21 ]
22 }
23 ]
24 }
The script that performs the rsync operation, sync.sh, will look like Listing 3. Your script might be more complex (e.g., by adding some sort