Home
last modified time | relevance | path

Searched refs:numHosts (Results 1 – 25 of 94) sorted by relevance

1234

/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/libp2p/go-libp2p-pubsub/
H A Dtopic_test.go95 const numHosts = 1
135 const numHosts = 2
229 const numHosts = 5
262 const numHosts = 20
297 for i := 0; i < numHosts; i++ {
328 const numHosts = 20
413 const numHosts = 33
518 const numHosts = 35
535 const numHosts = 5
599 const numHosts = 1
[all …]
H A Ddiscovery_test.go131 const numHosts = 20
137 hosts := getNetHosts(t, ctx, numHosts)
138 psubs := make([]*PubSub, numHosts)
139 topicHandlers := make([]*Topic, numHosts)
149 msgs := make([]*Subscription, numHosts)
164 if numPeers == numHosts-1 {
228 numHosts := partitionSize * 2
237 hosts := getNetHosts(t, ctx, numHosts)
238 psubs := make([]*PubSub, numHosts)
252 msgs := make([]*Subscription, numHosts)
[all …]
/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/network/p2pParts/
H A DHostCatcher.cpp43 int numHosts = mHostVector->size(); in ~HostCatcher() local
45 for( int i=0; i<numHosts; i++ ) { in ~HostCatcher()
75 for( int i=0; i<numHosts; i++ ) { in addHost()
81 i = numHosts; in addHost()
111 int numHosts = mHostVector->size(); in getHostOrdered() local
113 if( numHosts == 0 ) { in getHostOrdered()
139 int numHosts = mHostVector->size(); in getHost() local
141 if( numHosts == 0 ) { in getHost()
267 int numHosts = mHostVector->size(); in noteHostBad() local
269 for( int i=0; i<numHosts; i++ ) { in noteHostBad()
[all …]
/dports/net/yggdrasil/yggdrasil-go-0.3.11/contrib/ansible/
H A Dgenkeys.go19 var numHosts = flag.Int("hosts", 1, "number of host vars to generate") var
32 if *numHosts > *keyTries {
38 for i := 0; i < *numHosts+1; i++ {
42 for i := 0; i < *keyTries-*numHosts-1; i++ {
48 for i := 0; i < *numHosts+1; i++ {
52 for i := 0; i < *keyTries-*numHosts-1; i++ {
59 for i := 1; i <= *numHosts; i++ {
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/yggdrasil-network/yggdrasil-go/contrib/ansible/
H A Dgenkeys.go20 var numHosts = flag.Int("hosts", 1, "number of host vars to generate") var
32 bar := pb.StartNew(*keyTries*2 + *numHosts)
34 if *numHosts > *keyTries {
40 for i := 0; i < *numHosts+1; i++ {
45 for i := 0; i < *keyTries-*numHosts-1; i++ {
53 for i := 1; i <= *numHosts; i++ {
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/mapred/
H A DTestNodeRefresh.java64 private void startCluster(int numHosts, int numTrackerPerHost, in startCluster() argument
84 hosts = new String[numHosts]; in startCluster()
85 for (int i = 1; i <= numHosts; ++i) { in startCluster()
92 dfs.startDataNodes(conf, numHosts, true, null, null, hosts, null); in startCluster()
101 trackerHosts = new String[numHosts * numTrackerPerHost]; in startCluster()
102 for (int i = 1; i <= (numHosts * numTrackerPerHost); ++i) { in startCluster()
108 mr = new MiniMRCluster(0, 0, numHosts * numTrackerPerHost, namenode, 1, in startCluster()
119 assertEquals("Not all hosts are up", numHosts - numExcluded, in startCluster()
/dports/devel/kf5-kio/kio-5.89.0/autotests/
H A Dktcpsockettest.cpp282 static const int numHosts = 4; in statesManyHosts() local
283 for (int i = 0; i < numHosts * 5; i++) { in statesManyHosts()
284 qDebug("\nNow trying %s...", hosts[i % numHosts]); in statesManyHosts()
286 s->connectToHost(hosts[i % numHosts], 80); in statesManyHosts()
290 if (i < numHosts) { in statesManyHosts()
305 request.append(hosts[i % numHosts]); in statesManyHosts()
320 if (i % (numHosts + 1)) { in statesManyHosts()
/dports/devel/spark/spark-2.1.1/core/src/test/scala/org/apache/spark/storage/
H A DTopologyMapperSuite.scala33 val numHosts = 100 constant
35 val props = (1 to numHosts).map{i => s"host-$i" -> s"rack-${i % numRacks}"}.toMap
/dports/sysutils/amtc/amtc-e7822e8/src/
H A Damtc.c104 int numHosts = 0; variable
167 if (waitDelay==-1 && cmd == CMD_POWERUP && numHosts>1) { in main()
509 for(a = 0; a < numHosts; a++) { in process_hostlist()
529 for(b = 0; b < numHosts; b++) { in process_hostlist()
553 numHosts = h; in build_hostlist()
561 for(a = 0; a < numHosts; a++) in dump_hostlist()
567 for(a = 0; a < numHosts; a++) { in dump_hostlist()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/weaveworks/common/tools/runner/
H A Drunner.go185 numHosts, err := strconv.Atoi(parts[len(parts)-1])
187 numHosts = 1
189 tests = append(tests, test{name, numHosts})
190 fmt.Printf("Test %s needs %d hosts\n", name, numHosts)
/dports/deskutils/kdepim-addons/kdepim-addons-21.12.3/korganizer/emailaddressselectionldapdialog/
H A Demailaddressselectionldapdialog.cpp36 int numHosts = group.readEntry("NumSelectedHosts", 0); in EmailAddressSelectionLdapDialog() local
37 if (!numHosts) { in EmailAddressSelectionLdapDialog()
/dports/science/PETSc/petsc-3.14.1/src/sys/classes/viewer/impls/mathematica/
H A Dmathematica.c198 PetscInt numHosts; in PetscViewerMathematicaSetFromOptions() local
225 numHosts = size; in PetscViewerMathematicaSetFromOptions()
227 …ierr = PetscOptionsGetStringArray("viewer_", "-math_linkhost", hosts, &numHosts, &opt);CHKERRQ… in PetscViewerMathematicaSetFromOptions()
229 if (numHosts > rank) { in PetscViewerMathematicaSetFromOptions()
236 for (h = 0; h < numHosts; h++) { in PetscViewerMathematicaSetFromOptions()
/dports/devel/hadoop/hadoop-1.2.1/src/core/org/apache/hadoop/fs/
H A DBlockLocation.java216 int numHosts = in.readInt(); in readFields() local
217 for (int i = 0; i < numHosts; i++) { in readFields()
/dports/net/kldap/kldap-21.12.3/src/widgets/
H A Dldapclientsearch.cpp175 const int numHosts = config.readEntry("NumSelectedHosts", 0); in readConfig() local
176 if (!numHosts) { in readConfig()
179 for (int j = 0; j < numHosts; ++j) { in readConfig()
/dports/net/messagelib/messagelib-21.12.3/messagecomposer/src/recipient/
H A Drecipientspicker.cpp60 int numHosts = group.readEntry("NumSelectedHosts", 0); in RecipientsPicker() local
61 if (!numHosts) { in RecipientsPicker()
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e/storage/vsphere/
H A Dnodemapper.go268 numHosts := len(hosts)
270 if count == numHosts {
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/vendor/github.com/gocql/gocql/
H A Dconnectionpool.go85 numHosts prometheus.GaugeFunc member
132 pool.numHosts = promauto.With(registerer).NewGaugeFunc(prometheus.GaugeOpts{
221 p.registerer.Unregister(p.numHosts)
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/gocql/gocql/
H A Dconnectionpool.go85 numHosts prometheus.GaugeFunc member
132 pool.numHosts = promauto.With(registerer).NewGaugeFunc(prometheus.GaugeOpts{
221 p.registerer.Unregister(p.numHosts)
/dports/net-mgmt/phpipam/phpipam-a14bc06/app/tools/pstn-prefixes/
H A Dsingle-prefix-numbers.php96 print "(".$prefix->prefix.$n->number.' - '.($n->number + $n->numHosts).")";
/dports/security/kleopatra/kleopatra-21.12.3/src/conf/
H A Ddirservconfigpage.cpp56 const uint numHosts = mConfig.readEntry("NumSelectedHosts");
57 for (uint j = 0; j < numHosts; j++) {
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/
H A DBaseLoadBalancer.java137 int numHosts; field in BaseLoadBalancer.Cluster
191 hostsToIndex.put(sn.getHostname(), numHosts++); in Cluster() local
216 serversPerHost = new int[numHosts][]; in Cluster()
232 regionsPerHost = new int[numHosts][]; in Cluster()
235 primariesOfRegionsPerHost = new int[numHosts][]; in Cluster()
262 hosts = new String[numHosts]; in Cluster()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/client/
H A Dmongo_uri_test.cpp570 const auto numHosts = static_cast<size_t>(hosts.Obj().nFields()); in TEST() local
596 numHosts, in TEST()
/dports/www/firefox-esr/firefox-91.8.0/testing/xpcshell/node-ip/
H A DREADME.md52 // numHosts: 62,
/dports/net-mgmt/phpipam/phpipam-a14bc06/app/temp_share/
H A Dsubnet-addresses.php158 …dr).' - '.$Subnets->transform_to_dotted( $addresses[$n]->stopIP)." (".$addresses[$n]->numHosts.")";
/dports/www/firefox/firefox-99.0/testing/xpcshell/node-ip/
H A DREADME.md52 // numHosts: 62,

1234