Home
last modified time | relevance | path

Searched refs:poolSize (Results 1 – 25 of 1071) sorted by relevance

12345678910>>...43

/dports/science/rdkit/rdkit-Release_2021_03_5/Code/SimDivPickers/
H A DMaxMinPicker.h62 RDKit::INT_VECT lazyPick(T &func, unsigned int poolSize,
66 RDKit::INT_VECT lazyPick(T &func, unsigned int poolSize,
72 RDKit::INT_VECT lazyPick(T &func, unsigned int poolSize,
113 RDKit::INT_VECT pick(const double *distMat, unsigned int poolSize,
118 if (poolSize < pickSize)
125 RDKit::INT_VECT pick(const double *distMat, unsigned int poolSize, in pick() argument
128 return pick(distMat, poolSize, pickSize, iv); in pick()
147 if (poolSize < pickSize) in lazyPick()
167 distrib_type dist(0, poolSize - 1); in lazyPick()
185 if (pick >= poolSize) { in lazyPick()
[all …]
H A DHierarchicalClusterPicker.cpp23 const double *distMat, unsigned int poolSize, unsigned int pickSize) const { in cluster() argument
25 PRECONDITION((poolSize >= pickSize), in cluster()
30 long int len = poolSize * (poolSize - 1); in cluster()
31 auto *ia = (long int *)calloc(poolSize, sizeof(long int)); in cluster()
32 auto *ib = (long int *)calloc(poolSize, sizeof(long int)); in cluster()
33 real *crit = (real *)calloc(poolSize, sizeof(real)); in cluster()
37 auto poolSize2 = static_cast<long int>(poolSize); in cluster()
59 for (unsigned int i = 0; i < poolSize; i++) { in cluster()
67 for (unsigned int i = 0; i < (poolSize - pickSize); i++) { in cluster()
98 for (unsigned int i = 0; i < poolSize; i++) { in cluster()
[all …]
H A DLeaderPicker.h65 RDKit::INT_VECT lazyPick(T &func, unsigned int poolSize,
69 RDKit::INT_VECT lazyPick(T &func, unsigned int poolSize,
73 RDKit::INT_VECT lazyPick(T &func, unsigned int poolSize,
79 RDKit::INT_VECT lazyPick(T &func, unsigned int poolSize,
97 RDKit::INT_VECT pick(const double *distMat, unsigned int poolSize, in pick() argument
102 if (poolSize < pickSize) in pick()
113 return pick(distMat, poolSize, pickSize, iv, default_threshold, in pick()
368 if (poolSize < pickSize) in lazyPick()
371 if (!pickSize) pickSize = poolSize; in lazyPick()
374 LeaderPickerState<T> stat(poolSize, nthreads); in lazyPick()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/main/java/org/springframework/scheduling/config/
H A DTaskExecutorFactoryBean.java41 private String poolSize; field in TaskExecutorFactoryBean
54 public void setPoolSize(String poolSize) { in setPoolSize() argument
55 this.poolSize = poolSize; in setPoolSize()
100 return (StringUtils.hasText(this.poolSize) && this.poolSize.startsWith("0") && in shouldUseBackport()
105 if (StringUtils.hasText(this.poolSize)) { in determinePoolSizeRange()
109 int separatorIndex = this.poolSize.indexOf('-'); in determinePoolSizeRange()
111 corePoolSize = Integer.valueOf(this.poolSize.substring(0, separatorIndex)); in determinePoolSizeRange()
112 …maxPoolSize = Integer.valueOf(this.poolSize.substring(separatorIndex + 1, this.poolSize.length())); in determinePoolSizeRange()
133 Integer value = Integer.valueOf(this.poolSize); in determinePoolSizeRange()
141 …throw new IllegalArgumentException("Invalid pool-size value [" + this.poolSize + "]: only single "… in determinePoolSizeRange()
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/SimDivPickers/Wrap/
H A DMaxMinPicker.cpp34 int poolSize, int pickSize, in MaxMinPicks() argument
36 if (pickSize >= poolSize) { in MaxMinPicks()
55 picker->pick(dMat, poolSize, pickSize, firstPickVect, seed); in MaxMinPicks()
70 res = picker->lazyPick(functor, poolSize, pickSize, firstPickVect, seed, in LazyMaxMinHelper()
76 int poolSize, int pickSize, in LazyMaxMinPicks() argument
101 int poolSize, int pickSize, in LazyVectorMaxMinPicks() argument
108 std::vector<const ExplicitBitVect *> bvs(poolSize); in LazyVectorMaxMinPicks()
109 for (int i = 0; i < poolSize; ++i) { in LazyVectorMaxMinPicks()
122 MaxMinPicker *picker, python::object objs, int poolSize, int pickSize, in LazyVectorMaxMinPicksWithThreshold() argument
124 std::vector<const ExplicitBitVect *> bvs(poolSize); in LazyVectorMaxMinPicksWithThreshold()
[all …]
H A DLeaderPicker.cpp33 void LazyLeaderHelper(LeaderPicker *picker, T functor, unsigned int poolSize, in LazyLeaderHelper() argument
42 res = picker->lazyPick(functor, poolSize, pickSize, firstPickVect, threshold, in LazyLeaderHelper()
50 int poolSize, double threshold, in LazyVectorLeaderPicks() argument
53 std::vector<const ExplicitBitVect *> bvs(poolSize); in LazyVectorLeaderPicks()
54 for (int i = 0; i < poolSize; ++i) { in LazyVectorLeaderPicks()
59 LazyLeaderHelper(picker, functor, poolSize, threshold, pickSize, firstPicks, in LazyVectorLeaderPicks()
65 int poolSize, double threshold, int pickSize, in LazyLeaderPicks() argument
69 LazyLeaderHelper(picker, functor, poolSize, threshold, pickSize, firstPicks, in LazyLeaderPicks()
/dports/multimedia/phonon-designerplugin/phonon-4.11.1/phonon/experimental/
H A Dpacketpool.cpp29 int PacketPool::poolSize() const { return d_ptr->poolSize; } in poolSize() function in Phonon::PacketPool
38 poolSize(_poolSize) in PacketPoolPrivate()
47 Q_ASSERT(poolSize == ringBufferSize.loadAcquire()); in ~PacketPoolPrivate()
48 for (int i = 0; i < poolSize; ++i) { in ~PacketPoolPrivate()
59 while (pos >= poolSize) { in releasePacket()
60 pos -= poolSize; in releasePacket()
76 while (pos >= poolSize) { in acquirePacket()
77 pos -= poolSize; in acquirePacket()
/dports/multimedia/phonon/phonon-4.11.1/phonon/experimental/
H A Dpacketpool.cpp29 int PacketPool::poolSize() const { return d_ptr->poolSize; } in poolSize() function in Phonon::PacketPool
38 poolSize(_poolSize) in PacketPoolPrivate()
47 Q_ASSERT(poolSize == ringBufferSize.loadAcquire()); in ~PacketPoolPrivate()
48 for (int i = 0; i < poolSize; ++i) { in ~PacketPoolPrivate()
59 while (pos >= poolSize) { in releasePacket()
60 pos -= poolSize; in releasePacket()
76 while (pos >= poolSize) { in acquirePacket()
77 pos -= poolSize; in acquirePacket()
/dports/sysutils/calamares/calamares-3.2.44.2/src/modules/machineid/
H A DWorkers.cpp27 int poolSize = minimumPoolSize; in getUrandomPoolSize() local
39 poolSize = v.toInt( &ok ); in getUrandomPoolSize()
42 poolSize = minimumPoolSize; in getUrandomPoolSize()
46 return ( poolSize >= minimumPoolSize ) ? poolSize : minimumPoolSize; in getUrandomPoolSize()
82 createNewEntropy( int poolSize, const QString& rootMountPoint, const QString& fileName ) in createNewEntropy() argument
98 CalamaresUtils::EntropySource source = CalamaresUtils::getEntropy( poolSize, data ); in createNewEntropy()
105 if ( data.length() < poolSize ) in createNewEntropy()
107 … cWarning() << "Entropy data is" << data.length() << "bytes, rather than poolSize" << poolSize; in createNewEntropy()
140 int poolSize = getUrandomPoolSize(); in createEntropy() local
141 return createNewEntropy( poolSize, rootMountPoint, fileName ); in createEntropy()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities/System/Activities/Runtime/
H A DPool.cs27 int poolSize; field in System.Activities.Runtime.Pool
34 public Pool(int poolSize) in Pool() argument
36 this.items = new T[poolSize]; in Pool()
37 this.poolSize = poolSize; in Pool()
59 if (this.count < this.poolSize) in Release()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp60 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
63 if(!aPool.setSize(poolSize)){ in tryPool1()
71 int * anArray = new int[poolSize]; in tryPool1()
79 if(!((arrayElements <= poolSize) && in tryPool1()
81 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
88 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
94 const int r = rand() % (10 * poolSize); in tryPool1()
111 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
115 << " out of " << poolSize << endl; in tryPool1()
119 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp60 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
63 if(!aPool.setSize(poolSize)){ in tryPool1()
71 int * anArray = new int[poolSize]; in tryPool1()
79 if(!((arrayElements <= poolSize) && in tryPool1()
81 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
88 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
94 const int r = rand() % (10 * poolSize); in tryPool1()
111 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
115 << " out of " << poolSize << endl; in tryPool1()
119 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp60 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
63 if(!aPool.setSize(poolSize)){ in tryPool1()
71 int * anArray = new int[poolSize]; in tryPool1()
79 if(!((arrayElements <= poolSize) && in tryPool1()
81 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
88 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
94 const int r = rand() % (10 * poolSize); in tryPool1()
111 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
115 << " out of " << poolSize << endl; in tryPool1()
119 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp62 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
65 if(!aPool.setSize(poolSize)){ in tryPool1()
73 int * anArray = new int[poolSize]; in tryPool1()
81 if(!((arrayElements <= poolSize) && in tryPool1()
83 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
90 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
96 const int r = rand() % (10 * poolSize); in tryPool1()
113 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
117 << " out of " << poolSize << endl; in tryPool1()
121 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp62 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
65 if(!aPool.setSize(poolSize)){ in tryPool1()
73 int * anArray = new int[poolSize]; in tryPool1()
81 if(!((arrayElements <= poolSize) && in tryPool1()
83 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
90 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
96 const int r = rand() % (10 * poolSize); in tryPool1()
113 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
117 << " out of " << poolSize << endl; in tryPool1()
121 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp62 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
65 if(!aPool.setSize(poolSize)){ in tryPool1()
73 int * anArray = new int[poolSize]; in tryPool1()
81 if(!((arrayElements <= poolSize) && in tryPool1()
83 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
90 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
96 const int r = rand() % (10 * poolSize); in tryPool1()
113 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
117 << " out of " << poolSize << endl; in tryPool1()
121 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp62 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
65 if(!aPool.setSize(poolSize)){ in tryPool1()
73 int * anArray = new int[poolSize]; in tryPool1()
81 if(!((arrayElements <= poolSize) && in tryPool1()
83 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
90 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
96 const int r = rand() % (10 * poolSize); in tryPool1()
113 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
117 << " out of " << poolSize << endl; in tryPool1()
121 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp62 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
65 if(!aPool.setSize(poolSize)){ in tryPool1()
73 int * anArray = new int[poolSize]; in tryPool1()
81 if(!((arrayElements <= poolSize) && in tryPool1()
83 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
90 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
96 const int r = rand() % (10 * poolSize); in tryPool1()
113 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
117 << " out of " << poolSize << endl; in tryPool1()
121 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp60 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
63 if(!aPool.setSize(poolSize)){ in tryPool1()
71 int * anArray = new int[poolSize]; in tryPool1()
79 if(!((arrayElements <= poolSize) && in tryPool1()
81 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
88 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
94 const int r = rand() % (10 * poolSize); in tryPool1()
111 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
115 << " out of " << poolSize << endl; in tryPool1()
119 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp60 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
63 if(!aPool.setSize(poolSize)){ in tryPool1()
71 int * anArray = new int[poolSize]; in tryPool1()
79 if(!((arrayElements <= poolSize) && in tryPool1()
81 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
88 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
94 const int r = rand() % (10 * poolSize); in tryPool1()
111 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
115 << " out of " << poolSize << endl; in tryPool1()
119 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/storage/ndb/src/kernel/vm/al_test/
H A DarrayPoolTest.cpp51 static void tryPool1(int poolSize, int iterations){ in tryPool1() argument
54 if(!aPool.setSize(poolSize)){ in tryPool1()
62 int * anArray = new int[poolSize]; in tryPool1()
70 if(!((arrayElements <= poolSize) && in tryPool1()
72 (aPool.noOfFree() == (poolSize - arrayElements)))){ in tryPool1()
79 ndbout << "poolSize = " << poolSize << endl; in tryPool1()
85 const int r = rand() % (10 * poolSize); in tryPool1()
102 if(ret == RNIL && arrayElements != poolSize){ in tryPool1()
106 << " out of " << poolSize << endl; in tryPool1()
110 if(arrayElements >= poolSize && ret != RNIL){ in tryPool1()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/aerospike/aerospike-client-go/types/
H A Dbuffer_pool.go24 poolSize int member
39 func NewBufferPool(poolSize, initBufferSize, maxBufferSize int) *BufferPool { argument
41 pool: make([][]byte, poolSize),
43 poolSize: poolSize,
69 if bp.pos < int64(bp.poolSize-1) {
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/main/java/org/springframework/scheduling/concurrent/
H A DScheduledExecutorFactoryBean.java66 private int poolSize = 1; field in ScheduledExecutorFactoryBean
81 public void setPoolSize(int poolSize) { in setPoolSize() argument
82 Assert.isTrue(poolSize > 0, "'poolSize' must be 1 or higher"); in setPoolSize()
83 this.poolSize = poolSize; in setPoolSize()
128 createExecutor(this.poolSize, threadFactory, rejectedExecutionHandler); in initializeExecutor()
154 int poolSize, ThreadFactory threadFactory, RejectedExecutionHandler rejectedExecutionHandler) { in createExecutor() argument
156 return new ScheduledThreadPoolExecutor(poolSize, threadFactory, rejectedExecutionHandler); in createExecutor()
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/server_core/
H A DServerDatabase.cpp90 return options.poolSize; in operator ()()
95 return options.poolSize; in operator ()()
139 options.poolSize = settings.getInt(kConnectionPoolSize, 0); in readOptions()
194 options.poolSize = settings.getInt(kConnectionPoolSize, 0); in readOptions()
305 size_t poolSize = boost::apply_visitor(visitor, options); in initialize() local
308 if (poolSize == 0) in initialize()
312 poolSize = boost::thread::hardware_concurrency(); in initialize()
315 if (poolSize == 0) in initialize()
318 poolSize = kDefaultMinPoolSize; in initialize()
322 if (poolSize > kDefaultMaxPoolSize) in initialize()
[all …]
/dports/devel/stack/stack-2.7.3/_cabal_deps/cryptonite-0.29/Crypto/Random/
H A DEntropyPool.hs37 createEntropyPoolWith poolSize backends = do function
39 sm <- B.alloc poolSize (replenish poolSize backends)
57 where poolSize = B.length sm function
62 if pos == poolSize
63 then replenish poolSize backends s >> return 0
65 let m = min (poolSize - wrappedPos) left

12345678910>>...43