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
15%
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
15%
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
15%
14.11.2013
, $user, $pass) = (split);
17 close(IN);
18
19 my $client = new Frontier::Client(url => "http://$server/rpc/api");
20 my $session = $client->call('auth.login', $user, $pass);
21
22 return ($client
15%
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
15%
18.02.2018
variable "site_author" {
07 type = "string"
08 default = "Jon Doe"
09 }
10 variable "site_container" {}
11 variable "do_token" {
12 type = "string"
13 }
14 variable "key_path" {}
15 variable "ssh
15%
14.03.2018
_vpc_net:
17 name: "{{ netname }}-int"
18 cidr_block: "{{ cidr_master }}"
19 region: "{{ region }}"
20 tags: create_vpc_int
21 register: myvpcint
22
23 - name: Create Subnet INT
24 ec2
15%
03.02.2022
class BlazeDemoV1 extends Simulation {
08
09 var qualifiedhost = "http://blazedemo.com"
10 var proxyport = 0
11 var proxyhost = "not set"
12
13 // headers for HTTP call
14 val headers = Map(
15
15%
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
15%
28.11.2023
image: monitoror/monitoror:${MTRRTAG:-latest}
05 ports:
06 - "38080:8080"
07 environment:
08 - "MO_CONFIG=/etc/config.json"
09 restart: unless-stopped
10
11 networks:
12 default