MCPcopy Index your code

hub / github.com/dynatrace-oss/dynahist / functions

Functions789 in github.com/dynatrace-oss/dynahist

↓ 2,000 callersMethodtestSerialization
(long seed, String expectedSerialization)
src/test/java/com/dynatrace/dynahist/serialization/HistogramSerializationVersion1Test.java:44
↓ 2,000 callersMethodtestSerialization
(long seed, String expectedSerialization)
src/test/java/com/dynatrace/dynahist/serialization/HistogramSerializationVersion0Test.java:44
↓ 182 callersMethodmapToBinIndex
Maps a given value to a histogram bin index. <p>This function must be monotonically increasing. {@link Double#NaN} must always either return an index
src/main/java/com/dynatrace/dynahist/layout/Layout.java:48
↓ 114 callersMethodinterpolate
Interpolates the y-value at given x-value from two given points (x1, y1) and (x2, y2). <p>This implementation is strictly symmetric. Meaning that int
src/main/java/com/dynatrace/dynahist/util/Algorithms.java:44
↓ 86 callersMethodaddValue
Adds a given value to the histogram. <p>Throws an {@link UnsupportedOperationException}, if the implementation is not mutable and {@link #isMutable()
src/main/java/com/dynatrace/dynahist/Histogram.java:273
↓ 83 callersMethodmapDoubleToLong
Bidirectional mapping of a {@code double} value to a {@code long} value. <p>Except for {@link Double#NaN} values, the natural ordering of double valu
src/main/java/com/dynatrace/dynahist/util/Algorithms.java:108
↓ 79 callersMethodcreate
(Layout layout)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:85
↓ 72 callersMethodgetBinIndex
Returns the bin index as defined by the {@link Layout}. @return the bin index as defined by the {@link Layout}
src/main/java/com/dynatrace/dynahist/bin/Bin.java:78
↓ 71 callersMethodcheckArgument
Throws an {@link IllegalArgumentException} if the given expression evaluates to {@code false}. @param expression an expression @throws IllegalArgumen
src/main/java/com/dynatrace/dynahist/util/Preconditions.java:31
↓ 71 callersMethodgetEstimateFromBin
(Bin bin, long rank)
src/main/java/com/dynatrace/dynahist/value/ValueEstimatorImpls.java:41
↓ 63 callersMethodgetBinCount
Returns the number of values belonging to the current bin position. @return the number of values belonging to the current bin position
src/main/java/com/dynatrace/dynahist/bin/Bin.java:28
↓ 56 callersMethodgetLowerBound
Returns a lower bound for all values in this bin. <p>The returned value is always greater than or equal to the minimum value of the underlying histog
src/main/java/com/dynatrace/dynahist/bin/Bin.java:38
↓ 56 callersMethodgetUpperBound
Returns an upper bound for all values in this bin. <p>The returned value is always less than or equal to the maximum value of the underlying histogra
src/main/java/com/dynatrace/dynahist/bin/Bin.java:48
↓ 52 callersMethodgetUnderflowBinIndex
Returns the maximum index that is associated with the underflow bin of the histogram. <p>Note: 0 &lt; {@link #getOverflowBinIndex()} - {@link #getUnd
src/main/java/com/dynatrace/dynahist/layout/Layout.java:58
↓ 51 callersMethodcreate
Creates a histogram bin layout covering a given range and with bins that have absolute and relative width limitations. <p>The maximum bin width is ei
src/main/java/com/dynatrace/dynahist/layout/LogQuadraticLayout.java:63
↓ 46 callersMethodadd
(double value)
src/jmh/java/com/dynatrace/dynahist/Comparison.java:60
↓ 46 callersMethodgetBinByRank
Returns a bin iterator, representing the bin containing the value with given rank (0-based) <p>The runtime of this method may be O(N) where N is the
src/main/java/com/dynatrace/dynahist/Histogram.java:69
↓ 46 callersMethodgetOverflowBinIndex
Returns the minimum index that is associated with the overflow bin of the histogram. <p>Note: 0 &lt; {@link #getOverflowBinIndex()} - {@link #getUnde
src/main/java/com/dynatrace/dynahist/layout/Layout.java:68
↓ 46 callersMethodgetQuantile
Returns an estimate for the quantile value using the estimated values as given by {@link #getValue(long)} and the default quantile estimation method.
src/main/java/com/dynatrace/dynahist/Histogram.java:202
↓ 45 callersMethodaddValues
(Histogram histogram, double... values)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:89
↓ 45 callersMethoddone
()
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:132
↓ 45 callersMethodmodify
(Histogram histogram)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:99
↓ 41 callersMethodgetLayout
Returns the underlying {@link Layout} of the histogram. @return the underlying {@link Layout} of the histogram
src/main/java/com/dynatrace/dynahist/Histogram.java:36
↓ 40 callersMethodcreateDynamic
Creates an empty {@link Histogram} that allocates internal arrays for bin counts dynamically. <p>Choose this, if memory efficiency is more important
src/main/java/com/dynatrace/dynahist/Histogram.java:384
↓ 37 callersMethodcreate
Returns a {@link QuantileEstimator} instance that uses the SciPy quantile definition with given plotting positions parameters. @param alphap plotting
src/main/java/com/dynatrace/dynahist/quantile/SciPyQuantileEstimator.java:49
↓ 37 callersMethodgetTotalCount
Returns the total number of added values. @return the total number of added values
src/main/java/com/dynatrace/dynahist/Histogram.java:106
↓ 37 callersMethodhashCode
()
src/test/java/com/dynatrace/dynahist/layout/TestLayout.java:63
↓ 36 callersMethodcreate
Creates a custom layout given the bin boundaries in sorted ascending order. <p>The bin boundaries array {@code sortedBinBoundaries} defines in total
src/main/java/com/dynatrace/dynahist/layout/CustomLayout.java:63
↓ 36 callersMethodgetGreaterCount
Returns the number of values greater than the upper bound of the the current bin. @return the number of values greater than the upper bound of the th
src/main/java/com/dynatrace/dynahist/bin/Bin.java:71
↓ 35 callersMethodgetValue
Returns an estimation for the value with given (zero-based) rank using the default value estimator. <p>It is guaranteed that the estimated values ret
src/main/java/com/dynatrace/dynahist/Histogram.java:162
↓ 33 callersMethodcreate
Creates a histogram bin layout covering a given range and with bins that have absolute and relative width limitations. <p>The maximum bin width is ei
src/main/java/com/dynatrace/dynahist/layout/LogLinearLayout.java:63
↓ 33 callersMethodgetLessCount
Returns the number of values less than the lower bound of the the current bin. @return the number of values less than the lower bound of the the curr
src/main/java/com/dynatrace/dynahist/bin/Bin.java:64
↓ 29 callersMethodmapLongToDouble
Bidirectional mapping of a {@code long} value to a {@code double} value. <p>Inverse mapping can be performed using {@link #mapDoubleToLong(double)}.
src/main/java/com/dynatrace/dynahist/util/Algorithms.java:121
↓ 28 callersMethodcalculateMidpoint
Calculates the midpoint of two given {@code long} values rounded down to the nearest {@code long} value. <p>This implementation works for any values
src/main/java/com/dynatrace/dynahist/util/Algorithms.java:85
↓ 28 callersMethodequals
(Object obj)
src/test/java/com/dynatrace/dynahist/layout/TestLayout.java:72
↓ 26 callersMethodcheckHistogramDataConsistency
(Histogram histogramData)
src/test/java/com/dynatrace/dynahist/HistogramTestUtil.java:29
↓ 25 callersMethodgetFirstNonEmptyBin
Returns a {@link BinIterator} representing the first non-empty bin. <p>Must not be called if the histogram is empty. @return a {@link BinIterator} r
src/main/java/com/dynatrace/dynahist/Histogram.java:46
↓ 24 callersMethodgetMax
Returns the maximum of all added values. <p>Returns {@link Double#NEGATIVE_INFINITY} if the histogram is empty. @return the maximum of all added val
src/main/java/com/dynatrace/dynahist/Histogram.java:124
↓ 24 callersMethodgetMin
Returns the minimum of all added values. <p>Returns {@link Double#POSITIVE_INFINITY} if the histogram is empty. @return the minimum of all added val
src/main/java/com/dynatrace/dynahist/Histogram.java:115
↓ 24 callersMethodnext
Advances to the next non-empty bin. <p>Throws a {@link NoSuchElementException}, if bin iterator represents the last non-empty bin, that is if {@link
src/main/java/com/dynatrace/dynahist/bin/BinIterator.java:36
↓ 24 callersMethodtestFindFirstWithInitialGuess
( long firstTrueIndex, long min, long max, long initialGuess, int maxNumEvaluations)
src/test/java/com/dynatrace/dynahist/util/AlgorithmsTest.java:457
↓ 23 callersMethodcreate
Creates a histogram bin layout with exponential buckets with given scale. @param scale the scale @return a new {@link OpenTelemetryExponentialBuckets
src/main/java/com/dynatrace/dynahist/layout/OpenTelemetryExponentialBucketsLayout.java:67
↓ 23 callersMethodcreateLayout
( final double absoluteBinWidthLimit, final double relativeBinWidthLimit, final double value
src/test/java/com/dynatrace/dynahist/layout/AbstractErrorLimitingLayoutTest.java:26
↓ 22 callersMethodaddValue
(double value)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:123
↓ 22 callersMethodgetBinLowerBound
Returns the smallest value that is mapped to the bin with given bin index. <p>This method is defined for all integer values. The returned value is eq
src/main/java/com/dynatrace/dynahist/layout/Layout.java:81
↓ 22 callersMethodmapToBinIndex
(double value)
src/main/java/com/dynatrace/dynahist/layout/OpenTelemetryExponentialBucketsLayout.java:150
↓ 20 callersMethodgetBinUpperBound
Returns the largest value that is mapped to the bin with given bin index. <p>This method is defined for all integer values. The returned value is equ
src/main/java/com/dynatrace/dynahist/layout/Layout.java:104
↓ 19 callersMethodgetPreprocessedCopy
Returns an estimate for the quantile value using the estimated values as given by {@link #getValue(long)} using the default quantile estimator. <p>Pr
src/main/java/com/dynatrace/dynahist/Histogram.java:259
↓ 19 callersMethodnextUp
(double value)
src/test/java/com/dynatrace/dynahist/layout/LayoutTestUtil.java:32
↓ 18 callersMethodfindFirst
Finds the first long value in the range [min, max] for which the given predicate returns {@code true}. <p>The predicate must return {@code false} for
src/main/java/com/dynatrace/dynahist/util/Algorithms.java:140
↓ 18 callersMethodnextDown
(double value)
src/test/java/com/dynatrace/dynahist/layout/LayoutTestUtil.java:37
↓ 17 callersMethodcreate
Creates a histogram bin layout covering a given range and with bins that have absolute and relative width limitations. <p>The maximum bin width is ei
src/main/java/com/dynatrace/dynahist/layout/LogOptimalLayout.java:66
↓ 17 callersMethodestimateQuantile
Estimates the quantile from sorted data which can be randomly accessed through the given function. <p>If numValues is equal to 0 the return value wil
src/main/java/com/dynatrace/dynahist/quantile/QuantileEstimator.java:39
↓ 17 callersMethodgetLastNonEmptyBin
Returns a {@link BinIterator} representing the last non-empty bin. <p>Must not be called if the histogram is empty. @return a {@link BinIterator} re
src/main/java/com/dynatrace/dynahist/Histogram.java:56
↓ 16 callersMethodcreateStatic
Creates an empty {@link Histogram} that allocates internal arrays for bin counts statically. <p>Choose this, if speed is more efficient than memory e
src/main/java/com/dynatrace/dynahist/Histogram.java:396
↓ 15 callersMethodisEmpty
Returns {@code true} if this histogram is empty. @return {@code true} if this histogram is empty
src/main/java/com/dynatrace/dynahist/Histogram.java:139
↓ 15 callersMethodmapToBinIndexHelper
For unsigned values the return value is in the range [0, 2049]. <p>It can be shown that this function is monotonically increasing for all non-negativ
src/main/java/com/dynatrace/dynahist/layout/LogLinearLayout.java:200
↓ 15 callersMethodmapToBinIndexHelper
For unsigned values the return value is in the range [0, 6144]. <p>It can be shown that this function is monotonically increasing for all non-negativ
src/main/java/com/dynatrace/dynahist/layout/LogQuadraticLayout.java:200
↓ 15 callersMethodtoString
()
src/test/java/com/dynatrace/dynahist/layout/TestLayout.java:53
↓ 15 callersMethodwriteSignedVarInt
Writes an {@code int} to the given {@link DataOutput} using variable-length and zigzag encoding. @param value the {@code int} value @param dataOutput
src/main/java/com/dynatrace/dynahist/serialization/SerializationUtil.java:81
↓ 14 callersMethodtestSerialization
( final T data, final SerializationWriter<T> writer, final SerializationReader<T> reader)
src/test/java/com/dynatrace/dynahist/serialization/SerializationTestUtil.java:29
↓ 12 callersMethodassertConsistency
(Layout layout)
src/test/java/com/dynatrace/dynahist/layout/LayoutTestUtil.java:73
↓ 12 callersMethodtestCase
(byte[] expected, long[] bitChunks, int[] chunkLengths)
src/test/java/com/dynatrace/dynahist/serialization/BitOutputInputTest.java:56
↓ 12 callersMethodtestSerialization
(Layout layout, Histogram histogram)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:185
↓ 12 callersMethodtoByteArray
(final SerializationWriter<T> writer, T data)
src/test/java/com/dynatrace/dynahist/serialization/SerializationTestUtil.java:52
↓ 12 callersMethodwriteBits
(int numBits, long value)
src/main/java/com/dynatrace/dynahist/serialization/BitOutput.java:33
↓ 11 callersMethodaddHistogram
Adds a given histogram to the histogram. <p>If the given histogram has a different layout than this histogram, this operation may lead to unwanted lo
src/main/java/com/dynatrace/dynahist/Histogram.java:307
↓ 11 callersMethoddefineSerialization
Defines the serialization of a new layout that can then be registered using {@link #register(LayoutSerializationDefinition...)}. @param <T> a {@code
src/main/java/com/dynatrace/dynahist/layout/Layout.java:173
↓ 10 callersMethodaddAscendingSequence
Adds an ascending sequence to the histogram. <p>The function {@code ascendingSequence} must be defined for all arguments greater than or equal to 0 a
src/main/java/com/dynatrace/dynahist/Histogram.java:348
↓ 10 callersMethodcreateBin
( long lessCount, long binCount, long greaterCount, double lowerBound, double up
src/test/java/com/dynatrace/dynahist/value/ValueEstimatorImplsTest.java:26
↓ 10 callersMethodisLastNonEmptyBin
Returns {@code true} if this bin corresponds to the last non-empty bin. @return {@code true} if this bin corresponds to the last non-empty bin
src/main/java/com/dynatrace/dynahist/bin/Bin.java:94
↓ 10 callersMethodprevious
Advances to the last non-empty bin. <p>Throws a {@link NoSuchElementException}, if bin iterator represents the first non-empty bin, that is if {@link
src/main/java/com/dynatrace/dynahist/bin/BinIterator.java:46
↓ 10 callersMethodreadAsDynamic
Reads a histogram from a given {@link DataInput}. <p>The returned histogram will allocate internal arrays for bin counts dynamically. The behavior is
src/main/java/com/dynatrace/dynahist/Histogram.java:411
↓ 10 callersMethodreadSignedVarInt
Reads a variable-length and zigzag encoded {@code long} from the given {@link DataInput}. @param dataInput the {@link DataInput} @return the read {@c
src/main/java/com/dynatrace/dynahist/serialization/SerializationUtil.java:130
↓ 9 callersMethodclip
Clips a given value to a given interval. @param value the value @param min the minimum value of the interval (inclusive) @param max the maximum value
src/main/java/com/dynatrace/dynahist/util/Algorithms.java:231
↓ 9 callersMethodforEach
(Consumer<? super Bin> action)
src/main/java/com/dynatrace/dynahist/AbstractHistogram.java:295
↓ 9 callersMethodgetCount
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:58
↓ 9 callersMethodgetDescription
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:52
↓ 9 callersMethodgetEstimatedFootprintInBytes
Provide an estimate of the histogram's total footprint in bytes @return estimate of the histogram's total footprint in bytes
src/main/java/com/dynatrace/dynahist/Histogram.java:367
↓ 9 callersMethodgetOverflowCount
Returns the number of added values greater than {@link Layout#getNormalRangeUpperBound()}. @return the number of added values greater than {@link Lay
src/main/java/com/dynatrace/dynahist/Histogram.java:76
↓ 9 callersMethodgetUnderflowCount
Returns the number of added values less than {@link Layout#getNormalRangeLowerBound()}. @return the number of added values less than {@link Layout#ge
src/main/java/com/dynatrace/dynahist/Histogram.java:91
↓ 9 callersMethodincrementOverflowCount
(long increment)
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:34
↓ 9 callersMethodincrementUnderflowCount
(long increment)
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:36
↓ 9 callersMethodreadAsPreprocessed
Reads a histogram from a given {@link DataInput}. <p>The returned histogram will be immutable and preprocessed in order to support fast queries. The
src/main/java/com/dynatrace/dynahist/Histogram.java:441
↓ 9 callersMethodwrite
Writes this histogram to a given {@link DataOutput}. <p>The {@link Layout} information will not be written. Therefore, it is necessary to provide the
src/main/java/com/dynatrace/dynahist/Histogram.java:360
↓ 8 callersMethodgetTotalCount
()
src/main/java/com/dynatrace/dynahist/AbstractMutableHistogram.java:333
↓ 8 callersMethodincrementRegularCount
(int binIndex, long increment)
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:29
↓ 8 callersMethodreadAsStatic
Reads a histogram from a given {@link DataInput}. <p>The returned histogram will allocate internal arrays for bin counts statically. The behavior is
src/main/java/com/dynatrace/dynahist/Histogram.java:426
↓ 8 callersMethodtest
( TestConfiguration<H> testConfiguration, Consumer<TestResult> testResultConsumer)
src/jmh/java/com/dynatrace/dynahist/SpaceConsumptionBenchmark.java:102
↓ 8 callersMethodtestFunction
(double mantissaPlus1)
src/test/java/com/dynatrace/dynahist/layout/LogQuadraticLayoutTest.java:177
↓ 8 callersMethodwrite
Writes this histogram to a given {@code byte[]}. <p>The {@link Layout} information will not be written. Therefore, it is necessary to provide the lay
src/main/java/com/dynatrace/dynahist/serialization/SerializationUtil.java:168
↓ 7 callersMethodcheckSerialVersion
(byte expectedSerialVersion, byte currentSerialVersion)
src/main/java/com/dynatrace/dynahist/serialization/SerializationUtil.java:45
↓ 7 callersMethodensureCountArray
( final int minAbsoluteIndex, final int maxAbsoluteIndex, final byte requiredMode)
src/main/java/com/dynatrace/dynahist/DynamicHistogram.java:152
↓ 7 callersMethodgetMax
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:56
↓ 7 callersMethodgetMin
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:54
↓ 7 callersMethodread
Deserializes an object by reading from a given {@link DataInput}. <p>Implementations should never return {@code null} except for the case {@code null
src/main/java/com/dynatrace/dynahist/serialization/SerializationReader.java:46
↓ 7 callersMethodreadBits
(int numBits)
src/main/java/com/dynatrace/dynahist/serialization/BitInput.java:34
↓ 7 callersMethodregister
Registers the given layout serialization definitions such that they are known by subsequent calls of {@link #writeWithTypeInfo(DataOutput)} and {@link
src/main/java/com/dynatrace/dynahist/layout/Layout.java:187
↓ 6 callersMethodassertException
(Runnable runnable, String description)
src/jmh/java/com/dynatrace/dynahist/Comparison.java:42
↓ 6 callersMethodbuild
()
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:42
next →1–100 of 789, ranked by callers