Home
last modified time | relevance | path

Searched refs:GetPrime (Results 1 – 25 of 46) sorted by relevance

12

/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/common/utility/
H A Dfast_random.h25 size_t GetPrime ( size_t seed );
45 x = seed*internal::GetPrime(seed); in FastRandom()
46 a = internal::GetPrime(x); in FastRandom()
72 size_t GetPrime ( size_t seed ) { in GetPrime() function
/dports/devel/tbb/oneTBB-2020.3/examples/common/utility/
H A Dfast_random.h25 size_t GetPrime ( size_t seed );
45 x = seed*internal::GetPrime(seed); in FastRandom()
46 a = internal::GetPrime(x); in FastRandom()
72 size_t GetPrime ( size_t seed ) { in GetPrime() function
/dports/devel/onetbb/oneTBB-2021.4.0/examples/common/utility/
H A Dfast_random.hpp28 std::size_t GetPrime(std::size_t seed);
49 x = seed * internal::GetPrime(seed); in FastRandom()
50 a = internal::GetPrime(x); in FastRandom()
68 std::size_t GetPrime(std::size_t seed) { in GetPrime() function
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Collections/
H A DHashHelpers.cs48 public static int GetPrime(int min) in GetPrime() method in System.Collections.HashHelpers
71 … Debug.Assert(MaxPrimeArrayLength == GetPrime(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength"); in ExpandPrime()
75 return GetPrime(newSize); in ExpandPrime()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/System/Collections/
H A DHashHelpers.cs58 public static int GetPrime(int min) in GetPrime() method in System.Collections.HashHelpers
93 … Debug.Assert(MaxPrimeArrayLength == GetPrime(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength"); in ExpandPrime()
97 return GetPrime(newSize); in ExpandPrime()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Collections/
H A DHashHelpers.cs51 public static int GetPrime(int min) in GetPrime() method in System.Collections.HashHelpers
81 … Debug.Assert(MaxPrimeArrayLength == GetPrime(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength"); in ExpandPrime()
85 return GetPrime(newSize); in ExpandPrime()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Collections/
H A DHashHelpers.cs51 public static int GetPrime(int min) in GetPrime() method in System.Collections.HashHelpers
81 … Debug.Assert(MaxPrimeArrayLength == GetPrime(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength"); in ExpandPrime()
85 return GetPrime(newSize); in ExpandPrime()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.Interop/src/Shared/
H A DDictionaryBase.cs43 public static int GetPrime(int min) in GetPrime() method in System.Collections.Generic.Internal.HashHelpers
68 … Debug.Assert(MaxPrimeArrayLength == GetPrime(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength"); in ExpandPrime()
73 return GetPrime(newSize); in ExpandPrime()
111 int size = HashHelpers.GetPrime(capacity); in InitializeBase()
H A DFixedHashTable.cs60 m_size = HashHelpers.GetPrime(Math.Max(11, size * 11 / 10)); in FixedHashTable()
/dports/devel/msbuild/msbuild-0.06/src/Build/Collections/RetrievableEntryHashSet/Originals/
H A DHashHelpers.cs46 internal static int GetPrime(int min) { in GetPrime() method in System.Collections.Generic.HashHelpers
79 return GetPrime(newSize); in ExpandPrime()
/dports/devel/msbuild/msbuild-0.06/src/Build/Collections/RetrievableEntryHashSet/
H A DHashHelpers.cs60 internal static int GetPrime(int min) in GetPrime() method in Microsoft.Build.Collections.HashHelpers
99 return GetPrime(newSize); in ExpandPrime()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/
H A DObjectToIdCache.cs21 m_ids = new int[GetPrime(1)]; in ObjectToIdCache()
142 int size = GetPrime(m_objs.Length + 1); // The lookup does an inherent doubling in Rehash()
163 private static int GetPrime(int min) in GetPrime() method in System.Runtime.Serialization.ObjectToIdCache
/dports/lang/mono-basic/mono-basic-4.7/vbnc/cecil/symbols/pdb/Microsoft.Cci.Pdb/
H A DIntHashTable.cs133 private static int GetPrime(int minSize) { in GetPrime() method in Microsoft.Cci.Pdb.IntHashTable
209 int hashsize = GetPrime((int)(capacity / this.loadFactorPerc)); in IntHashTable()
334 rehash(GetPrime(1+buckets.Length*2)); in expand()
/dports/lang/mono/mono-5.10.1.57/external/linker/cecil/symbols/pdb/Microsoft.Cci.Pdb/
H A DIntHashTable.cs133 private static int GetPrime(int minSize) { in GetPrime() method in Microsoft.Cci.Pdb.IntHashTable
209 int hashsize = GetPrime((int)(capacity / this.loadFactorPerc)); in IntHashTable()
334 rehash(GetPrime(1+buckets.Length*2)); in expand()
/dports/lang/mono/mono-5.10.1.57/external/cecil/symbols/pdb/Microsoft.Cci.Pdb/
H A DIntHashTable.cs133 private static int GetPrime(int minSize) { in GetPrime() method in Microsoft.Cci.Pdb.IntHashTable
209 int hashsize = GetPrime((int)(capacity / this.loadFactorPerc)); in IntHashTable()
334 rehash(GetPrime(1+buckets.Length*2)); in expand()
/dports/lang/mono/mono-5.10.1.57/external/cecil-legacy/symbols/pdb/Microsoft.Cci.Pdb/
H A DIntHashTable.cs133 private static int GetPrime(int minSize) { in GetPrime() method in Microsoft.Cci.Pdb.IntHashTable
209 int hashsize = GetPrime((int)(capacity / this.loadFactorPerc)); in IntHashTable()
334 rehash(GetPrime(1+buckets.Length*2)); in expand()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Runtime.Serialization/System/Runtime/Serialization/
H A DObjectToIdCache.cs21 m_ids = new int[GetPrime(1)]; in ObjectToIdCache()
154 int size = GetPrime(m_objs.Length * 2); in Rehash()
175 static int GetPrime(int min) in GetPrime() method in System.Runtime.Serialization.ObjectToIdCache
/dports/lang/mono/mono-5.10.1.57/mcs/tools/pdb2mdb/
H A DIntHashTable.cs128 private int GetPrime(int minSize) { in GetPrime() method in Microsoft.Cci.Pdb.IntHashTable
204 int hashsize = GetPrime((int)(capacity / this.loadFactorPerc)); in IntHashTable()
329 rehash(GetPrime(1+buckets.Length*2)); in expand()
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/src/tbb/
H A Dtbb_misc.h131 unsigned GetPrime ( unsigned seed );
170 a = GetPrime( seed ); in init()
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/src/tbb/
H A Dtbb_misc.h130 unsigned GetPrime ( unsigned seed );
169 a = GetPrime( seed ); in init()
/dports/devel/concurrentqueue/concurrentqueue-1.0.3-15-g0753496/benchmarks/tbb/
H A Dtbb_misc.h130 unsigned GetPrime ( unsigned seed );
169 a = GetPrime( seed ); in init()
/dports/devel/tbb/oneTBB-2020.3/src/tbb/
H A Dtbb_misc.h131 unsigned GetPrime ( unsigned seed );
170 a = GetPrime( seed ); in init()
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/src/tbb/
H A Dtbb_misc.h131 unsigned GetPrime ( unsigned seed );
170 a = GetPrime( seed ); in init()
/dports/biology/ncbi-toolkit/ncbi/biostruc/
H A Dvastsubs.c165 GetPrime(Int4 n) in GetPrime() function
216 if ((TableSize = GetPrime(4*ndoms)) == 0) in LoadSubsetTable()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/src/System/Collections/
H A DHashtable.cs288 … int hashsize = (rawsize > InitialSize) ? HashHelpers.GetPrime((int)rawsize) : InitialSize; in Hashtable()
1685 public static int GetPrime(int min) in GetPrime() method in System.Collections.HashHelpers
1715 … Debug.Assert(MaxPrimeArrayLength == GetPrime(MaxPrimeArrayLength), "Invalid MaxPrimeArrayLength"); in ExpandPrime()
1719 return GetPrime(newSize); in ExpandPrime()

12