id int64 46 165 | content stringlengths 38 3.18k | layer stringclasses 3
values | summary float64 |
|---|---|---|---|
80 | 80 "Requirement
public String m_RequirementID ="""";
public String m_Project ="""";
public String m_ModulePath="""";
public String m_Content = """";
public String m_RegFlag = ""N"";
public Requirement() {// empty constructor
}
public Object clone() throws CloneNotSupportedException {
Requirement requirement= (Requ... | Code | null |
81 | 81 "subscribermanager
Socket aSocket;
int ID;
String EventLog;
Connection conn;
ResultSet rs;
Statement stmt;
// constructor, this object will be created in the main method of these class
SubscriberListener() { }
// constructor, this object will be created in the main method of these class
SubscriberListen... | Code | null |
82 | 82 "Tokenizer
/**
* Constructor.
* @param inStream the stream containing a program.
*/
public Tokenizer( Reader inStream )
{
errors = 0;
ch = '\0';
currentLine = 1;
in = new PushbackReader
/**
* Gets current line number.
* @return current line number.
*/
public int getLineNumber( )
{
return currentLine;
}
/... | Code | null |
83 | 83 "Variable
String id = """"; // requirement id ex WB10
String type= """"; // type of requirement ex Driver or Constraints
String name= """"; // requirement name which is same as variable name in graph
double value= 0.0; // value of variable
double speculat
//General Constructor to initialize all the members
... | Code | null |
84 | 84 "White Board Execution Graph
//Driver data members
double avgShapeSize_Original;
double avgShapeSize_Speculate;
// constraints data members
double avgTextSize;
double writeTime;
double noShapes;
double noTextItems;
double bandWidth
public WhiteBoardExecutionGraph(Vector driver, Vector constraints){
this.... | Code | null |
85 | 85 "Decompose Model
public DecomposeModel(EBT em)
{
super( em);
MinimumNoRects = 3;
}
// Construct Visual model for Merge Event
public void BuildEvent()
{
ClearVectors();
AddEventRect(20,20,1);
AddEventRect(60,70,1);
AddEventRect(60,120,1);
AddEventRect
public StringBuffer GenerateEvent()
{
StringBuffer thisE... | Code | null |
86 | 86 "EB Shape
private int x, y;
private String requirement No;
private String ProjectName, ModulePath;
private Color c;
public EBShape( int xpos, int ypos, Color col)
{
x = xpos;
y = ypos;
c = col;
requirement No = """";
ProjectName = """";
ModulePath = """";
}
public void Updaterequirement Info(String rno, S... | Code | null |
87 | 87 "EBT
private JSplitPane splitPane;
private JSplitPane splitPane2;
private Frame FrameParent;
private JPanel MenuPanel;
private TextModel WorkArea;
private EventModel VisualPanel;
private MergeModel M
public EBT(Frame f)
{
FrameParent = f;
CurrentEvent = -1;
this. serverIP =
JOptionPane
. showInputDialog(""Pleas... | Code | null |
88 | 88 "Event Model
protected Vector EventShapes = new Vector();
protected Vector EventLines = new Vector();
protected EB Shape ebs, ebs2;
protected EventLine mline;
protected Color ShapeColor = new Color (190,190,190);
public EventModel(EBT e)
{
ebt = e;
CurrentEvent = -1;
NotifyButton = new JButton(""Notify"");
setL... | Code | null |
89 | 89 "Event Line
protected int top, left, right, bottom;
public EventLine ( int t, int l, int r, int b)
{
top = t;
left = l;
right = r;
bottom = b;
}
public int GetT() { return top;}
public int GetL() { return left;}
public int GetR() { return right;}
public int GetB() { return bottom;}"
| Code | null |
90 | 90 "Merge Model
public MergeModel(EBT em)
{
super( em);
MinimumNoRects = 3;
}
// Construct Visual model for Merge Event
public void BuildEvent()
{
ClearVectors();
AddEventRect(90,220,1);
AddEventRect(20,20,1);
AddEventRect(20,70,1);
AddEvent
public StringBuffer GenerateEvent()
{
StringBuffer thisEvent = new... | Code | null |
91 | 91 "Modify Model
public ModifyModel(EBT em)
{
super( em);
}
// Construct Visual model for Merge Event
public void BuildEvent()
{
ClearVectors();
AddEventRect(60,80,1);
CurrentEvent = 4;
}
public StringBuffer GenerateEvent()
{
StringBuffer thisEvent = new StringBuffer();
thisEvent. append(""Modify|0|"");
thisEve... | Code | null |
92 | 92 "New Model
public NewModel(EBT em)
{
super( em);
}
// Construct Visual model for Merge Event
public void BuildEvent()
{
ClearVectors();
AddEventRect(60,80,1);
AddArrow(35,97,59,97);
CurrentEvent = 0;
}
public StringBuffer GenerateEvent()
{
StringBuffer thisEvent = new StringBuffer();
thisEvent. append(""New|0... | Code | null |
93 | 93 "Obsolete Model
public ObsoleteModel(EBT em)
{
super( em);
}
// Construct Visual model for Merge Event
public void BuildEvent()
{
ClearVectors();
AddEventRect(60,80,1);
AddLine(60,60,225,135);
AddLine(60,135,225,60);
CurrentEve
public StringBuffer GenerateEvent()
{
StringBuffer thisEvent = new StringBuffer()... | Code | null |
94 | 94 "Refine Model
public RefineModel(EBT em)
{
super( em);
}
// Construct Visual model for Merge Event
public void BuildEvent()
{
ClearVectors();
AddEventRect(60,80,1);
CurrentEvent = 3;
}
public StringBuffer GenerateEvent()
{
StringBuffer thisEvent = new StringBuffer();
thisEvent. append(""Refine|0|"");
thisEvent... | Code | null |
95 | 95 "Text Model
private int CurrentEvent;
private EBT ebt;
private JLabel lblrequirement No, lblProject, lblModulePath;
private JTextField txtrequirement No, txtProject, txtModulePath;
private boolean HideMsg;
p
public TextModel(EBT e)
{
// System. out. println(""Trying to create text box"");
ebt = e;
CurrentEvent = ... | Code | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.