23%
16.01.2013
(nsamples):
12 x = random.random()
13 y = random.random()
14 if (x*x)+(y*y)<1:
15 inside += 1
16
17 mypi = (4.0 * inside)/nsamples
18 pi = comm.reduce(mypi, op=MPI.SUM, root=0)
19
20 if rank
23%
02.06.2020
= sol.copy()
10
11 for j in range(0,ny-1):
12 sol[0,j] = 10.0
13 sol[nx-1,j] = 1.0
14 # end for
15
16 for i in range(0,nx-1):
17 sol[i,0] = 0.0
18 sol[i,ny-1] = 0.0
19 # end for
20
21 # Iterate
22
23%
25.03.2020
7 1 56008 loop1
06 7 2 56184 loop2
07 7 3 91264 loop3
08 259 0 244198584 nvme0n1
09 8 0 488386584 sda
10 8 1 1024 sda1
11
23%
27.08.2014
.5 GB 7.8% (17.9% cumulative)
6.7 GB 6.8% (24.7% cumulative)
8.9 GB 6.3% (30.9% cumulative)
11.2 GB 5.9% (36.9% cumulative)
13.4 GB 5.7% (42.6% cumulative)
15.7 GB 5.4% (48.0% cumulative)
17.9 GB 5
23%
12.09.2013
\nContent-Type: text/plain\n\n";
09 $|=1; $|=0; # flush
10
11 my $dbh;
12
13 $SIG{TERM}=sub {
14 $dbh->pg_cancel if $dbh and $dbh->{pg_async_status}==1;
15 };
16
17 $dbh
23%
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
23%
16.10.2012
($ssh, '/sbin/ifconfig');
07 stream_set_blocking($stream, true);
08
09 $response = '';
10 while($buffer = fread($stream, 4096)) {
11 $response .= $buffer;
12 }
13
14 fclose($stream);
15 echo $response;
16
17
23%
01.08.2019
addr: :5000
10 tls:
11 certificate: "/le/live/remote.repository.com/cert.pem"
12 key: "/le/live/remote.repository.com/privkey.pem"
13 auth:
14 token:
15 realm
22%
21.01.2020
1 56008 loop1
06 7 2 56184 loop2
07 7 3 91264 loop3
08 259 0 244198584 nvme0n1
09 8 0 488386584 sda
10 8 1 1024 sda1
11