HomeSort by relevance Sort by last modified time
    Searched full:numberofelements (Results 1 - 25 of 31) sorted by null

1 2

  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
ZipfDistributionImpl.java 38 private int numberOfElements;
48 * @param numberOfElements the number of elements
52 public ZipfDistributionImpl(final int numberOfElements, final double exponent)
54 setNumberOfElementsInternal(numberOfElements);
64 return numberOfElements;
94 this.numberOfElements = n;
145 if (x <= 0 || x > numberOfElements) {
149 return (1.0 / FastMath.pow(x, exponent)) / generalizedHarmonic(numberOfElements, exponent);
163 } else if (x >= numberOfElements) {
167 return generalizedHarmonic(x, exponent) / generalizedHarmonic(numberOfElements, exponent)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
IntVector.java 150 public final void addElements(int value, int numberOfElements)
153 if ((m_firstFree + numberOfElements) >= m_mapSize)
155 m_mapSize += (m_blocksize+numberOfElements);
164 for (int i = 0; i < numberOfElements; i++)
174 * @param numberOfElements Int to add to the list
176 public final void addElements(int numberOfElements)
179 if ((m_firstFree + numberOfElements) >= m_mapSize)
181 m_mapSize += (m_blocksize+numberOfElements);
190 m_firstFree += numberOfElements;
ObjectVector.java 150 public final void addElements(Object value, int numberOfElements)
153 if ((m_firstFree + numberOfElements) >= m_mapSize)
155 m_mapSize += (m_blocksize+numberOfElements);
164 for (int i = 0; i < numberOfElements; i++)
174 * @param numberOfElements number of slots to append
176 public final void addElements(int numberOfElements)
179 if ((m_firstFree + numberOfElements) >= m_mapSize)
181 m_mapSize += (m_blocksize+numberOfElements);
190 m_firstFree += numberOfElements;
SuballocatedIntVector.java 190 private void addElements(int value, int numberOfElements)
192 if(m_firstFree+numberOfElements<m_blocksize)
193 for (int i = 0; i < numberOfElements; i++)
201 m_firstFree+=numberOfElements;
202 while( numberOfElements>0)
214 int copied=(m_blocksize-offset < numberOfElements)
215 ? m_blocksize-offset : numberOfElements;
216 numberOfElements-=copied;
229 * @param numberOfElements Int to add to the list
231 private void addElements(int numberOfElements)
    [all...]
  /external/v8/test/cctest/
test-weaksets.cc 96 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements());
101 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements());
120 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements());
125 CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements());
158 CHECK_EQ(32, ObjectHashTable::cast(weakset->table())->NumberOfElements());
162 CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements());
test-weakmaps.cc 97 CHECK_EQ(2, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
102 CHECK_EQ(2, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
121 CHECK_EQ(2, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
126 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
159 CHECK_EQ(32, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
163 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
test-dictionary.cc 53 CHECK_EQ(table->NumberOfElements(), 1);
60 CHECK_EQ(table->NumberOfElements(), 1);
66 CHECK_EQ(table->NumberOfElements(), 1);
73 CHECK_EQ(table->NumberOfElements(), 0);
82 CHECK_EQ(table->NumberOfElements(), i + 1);
test-object-observe.cc 477 static int NumberOfElements(i::Handle<i::JSWeakMap> map) {
478 return i::ObjectHashTable::cast(map->table())->NumberOfElements();
504 CHECK_EQ(1, NumberOfElements(callbackInfoMap));
505 CHECK_EQ(1, NumberOfElements(objectInfoMap));
506 CHECK_EQ(1, NumberOfElements(notifierObjectInfoMap));
508 CHECK_EQ(0, NumberOfElements(callbackInfoMap));
509 CHECK_EQ(0, NumberOfElements(objectInfoMap));
510 CHECK_EQ(0, NumberOfElements(notifierObjectInfoMap));
782 if (i::GlobalDictionary::cast(g->properties())->NumberOfElements() != 0) {
    [all...]
  /external/v8/src/runtime/
runtime-collections.cc 238 if (max_entries == 0 || max_entries > table->NumberOfElements()) {
239 max_entries = table->NumberOfElements();
244 if (max_entries > table->NumberOfElements()) {
245 max_entries = table->NumberOfElements();
352 if (max_values == 0 || max_values > table->NumberOfElements()) {
353 max_values = table->NumberOfElements();
357 if (max_values > table->NumberOfElements()) {
358 max_values = table->NumberOfElements();
runtime.cc 57 DCHECK(dict->NumberOfElements() == 0);
runtime-array.cc 161 Handle<SeededNumberDictionary>::cast(elements)->NumberOfElements();
  /external/v8/src/
key-accumulator.cc 165 int prev_size = string_properties_->NumberOfElements();
167 if (prev_size < string_properties_->NumberOfElements()) {
181 int prev_size = symbol_properties_->NumberOfElements();
183 if (prev_size < symbol_properties_->NumberOfElements()) {
objects-debug.cc 605 if (GlobalDictionary::cast(properties())->NumberOfElements() == 0 &&
1063 info->number_of_slow_used_properties_ += dict->NumberOfElements();
1065 dict->Capacity() - dict->NumberOfElements();
1068 info->number_of_slow_used_properties_ += dict->NumberOfElements();
1070 dict->Capacity() - dict->NumberOfElements();
1105 info->number_of_slow_used_elements_ += dict->NumberOfElements();
1107 dict->Capacity() - dict->NumberOfElements();
    [all...]
objects-inl.h     [all...]
api.cc     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ntddchgr.h 196 ULONG NumberOfElements;
309 ULONG NumberOfElements;
tdh.h 161 ULONG NumberOfElements;
winioctl.h     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/sec_api/
string_s.h 33 __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
storport.h 48 ULONG NumberOfElements;
video.h 247 ULONG NumberOfElements;
    [all...]
scsi.h     [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
RandomDataImpl.java 681 * @param numberOfElements the number of elements of the ZipfDistribution
683 * @return random value sampled from the Zipf(numberOfElements, exponent) distribution
687 public int nextZipf(int numberOfElements, double exponent) throws MathException {
688 return nextInversionDeviate(new ZipfDistributionImpl(numberOfElements, exponent));
    [all...]
  /external/fio/os/windows/
posix.c 45 size_t numberOfElements,
  /external/llvm/test/tools/llvm-symbolizer/pdb/Inputs/
test.pdb     [all...]

Completed in 1058 milliseconds

1 2