Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dynatrace-oss/dynahist
/ functions
Functions
789 in github.com/dynatrace-oss/dynahist
⨍
Functions
789
◇
Types & classes
111
↳
Endpoints
1
↓ 2,000 callers
Method
testSerialization
(long seed, String expectedSerialization)
src/test/java/com/dynatrace/dynahist/serialization/HistogramSerializationVersion1Test.java:44
↓ 2,000 callers
Method
testSerialization
(long seed, String expectedSerialization)
src/test/java/com/dynatrace/dynahist/serialization/HistogramSerializationVersion0Test.java:44
↓ 182 callers
Method
mapToBinIndex
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 callers
Method
interpolate
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 callers
Method
addValue
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 callers
Method
mapDoubleToLong
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 callers
Method
create
(Layout layout)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:85
↓ 72 callers
Method
getBinIndex
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 callers
Method
checkArgument
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 callers
Method
getEstimateFromBin
(Bin bin, long rank)
src/main/java/com/dynatrace/dynahist/value/ValueEstimatorImpls.java:41
↓ 63 callers
Method
getBinCount
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 callers
Method
getLowerBound
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 callers
Method
getUpperBound
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 callers
Method
getUnderflowBinIndex
Returns the maximum index that is associated with the underflow bin of the histogram. <p>Note: 0 < {@link #getOverflowBinIndex()} - {@link #getUnd
src/main/java/com/dynatrace/dynahist/layout/Layout.java:58
↓ 51 callers
Method
create
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 callers
Method
add
(double value)
src/jmh/java/com/dynatrace/dynahist/Comparison.java:60
↓ 46 callers
Method
getBinByRank
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 callers
Method
getOverflowBinIndex
Returns the minimum index that is associated with the overflow bin of the histogram. <p>Note: 0 < {@link #getOverflowBinIndex()} - {@link #getUnde
src/main/java/com/dynatrace/dynahist/layout/Layout.java:68
↓ 46 callers
Method
getQuantile
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 callers
Method
addValues
(Histogram histogram, double... values)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:89
↓ 45 callers
Method
done
()
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:132
↓ 45 callers
Method
modify
(Histogram histogram)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:99
↓ 41 callers
Method
getLayout
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 callers
Method
createDynamic
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 callers
Method
create
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 callers
Method
getTotalCount
Returns the total number of added values. @return the total number of added values
src/main/java/com/dynatrace/dynahist/Histogram.java:106
↓ 37 callers
Method
hashCode
()
src/test/java/com/dynatrace/dynahist/layout/TestLayout.java:63
↓ 36 callers
Method
create
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 callers
Method
getGreaterCount
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 callers
Method
getValue
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 callers
Method
create
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 callers
Method
getLessCount
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 callers
Method
mapLongToDouble
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 callers
Method
calculateMidpoint
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 callers
Method
equals
(Object obj)
src/test/java/com/dynatrace/dynahist/layout/TestLayout.java:72
↓ 26 callers
Method
checkHistogramDataConsistency
(Histogram histogramData)
src/test/java/com/dynatrace/dynahist/HistogramTestUtil.java:29
↓ 25 callers
Method
getFirstNonEmptyBin
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 callers
Method
getMax
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 callers
Method
getMin
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 callers
Method
next
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 callers
Method
testFindFirstWithInitialGuess
( long firstTrueIndex, long min, long max, long initialGuess, int maxNumEvaluations)
src/test/java/com/dynatrace/dynahist/util/AlgorithmsTest.java:457
↓ 23 callers
Method
create
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 callers
Method
createLayout
( final double absoluteBinWidthLimit, final double relativeBinWidthLimit, final double value
src/test/java/com/dynatrace/dynahist/layout/AbstractErrorLimitingLayoutTest.java:26
↓ 22 callers
Method
addValue
(double value)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:123
↓ 22 callers
Method
getBinLowerBound
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 callers
Method
mapToBinIndex
(double value)
src/main/java/com/dynatrace/dynahist/layout/OpenTelemetryExponentialBucketsLayout.java:150
↓ 20 callers
Method
getBinUpperBound
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 callers
Method
getPreprocessedCopy
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 callers
Method
nextUp
(double value)
src/test/java/com/dynatrace/dynahist/layout/LayoutTestUtil.java:32
↓ 18 callers
Method
findFirst
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 callers
Method
nextDown
(double value)
src/test/java/com/dynatrace/dynahist/layout/LayoutTestUtil.java:37
↓ 17 callers
Method
create
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 callers
Method
estimateQuantile
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 callers
Method
getLastNonEmptyBin
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 callers
Method
createStatic
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 callers
Method
isEmpty
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 callers
Method
mapToBinIndexHelper
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 callers
Method
mapToBinIndexHelper
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 callers
Method
toString
()
src/test/java/com/dynatrace/dynahist/layout/TestLayout.java:53
↓ 15 callers
Method
writeSignedVarInt
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 callers
Method
testSerialization
( final T data, final SerializationWriter<T> writer, final SerializationReader<T> reader)
src/test/java/com/dynatrace/dynahist/serialization/SerializationTestUtil.java:29
↓ 12 callers
Method
assertConsistency
(Layout layout)
src/test/java/com/dynatrace/dynahist/layout/LayoutTestUtil.java:73
↓ 12 callers
Method
testCase
(byte[] expected, long[] bitChunks, int[] chunkLengths)
src/test/java/com/dynatrace/dynahist/serialization/BitOutputInputTest.java:56
↓ 12 callers
Method
testSerialization
(Layout layout, Histogram histogram)
src/test/java/com/dynatrace/dynahist/AbstractHistogramTest.java:185
↓ 12 callers
Method
toByteArray
(final SerializationWriter<T> writer, T data)
src/test/java/com/dynatrace/dynahist/serialization/SerializationTestUtil.java:52
↓ 12 callers
Method
writeBits
(int numBits, long value)
src/main/java/com/dynatrace/dynahist/serialization/BitOutput.java:33
↓ 11 callers
Method
addHistogram
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 callers
Method
defineSerialization
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 callers
Method
addAscendingSequence
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 callers
Method
createBin
( long lessCount, long binCount, long greaterCount, double lowerBound, double up
src/test/java/com/dynatrace/dynahist/value/ValueEstimatorImplsTest.java:26
↓ 10 callers
Method
isLastNonEmptyBin
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 callers
Method
previous
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 callers
Method
readAsDynamic
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 callers
Method
readSignedVarInt
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 callers
Method
clip
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 callers
Method
forEach
(Consumer<? super Bin> action)
src/main/java/com/dynatrace/dynahist/AbstractHistogram.java:295
↓ 9 callers
Method
getCount
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:58
↓ 9 callers
Method
getDescription
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:52
↓ 9 callers
Method
getEstimatedFootprintInBytes
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 callers
Method
getOverflowCount
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 callers
Method
getUnderflowCount
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 callers
Method
incrementOverflowCount
(long increment)
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:34
↓ 9 callers
Method
incrementUnderflowCount
(long increment)
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:36
↓ 9 callers
Method
readAsPreprocessed
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 callers
Method
write
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 callers
Method
getTotalCount
()
src/main/java/com/dynatrace/dynahist/AbstractMutableHistogram.java:333
↓ 8 callers
Method
incrementRegularCount
(int binIndex, long increment)
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:29
↓ 8 callers
Method
readAsStatic
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 callers
Method
test
( TestConfiguration<H> testConfiguration, Consumer<TestResult> testResultConsumer)
src/jmh/java/com/dynatrace/dynahist/SpaceConsumptionBenchmark.java:102
↓ 8 callers
Method
testFunction
(double mantissaPlus1)
src/test/java/com/dynatrace/dynahist/layout/LogQuadraticLayoutTest.java:177
↓ 8 callers
Method
write
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 callers
Method
checkSerialVersion
(byte expectedSerialVersion, byte currentSerialVersion)
src/main/java/com/dynatrace/dynahist/serialization/SerializationUtil.java:45
↓ 7 callers
Method
ensureCountArray
( final int minAbsoluteIndex, final int maxAbsoluteIndex, final byte requiredMode)
src/main/java/com/dynatrace/dynahist/DynamicHistogram.java:152
↓ 7 callers
Method
getMax
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:56
↓ 7 callers
Method
getMin
()
src/jmh/java/com/dynatrace/dynahist/Comparison.java:54
↓ 7 callers
Method
read
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 callers
Method
readBits
(int numBits)
src/main/java/com/dynatrace/dynahist/serialization/BitInput.java:34
↓ 7 callers
Method
register
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 callers
Method
assertException
(Runnable runnable, String description)
src/jmh/java/com/dynatrace/dynahist/Comparison.java:42
↓ 6 callers
Method
build
()
src/main/java/com/dynatrace/dynahist/HistogramDeserializationBuilder.java:42
next →
1–100 of 789, ranked by callers