/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/langtools/test/tools/javac/lambda/ |
H A D | TargetType51.java | 45 static class Person { class in TargetType51 55 void testAssignmentContext(SimpleList<Person> list, boolean cond) { in testAssignmentContext() 56 SimpleList<Person> p1 = list.sort(comparing(Person::getName)); in testAssignmentContext() 57 SimpleList<Person> p2 = list.sort(comparing(x->x.getName())); in testAssignmentContext() 58 … SimpleList<Person> p3 = list.sort(cond ? comparing(Person::getName) : comparing(x->x.getName())); in testAssignmentContext() 59 …SimpleList<Person> p4 = list.sort((cond ? comparing(Person::getName) : comparing(x->x.getName()))); in testAssignmentContext() 62 void testMethodContext(SimpleList<Person> list, boolean cond) { in testMethodContext() 63 testMethodContext(list.sort(comparing(Person::getName)), true); in testMethodContext() 65 … testMethodContext(list.sort(cond ? comparing(Person::getName) : comparing(x->x.getName())), true); in testMethodContext() 66 …testMethodContext(list.sort((cond ? comparing(Person::getName) : comparing(x->x.getName()))), true… in testMethodContext()
|
/dports/devel/py-traits/traits-6.3.2/traits/tests/ |
H A D | test_map.py | 72 p = Person() 85 p = Person() 99 p = Person() 108 p = Person() 123 p = Person() 129 p2 = Person() 142 p = Person() 158 p = Person() 177 p = Person() 198 p = Person() [all …]
|
/dports/databases/py-sqlalchemy13/SQLAlchemy-1.3.24/test/ext/declarative/ |
H A D | test_inheritance.py | 50 class Person(Base): class 60 class Engineer(Person): 69 class Person(Base): class 346 Person, 379 Person, 412 Person, 667 class Person(Base): class 784 [Person.__table__.c.name, Person.__table__.c.primary_language], 788 [Person.__table__.c.name, Person.__table__.c.primary_language], 1059 eq_(sess.query(Person).all(), [Person(name="ratbert")]) [all …]
|
/dports/devel/upp/upp/tutorial/CoreTutorial/ |
H A D | IndexClient.cpp | 12 struct Person : Moveable<Person> { in IndexClient() struct 17 bool operator==(const Person& b) const { return name == b.name && surname == b.surname; } in IndexClient() argument 19 Person(String name, String surname) : name(name), surname(surname) {} in IndexClient() function 20 Person() {} in IndexClient() argument 23 Index<Person> p; in IndexClient() 24 p.Add(Person("John", "Smith")); in IndexClient() 25 p.Add(Person("Paul", "Carpenter")); in IndexClient() 26 p.Add(Person("Carl", "Engles")); in IndexClient() 28 DUMP(p.Find(Person("Paul", "Carpenter"))); in IndexClient()
|
/dports/science/gramps/gramps-5.1.4/gramps/plugins/rel/ |
H A D | rel_uk.py | 38 from gramps.gen.lib import Person 533 if (gender == Person.MALE): 538 elif (gender == Person.FEMALE): 610 if gender_b == Person.MALE: 616 elif gender_b == Person.FEMALE: 629 if gender_b == Person.MALE: 635 elif gender_b == Person.FEMALE: 653 if gender_b == Person.MALE: 659 elif gender_b == Person.FEMALE: 670 if (gender_b == Person.MALE): [all …]
|
/dports/devel/elixir-poison/poison-3.1.0/test/poison/ |
H A D | decoder_test.exs | 6 defmodule Person do module 34 assert decode(person, as: %Person{}) == %Person{name: "Devin Torres", age: 27} 39 assert decode(person, keys: :atoms!, as: %Person{}) == %Person{name: "Devin Torres", age: 27} 44 assert decode(person, as: [%Person{}]) == [%Person{name: "Devin Torres", age: 27}] 70 assert decode(person, as: %Person{}) == %Person{name: "Devin Torres", age: 27} 75 assert decode(person, as: %Person{age: 50}) == %Person{name: "Devin Torres", age: 50} 80 assert decode(person, as: %Person{}) == %Person{name: "Devin Torres", age: 42} 85 assert decode(person, as: %Person{}, keys: :atoms!) == %Person{name: "Devin Torres", age: 42} 90 assert decode(person, as: %Person{}) == %Person{name: "Devin Torres", age: nil} 100 assert decode(person, as: %Person{contact: %Contact{}}) == %Person{name: "Devin Torres"} [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/third_party/rapidjson/src/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/rapidjson/src/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/rapidjson/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/external/discord-sdk/thirdparty/rapidjson-1.1.0/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/devel/cquery/cquery-20180718/third_party/rapidjson/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/rapidjson/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/science/openbabel/openbabel-3.1.1/external/rapidjson-1.1.0/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/devel/rapidjson/rapidjson-1.1.0-524-gc4c6a654/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/rapidjson/example/serialize/ |
H A D | serialize.cpp | 11 class Person { class 13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} in Person() function in Person 14 Person(const Person& rhs) : name_(rhs.name_), age_(rhs.age_) {} in Person() function in Person 15 virtual ~Person(); 17 Person& operator=(const Person& rhs) { in operator =() 42 Person::~Person() { in ~Person() 72 class Dependent : public Person { 90 Person::Serialize(writer); in Serialize() 110 class Employee : public Person { 117 static_cast<Person&>(*this) = rhs; in operator =() [all …]
|
/dports/graphics/py-traitsui/traitsui-7.1.1/integrationtests/ui/ |
H A D | instance_editor_test4.py | 13 class Person(HasStrictTraits): class 34 Person(name='Dave', age=39, phone='555-1212'), 35 Person(name='Mike', age=28, phone='555-3526'), 36 Person(name='Joe', age=34, phone='555-6943'), 37 Person(name='Tom', age=22, phone='555-7586'), 38 Person(name='Dick', age=63, phone='555-3895'), 39 Person(name='Harry', age=46, phone='555-3285'), 40 Person(name='Sally', age=43, phone='555-8797'), 41 Person(name='Fields', age=31, phone='555-3547') 56 captain = Instance(Person) [all …]
|
H A D | instance_editor_test3.py | 13 class Person(HasStrictTraits): class 34 Person(name='Dave', age=39, phone='555-1212'), 35 Person(name='Mike', age=28, phone='555-3526'), 36 Person(name='Joe', age=34, phone='555-6943'), 37 Person(name='Tom', age=22, phone='555-7586'), 38 Person(name='Dick', age=63, phone='555-3895'), 39 Person(name='Harry', age=46, phone='555-3285'), 40 Person(name='Sally', age=43, phone='555-8797'), 41 Person(name='Fields', age=31, phone='555-3547') 56 captain = Instance(Person) [all …]
|
H A D | instance_editor_test.py | 13 class Person(HasStrictTraits): class 34 Person(name='Dave', age=39, phone='555-1212'), 35 Person(name='Mike', age=28, phone='555-3526'), 36 Person(name='Joe', age=34, phone='555-6943'), 37 Person(name='Tom', age=22, phone='555-7586'), 38 Person(name='Dick', age=63, phone='555-3895'), 39 Person(name='Harry', age=46, phone='555-3285'), 40 Person(name='Sally', age=43, phone='555-8797'), 41 Person(name='Fields', age=31, phone='555-3547') 56 captain = Instance(Person) [all …]
|
/dports/databases/py-pony/pony-0.7.14/pony/orm/tests/ |
H A D | py36_test_f_strings.py | 9 class Person(db.Entity): class 21 Person(id=1, first_name='Alexander', last_name='Tischenko', age=23, value=1.4) 23 Person(id=3, first_name='Arthur', last_name='Pendragon', age=54, value=1.33) 24 Person(id=4, first_name='Okita', last_name='Souji', age=15, value=2.1) 26 Person(id=6, first_name='Jeanne', last_name="d'Arc", age=30, value=43.212) 51 q = select(f'{p.first_name} the {x}' for p in Person if p.id == 1) 55 q = select(f'{p.first_name} {p.age}' for p in Person if p.id == 1) 59 q = select(f'{p.first_name} {p.age}' for p in Person if p.id == 1) 66 q = select(p.id for p in Person if f'{p.value:{width}.{precision}}')[:] 71 q = select(p.first_name + f"{' ' + x}" for p in Person if p.id == 1) [all …]
|
/dports/games/lugaru/lugaru-c7b99378439735c60f84869b05c6ebde53083667/Source/Objects/ |
H A D | Weapons.cpp | 176 …Person::players[owner]->weaponids[0] = Person::players[owner]->weaponids[Person::players[owner]->n… in doStuff() 177 if (Person::players[owner]->weaponstuck == Person::players[owner]->num_weapons) { in doStuff() 257 …((Person::players[j]->jointPos(abdomen) + Person::players[j]->jointPos(neck)) / 2, 0, Person::play… in doStuff() 259 … distsq(&position, &Person::players[j]->coords) < 4 && Person::players[j]->weaponstuck == -1 && in doStuff() 262 …Person::players[j]->creature == wolftype && Random() % 3 != 0 && Person::players[j]->weaponactive … in doStuff() 263 …(Person::players[j]->creature == rabbittype && Random() % 2 == 0 && Person::players[j]->aitype == … in doStuff() 277 Person::players[j]->weaponstuck = Person::players[j]->num_weapons - 1; in doStuff() 284 Person::players[j]->weaponids[Person::players[j]->num_weapons - 1] = i; in doStuff() 310 Person::players[j]->damage += 200 / Person::players[j]->armorhigh; in doStuff() 1028 …Person::players[owner]->coords.x, Person::players[owner]->coords.y + Person::players[owner]->scale… in draw() [all …]
|
/dports/net/kf5-syndication/syndication-5.89.0/autotests/atom/ |
H A D | atom10_authors_and_contributors.xml.expected | 2 # Person begin #################### 6 # Person end ###################### 7 # Person begin #################### 11 # Person end ###################### 12 # Person begin #################### 16 # Person end ###################### 19 # Person begin #################### 23 # Person end ###################### 24 # Person begin #################### 28 # Person end ###################### [all …]
|
/dports/databases/py-sqlalchemy10/SQLAlchemy-1.0.14/test/ext/declarative/ |
H A D | test_inheritance.py | 35 class Person(Base): class 43 class Engineer(Person): 53 class Person(Base): class 118 class Manager(Person): 516 [Person.__table__.c.name, Person.__table__.c.primary_language] 520 [Person.__table__.c.name, Person.__table__.c.primary_language] 532 class Person(Base): class 708 eq_(sess.query(Person).all(), [Person(name='ratbert')]) 710 person = sess.query(Person).filter(Person.name == 'ratbert' 808 class Person(Base): class [all …]
|
/dports/devel/grantlee5/grantlee-5.2.0/templates/tests/ |
H A D | testgenerictypes.cpp | 78 class Person class 81 Person() : age(0) {} in Person() function in Person 106 Q_DECLARE_METATYPE(Person) 109 GRANTLEE_BEGIN_LOOKUP(Person) 160 Person p("Grant Lee", 2); in testGenericClassType() 167 static QMap<int, Person> getPeople() in getPeople() 169 QMap<int, Person> people; in getPeople() 401 QSet<Person> container; in insertPeople() 411 ThreeArray<Person> container; in insertPeople() 770 Q_DECLARE_METATYPE(Person *) [all …]
|
/dports/www/py-django-countries/django-countries-5.3/django_countries/tests/ |
H A D | test_fields.py | 17 Person, AllowNull, MultiCountry, WithProp) 36 field = Person._meta.get_field('country') 62 person = Person( 68 person = Person(name='Matthew Schinckel') 89 person = Person(name='Chris Beaven') 96 person = Person.objects.get(pk=person.pk) 130 Person.objects.create(name='Person', 136 Person.objects.create(name='Person', 138 person = Person.objects.only('name').get() 174 person = Person.objects.get() [all …]
|
/dports/graphics/py-traitsui/traitsui-7.1.1/examples/tutorials/doc_examples/examples/ |
H A D | instance_editor_selection.py | 17 class Person(HasStrictTraits): class 27 Person(name='Dave', age=39, phone='555-1212'), 28 Person(name='Mike', age=28, phone='555-3526'), 29 Person(name='Joe', age=34, phone='555-6943'), 30 Person(name='Tom', age=22, phone='555-7586'), 31 Person(name='Dick', age=63, phone='555-3895'), 32 Person(name='Harry', age=46, phone='555-3285'), 33 Person(name='Sally', age=43, phone='555-8797'), 34 Person(name='Fields', age=31, phone='555-3547') 41 captain = Instance(Person) [all …]
|