void function ( ) { OsSecureRandom loc0 = getOsSecureRandom ( ) ; float loc1 = loc0 . nextFloat ( ) ; float loc2 = loc0 . nextFloat ( ) ; while ( loc1 == loc2 ) { loc2 = loc0 . nextFloat ( ) ; } loc0 . close ( ) ; }
test will timeout if secure random implementation always returns a constant value . concode_field_sep PlaceHolder placeHolder concode_field_sep void testRandomLong concode_elem_sep OsSecureRandom getOsSecureRandom concode_elem_sep void testRefillReservoir concode_elem_sep void checkRandomBytes concode_elem_sep void testOsSecureRandomSetConf concode_elem_sep void testRandomInt concode_elem_sep void testRandomBytes concode_elem_sep void testRandomDouble