private static STClass[] sodaTestCases() { STClass[] commonCases = commonTestCases(); STClass[] collectionCases = collectionTestCases(); STClass[] allCases = new STClass[commonCases.length + collectionCases.length]; System.arraycopy(commonCases, 0, allCases, 0, commonCases.length); System.arraycopy(collectionCases, 0, allCases, commonCases.length, collectionCases.length); return allCases; }
private byte[] readName(LatinStringIO sio, ByteArrayBuffer reader) { if (Deploy.debug) { reader.readBegin(Const4.YAPCLASS); } int len = reader.readInt(); len = len * sio.bytesPerChar(); byte[] nameBytes = new byte[len]; System.arraycopy(reader._buffer, reader._offset, nameBytes, 0, len); nameBytes = Platform4.updateClassName(nameBytes); reader.incrementOffset(len); return nameBytes; }