📄 clog_coll.java
字号:
import java.io.*;import java.awt.*;import java.util.*;import com.sun.java.swing.*;class CLOG_COLL { static final int Size = (6 * 4); int etype; // type of collective event int root; // root of collective op int comm; // communicator int size; // length in bytes int srcloc; // id of source location int pad; void read (DataInputStream in) { try { etype = in.readInt (); root = in.readInt (); comm = in.readInt (); size = in.readInt (); srcloc = in.readInt (); pad = in.readInt (); } catch (IOException x) { System.out.println ("IOException while reading CLOG_COLL."); return; } } public static int getSize () {return Size;} public String toString () { return ("CLOG_COLL [etype=" + etype + ", root=" + root + ", comm=" + comm + ", size=" + size + ", srcloc=" + srcloc + ", pad=" + pad + ", Size(in Bytes)=" + Size + "]"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -