Searched refs:dice (Results 1 – 8 of 8) sorted by relevance
37 Dice dice = new Dice(3, 6); in testRepresenter() local41 String output = yaml.dump(dice); in testRepresenter()46 Dice dice = new Dice(3, 6); in testDiceRepresenter() local48 data.put("gold", dice); in testDiceRepresenter()61 Dice dice = (Dice) data; in representData() local62 String value = dice.getA() + "d" + dice.getB(); in representData()
439 Random dice = new Random(0); in equalsAndHashCodeSpanningSegments() local440 dice.nextBytes(data); in equalsAndHashCodeSpanningSegments()442 Buffer a = bufferWithRandomSegmentLayout(dice, data); in equalsAndHashCodeSpanningSegments()443 Buffer b = bufferWithRandomSegmentLayout(dice, data); in equalsAndHashCodeSpanningSegments()448 Buffer c = bufferWithRandomSegmentLayout(dice, data); in equalsAndHashCodeSpanningSegments()592 private Buffer bufferWithRandomSegmentLayout(Random dice, byte[] data) throws IOException { in bufferWithRandomSegmentLayout() argument598 byteCount = (Segment.SIZE / 2) + dice.nextInt(Segment.SIZE / 2); in bufferWithRandomSegmentLayout()600 int offset = dice.nextInt(Segment.SIZE - byteCount); in bufferWithRandomSegmentLayout()
166 Random dice = new Random(); in sinkTestWriteLargeArray() local169 expected[c] = (char) ('A' + dice.nextInt(26)); in sinkTestWriteLargeArray()
424 …: El 25 de diciembre, Papá Noel baja por el MODEM y desde el puerto serie dice: ¡Feliz Navidad, RO…
2534 V_SG "dice" :G2P
3057 "Sección [%2zu] '%s': encabezamiento ELF dice esta es la tabla de cadena de "
3654 蒱 < gambling\-game\-with\-dice;20927 骰子 < dice;35484 骰子 > dice;38477 蒱 > gambling\-game\-with\-dice;