Home
last modified time | relevance | path

Searched refs:max_sockets (Results 1 – 25 of 118) sorted by relevance

12345

/dports/devel/libxs/libxs-1.2.0/tests/
H A Dmax_sockets.cpp30 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 DMakefile.am21 max_sockets \
46 max_sockets_SOURCES = max_sockets.cpp
H A Dtests.cpp90 #define XS_TEST_MAIN max_sockets
158 rc = max_sockets (); in main()
/dports/sysutils/intel-pcm-devel/pcm-0212b38/
H A Dpcm-memory.cpp48 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 Dpcm-memory.cpp48 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 Dutil.c693 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 Dserver-socket.c159 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 Dengine_poll.c92 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 Dengine_devpoll.c97 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 Dengine_kqueue.c77 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 Dengine_select.c93 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 Ddomcon-brute.nse44 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 Dnet.h644 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 Dmdns.c221 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 Dsocket.c94 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 Dsocket.c94 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 Dserver.cpp336 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 DWARMUX_socket.h47 WSocketSet(uint max_sockets, SDLNet_SocketSet socket_set);
51 static WSocketSet* GetSocketSet(uint max_sockets);
/dports/misc/libiio/libiio-0.21/
H A Ddns_sd_windows.c50 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 Dzsys.rb513 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 Dwinhpcjob.py88 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 Dargs.c304 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 Dsimple6.py168 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 Dconfig.hpp31 max_sockets = 512, enumerator
/dports/net/czmq4/czmq-4.2.1/bindings/ruby/lib/czmq/ffi/
H A Dzsys.rb596 def self.set_max_sockets(max_sockets) argument
597 max_sockets = Integer(max_sockets)
598 result = ::CZMQ::FFI.zsys_set_max_sockets(max_sockets)

12345