|
Message
From: cvs at opencores.org<cvs@o...>
Date: Thu Jun 7 16:37:28 CEST 2007
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/07/06 07:16:37 Added: jop/java/target/src/common/yaffs2/assertions Assert.java Log: Java port of YAFFS, a NAND flash file system. Under development. Revision Changes Path 1.1 jop/java/target/src/common/yaffs2/assertions/Assert.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/yaffs2/assertions/Assert.java?rev=1.1&content-type=text/x-cvsweb-markup Index: Assert.java =================================================================== package yaffs2.assertions; import yaffs2.utils.*; public class Assert { public static boolean isUnsignedChar(int x) { return (x >= 0 && x <= Constants.UNSIGNED_CHAR_MAX); } public static boolean isUnsignedInt(long x) { return (x >= 0 && x <= Constants.UNSIGNED_INT_MAX); } }
|