Home
last modified time | relevance | path

Searched refs:MAX_NODE_LENGTH (Results 1 – 8 of 8) sorted by relevance

/dports/databases/pg_citus/citus-10.2.3/src/backend/distributed/connection/
H A Dshared_connection_stats.c74 char hostname[MAX_NODE_LENGTH];
278 strlcpy(connKey.hostname, hostname, MAX_NODE_LENGTH); in TryToIncrementSharedConnectionCounter()
279 if (strlen(hostname) > MAX_NODE_LENGTH) in TryToIncrementSharedConnectionCounter()
283 MAX_NODE_LENGTH))); in TryToIncrementSharedConnectionCounter()
417 strlcpy(connKey.hostname, hostname, MAX_NODE_LENGTH); in IncrementSharedConnectionCounter()
418 if (strlen(hostname) > MAX_NODE_LENGTH) in IncrementSharedConnectionCounter()
422 MAX_NODE_LENGTH))); in IncrementSharedConnectionCounter()
481 strlcpy(connKey.hostname, hostname, MAX_NODE_LENGTH); in DecrementSharedConnectionCounter()
482 if (strlen(hostname) > MAX_NODE_LENGTH) in DecrementSharedConnectionCounter()
486 MAX_NODE_LENGTH))); in DecrementSharedConnectionCounter()
[all …]
H A Dlocally_reserved_shared_connections.c70 char hostname[MAX_NODE_LENGTH];
209 strlcpy(key.hostname, hostName, MAX_NODE_LENGTH); in CanUseReservedConnection()
275 strlcpy(key.hostname, hostName, MAX_NODE_LENGTH); in MarkReservedConnectionUsed()
527 strlcpy(key.hostname, hostName, MAX_NODE_LENGTH); in AllocateOrGetReservedConnectionEntry()
562 uint32 hash = string_hash(entry->hostname, MAX_NODE_LENGTH); in LocalConnectionReserveHashHash()
584 strncmp(ca->hostname, cb->hostname, MAX_NODE_LENGTH) != 0) in LocalConnectionReserveHashCompare()
H A Dconnection_management.c263 if (strlen(hostname) > MAX_NODE_LENGTH) in StartNodeUserDatabaseConnection()
267 MAX_NODE_LENGTH))); in StartNodeUserDatabaseConnection()
270 strlcpy(key.hostname, hostname, MAX_NODE_LENGTH); in StartNodeUserDatabaseConnection()
507 strlcpy(key.hostname, hostName, MAX_NODE_LENGTH); in ConnectionAvailableToNode()
578 strlcpy(key.hostname, connection->hostname, MAX_NODE_LENGTH); in CloseConnection()
1111 if (strncmp(ca->hostname, cb->hostname, MAX_NODE_LENGTH) != 0 || in ConnectionHashCompare()
1136 strlcpy(connection->hostname, key->hostname, MAX_NODE_LENGTH); in StartConnectionEstablishment()
1170 strlcpy(key.hostname, workerNode->workerName, MAX_NODE_LENGTH); in WarmUpConnParamsHash()
/dports/devel/slf4j/slf4j-1.7.21/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
H A DRandomHelper.java54 int MAX_NODE_LENGTH = averageNodeLength * 2; in buildRandomFileName() local
58 if (remaining > MAX_NODE_LENGTH) { in buildRandomFileName()
59 currentNodeLength = random.nextInt(MAX_NODE_LENGTH) + 1; in buildRandomFileName()
/dports/databases/pg_citus/citus-10.2.3/src/include/distributed/
H A Dconnection_management.h25 #define MAX_NODE_LENGTH 255 /* includes 0 byte */ macro
110 char hostname[MAX_NODE_LENGTH];
171 char hostname[MAX_NODE_LENGTH];
/dports/databases/pg_citus/citus-10.2.3/src/backend/distributed/operations/
H A Dshard_rebalancer.c147 char hostname[MAX_NODE_LENGTH];
1245 strlcpy(workerKey.hostname, workerName, MAX_NODE_LENGTH); in WorkerShardSize()
1297 strlcpy(workerKey.hostname, entry->worker.hostname, MAX_NODE_LENGTH); in BuildWorkerShardStatisticsHash()
1465 strlcpy(workerKey.hostname, workerName, MAX_NODE_LENGTH); in AddToWorkerShardIdSet()
H A Drepair_shards.c1166 if (strncmp(nodeName, shardPlacement->nodeName, MAX_NODE_LENGTH) == 0 && in SearchShardPlacementInList()
/dports/databases/pg_citus/citus-10.2.3/src/backend/distributed/commands/
H A Dmulti_copy.c3568 if (strncmp(connectionHostname, hostname, MAX_NODE_LENGTH) == 0 && in ConnectionStateListToNode()