id
stringlengths
11
15
language
stringclasses
1 value
question
stringlengths
13
844
answer
stringlengths
1
900
code
stringlengths
162
27.4k
code_original
stringlengths
162
26k
code_word_count
int64
51
5.96k
java-test-7842
java
What does the code do ?
a subtree leap move
public double do Operation ( ) throws Operator Failed Exception { double logq ; final double delta = get Delta ( ) ; final Node Ref root = tree . get Root ( ) ; Node Ref node ; do { node = tree . get Node ( Math Utils . next Int ( tree . get Node Count ( ) ) ) ; } while ( node == root ) ; final Node Ref parent = tree ....
public double doOperation ( ) throws OperatorFailedException { double logq ; final double delta = getDelta ( ) ; final NodeRef root = tree . getRoot ( ) ; NodeRef node ; do { node = tree . getNode ( MathUtils . nextInt ( tree . getNodeCount ( ) ) ) ; } while ( node == root ) ; final NodeRef parent = tree . getParent ( ...
620
java-test-7843
java
How did the continued fraction way of computing base on the book " numerical recipes " ?
loosely
public static double regularized Gamma Q ( final double a , final double x ) { if ( Double . is Na N ( a ) || Double . is Na N ( x ) || ( a <= NUM ) || ( x < NUM ) ) { return Double . Na N ; } if ( x == NUM ) { return NUM ; } if ( x < a + NUM ) { return NUM - regularized Gamma P ( a , x ) ; } final double FPMIN = Doubl...
public static double regularizedGammaQ ( final double a , final double x ) { if ( Double . isNaN ( a ) || Double . isNaN ( x ) || ( a <= _NUM ) || ( x < _NUM ) ) { return Double . NaN ; } if ( x == _NUM ) { return _NUM ; } if ( x < a + _NUM ) { return _NUM - regularizedGammaP ( a , x ) ; } final double FPMIN = Double ....
273
java-test-7844
java
Why does the continued fraction way of computing , based loosely on the book " numerical recipes " include the regularized gamma function q ( a , x ) = 1 - p ( a , x ) . ?
since we reimplemented this in our coding style , not literally . todo : find " the " most accurate version of this
public static double regularized Gamma Q ( final double a , final double x ) { if ( Double . is Na N ( a ) || Double . is Na N ( x ) || ( a <= NUM ) || ( x < NUM ) ) { return Double . Na N ; } if ( x == NUM ) { return NUM ; } if ( x < a + NUM ) { return NUM - regularized Gamma P ( a , x ) ; } final double FPMIN = Doubl...
public static double regularizedGammaQ ( final double a , final double x ) { if ( Double . isNaN ( a ) || Double . isNaN ( x ) || ( a <= _NUM ) || ( x < _NUM ) ) { return Double . NaN ; } if ( x == _NUM ) { return _NUM ; } if ( x < a + _NUM ) { return _NUM - regularizedGammaP ( a , x ) ; } final double FPMIN = Double ....
273
java-test-7845
java
How does we reimplement this ?
in our coding style , not literally
public static double regularized Gamma Q ( final double a , final double x ) { if ( Double . is Na N ( a ) || Double . is Na N ( x ) || ( a <= NUM ) || ( x < NUM ) ) { return Double . Na N ; } if ( x == NUM ) { return NUM ; } if ( x < a + NUM ) { return NUM - regularized Gamma P ( a , x ) ; } final double FPMIN = Doubl...
public static double regularizedGammaQ ( final double a , final double x ) { if ( Double . isNaN ( a ) || Double . isNaN ( x ) || ( a <= _NUM ) || ( x < _NUM ) ) { return Double . NaN ; } if ( x == _NUM ) { return _NUM ; } if ( x < a + _NUM ) { return _NUM - regularizedGammaP ( a , x ) ; } final double FPMIN = Double ....
273
java-test-7846
java
What does the code add ?
an action that is also represented in the main menu
private void add Menu Action ( String id , String label , String menu Label , int mnemonic , Action action ) { action . put Value ( Action . NAME , menu Label ) ; action . put Value ( Action . MNEMONIC KEY , mnemonic ) ; menu . set Action ( id , action ) ; hotkey Manager . register Action ( id , label , action ) ; }
private void addMenuAction ( String id , String label , String menuLabel , int mnemonic , Action action ) { action . putValue ( Action . NAME , menuLabel ) ; action . putValue ( Action . MNEMONIC_KEY , mnemonic ) ; menu . setAction ( id , action ) ; hotkeyManager . registerAction ( id , label , action ) ; }
73
java-test-7847
java
Where is an action represented ?
in the main menu
private void add Menu Action ( String id , String label , String menu Label , int mnemonic , Action action ) { action . put Value ( Action . NAME , menu Label ) ; action . put Value ( Action . MNEMONIC KEY , mnemonic ) ; menu . set Action ( id , action ) ; hotkey Manager . register Action ( id , label , action ) ; }
private void addMenuAction ( String id , String label , String menuLabel , int mnemonic , Action action ) { action . putValue ( Action . NAME , menuLabel ) ; action . putValue ( Action . MNEMONIC_KEY , mnemonic ) ; menu . setAction ( id , action ) ; hotkeyManager . registerAction ( id , label , action ) ; }
73
java-test-7848
java
What did implementors need ?
to decide when they are ready to report the state change to interested objects
private void call State Listeners ( ) { State Type new State = state . get ( ) ; Array List < Activity State Listener > list = state Listeners . get ( new State ) ; if ( list != null ) { for ( Activity State Listener listener : list ) { listener . state Changed ( new State , this ) ; } } }
private void callStateListeners ( ) { StateType newState = state . get ( ) ; ArrayList < ActivityStateListener > list = stateListeners . get ( newState ) ; if ( list != null ) { for ( ActivityStateListener listener : list ) { listener . stateChanged ( newState , this ) ; } } }
68
java-test-7849
java
What does the code append ?
an undo log entry to the log
void add ( Undo Log Record entry ) { records . add ( entry ) ; if ( large Transactions ) { memory Undo ++ ; if ( memory Undo > database . get Max Memory Undo ( ) && database . is Persistent ( ) && ! database . is Multi Version ( ) ) { if ( file == null ) { String file Name = database . create Temp File ( ) ; file = dat...
void add ( UndoLogRecord entry ) { records . add ( entry ) ; if ( largeTransactions ) { memoryUndo ++ ; if ( memoryUndo > database . getMaxMemoryUndo ( ) && database . isPersistent ( ) && ! database . isMultiVersion ( ) ) { if ( file == null ) { String fileName = database . createTempFile ( ) ; file = database . openFi...
470
java-test-7850
java
How does the attribute set ?
with the given index to null
@ Override public synchronized void remove Attribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unused Column List . add ( index ) ; }
@ Override public synchronized void removeAttribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unusedColumnList . add ( index ) ; }
51
java-test-7851
java
What does an operator generate ?
intermediate attributes , like a validation chain or a feature generator
@ Override public synchronized void remove Attribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unused Column List . add ( index ) ; }
@ Override public synchronized void removeAttribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unusedColumnList . add ( index ) ; }
51
java-test-7852
java
What contains a reference to this column ?
no other example set
@ Override public synchronized void remove Attribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unused Column List . add ( index ) ; }
@ Override public synchronized void removeAttribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unusedColumnList . add ( index ) ; }
51
java-test-7853
java
What did no other example set contain ?
a reference to this column
@ Override public synchronized void remove Attribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unused Column List . add ( index ) ; }
@ Override public synchronized void removeAttribute ( int index ) { Attribute a = attributes . get ( index ) ; if ( a == null ) { return ; } attributes . set ( index , null ) ; unusedColumnList . add ( index ) ; }
51
java-test-7854
java
What can you find for testing ?
the corresponding clietn function in xmlcrm / auth / checklogindata
public int test Object ( Object my Object 2 ) { try { @ Suppress Warnings ( STRING ) Linked Hash Map my Object = ( Linked Hash Map ) my Object 2 ; log . debug ( STRING + my Object . size ( ) ) ; log . debug ( STRING + my Object . get ( NUM ) ) ; log . debug ( STRING + my Object . get ( STRING ) ) ; return my Object . s...
public int testObject ( Object myObject2 ) { try { @ SuppressWarnings ( STRING ) LinkedHashMap myObject = ( LinkedHashMap ) myObject2 ; log . debug ( STRING + myObject . size ( ) ) ; log . debug ( STRING + myObject . get ( _NUM ) ) ; log . debug ( STRING + myObject . get ( STRING ) ) ; return myObject . size ( ) ; } ca...
108
java-test-7855
java
What shows the wait cursor ?
the informationdelegator
public void request Cursor ( java . awt . Cursor cursor ) { if ( cursor == null ) { if ( show Wait Cursor && ! waiting For Layers ) reset Cursor ( ) ; current Map Bean Cursor = null ; } else if ( this . map != null ) { Cursor new Cursor ; if ( show Wait Cursor && waiting For Layers ) { new Cursor = Cursor . get Predefi...
public void requestCursor ( java . awt . Cursor cursor ) { if ( cursor == null ) { if ( showWaitCursor && ! waitingForLayers ) resetCursor ( ) ; currentMapBeanCursor = null ; } else if ( this . map != null ) { Cursor newCursor ; if ( showWaitCursor && waitingForLayers ) { newCursor = Cursor . getPredefinedCursor ( Curs...
109
java-test-7876
java
How did a cached image identify ?
by its size and a set of additional arguments
public boolean paint Cached Image ( Graphics g , int x , int y , int w , int h , Object ... args ) { if ( w <= NUM || h <= NUM ) { return BOOL ; } Image img = cache . get Image ( get Class ( ) , null , w , h , args ) ; if ( img != null ) { g . draw Image ( img , x , y , null ) ; return BOOL ; } return BOOL ; }
public boolean paintCachedImage ( Graphics g , int x , int y , int w , int h , Object ... args ) { if ( w <= _NUM || h <= _NUM ) { return _BOOL ; } Image img = cache . getImage ( getClass ( ) , null , w , h , args ) ; if ( img != null ) { g . drawImage ( img , x , y , null ) ; return _BOOL ; } return _BOOL ; }
92
java-test-7878
java
What does the code draw ?
a snap horizontal margin indicator
public static void draw Snap Horizontal Margin ( View Transform transform , Graphics 2 D g , int x1 , int x2 , int y1 , String text , boolean text Over ) { Canvas c = new Canvas ( ) ; Font Metrics fm = c . get Font Metrics ( s Font ) ; g . set Font ( s Font ) ; int padding = transform . get Swing Dimension ( NUM ) ; Re...
public static void drawSnapHorizontalMargin ( ViewTransform transform , Graphics2D g , int x1 , int x2 , int y1 , String text , boolean textOver ) { Canvas c = new Canvas ( ) ; FontMetrics fm = c . getFontMetrics ( sFont ) ; g . setFont ( sFont ) ; int padding = transform . getSwingDimension ( _NUM ) ; Rectangle2D boun...
325
java-test-7879
java
What does the code insert ?
an entry at this index
public Immutable Array 2 < K > insert ( int index , K obj ) { int len = length + NUM ; int new Len = len ; boolean extendable ; if ( index == len - NUM ) { Atomic Boolean x = can Extend ; if ( x != null ) { can Extend = null ; if ( array . length > index && x . get And Set ( BOOL ) ) { array [ index ] = obj ; return ne...
public ImmutableArray2 < K > insert ( int index , K obj ) { int len = length + _NUM ; int newLen = len ; boolean extendable ; if ( index == len - _NUM ) { AtomicBoolean x = canExtend ; if ( x != null ) { canExtend = null ; if ( array . length > index && x . getAndSet ( _BOOL ) ) { array [ index ] = obj ; return new Imm...
185
java-test-7882
java
What does the code obtain using ocsp using the most common defaults ?
the revocation status of a certificate
public static Revocation Status check ( X509 Certificate cert , X509 Certificate issuer Cert ) throws IO Exception , Cert Path Validator Exception { Cert Id cert Id = null ; URI responder URI = null ; try { X509 Cert Impl cert Impl = X509 Cert Impl . to Impl ( cert ) ; responder URI = get Responder URI ( cert Impl ) ; ...
public static RevocationStatus check ( X509Certificate cert , X509Certificate issuerCert ) throws IOException , CertPathValidatorException { CertId certId = null ; URI responderURI = null ; try { X509CertImpl certImpl = X509CertImpl . toImpl ( cert ) ; responderURI = getResponderURI ( certImpl ) ; if ( responderURI == ...
184
java-test-7884
java
What do you want ?
to write out the file name into that parent directory
public static File remove Parent ( File parent , File file ) { String absolute Path = file . get Absolute Path ( ) ; String parent Absolute Path = parent . get Absolute Path ( ) ; String new Path = absolute Path . replace ( parent Absolute Path + STRING , STRING ) ; return new File ( new Path ) ; }
public static File removeParent ( File parent , File file ) { String absolutePath = file . getAbsolutePath ( ) ; String parentAbsolutePath = parent . getAbsolutePath ( ) ; String newPath = absolutePath . replace ( parentAbsolutePath + STRING , STRING ) ; return new File ( newPath ) ; }
65
java-test-7885
java
In which direction does the code convert a file into a relative path ?
from a given parent
public static File remove Parent ( File parent , File file ) { String absolute Path = file . get Absolute Path ( ) ; String parent Absolute Path = parent . get Absolute Path ( ) ; String new Path = absolute Path . replace ( parent Absolute Path + STRING , STRING ) ; return new File ( new Path ) ; }
public static File removeParent ( File parent , File file ) { String absolutePath = file . getAbsolutePath ( ) ; String parentAbsolutePath = parent . getAbsolutePath ( ) ; String newPath = absolutePath . replace ( parentAbsolutePath + STRING , STRING ) ; return new File ( newPath ) ; }
65
java-test-7886
java
How does the gps timestamp fix ?
in exif
private static void fix GPS Time Stamp ( XMP Node exif Schema ) throws XMP Exception { XMP Node gps Date Time = XMP Node Utils . find Child Node ( exif Schema , STRING , BOOL ) ; if ( gps Date Time == null ) { return ; } try { XMP Date Time bin GPS Stamp ; XMP Date Time bin Other Date ; bin GPS Stamp = XMP Utils . conv...
private static void fixGPSTimeStamp ( XMPNode exifSchema ) throws XMPException { XMPNode gpsDateTime = XMPNodeUtils . findChildNode ( exifSchema , STRING , _BOOL ) ; if ( gpsDateTime == null ) { return ; } try { XMPDateTime binGPSStamp ; XMPDateTime binOtherDate ; binGPSStamp = XMPUtils . convertToDate ( gpsDateTime . ...
309
java-test-7888
java
How does a file with the native desktop printing facility print ?
using the associated application ' s print command
public void print ( File file ) throws IO Exception { check Exec ( ) ; Security Manager sm = System . get Security Manager ( ) ; if ( sm != null ) { sm . check Print Job Access ( ) ; } check Action Support ( Action . PRINT ) ; check File Validation ( file ) ; peer . print ( file ) ; }
public void print ( File file ) throws IOException { checkExec ( ) ; SecurityManager sm = System . getSecurityManager ( ) ; if ( sm != null ) { sm . checkPrintJobAccess ( ) ; } checkActionSupport ( Action . PRINT ) ; checkFileValidation ( file ) ; peer . print ( file ) ; }
69
java-test-7890
java
What does the code add ?
a message waiting
public void add Msg Waiting ( Mwi Type type , int count , Mwi Profile profile , boolean store Message ) { if ( count > NUM ) { count = NUM ; } messages . add ( new Msg Waiting ( type , count , profile , store Message ) ) ; }
public void addMsgWaiting ( MwiType type , int count , MwiProfile profile , boolean storeMessage ) { if ( count > _NUM ) { count = _NUM ; } messages_ . add ( new MsgWaiting ( type , count , profile , storeMessage ) ) ; }
54
java-test-7893
java
What will tags use the specified imagegetter in the html ?
to request a representation of the image ( use null if you don ' t want this ) and the specified taghandler to handle unknown tags (
private static Spannable String Builder from Html ( String subject , String source , Theme Colors colors , Image Getter image Getter , boolean open Spoilers ) { Parser parser = new Parser ( ) ; try { parser . set Property ( Parser . schema Property , Html Parser Holder . schema ) ; } catch ( org . xml . sax . SAX Not R...
private static SpannableStringBuilder fromHtml ( String subject , String source , ThemeColors colors , ImageGetter imageGetter , boolean openSpoilers ) { Parser parser = new Parser ( ) ; try { parser . setProperty ( Parser . schemaProperty , HtmlParserHolder . schema ) ; } catch ( org . xml . sax . SAXNotRecognizedExce...
139
java-test-7894
java
What will tags use to request a representation of the image ( use null if you don ' t want this ) and the specified taghandler to handle unknown tags ( in the html ?
the specified imagegetter
private static Spannable String Builder from Html ( String subject , String source , Theme Colors colors , Image Getter image Getter , boolean open Spoilers ) { Parser parser = new Parser ( ) ; try { parser . set Property ( Parser . schema Property , Html Parser Holder . schema ) ; } catch ( org . xml . sax . SAX Not R...
private static SpannableStringBuilder fromHtml ( String subject , String source , ThemeColors colors , ImageGetter imageGetter , boolean openSpoilers ) { Parser parser = new Parser ( ) ; try { parser . setProperty ( Parser . schemaProperty , HtmlParserHolder . schema ) ; } catch ( org . xml . sax . SAXNotRecognizedExce...
139
java-test-7895
java
What does the helplabel show ?
a help icon
public static J Label initialize Help Label ( J Panel label Panel ) { J Panel help Panel = new J Panel ( ) ; help Panel . set Layout ( new Grid Bag Layout ( ) ) ; Grid Bag Constraints gbc = new Grid Bag Constraints ( ) ; gbc . anchor = Grid Bag Constraints . NORTH ; gbc . weightx = NUM ; gbc . fill = Grid Bag Constrain...
public static JLabel initializeHelpLabel ( JPanel labelPanel ) { JPanel helpPanel = new JPanel ( ) ; helpPanel . setLayout ( new GridBagLayout ( ) ) ; GridBagConstraints gbc = new GridBagConstraints ( ) ; gbc . anchor = GridBagConstraints . NORTH ; gbc . weightx = _NUM ; gbc . fill = GridBagConstraints . HORIZONTAL ; g...
221
java-test-7896
java
What does the code create ?
a helplabel
public static J Label initialize Help Label ( J Panel label Panel ) { J Panel help Panel = new J Panel ( ) ; help Panel . set Layout ( new Grid Bag Layout ( ) ) ; Grid Bag Constraints gbc = new Grid Bag Constraints ( ) ; gbc . anchor = Grid Bag Constraints . NORTH ; gbc . weightx = NUM ; gbc . fill = Grid Bag Constrain...
public static JLabel initializeHelpLabel ( JPanel labelPanel ) { JPanel helpPanel = new JPanel ( ) ; helpPanel . setLayout ( new GridBagLayout ( ) ) ; GridBagConstraints gbc = new GridBagConstraints ( ) ; gbc . anchor = GridBagConstraints . NORTH ; gbc . weightx = _NUM ; gbc . fill = GridBagConstraints . HORIZONTAL ; g...
221
java-test-7897
java
What shows a help icon ?
the helplabel
public static J Label initialize Help Label ( J Panel label Panel ) { J Panel help Panel = new J Panel ( ) ; help Panel . set Layout ( new Grid Bag Layout ( ) ) ; Grid Bag Constraints gbc = new Grid Bag Constraints ( ) ; gbc . anchor = Grid Bag Constraints . NORTH ; gbc . weightx = NUM ; gbc . fill = Grid Bag Constrain...
public static JLabel initializeHelpLabel ( JPanel labelPanel ) { JPanel helpPanel = new JPanel ( ) ; helpPanel . setLayout ( new GridBagLayout ( ) ) ; GridBagConstraints gbc = new GridBagConstraints ( ) ; gbc . anchor = GridBagConstraints . NORTH ; gbc . weightx = _NUM ; gbc . fill = GridBagConstraints . HORIZONTAL ; g...
221
java-test-7898
java
What do symbols represent ?
primary and secondary stress
public Allophone [ ] split Into Allophones ( String allophone String ) { List < String > phones = split Into Allophone List ( allophone String , BOOL ) ; Allophone [ ] allos = new Allophone [ phones . size ( ) ] ; for ( int i = NUM ; i < phones . size ( ) ; i ++ ) { allos [ i ] = get Allophone ( phones . get ( i ) ) ; ...
public Allophone [ ] splitIntoAllophones ( String allophoneString ) { List < String > phones = splitIntoAllophoneList ( allophoneString , _BOOL ) ; Allophone [ ] allos = new Allophone [ phones . size ( ) ] ; for ( int i = _NUM ; i < phones . size ( ) ; i ++ ) { allos [ i ] = getAllophone ( phones . get ( i ) ) ; assert...
104
java-test-7899
java
How do we update the list of variables and terminals ?
with any new grammar symbols
public void update Vars And Terminals ( ) { if ( rules == null ) { vars = new Array List < String > ( ) ; terminals = new Array List < String > ( ) ; return ; } for ( int i = NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; update Vars And Terminals ( r ) ; } }
public void updateVarsAndTerminals ( ) { if ( rules == null ) { vars = new ArrayList < String > ( ) ; terminals = new ArrayList < String > ( ) ; return ; } for ( int i = _NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; updateVarsAndTerminals ( r ) ; } }
80
java-test-7900
java
What do we update with any new grammar symbols ?
the list of variables and terminals
public void update Vars And Terminals ( ) { if ( rules == null ) { vars = new Array List < String > ( ) ; terminals = new Array List < String > ( ) ; return ; } for ( int i = NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; update Vars And Terminals ( r ) ; } }
public void updateVarsAndTerminals ( ) { if ( rules == null ) { vars = new ArrayList < String > ( ) ; terminals = new ArrayList < String > ( ) ; return ; } for ( int i = _NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; updateVarsAndTerminals ( r ) ; } }
80
java-test-7901
java
What do we want whenever a new rule is added to the grammar ?
to update the list of variables and terminals with any new grammar symbols
public void update Vars And Terminals ( ) { if ( rules == null ) { vars = new Array List < String > ( ) ; terminals = new Array List < String > ( ) ; return ; } for ( int i = NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; update Vars And Terminals ( r ) ; } }
public void updateVarsAndTerminals ( ) { if ( rules == null ) { vars = new ArrayList < String > ( ) ; terminals = new ArrayList < String > ( ) ; return ; } for ( int i = _NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; updateVarsAndTerminals ( r ) ; } }
80
java-test-7902
java
When do we want to update the list of variables and terminals with any new grammar symbols ?
whenever a new rule is added to the grammar
public void update Vars And Terminals ( ) { if ( rules == null ) { vars = new Array List < String > ( ) ; terminals = new Array List < String > ( ) ; return ; } for ( int i = NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; update Vars And Terminals ( r ) ; } }
public void updateVarsAndTerminals ( ) { if ( rules == null ) { vars = new ArrayList < String > ( ) ; terminals = new ArrayList < String > ( ) ; return ; } for ( int i = _NUM ; i < rules . size ( ) ; i ++ ) { Rule r = rules . get ( i ) ; updateVarsAndTerminals ( r ) ; } }
80
java-test-7903
java
What trains the suggester ?
with a new instance , given the estimation values for each category , the original category decided and the actual category
public void train ( Map Category Values , String s Suggested Category , String s Final Category ) { if ( Category Values == null ) Category Values = new Hash Map ( ) ; if ( Category Values . size ( ) > NUM ) v Previous Decisions . add ( new Decision Support ( Category Values , s Suggested Category , s Final Category ) ...
public void train ( Map CategoryValues , String sSuggestedCategory , String sFinalCategory ) { if ( CategoryValues == null ) CategoryValues = new HashMap ( ) ; if ( CategoryValues . size ( ) > _NUM ) vPreviousDecisions . add ( new DecisionSupport ( CategoryValues , sSuggestedCategory , sFinalCategory ) ) ; }
70
java-test-7904
java
What does with a new instance , given the estimation values for each category , the original category decided and the actual category train ?
the suggester
public void train ( Map Category Values , String s Suggested Category , String s Final Category ) { if ( Category Values == null ) Category Values = new Hash Map ( ) ; if ( Category Values . size ( ) > NUM ) v Previous Decisions . add ( new Decision Support ( Category Values , s Suggested Category , s Final Category ) ...
public void train ( Map CategoryValues , String sSuggestedCategory , String sFinalCategory ) { if ( CategoryValues == null ) CategoryValues = new HashMap ( ) ; if ( CategoryValues . size ( ) > _NUM ) vPreviousDecisions . add ( new DecisionSupport ( CategoryValues , sSuggestedCategory , sFinalCategory ) ) ; }
70
java-test-7909
java
What does the code interrupt ?
all currently executing tasks
public void halt All Tasks ( ) { Linked List < Thread > ending Threads = new Linked List < > ( ) ; ending Threads . add All ( executions . values ( ) ) ; for ( Thread thread : ending Threads ) { while ( thread . is Alive ( ) && thread != Thread . current Thread ( ) ) { LOGGER . info ( STRING + thread ) ; thread . inter...
public void haltAllTasks ( ) { LinkedList < Thread > endingThreads = new LinkedList < > ( ) ; endingThreads . addAll ( executions . values ( ) ) ; for ( Thread thread : endingThreads ) { while ( thread . isAlive ( ) && thread != Thread . currentThread ( ) ) { LOGGER . info ( STRING + thread ) ; thread . interrupt ( ) ;...
89
java-test-7910
java
What does the code clear ?
the record of all executing tasks
public void halt All Tasks ( ) { Linked List < Thread > ending Threads = new Linked List < > ( ) ; ending Threads . add All ( executions . values ( ) ) ; for ( Thread thread : ending Threads ) { while ( thread . is Alive ( ) && thread != Thread . current Thread ( ) ) { LOGGER . info ( STRING + thread ) ; thread . inter...
public void haltAllTasks ( ) { LinkedList < Thread > endingThreads = new LinkedList < > ( ) ; endingThreads . addAll ( executions . values ( ) ) ; for ( Thread thread : endingThreads ) { while ( thread . isAlive ( ) && thread != Thread . currentThread ( ) ) { LOGGER . info ( STRING + thread ) ; thread . interrupt ( ) ;...
89
java-test-7911
java
What does the code create ?
the gui layout of the dialog
private void create Panels ( ) { set Layout ( new Border Layout ( NUM , NUM ) ) ; final J Panel p 1 = new J Panel ( ) ; p 1 . set Layout ( new Border Layout ( NUM , NUM ) ) ; p 1 . set Border ( new Titled Border ( STRING ) ) ; final J Panel p 1 1 = new J Panel ( ) ; p 1 1 . set Layout ( new Border Layout ( NUM , NUM ) ...
private void createPanels ( ) { setLayout ( new BorderLayout ( _NUM , _NUM ) ) ; final JPanel p_1 = new JPanel ( ) ; p_1 . setLayout ( new BorderLayout ( _NUM , _NUM ) ) ; p_1 . setBorder ( new TitledBorder ( STRING ) ) ; final JPanel p_1_1 = new JPanel ( ) ; p_1_1 . setLayout ( new BorderLayout ( _NUM , _NUM ) ) ; p_1...
405
java-test-7912
java
What do a new larger image contain ?
the shadow
public static Image dropshadow ( Image source , int blur Radius , float opacity , int x Distance , int y Distance ) { Image s = dropshadow ( source , blur Radius , opacity ) ; Image n = Image . create Image ( source . get Width ( ) + Math . abs ( x Distance ) , source . get Height ( ) + Math . abs ( y Distance ) , NUM ...
public static Image dropshadow ( Image source , int blurRadius , float opacity , int xDistance , int yDistance ) { Image s = dropshadow ( source , blurRadius , opacity ) ; Image n = Image . createImage ( source . getWidth ( ) + Math . abs ( xDistance ) , source . getHeight ( ) + Math . abs ( yDistance ) , _NUM ) ; Grap...
195
java-test-7913
java
What is containing the shadow ?
a new larger image
public static Image dropshadow ( Image source , int blur Radius , float opacity , int x Distance , int y Distance ) { Image s = dropshadow ( source , blur Radius , opacity ) ; Image n = Image . create Image ( source . get Width ( ) + Math . abs ( x Distance ) , source . get Height ( ) + Math . abs ( y Distance ) , NUM ...
public static Image dropshadow ( Image source , int blurRadius , float opacity , int xDistance , int yDistance ) { Image s = dropshadow ( source , blurRadius , opacity ) ; Image n = Image . createImage ( source . getWidth ( ) + Math . abs ( xDistance ) , source . getHeight ( ) + Math . abs ( yDistance ) , _NUM ) ; Grap...
195
java-test-7914
java
What does the code return ?
a new larger image containing the shadow
public static Image dropshadow ( Image source , int blur Radius , float opacity , int x Distance , int y Distance ) { Image s = dropshadow ( source , blur Radius , opacity ) ; Image n = Image . create Image ( source . get Width ( ) + Math . abs ( x Distance ) , source . get Height ( ) + Math . abs ( y Distance ) , NUM ...
public static Image dropshadow ( Image source , int blurRadius , float opacity , int xDistance , int yDistance ) { Image s = dropshadow ( source , blurRadius , opacity ) ; Image n = Image . createImage ( source . getWidth ( ) + Math . abs ( xDistance ) , source . getHeight ( ) + Math . abs ( yDistance ) , _NUM ) ; Grap...
195
java-test-7915
java
What maximizes the objective function ?
the next element of the permutation
protected int select Item ( Int Sorted Set remaining I , List < Tuple 2 od < I > > list ) { double [ ] max = new double [ ] { Double . NEGATIVE INFINITY } ; int [ ] best I = new int [ ] { remaining I . first Int ( ) } ; remaining I . for Each ( null ) ; return best I [ NUM ] ; }
protected int selectItem ( IntSortedSet remainingI , List < Tuple2od < I > > list ) { double [ ] max = new double [ ] { Double . NEGATIVE_INFINITY } ; int [ ] bestI = new int [ ] { remainingI . firstInt ( ) } ; remainingI . forEach ( null ) ; return bestI [ _NUM ] ; }
76
java-test-7916
java
What does the next element of the permutation maximize ?
the objective function
protected int select Item ( Int Sorted Set remaining I , List < Tuple 2 od < I > > list ) { double [ ] max = new double [ ] { Double . NEGATIVE INFINITY } ; int [ ] best I = new int [ ] { remaining I . first Int ( ) } ; remaining I . for Each ( null ) ; return best I [ NUM ] ; }
protected int selectItem ( IntSortedSet remainingI , List < Tuple2od < I > > list ) { double [ ] max = new double [ ] { Double . NEGATIVE_INFINITY } ; int [ ] bestI = new int [ ] { remainingI . firstInt ( ) } ; remainingI . forEach ( null ) ; return bestI [ _NUM ] ; }
76
java-test-7917
java
What does the code add editor depending on m_newrow ?
to parameterpanel alernative
private void add Line ( Grid Field field , W Editor editor , boolean mandatory ) { log . fine ( STRING + field ) ; Label label = editor . get Label ( ) ; editor . set Read Write ( BOOL ) ; editor . set Mandatory ( mandatory ) ; field . add Property Change Listener ( editor ) ; if ( m new Row ) { m row = new Row ( ) ; m...
private void addLine ( GridField field , WEditor editor , boolean mandatory ) { log . fine ( STRING + field ) ; Label label = editor . getLabel ( ) ; editor . setReadWrite ( _BOOL ) ; editor . setMandatory ( mandatory ) ; field . addPropertyChangeListener ( editor ) ; if ( m_newRow ) { m_row = new Row ( ) ; m_row . set...
162
java-test-7918
java
For what purpose does the code locate all challenge handlers ?
to serve the given location
public List < Challenge Handler > lookup ( String location ) { List < Challenge Handler > result = Collections . empty List ( ) ; if ( location != null ) { Node < Challenge Handler , Uri Element > result Node = find Best Matching Node ( location ) ; if ( result Node != null ) { return result Node . get Values ( ) ; } }...
public List < ChallengeHandler > lookup ( String location ) { List < ChallengeHandler > result = Collections . emptyList ( ) ; if ( location != null ) { Node < ChallengeHandler , UriElement > resultNode = findBestMatchingNode ( location ) ; if ( resultNode != null ) { return resultNode . getValues ( ) ; } } return resu...
75
java-test-7919
java
What stores in settings ?
current package - order
public void store New Package Order ( ) { List < String > package List = new Array List < String > ( ) ; for ( App Info act App : m Installed Apps ) { package List . add ( act App . package Name ) ; } m Settings . set Package Order ( package List ) ; }
public void storeNewPackageOrder ( ) { List < String > packageList = new ArrayList < String > ( ) ; for ( AppInfo actApp : mInstalledApps ) { packageList . add ( actApp . packageName ) ; } mSettings . setPackageOrder ( packageList ) ; }
62
java-test-7920
java
Where do current package - order store ?
in settings
public void store New Package Order ( ) { List < String > package List = new Array List < String > ( ) ; for ( App Info act App : m Installed Apps ) { package List . add ( act App . package Name ) ; } m Settings . set Package Order ( package List ) ; }
public void storeNewPackageOrder ( ) { List < String > packageList = new ArrayList < String > ( ) ; for ( AppInfo actApp : mInstalledApps ) { packageList . add ( actApp . packageName ) ; } mSettings . setPackageOrder ( packageList ) ; }
62
java-test-7922
java
What does the code remove ?
an exceptions that are older than the current gc version for each member in the rvv
public void prune Old Exceptions ( ) { Set < T > members ; members = new Hash Set < T > ( member To GC Version . key Set ( ) ) ; for ( T member : members ) { Long gc Version = member To GC Version . get ( member ) ; Region Version Holder < T > holder ; holder = member To Version . get ( member ) ; if ( holder != null &...
public void pruneOldExceptions ( ) { Set < T > members ; members = new HashSet < T > ( memberToGCVersion . keySet ( ) ) ; for ( T member : members ) { Long gcVersion = memberToGCVersion . get ( member ) ; RegionVersionHolder < T > holder ; holder = memberToVersion . get ( member ) ; if ( holder != null && gcVersion != ...
124
java-test-7923
java
What does the code serve ?
a clash session
public static Server Session new Session ( Clash Services services , Connection client Connection , Main . Server Command command ) throws IO Exception { Server Session session = new Server Session ( services , client Connection , command ) ; local Session . set ( session ) ; try { Thread t = new Thread ( null , client...
public static ServerSession newSession ( ClashServices services , Connection clientConnection , Main . ServerCommand command ) throws IOException { ServerSession session = new ServerSession ( services , clientConnection , command ) ; localSession . set ( session ) ; try { Thread t = new Thread ( null , clientConnection...
112
java-test-7924
java
What does the code generate ?
a subarray of a given biginteger array
public static Big Integer [ ] sub Array ( Big Integer [ ] input , int start , int end ) { Big Integer [ ] result = new Big Integer [ end - start ] ; System . arraycopy ( input , start , result , NUM , end - start ) ; return result ; }
public static BigInteger [ ] subArray ( BigInteger [ ] input , int start , int end ) { BigInteger [ ] result = new BigInteger [ end - start ] ; System . arraycopy ( input , start , result , _NUM , end - start ) ; return result ; }
58
java-test-7925
java
Why are special characters not allowed if the name is valid ?
as it will conflict with file naming system
public static boolean is Name Valid ( String a Name ) { if ( a Name . contains ( STRING ) || a Name . contains ( STRING ) || a Name . contains ( STRING ) || a Name . contains ( STRING ) || a Name . contains ( STRING ) || a Name . contains ( STRING ) || a Name . contains ( STRING ) || a Name . contains ( STRING ) || a N...
public static boolean isNameValid ( String aName ) { if ( aName . contains ( STRING ) || aName . contains ( STRING ) || aName . contains ( STRING ) || aName . contains ( STRING ) || aName . contains ( STRING ) || aName . contains ( STRING ) || aName . contains ( STRING ) || aName . contains ( STRING ) || aName . contai...
114
java-test-7927
java
How does a set of points transform ?
using the provided transform
public void transform Points ( Object native Transform , int point Size , float [ ] in , int src Pos , float [ ] out , int dest Pos , int num Points ) { float [ ] buf In = new float [ point Size ] ; float [ ] buf Out = new float [ point Size ] ; int len = num Points * point Size ; for ( int i = NUM ; i < len ; i += poi...
public void transformPoints ( Object nativeTransform , int pointSize , float [ ] in , int srcPos , float [ ] out , int destPos , int numPoints ) { float [ ] bufIn = new float [ pointSize ] ; float [ ] bufOut = new float [ pointSize ] ; int len = numPoints * pointSize ; for ( int i = _NUM ; i < len ; i += pointSize ) { ...
143
java-test-7928
java
What does the code create ?
a mapping of the service name to the display name for the service
private Map map Name To Display Name ( Set names ) { Map map = new Hash Map ( names . size ( ) * NUM ) ; AM View Config v Config = AM View Config . get Instance ( ) ; for ( Iterator iter = names . iterator ( ) ; iter . has Next ( ) ; ) { String name = ( String ) iter . next ( ) ; if ( v Config . is Service Visible ( na...
private Map mapNameToDisplayName ( Set names ) { Map map = new HashMap ( names . size ( ) * _NUM ) ; AMViewConfig vConfig = AMViewConfig . getInstance ( ) ; for ( Iterator iter = names . iterator ( ) ; iter . hasNext ( ) ; ) { String name = ( String ) iter . next ( ) ; if ( vConfig . isServiceVisible ( name ) ) { Strin...
129
java-test-7929
java
What does the code use ?
the pagination parameters from the request
@ Suppress Warnings ( STRING ) public Data Response paginate List ( Map < String , String > request Params , Query query , String default Sort , Map < String , Query Property > properties ) { return paginate List ( request Params , null , query , default Sort , properties ) ; }
@ SuppressWarnings ( STRING ) public DataResponse paginateList ( Map < String , String > requestParams , Query query , String defaultSort , Map < String , QueryProperty > properties ) { return paginateList ( requestParams , null , query , defaultSort , properties ) ; }
56
java-test-7930
java
What valued real ?
buffer sizes
public Polyphase FIR Decimating Filter RB ( float [ ] coefficients , int decimation Ratio , float gain ) { m Decimation Ratio = decimation Ratio ; m Gain = gain ; create Filter Stages ( coefficients , m Decimation Ratio ) ; m Filter Stage Pointer = m Filter Stages . size ( ) - NUM ; }
public PolyphaseFIRDecimatingFilter_RB ( float [ ] coefficients , int decimationRatio , float gain ) { mDecimationRatio = decimationRatio ; mGain = gain ; createFilterStages ( coefficients , mDecimationRatio ) ; mFilterStagePointer = mFilterStages . size ( ) - _NUM ; }
59
java-test-7931
java
What is equal to the floor of the input buffer size divided by the decimation ratio the filter ?
the output buffer size
public Polyphase FIR Decimating Filter RB ( float [ ] coefficients , int decimation Ratio , float gain ) { m Decimation Ratio = decimation Ratio ; m Gain = gain ; create Filter Stages ( coefficients , m Decimation Ratio ) ; m Filter Stage Pointer = m Filter Stages . size ( ) - NUM ; }
public PolyphaseFIRDecimatingFilter_RB ( float [ ] coefficients , int decimationRatio , float gain ) { mDecimationRatio = decimationRatio ; mGain = gain ; createFilterStages ( coefficients , mDecimationRatio ) ; mFilterStagePointer = mFilterStages . size ( ) - _NUM ; }
59
java-test-7932
java
How did a symmetric key generate ?
using shared secret
public static String decrypt With Symmetric Key ( String data , String enc Algorithm , String secret ) throws Exception { try { String algorithm = enc Algorithm ; if ( ! algorithm . starts With ( STRING ) ) { algorithm = STRING + enc Algorithm ; } Secret Key Factory sk Factory = Secret Key Factory . get Instance ( algo...
public static String decryptWithSymmetricKey ( String data , String encAlgorithm , String secret ) throws Exception { try { String algorithm = encAlgorithm ; if ( ! algorithm . startsWith ( STRING ) ) { algorithm = STRING + encAlgorithm ; } SecretKeyFactory skFactory = SecretKeyFactory . getInstance ( algorithm ) ; PBE...
204
java-test-7933
java
How does the code decrypt the given data ?
with a symmetric key generated using shared secret
public static String decrypt With Symmetric Key ( String data , String enc Algorithm , String secret ) throws Exception { try { String algorithm = enc Algorithm ; if ( ! algorithm . starts With ( STRING ) ) { algorithm = STRING + enc Algorithm ; } Secret Key Factory sk Factory = Secret Key Factory . get Instance ( algo...
public static String decryptWithSymmetricKey ( String data , String encAlgorithm , String secret ) throws Exception { try { String algorithm = encAlgorithm ; if ( ! algorithm . startsWith ( STRING ) ) { algorithm = STRING + encAlgorithm ; } SecretKeyFactory skFactory = SecretKeyFactory . getInstance ( algorithm ) ; PBE...
204
java-test-7934
java
What does the code compute to call this handler using a server - side invocation ?
the servlet context relative url
public static String create Handler Request Path ( final Cache Key cache Key , final Http Servlet Request request ) { final String handler Query Path = get Request Handler Path ( cache Key . get Group Name ( ) , cache Key . get Type ( ) ) ; return request . get Servlet Path ( ) + handler Query Path ; }
public static String createHandlerRequestPath ( final CacheKey cacheKey , final HttpServletRequest request ) { final String handlerQueryPath = getRequestHandlerPath ( cacheKey . getGroupName ( ) , cacheKey . getType ( ) ) ; return request . getServletPath ( ) + handlerQueryPath ; }
64
java-test-7935
java
What does the code hide ?
the details about creating a valid url and providing the authorization key required to invoke this handler
public static String create Handler Request Path ( final Cache Key cache Key , final Http Servlet Request request ) { final String handler Query Path = get Request Handler Path ( cache Key . get Group Name ( ) , cache Key . get Type ( ) ) ; return request . get Servlet Path ( ) + handler Query Path ; }
public static String createHandlerRequestPath ( final CacheKey cacheKey , final HttpServletRequest request ) { final String handlerQueryPath = getRequestHandlerPath ( cacheKey . getGroupName ( ) , cacheKey . getType ( ) ) ; return request . getServletPath ( ) + handlerQueryPath ; }
64
java-test-7936
java
How do this handler call ?
using a server - side invocation
public static String create Handler Request Path ( final Cache Key cache Key , final Http Servlet Request request ) { final String handler Query Path = get Request Handler Path ( cache Key . get Group Name ( ) , cache Key . get Type ( ) ) ; return request . get Servlet Path ( ) + handler Query Path ; }
public static String createHandlerRequestPath ( final CacheKey cacheKey , final HttpServletRequest request ) { final String handlerQueryPath = getRequestHandlerPath ( cacheKey . getGroupName ( ) , cacheKey . getType ( ) ) ; return request . getServletPath ( ) + handlerQueryPath ; }
64
java-test-7938
java
What does the code remove ?
all temporary maps
public void remove Temporary Maps ( Bit Field object Ids ) { for ( String map Name : store . get Map Names ( ) ) { if ( map Name . starts With ( STRING ) ) { MV Map < ? , ? > map = store . open Map ( map Name ) ; store . remove Map ( map ) ; } else if ( map Name . starts With ( STRING ) || map Name . starts With ( STRI...
public void removeTemporaryMaps ( BitField objectIds ) { for ( String mapName : store . getMapNames ( ) ) { if ( mapName . startsWith ( STRING ) ) { MVMap < ? , ? > map = store . openMap ( mapName ) ; store . removeMap ( map ) ; } else if ( mapName . startsWith ( STRING ) || mapName . startsWith ( STRING ) ) { int id =...
215
java-test-7941
java
What does the status code indicate ?
that more data is available
public static byte [ ] transceive And Get Response ( byte [ ] command , Iso Card iso Card , String get Response Apdu ) throws IO Exception { byte [ ] resp = iso Card . transceive ( command ) ; byte [ ] buf = new byte [ NUM ] ; int offset = NUM ; while ( resp [ resp . length - NUM ] == NUM ) { System . arraycopy ( resp ...
public static byte [ ] transceiveAndGetResponse ( byte [ ] command , IsoCard isoCard , String getResponseApdu ) throws IOException { byte [ ] resp = isoCard . transceive ( command ) ; byte [ ] buf = new byte [ _NUM ] ; int offset = _NUM ; while ( resp [ resp . length - _NUM ] == _NUM ) { System . arraycopy ( resp , _NU...
173
java-test-7942
java
What does the code transceiv to the isocard if the status code indicates that more data is available ?
the byte [ ] command
public static byte [ ] transceive And Get Response ( byte [ ] command , Iso Card iso Card , String get Response Apdu ) throws IO Exception { byte [ ] resp = iso Card . transceive ( command ) ; byte [ ] buf = new byte [ NUM ] ; int offset = NUM ; while ( resp [ resp . length - NUM ] == NUM ) { System . arraycopy ( resp ...
public static byte [ ] transceiveAndGetResponse ( byte [ ] command , IsoCard isoCard , String getResponseApdu ) throws IOException { byte [ ] resp = isoCard . transceive ( command ) ; byte [ ] buf = new byte [ _NUM ] ; int offset = _NUM ; while ( resp [ resp . length - _NUM ] == _NUM ) { System . arraycopy ( resp , _NU...
173
java-test-7943
java
What indicates that more data is available ?
the status code
public static byte [ ] transceive And Get Response ( byte [ ] command , Iso Card iso Card , String get Response Apdu ) throws IO Exception { byte [ ] resp = iso Card . transceive ( command ) ; byte [ ] buf = new byte [ NUM ] ; int offset = NUM ; while ( resp [ resp . length - NUM ] == NUM ) { System . arraycopy ( resp ...
public static byte [ ] transceiveAndGetResponse ( byte [ ] command , IsoCard isoCard , String getResponseApdu ) throws IOException { byte [ ] resp = isoCard . transceive ( command ) ; byte [ ] buf = new byte [ _NUM ] ; int offset = _NUM ; while ( resp [ resp . length - _NUM ] == _NUM ) { System . arraycopy ( resp , _NU...
173
java-test-7944
java
What does the code authenticate ?
the received client evidence message m1
public boolean verify Client Evidence Message ( Big Integer client M 1 ) throws Crypto Exception { if ( ( this . A == null ) || ( this . B == null ) || ( this . S == null ) ) { throw new Crypto Exception ( STRING + STRING ) ; } Big Integer computed M 1 = SRP 6 Util . calculate M 1 ( digest , N , A , B , S ) ; if ( comp...
public boolean verifyClientEvidenceMessage ( BigInteger clientM1 ) throws CryptoException { if ( ( this . A == null ) || ( this . B == null ) || ( this . S == null ) ) { throw new CryptoException ( STRING + STRING ) ; } BigInteger computedM1 = SRP6Util . calculateM1 ( digest , N , A , B , S ) ; if ( computedM1 . equals...
110
java-test-7945
java
How is resolution of the class to used is done ?
by inspecting the xml element provided
public Value read ( Type type , Node Map node , Map map ) throws Exception { Class actual = read Value ( type , node ) ; Class expect = type . get Type ( ) ; if ( expect . is Array ( ) ) { return read Array ( actual , node ) ; } if ( expect != actual ) { return new Object Value ( actual ) ; } return null ; }
public Value read ( Type type , NodeMap node , Map map ) throws Exception { Class actual = readValue ( type , node ) ; Class expect = type . getType ( ) ; if ( expect . isArray ( ) ) { return readArray ( actual , node ) ; } if ( expect != actual ) { return new ObjectValue ( actual ) ; } return null ; }
78
java-test-7946
java
What exists on the element ?
no such attribute
public Value read ( Type type , Node Map node , Map map ) throws Exception { Class actual = read Value ( type , node ) ; Class expect = type . get Type ( ) ; if ( expect . is Array ( ) ) { return read Array ( actual , node ) ; } if ( expect != actual ) { return new Object Value ( actual ) ; } return null ; }
public Value read ( Type type , NodeMap node , Map map ) throws Exception { Class actual = readValue ( type , node ) ; Class expect = type . getType ( ) ; if ( expect . isArray ( ) ) { return readArray ( actual , node ) ; } if ( expect != actual ) { return new ObjectValue ( actual ) ; } return null ; }
78
java-test-7947
java
Where did no such attribute exist ?
on the element
public Value read ( Type type , Node Map node , Map map ) throws Exception { Class actual = read Value ( type , node ) ; Class expect = type . get Type ( ) ; if ( expect . is Array ( ) ) { return read Array ( actual , node ) ; } if ( expect != actual ) { return new Object Value ( actual ) ; } return null ; }
public Value read ( Type type , NodeMap node , Map map ) throws Exception { Class actual = readValue ( type , node ) ; Class expect = type . getType ( ) ; if ( expect . isArray ( ) ) { return readArray ( actual , node ) ; } if ( expect != actual ) { return new ObjectValue ( actual ) ; } return null ; }
78
java-test-7948
java
What do store backtrack in a map ?
successful decomposition
public List < String > word Break ( String s , Set < String > dict ) { List < String > words = new Array List < String > ( ) ; int len = s . length ( ) ; for ( int i = NUM ; i <= len ; i ++ ) { String pref = s . substring ( NUM , i ) ; if ( dict . contains ( pref ) ) { if ( i == len ) { words . add ( pref ) ; } else { ...
public List < String > wordBreak ( String s , Set < String > dict ) { List < String > words = new ArrayList < String > ( ) ; int len = s . length ( ) ; for ( int i = _NUM ; i <= len ; i ++ ) { String pref = s . substring ( _NUM , i ) ; if ( dict . contains ( pref ) ) { if ( i == len ) { words . add ( pref ) ; } else { ...
185
java-test-7949
java
When do the following do ?
if within
public List < String > word Break ( String s , Set < String > dict ) { List < String > words = new Array List < String > ( ) ; int len = s . length ( ) ; for ( int i = NUM ; i <= len ; i ++ ) { String pref = s . substring ( NUM , i ) ; if ( dict . contains ( pref ) ) { if ( i == len ) { words . add ( pref ) ; } else { ...
public List < String > wordBreak ( String s , Set < String > dict ) { List < String > words = new ArrayList < String > ( ) ; int len = s . length ( ) ; for ( int i = _NUM ; i <= len ; i ++ ) { String pref = s . substring ( _NUM , i ) ; if ( dict . contains ( pref ) ) { if ( i == len ) { words . add ( pref ) ; } else { ...
185
java-test-7950
java
For what purpose are the children removed from the row layouts cleanly ?
so that they can be re - attached elsewhere
public void unwrap ( Linear Layout wrapped Layout ) { int count = wrapped Layout . get Child Count ( ) ; for ( int i = NUM ; i < count ; i ++ ) { Linear Layout row = ( Linear Layout ) wrapped Layout . get Child At ( i ) ; row . remove All Views ( ) ; } wrapped Layout . remove All Views ( ) ; }
public void unwrap ( LinearLayout wrappedLayout ) { int count = wrappedLayout . getChildCount ( ) ; for ( int i = _NUM ; i < count ; i ++ ) { LinearLayout row = ( LinearLayout ) wrappedLayout . getChildAt ( i ) ; row . removeAllViews ( ) ; } wrappedLayout . removeAllViews ( ) ; }
74
java-test-7951
java
What does the code update ?
an existing combobox with the current kernel names
public void update Kernel Combo Box ( J Combo Box < String > box ) { box . remove All Items ( ) ; box . add Item ( NONE ) ; for ( String kernel Name : get Kernel Name List ( ) ) { box . add Item ( kernel Name ) ; } }
public void updateKernelComboBox ( JComboBox < String > box ) { box . removeAllItems ( ) ; box . addItem ( NONE ) ; for ( String kernelName : getKernelNameList ( ) ) { box . addItem ( kernelName ) ; } }
57
java-test-7954
java
What may are contained in the map ?
the datasource properties
public static void map Datasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndi Name = STRING ; Log Writer I 18 n writer = Transaction Utils . get Log Writer I 18 n ( ) ; Object ds = null ; try { jndi Name = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { d...
public static void mapDatasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndiName = STRING ; LogWriterI18n writer = TransactionUtils . getLogWriterI18n ( ) ; Object ds = null ; try { jndiName = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { ds = DataSourc...
493
java-test-7955
java
What bes the datasource properties are contained in the map ?
the jndi tree
public static void map Datasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndi Name = STRING ; Log Writer I 18 n writer = Transaction Utils . get Log Writer I 18 n ( ) ; Object ds = null ; try { jndi Name = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { d...
public static void mapDatasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndiName = STRING ; LogWriterI18n writer = TransactionUtils . getLogWriterI18n ( ) ; Object ds = null ; try { jndiName = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { ds = DataSourc...
493
java-test-7956
java
What be the code binds to the existing jndi tree ?
a single datasource
public static void map Datasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndi Name = STRING ; Log Writer I 18 n writer = Transaction Utils . get Log Writer I 18 n ( ) ; Object ds = null ; try { jndi Name = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { d...
public static void mapDatasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndiName = STRING ; LogWriterI18n writer = TransactionUtils . getLogWriterI18n ( ) ; Object ds = null ; try { jndiName = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { ds = DataSourc...
493
java-test-7957
java
What does the jndi tree be ?
the datasource properties are contained in the map
public static void map Datasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndi Name = STRING ; Log Writer I 18 n writer = Transaction Utils . get Log Writer I 18 n ( ) ; Object ds = null ; try { jndi Name = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { d...
public static void mapDatasource ( Map map , List props ) { String value = ( String ) map . get ( STRING ) ; String jndiName = STRING ; LogWriterI18n writer = TransactionUtils . getLogWriterI18n ( ) ; Object ds = null ; try { jndiName = ( String ) map . get ( STRING ) ; if ( value . equals ( STRING ) ) { ds = DataSourc...
493
java-test-7958
java
What does the code create ?
a new windowdragger object
public Window Dragger ( Window window , Component component ) { f Window = window ; f Component = component ; mouse Listener = create Mouse Listener ( ) ; mouse Motion Listener = create Mouse Motion Listener ( ) ; f Component . add Mouse Listener ( mouse Listener ) ; f Component . add Mouse Motion Listener ( mouse Moti...
public WindowDragger ( Window window , Component component ) { fWindow = window ; fComponent = component ; mouseListener = createMouseListener ( ) ; mouseMotionListener = createMouseMotionListener ( ) ; fComponent . addMouseListener ( mouseListener ) ; fComponent . addMouseMotionListener ( mouseMotionListener ) ; }
66
java-test-7959
java
What does the code start ?
the task thread
public synchronized void start ( ) { if ( this . task Thread == null ) { task Thread = new Thread ( this ) ; task Thread . set Name ( STRING + thl . get Name ( ) + STRING + task Id ) ; task Thread . start ( ) ; } }
public synchronized void start ( ) { if ( this . taskThread == null ) { taskThread = new Thread ( this ) ; taskThread . setName ( STRING + thl . getName ( ) + STRING + taskId ) ; taskThread . start ( ) ; } }
56
java-test-7960
java
How does the data sign ?
with the given key and the provided algorithm
private static byte [ ] sign ( Private Key key , String data , Signature Algorithm algorithm ) throws General Security Exception { Signature signature = Signature . get Instance ( algorithm . get JCA Name ( ) ) ; signature . init Sign ( key ) ; signature . update ( data . get Bytes ( ) ) ; return signature . sign ( ) ;...
private static byte [ ] sign ( PrivateKey key , String data , SignatureAlgorithm algorithm ) throws GeneralSecurityException { Signature signature = Signature . getInstance ( algorithm . getJCAName ( ) ) ; signature . initSign ( key ) ; signature . update ( data . getBytes ( ) ) ; return signature . sign ( ) ; }
68
java-test-7961
java
How does the code encrypt a given string ?
with a contentencryptionkey and initializationvector
byte [ ] encrypt Payload ( String payload , byte [ ] content Encryption Key , byte [ ] initialization Vector ) throws Encrypt Data Exception { try { Secret Key Spec secret Key = new Secret Key Spec ( content Encryption Key , AES ALGORITHM TYPE ) ; Iv Parameter Spec iv Parameter = new Iv Parameter Spec ( initialization ...
byte [ ] encryptPayload ( String payload , byte [ ] contentEncryptionKey , byte [ ] initializationVector ) throws EncryptDataException { try { SecretKeySpec secretKey = new SecretKeySpec ( contentEncryptionKey , AES_ALGORITHM_TYPE ) ; IvParameterSpec ivParameter = new IvParameterSpec ( initializationVector ) ; Cipher a...
139
java-test-7962
java
What does the tlafrontend . frontendmain method process ?
an entire tla + spec that starts in the file named in " filename " , including all files it refers to directly or indirectly in extends or instance constructs
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7963
java
Where does an unexpected runtime error occur ?
in the frontend
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7964
java
What did the caller use the these errors objects ?
to provide feedback to the human spec - writer in some other way
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7965
java
What does the caller prefer ?
to pass syserr = null
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7966
java
What do the caller provide to the human spec - writer in some other way ?
feedback
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7967
java
When do what level of problems occur ?
during the three phases
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7968
java
What did this method return if it does not , then " . tla " is appended before processing it ?
a specification object , which is the root of the semantic graph of the specification
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7969
java
What occurs in the frontend ?
an unexpected runtime error
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7970
java
Where are those reported ?
in the returned specification object , which must be checked as described above
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7971
java
What processes an entire tla + spec that starts in the file named in " filename " , including all files it refers to directly or indirectly in extends or instance constructs ?
the tlafrontend . frontendmain method
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7972
java
What must be queried the specification object returned using geterrorlevel ( ) to see what level of problems , if any , occurred during the three phases . any value from geterrorlevel ( ) other than 0 is fatal , and the caller should not use the specification object any more ?
by the caller
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7973
java
For what purpose is this exception not thrown ?
for ordinary warning , error , or abort conditions detected during processing
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7974
java
How do the caller provide feedback to the human spec - writer ?
in some other way
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7975
java
What should the caller not use any more ?
the specification object
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7976
java
How must by the caller be queried the specification object returned to see what level of problems , if any , occurred during the three phases . any value from geterrorlevel ( ) other than 0 is fatal , and the caller should not use the specification object any more ?
using geterrorlevel ( )
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7977
java
What do this method throw if an unexpected runtime error occurs in the frontend . this exception is not thrown for ordinary warning , error , or abort conditions detected during processing - - ?
a frontendexception
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7978
java
For what purpose must by the caller be queried the specification object returned using geterrorlevel ( ) ?
to see what level of problems , if any , occurred during the three phases . any value from geterrorlevel ( ) other than 0 is fatal , and the caller should not use the specification object any more
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7979
java
What must by the caller be queried using geterrorlevel ( ) to see what level of problems , if any , occurred during the three phases . any value from geterrorlevel ( ) other than 0 is fatal , and the caller should not use the specification object any more ?
the specification object returned
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135
java-test-7980
java
What is saved the error stream in errors ?
objects that are components of the specification object returned
public static final void front End Main ( Spec Obj spec , String file Name , Print Stream syserr ) throws Front End Exception { try { front End Initialize ( spec , syserr ) ; if ( do Parsing ) front End Parse ( spec , syserr ) ; if ( do Semantic Analysis ) { front End Semantic Analysis ( spec , syserr , do Level Checki...
public static final void frontEndMain ( SpecObj spec , String fileName , PrintStream syserr ) throws FrontEndException { try { frontEndInitialize ( spec , syserr ) ; if ( doParsing ) frontEndParse ( spec , syserr ) ; if ( doSemanticAnalysis ) { frontEndSemanticAnalysis ( spec , syserr , doLevelChecking ) ; } ; } catch ...
135