/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | ZipfDistributionImpl.java | 38 private int numberOfElements; field in ZipfDistributionImpl 52 public ZipfDistributionImpl(final int numberOfElements, final double exponent) in ZipfDistributionImpl() argument 54 setNumberOfElementsInternal(numberOfElements); in ZipfDistributionImpl() 64 return numberOfElements; in getNumberOfElements() 94 this.numberOfElements = n; in setNumberOfElementsInternal() 145 if (x <= 0 || x > numberOfElements) { in probability() 149 return (1.0 / FastMath.pow(x, exponent)) / generalizedHarmonic(numberOfElements, exponent); in probability() 163 } else if (x >= numberOfElements) { in cumulativeProbability() 167 return generalizedHarmonic(x, exponent) / generalizedHarmonic(numberOfElements, exponent); in cumulativeProbability() 194 return numberOfElements; in getDomainUpperBound()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | IntVector.java | 150 public final void addElements(int value, int numberOfElements) in addElements() argument 153 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements() 155 m_mapSize += (m_blocksize+numberOfElements); in addElements() 164 for (int i = 0; i < numberOfElements; i++) in addElements() 176 public final void addElements(int numberOfElements) in addElements() argument 179 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements() 181 m_mapSize += (m_blocksize+numberOfElements); in addElements() 190 m_firstFree += numberOfElements; in addElements()
|
D | ObjectVector.java | 150 public final void addElements(Object value, int numberOfElements) in addElements() argument 153 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements() 155 m_mapSize += (m_blocksize+numberOfElements); in addElements() 164 for (int i = 0; i < numberOfElements; i++) in addElements() 176 public final void addElements(int numberOfElements) in addElements() argument 179 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements() 181 m_mapSize += (m_blocksize+numberOfElements); in addElements() 190 m_firstFree += numberOfElements; in addElements()
|
D | SuballocatedIntVector.java | 190 private void addElements(int value, int numberOfElements) in addElements() argument 192 if(m_firstFree+numberOfElements<m_blocksize) in addElements() 193 for (int i = 0; i < numberOfElements; i++) in addElements() 201 m_firstFree+=numberOfElements; in addElements() 202 while( numberOfElements>0) in addElements() 214 int copied=(m_blocksize-offset < numberOfElements) in addElements() 215 ? m_blocksize-offset : numberOfElements; in addElements() 216 numberOfElements-=copied; in addElements() 231 private void addElements(int numberOfElements) in addElements() argument 233 int newlen=m_firstFree+numberOfElements; in addElements() [all …]
|
/external/libchrome/mojo/public/js/lib/ |
D | codec.js | 142 var numberOfElements = this.readUint32(); 144 this.next += numberOfElements; 146 new Uint8Array(this.buffer.arrayBuffer, base, numberOfElements)); 151 var numberOfElements = this.readUint32(); 152 var val = new Array(numberOfElements); 155 for (var i = 0; i < numberOfElements; ++i) { 161 for (var i = 0; i < numberOfElements; ++i) { 332 var numberOfElements = internal.encodeUtf8String( 334 var numberOfBytes = kArrayHeaderSize + numberOfElements; 336 this.writeUint32(numberOfElements); [all …]
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/ |
D | Bufferize.cpp | 146 int numberOfElements = op.elements().size(); in matchAndRewrite() local 148 {numberOfElements}, op.getType().cast<TensorType>().getElementType()); in matchAndRewrite()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | TextElementIteratorsFactory.java | 178 return partialReverseIterator(nodeText, nodeText.numberOfElements() - 1);
|
D | NodeText.java | 201 int numberOfElements() { in numberOfElements() method in NodeText
|
D | Difference.java | 595 if(nodeText.numberOfElements() > originalIndex + 1 && in applyAddedDiffElement()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | RandomDataImpl.java | 687 public int nextZipf(int numberOfElements, double exponent) throws MathException { 688 return nextInversionDeviate(new ZipfDistributionImpl(numberOfElements, exponent));
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeComputeTests.cpp | 283 const long numberOfElements = limit / sizeof(GLuint); in exceed_shared_memory_size_limit() local 287 shaderDecl << "shared uint values[" << numberOfElements + 1 << "];\n" in exceed_shared_memory_size_limit() 293 shaderBody << " sb_out.values = values[" << numberOfElements << "];\n"; in exceed_shared_memory_size_limit()
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_asc.cpp | 1858 int i, numberOfElements; in UsacRsv60DecoderConfig_Parse() local 1865 numberOfElements = (int)escapedValue(hBs, 4, 8, 16) + 1; in UsacRsv60DecoderConfig_Parse() 1866 usc->m_usacNumElements = numberOfElements; in UsacRsv60DecoderConfig_Parse() 1867 if (numberOfElements > TP_USAC_MAX_ELEMENTS) { in UsacRsv60DecoderConfig_Parse() 1881 for (i = 0; i < numberOfElements; i++) { in UsacRsv60DecoderConfig_Parse()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 49 assertEquals(1, getTextForNode(cu).numberOfElements()); in checkNodeTextCreatedForSimplestClass() 55 assertEquals(7, getTextForNode(classA).numberOfElements()); in checkNodeTextCreatedForSimplestClass()
|