18%
04.08.2011
.pm.xenserver.utils.Server;
12
13 public class TestAPI {
14
15 /**
16 * @param args
17 */
18 public static void main(String[] args) throws Exception {
19
20 if (args.length != 3 && args.length != 5)
21
18%
30.11.2025
.Xensource.xenapi.Connection;
07 import com.Xensource.xenapi.Host;
08 import com.Xensource.xenapi.Session;
09 import com.Xensource.xenapi.Task;
10
11 import de.pm.xenserver.utils.Server;
12
13 public class TestAPI {
14
15
18%
07.11.2011
if '__main__' == __name__:
12
13 p1 = Process(target = count, args = (20, ' Rich',))
14 p2 = Process(target = count, args = (25, ' Nus',))
15 p3 = Process(target = count, args = (30, ' Geeks
18%
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
18%
13.12.2018
============================================ N/S matched: mssql-server =============================================
08 mssql-server.x86_64 : Microsoft SQL Server Relational Database Engine
09 mssql-server-agent.x86_64 : Microsoft SQL Server
18%
30.11.2025
an Asterisk PBX as an HA resource
07 #
08 # Authors: Martin Gerhard Loschwitz
09 # Florian Haas
10 #
11 # Support: linux-ha@lists.linux-ha.org
12 # License: GNU General Public
18%
13.12.2022
1.1 M
dhcp-common noarch 12:4.3.6-47.el8 baseos 206 k
dhcp-libs x86_64 12:4.3.6-47.el8 baseos 147 k
18%
06.10.2019
illustrates the differences.
Listing 1
Two Ways to Indent Code
01 if (x == y) then
02 {
03 do something;
04 }
05
06 while ( x < y) {
07 x = x+1;
08 }
The indentation depth
18%
13.12.2018
define ROOT C:\Program Files (x86)\nxlog
02 Moduledir %ROOT%\modules
03 CacheDir %ROOT%\data
04 Pidfile %ROOT%\data\nxlog.pid
05 SpoolDir %ROOT%\data
06 LogFile %ROOT%\data\nxlog.log
07
08
18%
21.08.2014
_interval);
04 use Net::Statsd;
05
06 $Net::Statsd::HOST = 'localhost'; # Default
07 $Net::Statsd::PORT = 8125; # Default
08
09 my $t0 = [gettimeofday];
10
11 my($one, $two, $three) = map { $_ x 4096