Class DataSetToByteArraySample


  • public class DataSetToByteArraySample
    extends java.lang.Object
    • Constructor Detail

      • DataSetToByteArraySample

        public DataSetToByteArraySample()
    • Method Detail

      • floatIdentity

        protected boolean floatIdentity​(double a,
                                        double b)
      • testDataSetUtilsIdentity

        public void testDataSetUtilsIdentity​(boolean binary,
                                             boolean asFloat32)
      • testDataSetSerialiserIdentity

        public void testDataSetSerialiserIdentity​(boolean withMetaData,
                                                  boolean asFloat32)
      • testIdentityCore

        public void testIdentityCore​(boolean binary,
                                     boolean asFloat32,
                                     de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
                                     de.gsi.dataset.spi.DoubleErrorDataSet testDS)
      • testIdentityLabelsAndStyles

        public void testIdentityLabelsAndStyles​(boolean binary,
                                                boolean asFloat32,
                                                de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
                                                de.gsi.dataset.spi.DoubleErrorDataSet testDS)
      • testIdentityMetaData

        public void testIdentityMetaData​(boolean binary,
                                         boolean asFloat32,
                                         de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
                                         de.gsi.dataset.spi.DoubleErrorDataSet testDS)
      • humanReadableByteCount

        public static java.lang.String humanReadableByteCount​(long bytes,
                                                              boolean si)
      • testPerformance

        public void testPerformance​(int iterations,
                                    boolean binary,
                                    boolean asFloat32)
      • testSerializerPerformance

        public void testSerializerPerformance​(int iterations,
                                              boolean withMetaInfos,
                                              boolean asFloat32)
      • clearGarbage

        public void clearGarbage()
      • main

        public static void main​(java.lang.String[] args)