Lines Matching defs:version

6  * under the terms of the GNU General Public License version 2 only, as
14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
68 * <li> a format version number (two 4-octet integers, major and
97 private int version = 0; // current snapshot and log version
109 // format version numbers read from/written to this.log
158 if (version == 0) {
205 if (version == 0)
370 int oldVersion = version;
456 * Generates a version 0 filename prepended with the stable storage
459 * @param name version file name
466 * Generates a version filename prepended with the stable storage
467 * directory path with the version number as a suffix.
469 * @param name version file name
470 * @thisversion a version number
473 ver = (ver == 0) ? version : ver;
478 * Increments the directory version number.
481 do { version++; } while (version==0);
488 * @exception IOException If new version file couldn't be removed
498 * Removes the new version number file.
509 * @param ver the version to remove
520 * @param ver the version to remove
560 * version number preferred by this implementation.
564 * version number (Preferred{Major,Minor}Version), and logBytes is
585 * Writes out version number to file.
587 * @param newVersion if true, writes to a new version file
599 writeInt(out, version);
604 * Creates the initial version file
609 version = 0;
614 * Commits (atomically) the new version.
624 * Reads version number from a file.
626 * @param name the name of the version file
627 * @return the version
638 * Sets the version. If version file does not exist, the initial
639 * version file is created.
645 version = readVersion(fName(newVersionFile));
655 version = readVersion(fName(versionFile));
678 if (version == 0) return state;
698 /* A new major version number is a catastrophe (it means
701 * use the log). A new minor version is no big deal for
706 System.err.println("log.debug: major version mismatch: " +
710 "version " + majorFormatVersion +
713 " understands only version " +