LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Thu Jun 7 16:37:28 CEST 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    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);
    }
    }



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.