/dports/misc/libmetalink/libmetalink-0.1.3/lib/ |
H A D | metalink_pstate_v3.c | 165 long int maxconnections = 0; in file_state_start_fun_v3() local 170 maxconnections = strtol(value, 0, 10); in file_state_start_fun_v3() 171 if(errno == ERANGE || maxconnections < 0 || maxconnections > INT_MAX) { in file_state_start_fun_v3() 173 maxconnections = 0; in file_state_start_fun_v3() 176 metalink_pctrl_file_set_maxconnections(stm->ctrl, maxconnections); in file_state_start_fun_v3() 208 long int maxconnections = 0; in resources_state_start_fun_v3() local 252 maxconnections = strtol(value, 0, 10); in resources_state_start_fun_v3() 253 if(errno == ERANGE || maxconnections < 0 || maxconnections > INT_MAX) { in resources_state_start_fun_v3() 255 maxconnections = 0; in resources_state_start_fun_v3() 258 metalink_pctrl_resource_set_maxconnections(stm->ctrl, maxconnections); in resources_state_start_fun_v3()
|
/dports/devel/cvsd/cvsd-1.0.24/debian/ |
H A D | config | 25 …maxconnections=`sed -n 's/^[[:space:]]*MaxConnections[[:space:]][[:space:]]*\([^[:space:]]*\)[[:sp… 26 [ "x$maxconnections" = "x" ] && maxconnections=0 27 db_set cvsd/maxconnections "$maxconnections" 79 db_input low cvsd/maxconnections || true
|
/dports/databases/py-dbutils/DBUtils-2.0/dbutils/ |
H A D | pooled_pg.py | 142 maxconnections=0, blocking=False, argument 176 if maxconnections is None: 177 maxconnections = 0 181 if maxconnections: 182 if maxconnections < maxcached: 183 maxconnections = maxcached 186 self._connections = Semaphore(maxconnections)
|
H A D | pooled_db.py | 174 maxshared=0, maxconnections=0, blocking=False, argument 238 if maxconnections is None: 239 maxconnections = 0 251 if maxconnections: 252 if maxconnections < maxcached: 253 maxconnections = maxcached 254 if maxconnections < maxshared: 255 maxconnections = maxshared 256 self._maxconnections = maxconnections
|
H A D | simple_pooled_pg.py | 111 def __init__(self, maxconnections, *args, **kwargs): argument 125 self._queue = Queue(maxconnections) 128 for i in range(maxconnections):
|
/dports/science/plumed/plumed2-2.7.2/src/adjmat/ |
H A D | DFSClustering.cpp | 108 unsigned maxconnections; parse("MAXCONNECT",maxconnections); in DFSClustering() local 110 if( maxconnections>0 ) edge_list.resize( getNumberOfNodes()*maxconnections ); in DFSClustering() 114 if( maxconnections>0 ) adj_list.resize(getNumberOfNodes(),maxconnections); in DFSClustering()
|
H A D | DumpGraph.cpp | 46 unsigned maxconnections; member in PLMD::adjmat::DumpGraph 82 parse("MAXCONNECT",maxconnections); std::string mstring; parse("MATRIX",mstring); in DumpGraph() 94 if( maxconnections==0 ) maxconnections=mymatrix->getNumberOfRows(); in DumpGraph() 106 …std::vector<std::pair<unsigned,unsigned> > edge_list( mymatrix->getNumberOfRows()*maxconnections ); in update()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 101 uint32_t maxconnections, in TNamedPipeServer() argument 106 maxconns_(maxconnections), in TNamedPipeServer() 169 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 171 setMaxConnections(maxconnections); in TPipeServer() 178 uint32_t maxconnections, in TPipeServer() argument 181 setMaxConnections(maxconnections); in TPipeServer() 483 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 484 if (maxconnections == 0) in setMaxConnections() 486 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 489 maxconns_ = maxconnections; in setMaxConnections()
|
H A D | TPipeServer.h | 58 TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections); 61 uint32_t maxconnections, 89 void setMaxConnections(uint32_t maxconnections);
|
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 101 uint32_t maxconnections, in TNamedPipeServer() argument 106 maxconns_(maxconnections), in TNamedPipeServer() 169 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 171 setMaxConnections(maxconnections); in TPipeServer() 178 uint32_t maxconnections, in TPipeServer() argument 181 setMaxConnections(maxconnections); in TPipeServer() 483 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 484 if (maxconnections == 0) in setMaxConnections() 486 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 489 maxconns_ = maxconnections; in setMaxConnections()
|
H A D | TPipeServer.h | 58 TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections); 61 uint32_t maxconnections, 89 void setMaxConnections(uint32_t maxconnections);
|
/dports/devel/thrift-cpp/thrift-0.14.0/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 101 uint32_t maxconnections, in TNamedPipeServer() argument 106 maxconns_(maxconnections), in TNamedPipeServer() 169 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 171 setMaxConnections(maxconnections); in TPipeServer() 178 uint32_t maxconnections, in TPipeServer() argument 181 setMaxConnections(maxconnections); in TPipeServer() 483 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 484 if (maxconnections == 0) in setMaxConnections() 486 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 489 maxconns_ = maxconnections; in setMaxConnections()
|
H A D | TPipeServer.h | 58 TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections); 61 uint32_t maxconnections, 89 void setMaxConnections(uint32_t maxconnections);
|
/dports/devel/thrift/thrift-0.14.0/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 101 uint32_t maxconnections, in TNamedPipeServer() argument 106 maxconns_(maxconnections), in TNamedPipeServer() 169 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 171 setMaxConnections(maxconnections); in TPipeServer() 178 uint32_t maxconnections, in TPipeServer() argument 181 setMaxConnections(maxconnections); in TPipeServer() 483 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 484 if (maxconnections == 0) in setMaxConnections() 486 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 489 maxconns_ = maxconnections; in setMaxConnections()
|
H A D | TPipeServer.h | 58 TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections); 61 uint32_t maxconnections, 89 void setMaxConnections(uint32_t maxconnections);
|
/dports/devel/node-thrift/thrift-0.14.0/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 101 uint32_t maxconnections, in TNamedPipeServer() argument 106 maxconns_(maxconnections), in TNamedPipeServer() 169 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 171 setMaxConnections(maxconnections); in TPipeServer() 178 uint32_t maxconnections, in TPipeServer() argument 181 setMaxConnections(maxconnections); in TPipeServer() 483 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 484 if (maxconnections == 0) in setMaxConnections() 486 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 489 maxconns_ = maxconnections; in setMaxConnections()
|
H A D | TPipeServer.h | 58 TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections); 61 uint32_t maxconnections, 89 void setMaxConnections(uint32_t maxconnections);
|
/dports/devel/py-thrift/thrift-0.14.0/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 101 uint32_t maxconnections, in TNamedPipeServer() argument 106 maxconns_(maxconnections), in TNamedPipeServer() 169 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 171 setMaxConnections(maxconnections); in TPipeServer() 178 uint32_t maxconnections, in TPipeServer() argument 181 setMaxConnections(maxconnections); in TPipeServer() 483 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 484 if (maxconnections == 0) in setMaxConnections() 486 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 489 maxconns_ = maxconnections; in setMaxConnections()
|
H A D | TPipeServer.h | 58 TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections); 61 uint32_t maxconnections, 89 void setMaxConnections(uint32_t maxconnections);
|
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 99 TNamedPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TNamedPipeServer() argument 100 : stopping_(false), pipename_(pipename), bufsize_(bufsize), maxconns_(maxconnections) in TNamedPipeServer() 161 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 163 setMaxConnections(maxconnections); in TPipeServer() 448 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 449 if (maxconnections == 0) in setMaxConnections() 451 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 454 maxconns_ = maxconnections; in setMaxConnections()
|
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 99 TNamedPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TNamedPipeServer() argument 100 : stopping_(false), pipename_(pipename), bufsize_(bufsize), maxconns_(maxconnections) in TNamedPipeServer() 161 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 163 setMaxConnections(maxconnections); in TPipeServer() 448 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 449 if (maxconnections == 0) in setMaxConnections() 451 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 454 maxconns_ = maxconnections; in setMaxConnections()
|
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/cpp/src/thrift/transport/ |
H A D | TPipeServer.cpp | 98 TNamedPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TNamedPipeServer() argument 99 : stopping_(false), pipename_(pipename), bufsize_(bufsize), maxconns_(maxconnections) in TNamedPipeServer() 160 TPipeServer::TPipeServer(const std::string& pipename, uint32_t bufsize, uint32_t maxconnections) in TPipeServer() argument 162 setMaxConnections(maxconnections); in TPipeServer() 469 void TPipeServer::setMaxConnections(uint32_t maxconnections) { in setMaxConnections() argument 470 if (maxconnections == 0) in setMaxConnections() 472 else if (maxconnections > PIPE_UNLIMITED_INSTANCES) in setMaxConnections() 475 maxconns_ = maxconnections; in setMaxConnections()
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/src/ |
H A D | ircd.c | 81 int maxconnections; variable 216 maxconnections = limit.rlim_cur; in init_sys() 217 if(maxconnections <= MAX_BUFFER) in init_sys() 228 maxconnections = MAXCONNECTIONS; in init_sys() 324 if(GlobalSetOptions.maxclients > (maxconnections - MAX_BUFFER) in initialize_global_set_options() 326 GlobalSetOptions.maxclients = maxconnections - MAX_BUFFER; in initialize_global_set_options() 610 rb_lib_init(ilogcb, restartcb, diecb, 1, maxconnections, DNODE_HEAP_SIZE, FD_HEAP_SIZE); in ratbox_main()
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/src/ |
H A D | ircd.c | 82 int maxconnections; variable 217 maxconnections = limit.rlim_cur; in init_sys() 218 if(maxconnections <= MAX_BUFFER) in init_sys() 229 maxconnections = MAXCONNECTIONS; in init_sys() 325 if(GlobalSetOptions.maxclients > (maxconnections - MAX_BUFFER) in initialize_global_set_options() 327 GlobalSetOptions.maxclients = maxconnections - MAX_BUFFER; in initialize_global_set_options() 606 rb_lib_init(ilogcb, restartcb, diecb, 1, maxconnections, DNODE_HEAP_SIZE, FD_HEAP_SIZE); in ratbox_main()
|
/dports/misc/libmetalink/libmetalink-0.1.3/lib/includes/metalink/ |
H A D | metalink_types.h | 55 int maxconnections; member 75 int maxconnections); 227 int maxconnections; member 267 void metalink_file_set_maxconnections(metalink_file_t* file, int maxconnections);
|