/dports/devel/libxs/libxs-1.2.0/tests/ |
H A D | max_sockets.cpp | 30 int max_sockets = 1; in XS_TEST_MAIN() local 31 int rc = xs_setctxopt (ctx, XS_MAX_SOCKETS, &max_sockets, in XS_TEST_MAIN() 32 sizeof (max_sockets)); in XS_TEST_MAIN()
|
H A D | Makefile.am | 21 max_sockets \ 46 max_sockets_SOURCES = max_sockets.cpp
|
H A D | tests.cpp | 90 #define XS_TEST_MAIN max_sockets 158 rc = max_sockets (); in main()
|
/dports/sysutils/intel-pcm-devel/pcm-0212b38/ |
H A D | pcm-memory.cpp | 48 constexpr uint32 max_sockets = 256; variable 59 float iMC_Rd_socket[max_sockets]; 60 float iMC_Wr_socket[max_sockets]; 61 float iMC_PMM_Rd_socket[max_sockets]; 62 float iMC_PMM_Wr_socket[max_sockets]; 65 float iMC_PMM_MemoryMode_Hit_socket[max_sockets]; 67 float iMC_NM_hit_rate[max_sockets]; 71 float EDC_Rd_socket[max_sockets]; 72 float EDC_Wr_socket[max_sockets]; 73 uint64 partial_write[max_sockets]; [all …]
|
/dports/sysutils/intel-pcm/pcm-202109/ |
H A D | pcm-memory.cpp | 48 constexpr uint32 max_sockets = 256; variable 59 float iMC_Rd_socket[max_sockets]; 60 float iMC_Wr_socket[max_sockets]; 61 float iMC_PMM_Rd_socket[max_sockets]; 62 float iMC_PMM_Wr_socket[max_sockets]; 65 float iMC_PMM_MemoryMode_Hit_socket[max_sockets]; 67 float iMC_NM_hit_rate[max_sockets]; 71 float EDC_Rd_socket[max_sockets]; 72 float EDC_Wr_socket[max_sockets]; 73 uint64 partial_write[max_sockets]; [all …]
|
/dports/net/serveez/serveez-0.2.2/src/libserveez/ |
H A D | util.c | 693 svz_openfiles (int max_sockets) in svz_openfiles() argument 724 if ((int) rlim.rlim_max < (int) max_sockets || in svz_openfiles() 725 (int) rlim.rlim_cur < (int) max_sockets) in svz_openfiles() 727 rlim.rlim_max = max_sockets; in svz_openfiles() 728 rlim.rlim_cur = max_sockets; in svz_openfiles() 759 if (sockets < (unsigned) max_sockets) in svz_openfiles() 761 sockets = max_sockets; in svz_openfiles()
|
H A D | server-socket.c | 159 int max_sockets; in tcp_accept() local 173 max_sockets = SVZ_RUNPARM (MAX_SOCKETS); in tcp_accept() 174 if ((svz_t_socket) svz_sock_connections >= max_sockets) in tcp_accept() 177 "socket limit %d\n", max_sockets); in tcp_accept()
|
/dports/irc/undernet-ircu/ircu2.10.12.19/ircd/ |
H A D | engine_poll.c | 92 engine_init(int max_sockets) in engine_init() argument 97 sockList = (struct Socket**) MyMalloc(sizeof(struct Socket*) * max_sockets); in engine_init() 98 pollfdList = (struct pollfd*) MyMalloc(sizeof(struct pollfd) * max_sockets); in engine_init() 101 for (i = 0; i < max_sockets; i++) { in engine_init() 109 poll_max = max_sockets; /* number of sockets allocated */ in engine_init()
|
H A D | engine_devpoll.c | 97 engine_init(int max_sockets) in engine_init() argument 108 sockList = (struct Socket**) MyMalloc(sizeof(struct Socket*) * max_sockets); in engine_init() 111 for (i = 0; i < max_sockets; i++) in engine_init() 114 devpoll_max = max_sockets; /* number of sockets allocated */ in engine_init()
|
H A D | engine_kqueue.c | 77 engine_init(int max_sockets) in engine_init() argument 88 sockList = (struct Socket**) MyMalloc(sizeof(struct Socket*) * max_sockets); in engine_init() 91 for (i = 0; i < max_sockets; i++) in engine_init() 94 kqueue_max = max_sockets; /* number of sockets allocated */ in engine_init()
|
H A D | engine_select.c | 93 engine_init(int max_sockets) in engine_init() argument 97 if (max_sockets > FD_SETSIZE) { /* too many sockets */ in engine_init() 100 max_sockets, FD_SETSIZE); in engine_init()
|
/dports/security/nmap/nmap-7.91/scripts/ |
H A D | domcon-brute.nse | 44 new = function(self, max_sockets) 48 o.max_sockets = max_sockets 61 if ( #self.pool < self.max_sockets ) then
|
/dports/net/libcoap/libcoap-4.3.0/include/coap3/ |
H A D | net.h | 644 unsigned int max_sockets, 752 unsigned int max_sockets, in coap_write() argument 756 return coap_io_prepare_io(ctx, sockets, max_sockets, num_sockets, now); in coap_write()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/mdns/ |
H A D | mdns.c | 221 open_client_sockets(int* sockets, int max_sockets, int port) { in open_client_sockets() argument 273 if (num_sockets < max_sockets) { in open_client_sockets() 306 if (num_sockets < max_sockets) { in open_client_sockets() 353 if (num_sockets < max_sockets) { in open_client_sockets() 385 if (num_sockets < max_sockets) { in open_client_sockets() 413 open_service_sockets(int* sockets, int max_sockets) { in open_service_sockets() argument 422 if (num_sockets < max_sockets) { in open_service_sockets() 440 if (num_sockets < max_sockets) { in open_service_sockets()
|
/dports/security/tor/tor-0.4.6.8/src/lib/net/ |
H A D | socket.c | 94 static int max_sockets = 1024; variable 100 return max_sockets; in get_max_sockets() 107 max_sockets = n; in set_max_sockets() 276 if (get_n_open_sockets() >= max_sockets - 1) { in tor_open_socket_with_extensions() 384 if (get_n_open_sockets() >= max_sockets - 1) { in tor_accept_socket_with_extensions()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/lib/net/ |
H A D | socket.c | 94 static int max_sockets = 1024; variable 100 return max_sockets; in get_max_sockets() 107 max_sockets = n; in set_max_sockets() 276 if (get_n_open_sockets() >= max_sockets - 1) { in tor_open_socket_with_extensions() 384 if (get_n_open_sockets() >= max_sockets - 1) { in tor_accept_socket_with_extensions()
|
/dports/devel/pecl-swoole/swoole-4.8.5/core-tests/src/server/ |
H A D | server.cpp | 336 ASSERT_EQ(serv.get_max_connection(), SW_MIN(SW_MAX_CONNECTION, SwooleG.max_sockets)); in TEST() 338 serv.set_max_connection(SwooleG.max_sockets + 13); in TEST() 339 ASSERT_EQ(serv.get_max_connection(), SwooleG.max_sockets); in TEST() 341 serv.set_max_connection(SwooleG.max_sockets - 13); in TEST() 342 ASSERT_EQ(serv.get_max_connection(), SwooleG.max_sockets - 13); in TEST() 362 ASSERT_EQ(serv.get_max_connection(), SwooleG.max_sockets); in TEST()
|
/dports/games/warmux/warmux-11.04/lib/warmux/include/ |
H A D | WARMUX_socket.h | 47 WSocketSet(uint max_sockets, SDLNet_SocketSet socket_set); 51 static WSocketSet* GetSocketSet(uint max_sockets);
|
/dports/misc/libiio/libiio-0.21/ |
H A D | dns_sd_windows.c | 50 open_client_sockets(int* sockets, int max_sockets) { in open_client_sockets() argument 95 if (num_sockets < max_sockets) { in open_client_sockets() 113 if (num_sockets < max_sockets) { in open_client_sockets()
|
/dports/net/czmq/czmq-4.1.1/bindings/ruby/lib/czmq/ffi/ |
H A D | zsys.rb | 513 def self.set_max_sockets(max_sockets) argument 514 max_sockets = Integer(max_sockets) 515 result = ::CZMQ::FFI.zsys_set_max_sockets(max_sockets)
|
/dports/devel/py-ipyparallel/ipyparallel-6.3.0/ipyparallel/apps/ |
H A D | winhpcjob.py | 88 max_sockets = Integer(1, config=True) variable in WinHPCJob 180 max_sockets = Integer(1, config=True) variable in WinHPCTask 262 max_sockets = Integer(1, config=False) variable in IPControllerTask 290 max_sockets = Integer(1, config=False) variable in IPEngineTask
|
/dports/dns/dnrd/dnrd-2.20.3/src/ |
H A D | args.c | 304 max_sockets = atoi(optarg); in parse_args() 306 max_sockets); in parse_args()
|
/dports/net/py-aiocoap/aiocoap-0.4.3/aiocoap/transports/ |
H A D | simple6.py | 168 max_sockets = 64 variable in _DatagramClientSocketpoolSimple6 184 while len(self._sockets) >= self.max_sockets: # more of an if
|
/dports/devel/upp/upp/bazaar/ZMQ/lib/src/ |
H A D | config.hpp | 31 max_sockets = 512, enumerator
|
/dports/net/czmq4/czmq-4.2.1/bindings/ruby/lib/czmq/ffi/ |
H A D | zsys.rb | 596 def self.set_max_sockets(max_sockets) argument 597 max_sockets = Integer(max_sockets) 598 result = ::CZMQ::FFI.zsys_set_max_sockets(max_sockets)
|