Home
last modified time | relevance | path

Searched refs:svs (Results 1 – 25 of 1171) sorted by relevance

12345678910>>...47

/dports/science/py-dlib/dlib-19.22/tools/python/test/
H A Dtest_sparse_vector.py51 svs = sparse_vectors()
52 assert len(svs) == 0
54 svs.resize(5)
55 for sv in svs:
58 svs.clear()
59 assert len(svs) == 0
63 assert len(svs) == 2
64 assert svs[0][0].first == 1
74 assert deser == svs
82 for svs in svss:
[all …]
/dports/science/dlib-cpp/dlib-19.22/tools/python/test/
H A Dtest_sparse_vector.py51 svs = sparse_vectors()
52 assert len(svs) == 0
54 svs.resize(5)
55 for sv in svs:
58 svs.clear()
59 assert len(svs) == 0
63 assert len(svs) == 2
64 assert svs[0][0].first == 1
74 assert deser == svs
82 for svs in svss:
[all …]
/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dhost.c194 svs.maxclients = svs.maxclients_next = bound(1, svs.maxclients, MAX_SCOREBOARD); in Host_ServerOptions()
348 for (i = 0, client = svs.clients;i < svs.maxclients;i++, client++) in SV_BroadcastPrint()
508 if (svs.clients[i].active && !svs.clients[i].spawned) in SV_DropClient()
558 memset(svs.clients, 0, svs.maxclients*sizeof(client_t)); in Host_ShutdownServer()
646svs.perf_acc_realtime = svs.perf_acc_sleeptime = svs.perf_acc_lost = svs.perf_acc_offset = svs.per… in Host_Main()
650 svs.perf_cpuload = 1 - svs.perf_acc_sleeptime / svs.perf_acc_realtime; in Host_Main()
651 svs.perf_lost = svs.perf_acc_lost / svs.perf_acc_realtime; in Host_Main()
654 svs.perf_offset_max = svs.perf_acc_offset_max; in Host_Main()
655 svs.perf_offset_avg = svs.perf_acc_offset / svs.perf_acc_offset_samples; in Host_Main()
656svs.perf_offset_sdev = sqrt(svs.perf_acc_offset_squared / svs.perf_acc_offset_samples - svs.perf_o… in Host_Main()
[all …]
/dports/net/py-python-cinderclient/python-cinderclient-7.2.0/cinderclient/tests/unit/v2/
H A Dtest_services.py27 svs = cs.services.list()
29 self.assertEqual(3, len(svs))
30 for service in svs:
34 self._assert_request_id(svs)
37 svs = cs.services.list(host='host2')
39 self.assertEqual(2, len(svs))
42 self._assert_request_id(svs)
47 self.assertEqual(2, len(svs))
50 self._assert_request_id(svs)
55 self.assertEqual(1, len(svs))
[all …]
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dhost.c220 svs.maxclients = svs.maxclients_next = bound(1, svs.maxclients, MAX_SCOREBOARD); in Host_ServerOptions()
400 for (i = 0, client = svs.clients;i < svs.maxclients;i++, client++) in SV_BroadcastPrint()
566 if (svs.clients[i].active && !svs.clients[i].spawned) in SV_DropClient()
619 memset(svs.clients, 0, svs.maxclients*sizeof(client_t)); in Host_ShutdownServer()
726svs.perf_acc_realtime = svs.perf_acc_sleeptime = svs.perf_acc_lost = svs.perf_acc_offset = svs.per… in Host_Main()
730 svs.perf_cpuload = 1 - svs.perf_acc_sleeptime / svs.perf_acc_realtime; in Host_Main()
731 svs.perf_lost = svs.perf_acc_lost / svs.perf_acc_realtime; in Host_Main()
734 svs.perf_offset_max = svs.perf_acc_offset_max; in Host_Main()
735 svs.perf_offset_avg = svs.perf_acc_offset / svs.perf_acc_offset_samples; in Host_Main()
736svs.perf_offset_sdev = sqrt(svs.perf_acc_offset_squared / svs.perf_acc_offset_samples - svs.perf_o… in Host_Main()
[all …]
/dports/games/darkplaces/darkplaces/
H A Dhost.c220 svs.maxclients = svs.maxclients_next = bound(1, svs.maxclients, MAX_SCOREBOARD); in Host_ServerOptions()
400 for (i = 0, client = svs.clients;i < svs.maxclients;i++, client++) in SV_BroadcastPrint()
566 if (svs.clients[i].active && !svs.clients[i].spawned) in SV_DropClient()
619 memset(svs.clients, 0, svs.maxclients*sizeof(client_t)); in Host_ShutdownServer()
726svs.perf_acc_realtime = svs.perf_acc_sleeptime = svs.perf_acc_lost = svs.perf_acc_offset = svs.per… in Host_Main()
730 svs.perf_cpuload = 1 - svs.perf_acc_sleeptime / svs.perf_acc_realtime; in Host_Main()
731 svs.perf_lost = svs.perf_acc_lost / svs.perf_acc_realtime; in Host_Main()
734 svs.perf_offset_max = svs.perf_acc_offset_max; in Host_Main()
735 svs.perf_offset_avg = svs.perf_acc_offset / svs.perf_acc_offset_samples; in Host_Main()
736svs.perf_offset_sdev = sqrt(svs.perf_acc_offset_squared / svs.perf_acc_offset_samples - svs.perf_o… in Host_Main()
[all …]
/dports/games/quake2-source/quake2-r0.16.2/src/server/
H A Dsv_main.c124 cl = &svs.clients[i]; in SV_StatusString()
535 cl = &svs.clients[i]; in SV_CalcPings()
771 if (!svs.initialized) in SV_Frame()
847 if (svs.last_heartbeat > svs.realtime) in Master_Heartbeat()
848 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
850 if (svs.realtime - svs.last_heartbeat < HEARTBEAT_SECONDS*1000) in Master_Heartbeat()
853 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
1043 if (svs.clients) in SV_Shutdown()
1056 if (svs.clients) in SV_Shutdown()
1060 if (svs.demofile) in SV_Shutdown()
[all …]
/dports/games/qudos/QuDos-0.40.1-src/src/server/
H A Dsv_main.c125 cl = &svs.clients[i]; in SV_StatusString()
705 if (!svs.initialized) in SV_Frame()
708 svs.realtime += msec; in SV_Frame()
786 if (svs.last_heartbeat > svs.realtime) in Master_Heartbeat()
787 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
789 if (svs.realtime - svs.last_heartbeat < HEARTBEAT_SECONDS * 1000) in Master_Heartbeat()
792 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
984 if (svs.clients) in SV_Shutdown()
997 if (svs.clients) in SV_Shutdown()
1001 if (svs.demofile) in SV_Shutdown()
[all …]
/dports/games/q2p/Q2P-0.2-2006-12-31/server/
H A Dsv_main.c126 cl = &svs.clients[i]; in SV_StatusString()
526 cl = &svs.clients[i]; in SV_CalcPings()
751 if (!svs.initialized) in SV_Frame()
827 if (svs.last_heartbeat > svs.realtime) in Master_Heartbeat()
828 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
830 if (svs.realtime - svs.last_heartbeat < HEARTBEAT_SECONDS*1000) in Master_Heartbeat()
833 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
1025 if (svs.clients) in SV_Shutdown()
1038 if (svs.clients) in SV_Shutdown()
1042 if (svs.demofile) in SV_Shutdown()
[all …]
/dports/games/quake2lnx/quake2-r0.16.2/src/server/
H A Dsv_main.c124 cl = &svs.clients[i]; in SV_StatusString()
535 cl = &svs.clients[i]; in SV_CalcPings()
771 if (!svs.initialized) in SV_Frame()
847 if (svs.last_heartbeat > svs.realtime) in Master_Heartbeat()
848 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
850 if (svs.realtime - svs.last_heartbeat < HEARTBEAT_SECONDS*1000) in Master_Heartbeat()
853 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
1043 if (svs.clients) in SV_Shutdown()
1056 if (svs.clients) in SV_Shutdown()
1060 if (svs.demofile) in SV_Shutdown()
[all …]
/dports/games/q2pro/q2pro/source/
H A Dsv_init.c164 svs.realtime = 0; in SV_SpawnServer()
165 svs.nextEntityStates = 0; in SV_SpawnServer()
166 svs.nextPlayerStates = 0; in SV_SpawnServer()
274 if( svs.initialized ) { in SV_InitGame()
322 svs.gametype = GT_DEATHMATCH; in SV_InitGame()
326 svs.gametype = GT_COOP; in SV_InitGame()
330 svs.gametype = GT_SINGLEPLAYER; in SV_InitGame()
335 svs.numPlayerStates = 0; in SV_InitGame()
345 svs.numPlayerStates += svs.maxGameClients * MVD_REC_NUM_FRAMES; in SV_InitGame()
351 svs.numPlayerStates += svs.maxGameClients * UPDATE_BACKUP; in SV_InitGame()
[all …]
/dports/games/alienarena/alienarena-7.66/source/server/
H A Dsv_ccmds.c176 strncpy (svs.mapcmd, Cmd_Argv(1), sizeof(svs.mapcmd)-1); in SV_Map_f()
203 strncpy (svs.mapcmd, Cmd_Argv(1), sizeof(svs.mapcmd)-1); in SV_StartMap_f()
216 if (!svs.initialized) in SV_Kick_f()
253 if (!svs.clients) in SV_Status_f()
441 if (svs.demofile) in SV_ServerRecord_f()
461 if (!svs.demofile) in SV_ServerRecord_f()
468 SZ_Init (&svs.demo_multicast, svs.demo_multicast_buf, sizeof(svs.demo_multicast_buf)); in SV_ServerRecord_f()
519 if (!svs.demofile) in SV_ServerStop_f()
524 fclose (svs.demofile); in SV_ServerStop_f()
525 svs.demofile = NULL; in SV_ServerStop_f()
[all …]
/dports/games/alienarena-data/alienarena-7.66/source/server/
H A Dsv_ccmds.c176 strncpy (svs.mapcmd, Cmd_Argv(1), sizeof(svs.mapcmd)-1); in SV_Map_f()
203 strncpy (svs.mapcmd, Cmd_Argv(1), sizeof(svs.mapcmd)-1); in SV_StartMap_f()
216 if (!svs.initialized) in SV_Kick_f()
253 if (!svs.clients) in SV_Status_f()
441 if (svs.demofile) in SV_ServerRecord_f()
461 if (!svs.demofile) in SV_ServerRecord_f()
468 SZ_Init (&svs.demo_multicast, svs.demo_multicast_buf, sizeof(svs.demo_multicast_buf)); in SV_ServerRecord_f()
519 if (!svs.demofile) in SV_ServerStop_f()
524 fclose (svs.demofile); in SV_ServerStop_f()
525 svs.demofile = NULL; in SV_ServerStop_f()
[all …]
/dports/biology/viennarna/ViennaRNA-2.4.18/interfaces/Perl/
H A Dtmaps.i39 SV **svs; variable
51 free(svs);
59 SV **svs; variable
68 free(svs);
79 SV **svs; variable
88 free(svs);
99 SV **svs; variable
108 free(svs);
119 SV **svs; variable
128 free(svs);
[all …]
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/server/
H A Dsv_init.c139 Q_strncpyz( svs.clients[index].userinfo, val, sizeof( svs.clients[ index ].userinfo ) ); in SV_SetUserinfo()
221 if ( svs.initialized ) { in SV_Startup()
233 svs.initialized = qtrue; in SV_Startup()
280 Z_Free( svs.clients ); in SV_ChangeMaxClients()
389 svs.nextSnapshotEntities = 0; in SV_SpawnServer()
451 svs.time += 100; in SV_SpawnServer()
489 client = &svs.clients[i]; in SV_SpawnServer()
508 svs.time += 100; in SV_SpawnServer()
681 if ( svs.clients ) { in SV_Shutdown()
682 Z_Free( svs.clients ); in SV_Shutdown()
[all …]
H A Dsv_ccmds.c119 cl = &svs.clients[idnum]; in SV_GetPlayerByNum()
261 svs.time += 100; in SV_MapRestart_f()
269 client = &svs.clients[i]; in SV_MapRestart_f()
303 svs.time += 100; in SV_MapRestart_f()
403 if ( !svs.authorizeAddress.ip[0] && svs.authorizeAddress.type != NA_BAD ) { in SV_Ban_f()
411 svs.authorizeAddress.ip[0], svs.authorizeAddress.ip[1], in SV_Ban_f()
412 svs.authorizeAddress.ip[2], svs.authorizeAddress.ip[3], in SV_Ban_f()
460 if ( !svs.authorizeAddress.ip[0] && svs.authorizeAddress.type != NA_BAD ) { in SV_BanNum_f()
468 svs.authorizeAddress.ip[0], svs.authorizeAddress.ip[1], in SV_BanNum_f()
469 svs.authorizeAddress.ip[2], svs.authorizeAddress.ip[3], in SV_BanNum_f()
[all …]
/dports/games/openjk/OpenJK-07675e2/code/server/
H A Dsv_init.cpp112 Q_strncpyz( svs.clients[ index ].userinfo, val, sizeof( svs.clients[ index ].userinfo ) ); in SV_SetUserinfo()
175 if ( svs.initialized ) { in SV_Startup()
181 svs.initialized = qtrue; in SV_Startup()
215 if (svs.snapshotEntities) in SV_SpawnServer()
218 svs.snapshotEntities = NULL; in SV_SpawnServer()
430 client_t *cl = svs.clients; in SV_FinalMessage()
467 if (svs.snapshotEntities) in SV_Shutdown()
483 if ( svs.clients ) { in SV_Shutdown()
484 SV_FreeClient(svs.clients); in SV_Shutdown()
485 Z_Free( svs.clients ); in SV_Shutdown()
[all …]
/dports/games/openjk/OpenJK-07675e2/codemp/server/
H A Dsv_init.cpp267 if ( svs.initialized ) { in SV_Startup()
283 svs.initialized = qtrue; in SV_Startup()
348 Z_Free( svs.clients ); in SV_ChangeMaxClients()
425 if (svs.clients) in SV_SendMapChange()
551 svs.snapshotEntities = new entityState_s[svs.numSnapshotEntities]; in SV_SpawnServer()
571 svs.clients[i].oldServerTime = svs.time; in SV_SpawnServer()
632 svs.time += 100; in SV_SpawnServer()
692 svs.time += 100; in SV_SpawnServer()
926 time( &svs.startTime ); in SV_Init()
1110 if ( svs.clients ) { in SV_Shutdown()
[all …]
/dports/games/quake2max/Quake2maX_0.45-src_unix/server/
H A Dsv_main.c145 cl = &svs.clients[i]; in SV_StatusString()
550 cl = &svs.clients[i]; in SV_CalcPings()
786 if (!svs.initialized) in SV_Frame()
862 if (svs.last_heartbeat > svs.realtime) in Master_Heartbeat()
863 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
865 if (svs.realtime - svs.last_heartbeat < HEARTBEAT_SECONDS*1000) in Master_Heartbeat()
868 svs.last_heartbeat = svs.realtime; in Master_Heartbeat()
1058 if (svs.clients) in SV_Shutdown()
1071 if (svs.clients) in SV_Shutdown()
1075 if (svs.demofile) in SV_Shutdown()
[all …]
/dports/games/egl/egl-0.3.1_9/server/
H A Dsv_main.c228 cl = &svs.clients[i]; in SV_StatusString()
634 if (svs.lastHeartBeat > svs.realTime) in SV_MasterHeartbeat()
635 svs.lastHeartBeat = svs.realTime; in SV_MasterHeartbeat()
637 if (svs.realTime-svs.lastHeartBeat < HEARTBEAT_SECONDS*1000) in SV_MasterHeartbeat()
640 svs.lastHeartBeat = svs.realTime; in SV_MasterHeartbeat()
910 if (!svs.initialized) in SV_Frame()
913 svs.realTime += msec; in SV_Frame()
1065 if (svs.clients) in SV_ServerShutdown()
1086 if (svs.clients) in SV_ServerShutdown()
1090 if (svs.demoFile) in SV_ServerShutdown()
[all …]
/dports/games/ioquake3/ioquake3-1.36/code/server/
H A Dsv_init.c187 Q_strncpyz( svs.clients[index].userinfo, val, sizeof( svs.clients[ index ].userinfo ) ); in SV_SetUserinfo()
269 if ( svs.initialized ) { in SV_Startup()
281 svs.initialized = qtrue; in SV_Startup()
336 Z_Free( svs.clients ); in SV_ChangeMaxClients()
450 svs.nextSnapshotEntities = 0; in SV_SpawnServer()
515 svs.time += 100; in SV_SpawnServer()
553 client = &svs.clients[i]; in SV_SpawnServer()
572 svs.time += 100; in SV_SpawnServer()
761 if ( svs.clients ) { in SV_Shutdown()
762 Z_Free( svs.clients ); in SV_Shutdown()
[all …]
/dports/games/ioquake3-server/ioquake3-1.36/code/server/
H A Dsv_init.c187 Q_strncpyz( svs.clients[index].userinfo, val, sizeof( svs.clients[ index ].userinfo ) ); in SV_SetUserinfo()
269 if ( svs.initialized ) { in SV_Startup()
281 svs.initialized = qtrue; in SV_Startup()
336 Z_Free( svs.clients ); in SV_ChangeMaxClients()
450 svs.nextSnapshotEntities = 0; in SV_SpawnServer()
515 svs.time += 100; in SV_SpawnServer()
553 client = &svs.clients[i]; in SV_SpawnServer()
572 svs.time += 100; in SV_SpawnServer()
761 if ( svs.clients ) { in SV_Shutdown()
762 Z_Free( svs.clients ); in SV_Shutdown()
[all …]
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/server/
H A Dsv_init.c187 Q_strncpyz( svs.clients[index].userinfo, val, sizeof( svs.clients[ index ].userinfo ) ); in SV_SetUserinfo()
269 if ( svs.initialized ) { in SV_Startup()
281 svs.initialized = qtrue; in SV_Startup()
336 Z_Free( svs.clients ); in SV_ChangeMaxClients()
450 svs.nextSnapshotEntities = 0; in SV_SpawnServer()
515 svs.time += 100; in SV_SpawnServer()
553 client = &svs.clients[i]; in SV_SpawnServer()
572 svs.time += 100; in SV_SpawnServer()
757 if ( svs.clients ) { in SV_Shutdown()
758 Z_Free( svs.clients ); in SV_Shutdown()
[all …]
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/server/
H A Dsv_init.c185 Q_strncpyz( svs.clients[index].userinfo, val, sizeof( svs.clients[ index ].userinfo ) ); in SV_SetUserinfo()
267 if ( svs.initialized ) { in SV_Startup()
279 svs.initialized = qtrue; in SV_Startup()
334 Z_Free( svs.clients ); in SV_ChangeMaxClients()
448 svs.nextSnapshotEntities = 0; in SV_SpawnServer()
512 svs.time += 100; in SV_SpawnServer()
550 client = &svs.clients[i]; in SV_SpawnServer()
569 svs.time += 100; in SV_SpawnServer()
762 if ( svs.clients ) { in SV_Shutdown()
763 Z_Free( svs.clients ); in SV_Shutdown()
[all …]
/dports/games/openarena/openarena-engine-source-0.8.8/code/server/
H A Dsv_init.c185 Q_strncpyz( svs.clients[index].userinfo, val, sizeof( svs.clients[ index ].userinfo ) ); in SV_SetUserinfo()
267 if ( svs.initialized ) { in SV_Startup()
279 svs.initialized = qtrue; in SV_Startup()
334 Z_Free( svs.clients ); in SV_ChangeMaxClients()
448 svs.nextSnapshotEntities = 0; in SV_SpawnServer()
512 svs.time += 100; in SV_SpawnServer()
550 client = &svs.clients[i]; in SV_SpawnServer()
569 svs.time += 100; in SV_SpawnServer()
762 if ( svs.clients ) { in SV_Shutdown()
763 Z_Free( svs.clients ); in SV_Shutdown()
[all …]

12345678910>>...47