/dports/games/libtmcg/libTMCG-1.3.18/tests/ |
H A D | StiglicMPC.hh | 66 MPC_ParticipantList participants; member in StiglicMPC 74 participants(plist), index(pindex) in StiglicMPC() 76 if (participants.size() < 1) in StiglicMPC() 81 tmcg = new SchindelhauerTMCG(security, participants.size(), 1); in StiglicMPC() 86 vtmf = new BarnettSmartVTMF_dlog(*participants[0]->in); in StiglicMPC() 92 for (size_t i = 0; i < participants.size(); i++) in StiglicMPC() 95 vtmf->PublishGroup(*participants[i]->out); in StiglicMPC() 106 for (size_t i = 0; i < participants.size(); i++) in StiglicMPC() 112 for (size_t i = 0; i < participants.size(); i++) in StiglicMPC() 136 for (size_t i = 0; i < participants.size(); i++) in StiglicMPC() [all …]
|
/dports/www/moodle310/moodle/mod/assign/feedback/file/tests/ |
H A D | importziplib_test.php | 83 $participants = array(); 85 $participants[$assign->get_uniqueid_for_user($user->id)] = $user; 89 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 93 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 97 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 101 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 113 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 119 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 125 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 133 $this->assertEquals($participants[$studentid], $user); [all …]
|
/dports/www/moodle311/moodle/mod/assign/feedback/file/tests/ |
H A D | importziplib_test.php | 83 $participants = array(); 85 $participants[$assign->get_uniqueid_for_user($user->id)] = $user; 89 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 93 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 97 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 101 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 113 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 119 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 125 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 133 $this->assertEquals($participants[$studentid], $user); [all …]
|
/dports/www/moodle39/moodle/mod/assign/feedback/file/tests/ |
H A D | importziplib_test.php | 83 $participants = array(); 85 $participants[$assign->get_uniqueid_for_user($user->id)] = $user; 89 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 93 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 97 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 101 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 113 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 119 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 125 …$result = $importer->is_valid_filename_for_import($assign, $file, $participants, $user, $plugin, $… 133 $this->assertEquals($participants[$studentid], $user); [all …]
|
/dports/deskutils/egroupware/egroupware/calendar/inc/ |
H A D | class.calendar_tracking.inc.php | 141 $participants = $data['participants']; 143 $data = array_merge($data, $this->alter_participants($participants)); 153 $participants = $old['participants']; 155 $old = array_merge($old, $this->alter_participants($participants)); 192 $participants = $data['participants']; 194 $data = array_merge($data, $this->alter_participants($participants)); 198 $participants = $old['participants']; 200 $old = array_merge($old, $this->alter_participants($participants)); 210 protected function alter_participants($participants) argument 213 foreach($participants as $uid => $status)
|
/dports/net-im/matterbridge/matterbridge-1.22.3/vendor/github.com/Rhymen/go-whatsapp/ |
H A D | group.go | 14 func (wac *Conn) CreateGroup(subject string, participants []string) (<-chan string, error) { 15 return wac.setGroup("create", "", subject, participants) 22 func (wac *Conn) SetAdmin(jid string, participants []string) (<-chan string, error) { 23 return wac.setGroup("promote", jid, "", participants) 26 func (wac *Conn) RemoveAdmin(jid string, participants []string) (<-chan string, error) { 27 return wac.setGroup("demote", jid, "", participants) 30 func (wac *Conn) AddMember(jid string, participants []string) (<-chan string, error) { 31 return wac.setGroup("add", jid, "", participants) 34 func (wac *Conn) RemoveMember(jid string, participants []string) (<-chan string, error) { 35 return wac.setGroup("remove", jid, "", participants)
|
/dports/www/moodle310/moodle/mod/assign/tests/ |
H A D | locallib_participants_test.php | 71 $participants = $assign->list_participants(null, false); 74 $this->assertCount(2, $participants); 75 foreach ($participants as $participant) { 79 $keys = array_keys($participants); 107 $this->assertEquals($participants[$keys[1]]->id, $newparticipants[$newkeys[0]]->id); 108 $this->assertEquals($participants[$keys[0]]->id, $newparticipants[$newkeys[1]]->id); 151 $participants = $assign->list_participants(null, true); 152 self::assertCount(3, $participants); 153 self::assertArrayHasKey($student1->id, $participants); 154 self::assertArrayHasKey($student2->id, $participants); [all …]
|
/dports/www/moodle311/moodle/mod/assign/tests/ |
H A D | locallib_participants_test.php | 71 $participants = $assign->list_participants(null, false); 74 $this->assertCount(2, $participants); 75 foreach ($participants as $participant) { 79 $keys = array_keys($participants); 107 $this->assertEquals($participants[$keys[1]]->id, $newparticipants[$newkeys[0]]->id); 108 $this->assertEquals($participants[$keys[0]]->id, $newparticipants[$newkeys[1]]->id); 151 $participants = $assign->list_participants(null, true); 152 self::assertCount(3, $participants); 153 self::assertArrayHasKey($student1->id, $participants); 154 self::assertArrayHasKey($student2->id, $participants); [all …]
|
/dports/www/moodle39/moodle/mod/assign/tests/ |
H A D | locallib_participants_test.php | 71 $participants = $assign->list_participants(null, false); 74 $this->assertCount(2, $participants); 75 foreach ($participants as $participant) { 79 $keys = array_keys($participants); 107 $this->assertEquals($participants[$keys[1]]->id, $newparticipants[$newkeys[0]]->id); 108 $this->assertEquals($participants[$keys[0]]->id, $newparticipants[$newkeys[1]]->id); 151 $participants = $assign->list_participants(null, true); 152 self::assertCount(3, $participants); 153 self::assertArrayHasKey($student1->id, $participants); 154 self::assertArrayHasKey($student2->id, $participants); [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/test/ |
H A D | audio_conference_mixer_unittest.cc | 118 MockMixerParticipant participants[kParticipants]; in TEST() local 121 participants[i].fake_frame()->id_ = i; in TEST() 122 participants[i].fake_frame()->sample_rate_hz_ = kSampleRateHz; in TEST() 124 participants[i].fake_frame()->vad_activity_ = AudioFrame::kVadActive; in TEST() 125 participants[i].fake_frame()->num_channels_ = 1; in TEST() 132 participants[i].fake_frame()->data_[80] = i; in TEST() 134 EXPECT_EQ(0, mixer->SetMixabilityStatus(&participants[i], true)); in TEST() 135 EXPECT_CALL(participants[i], GetAudioFrame(_, _)) in TEST() 137 EXPECT_CALL(participants[i], NeededFrequency(_)) in TEST() 143 participants[kParticipants - 1].fake_frame()->vad_activity_ = in TEST() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Threading/ |
H A D | BarrierTest.cs | 37 const int participants = 10; field in MonoTests.System.Threading.BarrierTests 43 barrier = new Barrier (participants, PostPhaseAction); in Setup() 57 Assert.AreEqual (participants + 1, barrier.ParticipantCount, "#1"); in AddParticipantTest() 59 Assert.AreEqual (participants + 4, barrier.ParticipantCount, "#2"); in AddParticipantTest() 66 Assert.AreEqual (participants - 1, barrier.ParticipantCount, "#1"); in RemoveParticipantTest() 68 Assert.AreEqual (participants - 4, barrier.ParticipantCount, "#2"); in RemoveParticipantTest() 74 barrier.RemoveParticipants (participants - 2); in SignalTest() 83 barrier.RemoveParticipants (participants - 2); in RemoveTriggeringTest()
|
/dports/net-im/libpurple/pidgin-2.14.8/libpurple/protocols/novell/ |
H A D | nmconference.c | 33 GSList *participants; member 89 if (conference->participants) { in nm_release_conference() 90 for (node = conference->participants; node; node = node->next) { in nm_release_conference() 99 g_slist_free(conference->participants); in nm_release_conference() 121 return g_slist_length(conference->participants); in nm_conference_get_participant_count() 130 return (NMUserRecord *) g_slist_nth_data(conference->participants, index); in nm_conference_get_participant() 142 conference->participants = g_slist_append(conference->participants, user_record); in nm_conference_add_participant() 154 for (node = conference->participants; node; node = node->next) { in nm_conference_remove_participant() 168 conference->participants = in nm_conference_remove_participant() 169 g_slist_remove_link(conference->participants, element); in nm_conference_remove_participant()
|
/dports/net-im/pidgin/pidgin-2.14.8/libpurple/protocols/novell/ |
H A D | nmconference.c | 33 GSList *participants; member 89 if (conference->participants) { in nm_release_conference() 90 for (node = conference->participants; node; node = node->next) { in nm_release_conference() 99 g_slist_free(conference->participants); in nm_release_conference() 121 return g_slist_length(conference->participants); in nm_conference_get_participant_count() 130 return (NMUserRecord *) g_slist_nth_data(conference->participants, index); in nm_conference_get_participant() 142 conference->participants = g_slist_append(conference->participants, user_record); in nm_conference_add_participant() 154 for (node = conference->participants; node; node = node->next) { in nm_conference_remove_participant() 168 conference->participants = in nm_conference_remove_participant() 169 g_slist_remove_link(conference->participants, element); in nm_conference_remove_participant()
|
/dports/net-im/finch/pidgin-2.14.8/libpurple/protocols/novell/ |
H A D | nmconference.c | 33 GSList *participants; member 89 if (conference->participants) { in nm_release_conference() 90 for (node = conference->participants; node; node = node->next) { in nm_release_conference() 99 g_slist_free(conference->participants); in nm_release_conference() 121 return g_slist_length(conference->participants); in nm_conference_get_participant_count() 130 return (NMUserRecord *) g_slist_nth_data(conference->participants, index); in nm_conference_get_participant() 142 conference->participants = g_slist_append(conference->participants, user_record); in nm_conference_add_participant() 154 for (node = conference->participants; node; node = node->next) { in nm_conference_remove_participant() 168 conference->participants = in nm_conference_remove_participant() 169 g_slist_remove_link(conference->participants, element); in nm_conference_remove_participant()
|
/dports/www/limesurvey/limesurvey/tests/helpers/remotecontrol/ |
H A D | CPDImportParticpantsTest.php | 20 $participants = array( 31 $result = $this->handler->cpd_importParticipants($sessionKey, $participants); 38 $participants = array( 56 $result = $this->handler->cpd_importParticipants($sessionKey, $participants); 63 $participants = array( 75 $result = $this->handler->cpd_importParticipants($sessionKey, $participants); 86 $participants = array( 104 $result = $this->handler->cpd_importParticipants($sessionKey, $participants); 123 $participants = array( 159 $participants = array( [all …]
|
/dports/www/ilias6/ILIAS-6.14/Modules/Session/classes/ |
H A D | class.ilEventParticipants.php | 135 if (!is_array($this->participants) || !array_key_exists($a_usr_id, $this->participants)) { 230 return $this->participants[$a_usr_id] ? $this->participants[$a_usr_id] : array(); 235 return $this->participants ? $this->participants : array(); 240 return $this->participants[$a_usr_id]['registered'] ? true : false; 245 return $this->participants[$a_usr_id]['participated'] ? true : false; 254 return $this->participants[$a_usr_id]['excused'] ? true : false; 265 return $this->participants[$a_usr_id]['contact'] ? true : false; 535 $this->participants[$row->usr_id]['usr_id'] = $row->usr_id; 538 $this->participants[$row->usr_id]['excused'] = $row->excused; 539 $this->participants[$row->usr_id]['contact'] = $row->contact; [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/concerns/ |
H A D | participable.rb | 59 def participants(user = nil) method 67 …return participants(user) unless Feature.enabled?(:verify_participants_access, project, default_en… 98 participants = Set.new 106 participants << source 126 participants.merge(ext.users) 133 def filter_by_ability(participants) argument 136 Ability.users_that_can_read_personal_snippet(participants.to_a, self) 138 Ability.users_that_can_read_project(participants.to_a, project)
|
/dports/misc/urh/urh-2.9.2/src/urh/models/ |
H A D | ParticipantListModel.py | 8 def __init__(self, participants, parent=None): argument 14 self.participants = participants 18 return len(self.participants) + 1 27 return str(self.participants[row-1]) 36 return Qt.Checked if self.participants[row-1].show else Qt.Unchecked 48 if self.participants[index.row()-1].show != value: 49 self.participants[index.row()-1].show = value
|
H A D | ParticipantLegendListModel.py | 9 def __init__(self, participants, parent=None): argument 15 self.participants = participants 18 return len(self.participants) + 1 27 return str(self.participants[row-1]) 33 return settings.PARTICIPANT_COLORS[self.participants[row - 1].color_index] 39 bgcolor = settings.PARTICIPANT_COLORS[self.participants[row - 1].color_index]
|
/dports/net/mpich/mpich-3.4.3/test/mpi/coll/ |
H A D | gatherv.c | 17 int participants; in main() local 27 participants = MAX_PROCESSES; in main() 29 participants = size; in main() 31 if (MAX_PROCESSES % participants) { in main() 35 if ((rank < participants)) { in main() 38 int block_size = MAX_PROCESSES / participants; in main() 44 for (i = 0; i < participants; i++) { in main() 56 for (i = 0; i < participants; i++) { in main()
|
H A D | coll2.c | 18 int participants; in main() local 26 participants = MAX_PROCESSES; in main() 28 participants = size; in main() 30 if (MAX_PROCESSES % participants) { in main() 34 if ((rank < participants)) { in main() 37 int block_size = MAX_PROCESSES / participants; in main() 50 for (i = 0; i < participants; i++) { in main()
|
/dports/net/mpich2/mpich2-1.5/test/mpi/coll/ |
H A D | coll3.c | 17 int participants; in main() local 26 if ( size > MAX_PROCESSES ) participants = MAX_PROCESSES; in main() 27 else participants = size; in main() 29 if (MAX_PROCESSES % participants) { in main() 34 if ( (rank < participants) ) { in main() 37 int block_size = MAX_PROCESSES / participants; in main() 43 for (i=0; i<participants; i++) { in main() 55 for (i=0; i<participants; i++) { in main()
|
H A D | coll2.c | 17 int participants; in main() local 24 if ( size > MAX_PROCESSES ) participants = MAX_PROCESSES; in main() 25 else participants = size; in main() 27 if (MAX_PROCESSES % participants) { in main() 32 if ( (rank < participants) ) { in main() 35 int block_size = MAX_PROCESSES / participants; in main() 48 for (i=0; i<participants; i++) { in main()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_mixer/ |
H A D | audio_mixer_impl_unittest.cc | 114 participants[i].fake_frame()->CopyFrom(frames[i]); in MixAndCompare() 115 participants[i].set_fake_info(frame_info[i]); in MixAndCompare() 119 EXPECT_TRUE(mixer->AddSource(&participants[i])); in MixAndCompare() 151 MockMixerAudioSource participants[kAudioSources]; in TEST() local 154 ResetFrame(participants[i].fake_frame()); in TEST() 158 participants[i].fake_frame()->data_[80] = i; in TEST() 160 EXPECT_TRUE(mixer->AddSource(&participants[i])); in TEST() 311 MockMixerAudioSource participants[kAudioSources]; in TEST() local 314 ResetFrame(participants[i].fake_frame()); in TEST() 317 participants[i].fake_frame()->data_[0] = 100 * i; in TEST() [all …]
|
/dports/net-im/farstream/farstream-0.2.9/examples/gui/ |
H A D | fs_gui_net.py | 267 self.participants = {} 279 self.participants[src].codecs(media, data) 281 self.participants[src].candidate(media, data) 283 self.participants[src].candidates_done(media) 288 if not self.participants.has_key(src): 297 self.participants[participantid].error() 300 del self.participants[participantid] 306 participants = {} variable in FsUIServer 339 for pid in FsUIServer.participants: 359 del FsUIServer.participants[participantid] [all …]
|