/dports/biology/scrm/scrm-1.7.4/tests/unittests/ |
H A D | test_node.cc | 123 CPPUNIT_ASSERT( forest->nodes()->get(0)->countChildren() == 0 ); in testCountChildren() 124 CPPUNIT_ASSERT( forest->nodes()->get(1)->countChildren() == 0 ); in testCountChildren() 125 CPPUNIT_ASSERT( forest->nodes()->get(2)->countChildren() == 0 ); in testCountChildren() 126 CPPUNIT_ASSERT( forest->nodes()->get(3)->countChildren() == 0 ); in testCountChildren() 127 CPPUNIT_ASSERT( forest->nodes()->get(4)->countChildren() == 2 ); in testCountChildren() 128 CPPUNIT_ASSERT( forest->nodes()->get(5)->countChildren() == 2 ); in testCountChildren() 129 CPPUNIT_ASSERT( forest->nodes()->get(6)->countChildren() == 0 ); in testCountChildren() 130 CPPUNIT_ASSERT( forest->nodes()->get(7)->countChildren() == 1 ); in testCountChildren() 131 CPPUNIT_ASSERT( forest->nodes()->get(8)->countChildren() == 2 ); in testCountChildren() 161 CPPUNIT_ASSERT(n1->countChildren() == 2); in testLocalNavigation() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/update/ |
H A D | current_date_node_test.cpp | 48 using mongo::mutablebson::countChildren; 140 ASSERT_EQUALS(doc.root().countChildren(), 1U); in TEST_F() 144 ASSERT_EQUALS(getLogDoc().root().countChildren(), 1U); in TEST_F() 164 ASSERT_EQUALS(doc.root().countChildren(), 1U); in TEST_F() 168 ASSERT_EQUALS(getLogDoc().root().countChildren(), 1U); in TEST_F() 188 ASSERT_EQUALS(doc.root().countChildren(), 1U); in TEST_F() 192 ASSERT_EQUALS(getLogDoc().root().countChildren(), 1U); in TEST_F() 212 ASSERT_EQUALS(doc.root().countChildren(), 1U); in TEST_F() 236 ASSERT_EQUALS(doc.root().countChildren(), 1U); in TEST_F() 260 ASSERT_EQUALS(doc.root().countChildren(), 1U); in TEST_F() [all …]
|
H A D | set_node_test.cpp | 48 using mongo::mutablebson::countChildren; 345 ASSERT_EQUALS(countChildren(getLogDoc().root()), 1u); in TEST_F() 717 ASSERT_EQUALS(countChildren(getLogDoc().root()), 1u); in TEST_F() 733 ASSERT_EQUALS(countChildren(getLogDoc().root()), 1u); in TEST_F() 749 ASSERT_EQUALS(countChildren(getLogDoc().root()), 1u); in TEST_F() 922 ASSERT_EQUALS(countChildren(getLogDoc().root()), 1u); in TEST_F() 941 ASSERT_EQUALS(countChildren(getLogDoc().root()), 1u); in TEST_F() 1044 ASSERT_EQUALS(countChildren(getLogDoc().root()), 1u); in TEST_F() 1079 ASSERT_EQUALS(countChildren(getLogDoc().root()), 0u); in TEST_F() 1130 ASSERT_EQUALS(countChildren(getLogDoc().root()), 0u); in TEST_F() [all …]
|
H A D | path_support_test.cpp | 205 ASSERT_EQUALS(countChildren(root()), 1u); in TEST_F() 216 ASSERT_EQUALS(countChildren(root()), 2u); in TEST_F() 330 ASSERT_EQUALS(countChildren(elemFound), 1u); // 'c' is a child of 'b' in TEST_F() 435 ASSERT_EQUALS(countChildren(elemFound), 1u); // '{c:1}' is a child of b.0 in TEST_F() 457 ASSERT_EQUALS(countChildren(elemFound), 1u); // '{c:1}' is a child of 'b' in TEST_F() 479 ASSERT_EQUALS(countChildren(elemFound), 1u); // '{c:1}' is a child of 'b' in TEST_F() 501 ASSERT_EQUALS(countChildren(elemFound), 1u); // '{c:1}' is a child of 'b' in TEST_F() 523 ASSERT_EQUALS(countChildren(elemFound), 1u); // '{c:1}' is a child of 'b' in TEST_F() 546 ASSERT_EQUALS(countChildren(elemFound), 5u); in TEST_F() 561 ASSERT_EQ(countChildren(doc().root().leftChild()), mongo::pathsupport::kMaxPaddingAllowed + 6); in TEST_F()
|
H A D | push_node.cpp | 206 long long arraySize = static_cast<long long>(countChildren(*array)); in insertElementsWithPosition() 271 while (static_cast<long long>(countChildren(*element)) > sliceAbs) { in performPush() 304 auto arraySize = countChildren(element); in logUpdate()
|
/dports/biology/scrm/scrm-1.7.4/src/ |
H A D | node.cc | 98 assert( this->parent()->countChildren() > 0 ); in getLocalParent() 99 if (parent()->countChildren(true) == 2) return parent(); in getLocalParent() 119 if (first_child()->countChildren(true) == 1) { in getLocalChild1() 143 if (second_child()->countChildren(true) == 1) { in getLocalChild2()
|
H A D | node.h | 108 size_t countChildren(const bool only_local = false) const; 127 return (this->countChildren() == 1 && !this->is_migrating()); in is_unimportant() 184 if ( this->countChildren() != 1 ) return false; in is_migrating() 188 inline size_t Node::countChildren(const bool only_local) const { in countChildren() function
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/ops/ |
H A D | modifier_push_test.cpp | 69 using mongo::mutablebson::countChildren; 535 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 556 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 577 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 610 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 631 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 652 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 685 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 719 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 740 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() [all …]
|
H A D | modifier_set_test.cpp | 59 using mongo::mutablebson::countChildren; 253 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 621 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 636 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 651 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 800 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST() 822 ASSERT_EQUALS(countChildren(logDoc.root()), 1u); in TEST()
|
/dports/math/libqalculate/libqalculate-3.17.0/libqalculate/ |
H A D | BuiltinFunctions-statistics.cc | 94 ufr *= (long int) v.countChildren(); in calculate() 106 pfr *= (long int) v.countChildren(); in calculate() 116 pfr *= (long int) v.countChildren(); in calculate() 125 case 4: {pfr *= (long int) v.countChildren(); break;} in calculate() 126 case 5: {pfr *= (long int) v.countChildren(); pfr += nr_half; break;} in calculate() 127 case 6: {pfr *= (long int) v.countChildren() + 1; break;} in calculate() 128 case 7: {pfr *= (long int) v.countChildren() - 1; pfr += 1; break;} in calculate() 129 case 9: {pfr *= Number(v.countChildren() * 4 + 1, 4); pfr += Number(3, 8); break;} in calculate() 131 default: {pfr *= Number(v.countChildren() * 3 + 1, 3); pfr += Number(1, 3); break;} in calculate()
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/moonbase/ |
H A D | net_main.cpp | 189 if (sessionIndex >= (int)_sessions->countChildren()) { in joinSession() 190 …::joinSession(): session number too big: %d >= %d", sessionIndex, (int)_sessions->countChildren()); in joinSession() 330 debug(1, "Net::startQuerySessions(): got %d", (int)_sessions->countChildren()); in startQuerySessions() 332 return _sessions->countChildren(); in startQuerySessions() 336 …rySessions: Got: '%s' which is %d", response->stringify().c_str(), (int)response->countChildren()); in startQuerySessionsCallback() 558 if (sessionNumber >= (int)_sessions->countChildren()) { in getSessionName() 560 …tSessionName(): session number too big: %d >= %d", sessionNumber, (int)_sessions->countChildren()); in getSessionName() 575 if (sessionNumber >= (int)_sessions->countChildren()) { in getSessionPlayerCount() 576 …nPlayerCount(): session number too big: %d >= %d", sessionNumber, (int)_sessions->countChildren()); in getSessionPlayerCount() 585 return _sessions->child(sessionNumber)->child("players")->countChildren(); in getSessionPlayerCount()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/ |
H A D | RefreshLocalPerformanceTest.java | 42 protected int countChildren(File root) { in countChildren() method in RefreshLocalPerformanceTest 51 result += countChildren(child); in countChildren() 93 int numberOfFiles = countChildren(bigSiteLocation.toFile()); in testLocalRefreshPerformance()
|
H A D | LocalStoreTest.java | 42 protected int countChildren(File root) { in countChildren() method in LocalStoreTest 51 result += countChildren(child); in countChildren() 58 public int countChildren(IFolder root) throws CoreException { in countChildren() method in LocalStoreTest 65 total += countChildren((IFolder) element); in countChildren()
|
/dports/textproc/p5-XML-TinyXML/XML-TinyXML-0.34/t/ |
H A D | 001_basic.t | 33 is($txml->countChildren('/parent'), 3); 36 is($txml->countChildren($node), 3); 37 is($txml->countChildren($node->{_node}), 3);
|
/dports/audio/giada/giada-0.17.1/src/gui/elems/basics/ |
H A D | scrollPack.cpp | 50 std::size_t geScrollPack::countChildren() const in countChildren() function in giada::v::geScrollPack 61 if (countChildren() == 0) in add()
|
H A D | scroll.h | 44 int countChildren() const;
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ |
H A D | ProjectSnapshotPerfManualTest.java | 53 protected int countChildren(File root) { in countChildren() method in ProjectSnapshotPerfManualTest 62 result += countChildren(child); in countChildren() 86 int numberOfFiles = countChildren(bigSiteLocation.toFile()); in testSnapshotImportPerformance()
|
/dports/audio/giada/giada-0.17.1/src/gui/dialogs/ |
H A D | pluginList.cpp | 142 if (next > list->countChildren() - 2) in getNextElement() 143 next = list->countChildren() - 2; in getNextElement()
|
/dports/net-mgmt/icingaweb2-module-businessprocess/icingaweb2-module-businessprocess-2.2.0/library/Businessprocess/ |
H A D | Node.php | 280 public function countChildren($filter = null) function in Icinga\\Module\\Businessprocess\\Node 287 return $this->countChildren($filter) > 0; 292 return $this->countChildren() === 0;
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/bson/mutable/ |
H A D | mutable_bson_algo_test.cpp | 220 const int children = countChildren(doc().root()); in TEST_F() 259 ASSERT_EQUALS(countChildren(doc.root()), 0u); in TEST_F() 265 ASSERT_EQUALS(countChildren(leaf), 0u); in TEST_F() 271 ASSERT_EQUALS(countChildren(oneChild), 1u); in TEST_F() 277 ASSERT_EQUALS(countChildren(threeChildren), 3u); in TEST_F()
|
H A D | mutable_bson_test_utils.cpp | 123 const size_t lhsChildren = countChildren(lhs); in checkDocNoOrderingImpl() 124 const size_t rhsChildren = countChildren(rhs); in checkDocNoOrderingImpl()
|
/dports/math/dune-grid/dune-grid-de36e4b4e99da4cd7a120a39779345e701821115/dune/grid/test/ |
H A D | checkgeometryinfather.hh | 102 int countChildren = 0; in checkGeometryInFather() local 108 ++countChildren; in checkGeometryInFather() 124 if( eIt->isLeaf () && countChildren > 0 ) in checkGeometryInFather()
|
/dports/textproc/p5-XML-TinyXML/XML-TinyXML-0.34/lib/XML/TinyXML/ |
H A D | Node.pm | 192 if($child->countChildren) { 358 sub countChildren { subroutine 416 for (my $i = 0; $i < $self->countChildren; $i++) {
|
/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/ |
H A D | octree.h | 120 int countChildren() const; 330 inline int StaticOctree<OBJ, PREC>::countChildren() const in countChildren() function 335 count += _children != NULL ? 1 + _children[i]->countChildren() : 0; in countChildren()
|
/dports/astro/celestia/celestia-1.6.1/src/celengine/ |
H A D | octree.h | 120 int countChildren() const; 330 inline int StaticOctree<OBJ, PREC>::countChildren() const in countChildren() function 335 count += _children != NULL ? 1 + _children[i]->countChildren() : 0; in countChildren()
|