236237238239240241242243244245246
file.delete(); } file.open(); file.fill(0, fileSize, (byte)'X'); if (!AIO) { file.sync(); }
30363037303830393040304130423043304430453046
sequentialFile.open(1, false); if (init) { sequentialFile.fill(0, fileSize, JournalImpl.FILL_CHARACTER); initFileHeader(this.fileFactory, sequentialFile, userVersion, fileID); } long position = sequentialFile.position();
110111112113114115116117118119120
240241242243244245246247248249250
284285286287288289290291292293294
sf.open(); try { sf.fill(0, 3 * 512, (byte)0); String s1 = "orange"; byte[] bytes1 = s1.getBytes("UTF-8"); byte[] bytes2 = s1.getBytes("UTF-8");
365366367368369370371372373374375
{ SequentialFile sf = factory.createSequentialFile("openclose.hq", 1); sf.open(); sf.fill(0, 512, (byte)0); String s1 = "cheesecake"; byte[] bytes1 = s1.getBytes("UTF-8"); long initialPos = sf.position();
652653654655656657658659660661662
sequentialFile.open(1, false); if (init) { sequentialFile.fill(0, fileSize, JournalImpl.FILL_CHARACTER); JournalImpl.initFileHeader(fileFactory, sequentialFile, userVersion, fileID); } long position = sequentialFile.position();
30173018301930203021302230233024302530263027