⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 const.java

📁 fortran并行计算包
💻 JAVA
字号:
/* *  (C) 2001 by Argonne National Laboratory *      See COPYRIGHT in top-level directory. *//* *  @author  Anthony Chan */package logformat.clog;public class Const{           static final byte    INVALID_byte   = Byte.MIN_VALUE;           static final short   INVALID_short  = Short.MIN_VALUE;           static final int     INVALID_int    = Integer.MIN_VALUE;           static final long    INVALID_long   = Long.MIN_VALUE;           static final int     NULL_int       = 0;           static final int     NULL_iaddr     = 0;           static final long    NULL_fptr      = 0;           static final float   INVALID_float  = Float.MIN_VALUE;           static final double  INVALID_double = Double.MIN_VALUE;           static final int     TRUE           = 1;           static final int     FALSE          = 0;    //  Define constants listed in <MPE>/include/clog.h           static final int     BLOCK_SIZE = 65536;     // CLOG_BLOCK_SIZE    //  Define constants listed in <MPE>/src/log_wrap.c    //  MPE_MAX_STATES is the MPE's max. MPI system states.    //  Let's be generous, instead of defining MPE_MAX_STATES = 128,    //  define MPE_MAX_STATES = 180 to include MPI_IO routines           static final int     MPE_MAX_STATES       = 180;    // !arbitary! defined for max. user-defined states. Increase it if necessary           static final int     MPE_USER_MAX_STATES  = 30;    // variable "stateid" is used in MPI_Init() of <MPE>/src/log_wrap.c           static final int     MPE_1ST_EVENT        = 1;  // i.e. stateid    //  The initial event_number return by MPE_Log_get_event_number();    //  Ref: clog.h, mpe_log.c           static final int     MPE_USER_1ST_EVENT   = 500;  // CLOG_MAXEVENT    public class AllType    {        public static final int UNDEF     =  0;         // CLOG_UNDEF    }    public class RecType    {        public static final int ENDLOG    = -2;         // CLOG_ENDLOG        public static final int ENDBLOCK  = -1;         // CLOG_ENDBLOCK        // public static final int UNDEF     =  0;         // CLOG_UNDEF               static final int RAWEVENT  =  1;         // CLOG_RAWEVENT               static final int MSGEVENT  =  2;         // CLOG_MSGEVENT               static final int COLLEVENT =  3;         // CLOG_COLLEVENT               static final int COMMEVENT =  4;         // CLOG_COMMEVENT               static final int EVENTDEF  =  5;         // CLOG_EVENTDEF               static final int STATEDEF  =  6;         // CLOG_STATEDEF               static final int SRCLOC    =  7;         // CLOG_SRCLOC               static final int SHIFT     =  8;         // CLOG_SHIFT    }    class MsgType  // is used to compare with EvtType    {               static final int SEND      = -101;       // LOG_MESG_SEND               static final int RECV      = -102;       // LOG_MESG_RECV    }    public class EvtType    {        public static final int CONSTDEF  = -201;       // LOG_CONST_DEF    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -