/dports/net/storj/storj-1.45.3/satellite/repair/ |
H A D | priority.go | 35 func SegmentHealth(numHealthy, minPieces, totalNodes int, failureRate float64) float64 { 36 if totalNodes < minTotalNodes { 40 totalNodes = minTotalNodes 42 churnPerRound := float64(totalNodes) * failureRate 49 p := float64(totalNodes-numHealthy) / float64(totalNodes)
|
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e/autoscaling/ |
H A D | cluster_autoscaler_scalability.go | 213 totalNodes := maxNodes 217 anyKey(originalSizes): totalNodes, 225 config := createScaleUpTestConfig(totalNodes, totalNodes, rcConfig, expectedResult) 226 tolerateUnreadyNodes := totalNodes / 10 244 totalNodes := maxNodes 250 anyKey(originalSizes): totalNodes, 271 fullNodesNum := totalNodes - underutilizedNodesNum 290 expectedSize := totalNodes - nodesToScaleDownCount 300 totalNodes := maxNodes 305 anyKey(originalSizes): totalNodes, [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_rendering/raytracing/accelerators/ |
H A D | bvh_pbrt.cpp | 269 int totalNodes = 0; in BVH_PBRT() local 290 for( int i = 0; i < totalNodes; ++i ) in BVH_PBRT() 302 wxASSERT( offset == (unsigned int)totalNodes ); in BVH_PBRT() 430 wxASSERT( totalNodes != nullptr ); in recursiveBuild() 438 (*totalNodes)++; in recursiveBuild() 781 *totalNodes = atomicTotal; in HLBVHBuild() 802 wxASSERT( totalNodes != nullptr ); in emitLBVH() 810 (*totalNodes)++; in emitLBVH() 873 (*totalNodes)++; in emitLBVH() 897 wxASSERT( totalNodes != nullptr ); in buildUpperSAH() [all …]
|
H A D | bvh_pbrt.h | 125 int end, int* totalNodes, CONST_VECTOR_OBJECT& orderedPrims ); 128 int* totalNodes, CONST_VECTOR_OBJECT& orderedPrims ); 133 MortonPrimitive* mortonPrims, int nPrimitives, int* totalNodes, 137 int* totalNodes );
|
/dports/sysutils/hfsexplorer/hfsexplorer-hfsexplorer-0.23.1/src/java/org/catacombae/hfs/types/hfsplus/ |
H A D | BTHeaderRec.java | 64 private final byte[] totalNodes = new byte[4]; field in BTHeaderRec 81 System.arraycopy(data, offset+22, totalNodes, 0, 4); in BTHeaderRec() 98 public int getTotalNodes() { return Util.readIntBE(totalNodes); } in getTotalNodes() 151 … System.arraycopy(totalNodes, 0, result, offset, totalNodes.length); offset += totalNodes.length; in getBytes() 174 db.addUIntBE("totalNodes", totalNodes, "Total number of nodes"); in getStructElements()
|
/dports/net/ns3/ns-allinone-3.35/ns-3.35/examples/wireless/ |
H A D | wifi-multirate.cc | 218 uint32_t totalNodes = c.GetN (); in AssignNeighbors() local 219 for (uint32_t i = 0; i < totalNodes; i++) in AssignNeighbors() 224 if ( i < totalNodes / 2 ) in AssignNeighbors() 230 if ( i >= (uint32_t)(4 * totalNodes) / 10 ) in AssignNeighbors() 238 if ( i < totalNodes / 2 ) in AssignNeighbors() 244 if ( i >= (uint32_t)(4 * totalNodes) / 10 ) in AssignNeighbors() 281 uint32_t totalNodes = c.GetN (); in SelectSrcDest() local 284 uvSrc->SetAttribute ("Max", DoubleValue (totalNodes / 2 - 1)); in SelectSrcDest() 286 uvDest->SetAttribute ("Min", DoubleValue (totalNodes / 2)); in SelectSrcDest() 287 uvDest->SetAttribute ("Max", DoubleValue (totalNodes)); in SelectSrcDest() [all …]
|
/dports/graphics/openrm/rm160/rm/ |
H A D | rmpick.c | 225 int totalNodes, totalPrims; in rmFramePick() local 237 totalNodes = global_RMnodePool->numAlloc; in rmFramePick() 243 printf(" rmFramePick: #nodes = %d, #prims = %d \n", totalNodes, totalPrims); in rmFramePick() 246 pickBufferSize = totalNodes + totalPrims; in rmFramePick() 342 int totalNodes, totalPrims, pickBufSize; in rmFramePickList() local 349 totalNodes = global_RMnodePool->numAlloc; in rmFramePickList() 353 pickBufSize = totalNodes + totalPrims; in rmFramePickList() 357 printf(" rmFramePickList totalNodes = %d, totalPrims = %d \n", totalNodes, totalPrims); in rmFramePickList()
|
H A D | rmserial.c | 217 int totalPrims=0, totalNodes=0; in private_rmBuildSerializedList() local 235 private_rmBuildSerial(r, &n, &totalNodes, &totalPrims); in private_rmBuildSerializedList() 242 *totalNodesReturn = totalNodes; in private_rmBuildSerializedList()
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/rudderlabs/analytics-go/ |
H A D | analytics.go | 63 totalNodes int member 98 c.totalNodes = 1 314 totalNodes := c.totalNodes 320 nodePayload[int(hashInt)%totalNodes] = append(nodePayload[int(hashInt)%totalNodes], msg) 365 c.totalNodes = int(gjson.GetBytes(body, "nodeCount").Int()) 397 if c.totalNodes == 0 { 405 targetNode := strconv.Itoa(k % c.totalNodes) 456 req.Header.Add("RS-nodeCount", strconv.Itoa(c.totalNodes))
|
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/predis/predis/src/Cluster/Distributor/ |
H A D | KetamaRing.php | 37 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 41 $replicas = (int) floor($weightRatio * $totalNodes * ($replicas / 4));
|
H A D | HashRing.php | 153 * @param int $totalNodes Total number of nodes. 157 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 161 $replicas = (int) round($weightRatio * $totalNodes * $replicas);
|
/dports/net-mgmt/icingaweb2-module-reactbundle/icingaweb2-module-reactbundle-0.9.0/vendor/predis/predis/src/Cluster/Distributor/ |
H A D | KetamaRing.php | 37 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 41 $replicas = (int) floor($weightRatio * $totalNodes * ($replicas / 4));
|
H A D | HashRing.php | 153 * @param int $totalNodes Total number of nodes. 157 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 161 $replicas = (int) round($weightRatio * $totalNodes * $replicas);
|
/dports/mail/rainloop-community/rainloop-community-php74-1.16.0_1/rainloop/v/1.16.0/app/libraries/Predis/Cluster/Distributor/ |
H A D | KetamaRing.php | 37 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 41 $replicas = (int) floor($weightRatio * $totalNodes * ($replicas / 4));
|
H A D | HashRing.php | 153 * @param int $totalNodes Total number of nodes. 157 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 161 $replicas = (int) round($weightRatio * $totalNodes * $replicas);
|
/dports/mail/rainloop/rainloop-php74-1.16.0_1/rainloop/v/1.16.0/app/libraries/Predis/Cluster/Distributor/ |
H A D | KetamaRing.php | 37 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 41 $replicas = (int) floor($weightRatio * $totalNodes * ($replicas / 4));
|
H A D | HashRing.php | 153 * @param int $totalNodes Total number of nodes. 157 protected function addNodeToRing(&$ring, $node, $totalNodes, $replicas, $weightRatio) argument 161 $replicas = (int) round($weightRatio * $totalNodes * $replicas);
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/ |
H A D | ClusterMetricsInfo.java | 54 protected int totalNodes; field in ClusterMetricsInfo 95 this.totalNodes = activeNodes + lostNodes + decommissionedNodes in ClusterMetricsInfo() 168 return this.totalNodes; in getTotalNodes()
|
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/topology-read/examples/ |
H A D | topology-example-sim.cc | 172 uint32_t totalNodes = nodes.GetN (); in main() local 175 unifRandom->SetAttribute ("Max", DoubleValue (totalNodes - 1)); in main() 177 unsigned int randomServerNumber = unifRandom->GetInteger (0, totalNodes - 1); in main()
|
/dports/net/storj/storj-1.45.3/satellite/overlay/ |
H A D | service_test.go | 119 totalNodes := 1000 126 allIDs := make(storj.NodeIDList, totalNodes) 130 for i := 0; i < totalNodes; i++ { 194 if belowThreshold > totalNodes*1/100 { 205 totalNodes := 1000 227 allIDs := make(storj.NodeIDList, totalNodes) 232 for i := 0; i < totalNodes; i++ { 273 require.Equal(t, totalNodes-expectedNewCount, reputable) 309 if belowThreshold > totalNodes*1/100 { 600 totalNodes := 10 [all …]
|
/dports/net-p2p/bitmark-recorder/bitmarkd-0.13.3/avl/ |
H A D | allocator.go | 32 var totalNodes int // total nodes created var 42 totalNodes += 1
|
/dports/net-p2p/bitmark-cli/bitmarkd-0.13.3/avl/ |
H A D | allocator.go | 32 var totalNodes int // total nodes created var 42 totalNodes += 1
|
/dports/net-p2p/bitmark/bitmarkd-0.13.3/avl/ |
H A D | allocator.go | 32 var totalNodes int // total nodes created var 42 totalNodes += 1
|
/dports/net-p2p/bitmark-daemon/bitmarkd-0.13.3/avl/ |
H A D | allocator.go | 32 var totalNodes int // total nodes created var 42 totalNodes += 1
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/rgbd/src/ |
H A D | nonrigid_icp.cpp | 118 int totalNodes = (int)warpNodes.size(); in estimateWarpNodes() local 119 for(const auto& nodes: regNodes) totalNodes += (int)nodes.size(); in estimateWarpNodes() 122 Mat_<float> b_reg(6*totalNodes, 1, 0.f); in estimateWarpNodes() 123 Mat_<float> A_reg(6*totalNodes, 6*totalNodes, 0.f); in estimateWarpNodes() 176 Mat_<float> J_reg(6*numEdges, 6*totalNodes, 0.f); in estimateWarpNodes() 453 std::cout << "Solving " << 6*totalNodes << std::endl; in estimateWarpNodes() 454 Mat_<float> nodeTwists(6*totalNodes, 1, 0.f); in estimateWarpNodes()
|