Home
last modified time | relevance | path

Searched refs:countChildren (Results 1 – 25 of 232) sorted by relevance

12345678910

/dports/biology/scrm/scrm-1.7.4/tests/unittests/
H A Dtest_node.cc123 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 Dcurrent_date_node_test.cpp48 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 Dset_node_test.cpp48 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 Dpath_support_test.cpp205 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 Dpush_node.cpp206 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 Dnode.cc98 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 Dnode.h108 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 Dmodifier_push_test.cpp69 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 Dmodifier_set_test.cpp59 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 DBuiltinFunctions-statistics.cc94 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 Dnet_main.cpp189 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 DRefreshLocalPerformanceTest.java42 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 DLocalStoreTest.java42 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 D001_basic.t33 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 DscrollPack.cpp50 std::size_t geScrollPack::countChildren() const in countChildren() function in giada::v::geScrollPack
61 if (countChildren() == 0) in add()
H A Dscroll.h44 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 DProjectSnapshotPerfManualTest.java53 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 DpluginList.cpp142 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 DNode.php280 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 Dmutable_bson_algo_test.cpp220 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 Dmutable_bson_test_utils.cpp123 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 Dcheckgeometryinfather.hh102 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 DNode.pm192 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 Doctree.h120 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 Doctree.h120 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()

12345678910