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-8842
java
What does the code attempt if successful using the offense ' s kicker ?
a field goal
private void field Goal Att ( Team offense , Team defense ) { double fg Dist Ratio = Math . pow ( ( NUM - game Yard Line ) / NUM , NUM ) ; double fg Acc Ratio = Math . pow ( ( NUM - game Yard Line ) / NUM , NUM ) ; double fg Dist Chance = ( get H Fadv ( ) + offense . get K ( NUM ) . rat Kick Pow - fg Dist Ratio * NUM )...
private void fieldGoalAtt ( Team offense , Team defense ) { double fgDistRatio = Math . pow ( ( _NUM - gameYardLine ) / _NUM , _NUM ) ; double fgAccRatio = Math . pow ( ( _NUM - gameYardLine ) / _NUM , _NUM ) ; double fgDistChance = ( getHFadv ( ) + offense . getK ( _NUM ) . ratKickPow - fgDistRatio * _NUM ) ; double f...
419
java-test-8843
java
What does the code use ?
the offense ' s kicker
private void field Goal Att ( Team offense , Team defense ) { double fg Dist Ratio = Math . pow ( ( NUM - game Yard Line ) / NUM , NUM ) ; double fg Acc Ratio = Math . pow ( ( NUM - game Yard Line ) / NUM , NUM ) ; double fg Dist Chance = ( get H Fadv ( ) + offense . get K ( NUM ) . rat Kick Pow - fg Dist Ratio * NUM )...
private void fieldGoalAtt ( Team offense , Team defense ) { double fgDistRatio = Math . pow ( ( _NUM - gameYardLine ) / _NUM , _NUM ) ; double fgAccRatio = Math . pow ( ( _NUM - gameYardLine ) / _NUM , _NUM ) ; double fgDistChance = ( getHFadv ( ) + offense . getK ( _NUM ) . ratKickPow - fgDistRatio * _NUM ) ; double f...
419
java-test-8844
java
What does the code calculate ?
the m - value needed for the gss algorithm
@ Override public double calculate M ( double delta , double epsilon ) { double i = NUM ; while ( conf ( i , delta ) > epsilon / NUM ) { i = i + NUM ; } if ( i > NUM ) { i = i - NUM ; } while ( conf ( i , delta ) > ( epsilon / NUM ) ) { i ++ ; } return Math . ceil ( i ) ; }
@ Override public double calculateM ( double delta , double epsilon ) { double i = _NUM ; while ( conf ( i , delta ) > epsilon / _NUM ) { i = i + _NUM ; } if ( i > _NUM ) { i = i - _NUM ; } while ( conf ( i , delta ) > ( epsilon / _NUM ) ) { i ++ ; } return Math . ceil ( i ) ; }
83
java-test-8845
java
For what purpose did the m - value need ?
for the gss algorithm
@ Override public double calculate M ( double delta , double epsilon ) { double i = NUM ; while ( conf ( i , delta ) > epsilon / NUM ) { i = i + NUM ; } if ( i > NUM ) { i = i - NUM ; } while ( conf ( i , delta ) > ( epsilon / NUM ) ) { i ++ ; } return Math . ceil ( i ) ; }
@ Override public double calculateM ( double delta , double epsilon ) { double i = _NUM ; while ( conf ( i , delta ) > epsilon / _NUM ) { i = i + _NUM ; } if ( i > _NUM ) { i = i - _NUM ; } while ( conf ( i , delta ) > ( epsilon / _NUM ) ) { i ++ ; } return Math . ceil ( i ) ; }
83
java-test-8847
java
What does the code create ?
a new strategy
static Attack Strategy create ( String params ) { String [ ] arg = params . split ( STRING , - NUM ) ; if ( arg . length != NUM ) { throw new Illegal Argument Exception ( STRING + params + STRING ) ; } Pair < String , String > desc = parse Strategy ( arg [ NUM ] ) ; Target Selection Strategy targeter = Target Selection...
static AttackStrategy create ( String params ) { String [ ] arg = params . split ( STRING , - _NUM ) ; if ( arg . length != _NUM ) { throw new IllegalArgumentException ( STRING + params + STRING ) ; } Pair < String , String > desc = parseStrategy ( arg [ _NUM ] ) ; TargetSelectionStrategy targeter = TargetSelectionStra...
145
java-test-8848
java
What does the code serialize ?
the parameter table
protected void update Parameter Table ( ) { parameter Table . set Enabled ( BOOL ) ; Array List < String > list = new Array List < String > ( parameters . size ( ) * NUM + NUM ) ; list . add ( maincls . get Canonical Name ( ) ) ; parameters . serialize Parameters ( list ) ; do Set Parameters ( list ) ; parameter Table ...
protected void updateParameterTable ( ) { parameterTable . setEnabled ( _BOOL ) ; ArrayList < String > list = new ArrayList < String > ( parameters . size ( ) * _NUM + _NUM ) ; list . add ( maincls . getCanonicalName ( ) ) ; parameters . serializeParameters ( list ) ; doSetParameters ( list ) ; parameterTable . setEnab...
80
java-test-8849
java
What did the code read ?
the outline data
@ Suppress Warnings ( STRING ) public int read Outline File Metadata ( final Pdf Object Outlines Obj , final Pdf Object Reader current Pdf File ) { final int count = Outlines Obj . get Int ( Pdf Dictionary . Count ) ; final Pdf Object First Obj = Outlines Obj . get Dictionary ( Pdf Dictionary . First ) ; current Pdf Fi...
@ SuppressWarnings ( STRING ) public int readOutlineFileMetadata ( final PdfObject OutlinesObj , final PdfObjectReader currentPdfFile ) { final int count = OutlinesObj . getInt ( PdfDictionary . Count ) ; final PdfObject FirstObj = OutlinesObj . getDictionary ( PdfDictionary . First ) ; currentPdfFile . checkResolved (...
134
java-test-8850
java
What does the code send then ?
the command passed as an argument
private Socket open Data Connection ( String cmd ) throws sun . net . ftp . Ftp Protocol Exception , IO Exception { Socket client Socket ; if ( passive Mode ) { try { return open Passive Data Connection ( cmd ) ; } catch ( sun . net . ftp . Ftp Protocol Exception e ) { String errmsg = e . get Message ( ) ; if ( ! errms...
private Socket openDataConnection ( String cmd ) throws sun . net . ftp . FtpProtocolException , IOException { Socket clientSocket ; if ( passiveMode ) { try { return openPassiveDataConnection ( cmd ) ; } catch ( sun . net . ftp . FtpProtocolException e ) { String errmsg = e . getMessage ( ) ; if ( ! errmsg . startsWit...
554
java-test-8851
java
What does the code open according to the set mode active or passive ) ?
a data connection with the server
private Socket open Data Connection ( String cmd ) throws sun . net . ftp . Ftp Protocol Exception , IO Exception { Socket client Socket ; if ( passive Mode ) { try { return open Passive Data Connection ( cmd ) ; } catch ( sun . net . ftp . Ftp Protocol Exception e ) { String errmsg = e . get Message ( ) ; if ( ! errms...
private Socket openDataConnection ( String cmd ) throws sun . net . ftp . FtpProtocolException , IOException { Socket clientSocket ; if ( passiveMode ) { try { return openPassiveDataConnection ( cmd ) ; } catch ( sun . net . ftp . FtpProtocolException e ) { String errmsg = e . getMessage ( ) ; if ( ! errmsg . startsWit...
554
java-test-8852
java
How does the code open a data connection with the server according to the set mode ?
active or passive )
private Socket open Data Connection ( String cmd ) throws sun . net . ftp . Ftp Protocol Exception , IO Exception { Socket client Socket ; if ( passive Mode ) { try { return open Passive Data Connection ( cmd ) ; } catch ( sun . net . ftp . Ftp Protocol Exception e ) { String errmsg = e . get Message ( ) ; if ( ! errms...
private Socket openDataConnection ( String cmd ) throws sun . net . ftp . FtpProtocolException , IOException { Socket clientSocket ; if ( passiveMode ) { try { return openPassiveDataConnection ( cmd ) ; } catch ( sun . net . ftp . FtpProtocolException e ) { String errmsg = e . getMessage ( ) ; if ( ! errmsg . startsWit...
554
java-test-8855
java
How does this function work ?
the same way as the perl function of the same name
public String [ ] split ( String s ) { Array List v = new Array List ( ) ; int pos = NUM ; int len = s . length ( ) ; while ( pos < len && match ( s , pos ) ) { int start = get Paren Start ( NUM ) ; int newpos = get Paren End ( NUM ) ; if ( newpos == pos ) { v . add ( s . substring ( pos , start + NUM ) ) ; newpos ++ ;...
public String [ ] split ( String s ) { ArrayList v = new ArrayList ( ) ; int pos = _NUM ; int len = s . length ( ) ; while ( pos < len && match ( s , pos ) ) { int start = getParenStart ( _NUM ) ; int newpos = getParenEnd ( _NUM ) ; if ( newpos == pos ) { v . add ( s . substring ( pos , start + _NUM ) ) ; newpos ++ ; }...
173
java-test-8856
java
When do this happen ?
when the very first character of input string is matched by the pattern
public String [ ] split ( String s ) { Array List v = new Array List ( ) ; int pos = NUM ; int len = s . length ( ) ; while ( pos < len && match ( s , pos ) ) { int start = get Paren Start ( NUM ) ; int newpos = get Paren End ( NUM ) ; if ( newpos == pos ) { v . add ( s . substring ( pos , start + NUM ) ) ; newpos ++ ;...
public String [ ] split ( String s ) { ArrayList v = new ArrayList ( ) ; int pos = _NUM ; int len = s . length ( ) ; while ( pos < len && match ( s , pos ) ) { int start = getParenStart ( _NUM ) ; int newpos = getParenEnd ( _NUM ) ; if ( newpos == pos ) { v . add ( s . substring ( pos , start + _NUM ) ) ; newpos ++ ; }...
173
java-test-8857
java
What does a string split ?
into an array of strings on regular expression boundaries
public String [ ] split ( String s ) { Array List v = new Array List ( ) ; int pos = NUM ; int len = s . length ( ) ; while ( pos < len && match ( s , pos ) ) { int start = get Paren Start ( NUM ) ; int newpos = get Paren End ( NUM ) ; if ( newpos == pos ) { v . add ( s . substring ( pos , start + NUM ) ) ; newpos ++ ;...
public String [ ] split ( String s ) { ArrayList v = new ArrayList ( ) ; int pos = _NUM ; int len = s . length ( ) ; while ( pos < len && match ( s , pos ) ) { int start = getParenStart ( _NUM ) ; int newpos = getParenEnd ( _NUM ) ; if ( newpos == pos ) { v . add ( s . substring ( pos , start + _NUM ) ) ; newpos ++ ; }...
173
java-test-8858
java
What does the code get ?
the layer graphics
public synchronized OM Graphic List prepare ( ) { Projection projection = get Projection ( ) ; Point 2 D ul = projection . get Upper Left ( ) ; Point 2 D lr = projection . get Lower Right ( ) ; double ul Lat = ul . get Y ( ) ; double ul Lon = ul . get X ( ) ; double lr Lat = lr . get Y ( ) ; double lr Lon = lr . get X ...
public synchronized OMGraphicList prepare ( ) { Projection projection = getProjection ( ) ; Point2D ul = projection . getUpperLeft ( ) ; Point2D lr = projection . getLowerRight ( ) ; double ulLat = ul . getY ( ) ; double ulLon = ul . getX ( ) ; double lrLat = lr . getY ( ) ; double lrLon = lr . getX ( ) ; OMGraphicList...
119
java-test-8859
java
What supports within a parfor ?
arbitrary control - flow constructs
public static Array List < Program Block > rcreate Deep Copy Program Blocks ( Array List < Program Block > child Blocks , long pid , int ID Prefix , Hash Set < String > fn Stack , Hash Set < String > fn Created , boolean plain , boolean force Deep Copy ) throws DML Runtime Exception { Array List < Program Block > tmp =...
public static ArrayList < ProgramBlock > rcreateDeepCopyProgramBlocks ( ArrayList < ProgramBlock > childBlocks , long pid , int IDPrefix , HashSet < String > fnStack , HashSet < String > fnCreated , boolean plain , boolean forceDeepCopy ) throws DMLRuntimeException { ArrayList < ProgramBlock > tmp = new ArrayList < Pro...
469
java-test-8860
java
Where does arbitrary control - flow constructs support ?
within a parfor
public static Array List < Program Block > rcreate Deep Copy Program Blocks ( Array List < Program Block > child Blocks , long pid , int ID Prefix , Hash Set < String > fn Stack , Hash Set < String > fn Created , boolean plain , boolean force Deep Copy ) throws DML Runtime Exception { Array List < Program Block > tmp =...
public static ArrayList < ProgramBlock > rcreateDeepCopyProgramBlocks ( ArrayList < ProgramBlock > childBlocks , long pid , int IDPrefix , HashSet < String > fnStack , HashSet < String > fnCreated , boolean plain , boolean forceDeepCopy ) throws DMLRuntimeException { ArrayList < ProgramBlock > tmp = new ArrayList < Pro...
469
java-test-8861
java
What does this create recursively ?
a deep copy of program blocks
public static Array List < Program Block > rcreate Deep Copy Program Blocks ( Array List < Program Block > child Blocks , long pid , int ID Prefix , Hash Set < String > fn Stack , Hash Set < String > fn Created , boolean plain , boolean force Deep Copy ) throws DML Runtime Exception { Array List < Program Block > tmp =...
public static ArrayList < ProgramBlock > rcreateDeepCopyProgramBlocks ( ArrayList < ProgramBlock > childBlocks , long pid , int IDPrefix , HashSet < String > fnStack , HashSet < String > fnCreated , boolean plain , boolean forceDeepCopy ) throws DMLRuntimeException { ArrayList < ProgramBlock > tmp = new ArrayList < Pro...
469
java-test-8862
java
For what purpose does this happen recursively ?
in order to support arbitrary control - flow constructs within a parfor
public static Array List < Program Block > rcreate Deep Copy Program Blocks ( Array List < Program Block > child Blocks , long pid , int ID Prefix , Hash Set < String > fn Stack , Hash Set < String > fn Created , boolean plain , boolean force Deep Copy ) throws DML Runtime Exception { Array List < Program Block > tmp =...
public static ArrayList < ProgramBlock > rcreateDeepCopyProgramBlocks ( ArrayList < ProgramBlock > childBlocks , long pid , int IDPrefix , HashSet < String > fnStack , HashSet < String > fnCreated , boolean plain , boolean forceDeepCopy ) throws DMLRuntimeException { ArrayList < ProgramBlock > tmp = new ArrayList < Pro...
469
java-test-8863
java
For what purpose does this replace filenames according to the specified parallel worker recursively recursively ?
in order to avoid conflicts between parworkers
public static Array List < Program Block > rcreate Deep Copy Program Blocks ( Array List < Program Block > child Blocks , long pid , int ID Prefix , Hash Set < String > fn Stack , Hash Set < String > fn Created , boolean plain , boolean force Deep Copy ) throws DML Runtime Exception { Array List < Program Block > tmp =...
public static ArrayList < ProgramBlock > rcreateDeepCopyProgramBlocks ( ArrayList < ProgramBlock > childBlocks , long pid , int IDPrefix , HashSet < String > fnStack , HashSet < String > fnCreated , boolean plain , boolean forceDeepCopy ) throws DMLRuntimeException { ArrayList < ProgramBlock > tmp = new ArrayList < Pro...
469
java-test-8864
java
How does the code initialize the next phase of the algorithm ?
by clearing the committed workers and jobs sets and by initializing the slack arrays to the values corresponding to the specified root worker
protected void initialize Phase ( int w ) { Arrays . fill ( committed Workers , BOOL ) ; Arrays . fill ( parent Worker By Committed Job , - NUM ) ; committed Workers [ w ] = BOOL ; for ( int j = NUM ; j < dim ; j ++ ) { min Slack Value By Job [ j ] = cost Matrix [ w ] [ j ] - label By Worker [ w ] - label By Job [ j ] ...
protected void initializePhase ( int w ) { Arrays . fill ( committedWorkers , _BOOL ) ; Arrays . fill ( parentWorkerByCommittedJob , - _NUM ) ; committedWorkers [ w ] = _BOOL ; for ( int j = _NUM ; j < dim ; j ++ ) { minSlackValueByJob [ j ] = costMatrix [ w ] [ j ] - labelByWorker [ w ] - labelByJob [ j ] ; minSlackWo...
101
java-test-8865
java
What does the code initialize by clearing the committed workers and jobs sets and by initializing the slack arrays to the values corresponding to the specified root worker ?
the next phase of the algorithm
protected void initialize Phase ( int w ) { Arrays . fill ( committed Workers , BOOL ) ; Arrays . fill ( parent Worker By Committed Job , - NUM ) ; committed Workers [ w ] = BOOL ; for ( int j = NUM ; j < dim ; j ++ ) { min Slack Value By Job [ j ] = cost Matrix [ w ] [ j ] - label By Worker [ w ] - label By Job [ j ] ...
protected void initializePhase ( int w ) { Arrays . fill ( committedWorkers , _BOOL ) ; Arrays . fill ( parentWorkerByCommittedJob , - _NUM ) ; committedWorkers [ w ] = _BOOL ; for ( int j = _NUM ; j < dim ; j ++ ) { minSlackValueByJob [ j ] = costMatrix [ w ] [ j ] - labelByWorker [ w ] - labelByJob [ j ] ; minSlackWo...
101
java-test-8866
java
What does the code initialize ?
the slack arrays
protected void initialize Phase ( int w ) { Arrays . fill ( committed Workers , BOOL ) ; Arrays . fill ( parent Worker By Committed Job , - NUM ) ; committed Workers [ w ] = BOOL ; for ( int j = NUM ; j < dim ; j ++ ) { min Slack Value By Job [ j ] = cost Matrix [ w ] [ j ] - label By Worker [ w ] - label By Job [ j ] ...
protected void initializePhase ( int w ) { Arrays . fill ( committedWorkers , _BOOL ) ; Arrays . fill ( parentWorkerByCommittedJob , - _NUM ) ; committedWorkers [ w ] = _BOOL ; for ( int j = _NUM ; j < dim ; j ++ ) { minSlackValueByJob [ j ] = costMatrix [ w ] [ j ] - labelByWorker [ w ] - labelByJob [ j ] ; minSlackWo...
101
java-test-8867
java
What does the code authenticate ?
the given username , password combination
public boolean authenticate User ( String username , String password , String uri ) throws Data Access Exception { if ( null == username || null == password ) { return BOOL ; } User Info user = get User Info ( username ) ; if ( user == null ) { return BOOL ; } String hashed Salted Password = Utilities . get Salted Pass...
public boolean authenticateUser ( String username , String password , String uri ) throws DataAccessException { if ( null == username || null == password ) { return _BOOL ; } UserInfo user = getUserInfo ( username ) ; if ( user == null ) { return _BOOL ; } String hashedSaltedPassword = Utilities . getSaltedPassword ( u...
91
java-test-8868
java
For what purpose did the hash value store ?
for password field
public boolean authenticate User ( String username , String password , String uri ) throws Data Access Exception { if ( null == username || null == password ) { return BOOL ; } User Info user = get User Info ( username ) ; if ( user == null ) { return BOOL ; } String hashed Salted Password = Utilities . get Salted Pass...
public boolean authenticateUser ( String username , String password , String uri ) throws DataAccessException { if ( null == username || null == password ) { return _BOOL ; } UserInfo user = getUserInfo ( username ) ; if ( user == null ) { return _BOOL ; } String hashedSaltedPassword = Utilities . getSaltedPassword ( u...
91
java-test-8869
java
For what purpose did the code call by velocity ?
to initialize the loader
public void init ( Extended Properties configuration ) { rsvc . info ( STRING ) ; Vector paths = configuration . get Vector ( STRING ) ; if ( paths == null || paths . size ( ) == NUM ) { paths = configuration . get Vector ( STRING ) ; if ( paths != null && paths . size ( ) > NUM ) { rsvc . warn ( STRING + STRING + STRI...
public void init ( ExtendedProperties configuration ) { rsvc . info ( STRING ) ; Vector paths = configuration . getVector ( STRING ) ; if ( paths == null || paths . size ( ) == _NUM ) { paths = configuration . getVector ( STRING ) ; if ( paths != null && paths . size ( ) > _NUM ) { rsvc . warn ( STRING + STRING + STRIN...
135
java-test-8870
java
How did the code call to initialize the loader ?
by velocity
public void init ( Extended Properties configuration ) { rsvc . info ( STRING ) ; Vector paths = configuration . get Vector ( STRING ) ; if ( paths == null || paths . size ( ) == NUM ) { paths = configuration . get Vector ( STRING ) ; if ( paths != null && paths . size ( ) > NUM ) { rsvc . warn ( STRING + STRING + STRI...
public void init ( ExtendedProperties configuration ) { rsvc . info ( STRING ) ; Vector paths = configuration . getVector ( STRING ) ; if ( paths == null || paths . size ( ) == _NUM ) { paths = configuration . getVector ( STRING ) ; if ( paths != null && paths . size ( ) > _NUM ) { rsvc . warn ( STRING + STRING + STRIN...
135
java-test-8871
java
What are we generating ?
a swaggermodel specifically for list
private String add List Model ( Hash Map < String , Swagger Model > models , Class < ? > model , String model Name ) { Swagger Model swagger Model = new Swagger Model ( ) ; swagger Model . set Id ( model Name ) ; swagger Model . set Name ( model Name ) ; Swagger Model Property model Property = new Swagger Model Propert...
private String addListModel ( HashMap < String , SwaggerModel > models , Class < ? > model , String modelName ) { SwaggerModel swaggerModel = new SwaggerModel ( ) ; swaggerModel . setId ( modelName ) ; swaggerModel . setName ( modelName ) ; SwaggerModelProperty modelProperty = new SwaggerModelProperty ( ) ; modelProper...
211
java-test-8872
java
For what purpose do class of list < model create at runtime ?
for " type erasure " reason
private String add List Model ( Hash Map < String , Swagger Model > models , Class < ? > model , String model Name ) { Swagger Model swagger Model = new Swagger Model ( ) ; swagger Model . set Id ( model Name ) ; swagger Model . set Name ( model Name ) ; Swagger Model Property model Property = new Swagger Model Propert...
private String addListModel ( HashMap < String , SwaggerModel > models , Class < ? > model , String modelName ) { SwaggerModel swaggerModel = new SwaggerModel ( ) ; swaggerModel . setId ( modelName ) ; swaggerModel . setName ( modelName ) ; SwaggerModelProperty modelProperty = new SwaggerModelProperty ( ) ; modelProper...
211
java-test-8873
java
What does the code add ?
an service for action processing
public Builder add Service ( Action Service service ) { if ( service == null ) { throw new Illegal Argument Exception ( STRING ) ; } if ( service . get Supported Annotation Type ( ) == null ) { throw new Illegal Argument Exception ( STRING ) ; } services . add ( service ) ; return this ; }
public Builder addService ( ActionService service ) { if ( service == null ) { throw new IllegalArgumentException ( STRING ) ; } if ( service . getSupportedAnnotationType ( ) == null ) { throw new IllegalArgumentException ( STRING ) ; } services . add ( service ) ; return this ; }
62
java-test-8874
java
What does the code adjust ?
the caret location based on the mouseevent
private void adjust Caret ( Mouse Event e ) { if ( ( e . get Modifiers ( ) & Action Event . SHIFT MASK ) != NUM && this . dot Info != null ) { move Caret ( e ) ; } else { position Caret ( e ) ; } }
private void adjustCaret ( MouseEvent e ) { if ( ( e . getModifiers ( ) & ActionEvent . SHIFT_MASK ) != _NUM && this . dotInfo != null ) { moveCaret ( e ) ; } else { positionCaret ( e ) ; } }
54
java-test-8875
java
When does the code find the virtual volume ?
after a device migration
private V Plex Virtual Volume Info find Virtual Volume After Device Migration ( String original Volume Name , V Plex Migration Info migration Info , List < V Plex Cluster Info > cluster Info List ) { V Plex Virtual Volume Info virtual Volume Info = null ; V Plex Api Discovery Manager discovery Mgr = vplex Api Client . ...
private VPlexVirtualVolumeInfo findVirtualVolumeAfterDeviceMigration ( String originalVolumeName , VPlexMigrationInfo migrationInfo , List < VPlexClusterInfo > clusterInfoList ) { VPlexVirtualVolumeInfo virtualVolumeInfo = null ; VPlexApiDiscoveryManager discoveryMgr = _vplexApiClient . getDiscoveryManager ( ) ; for ( ...
280
java-test-8876
java
How do construct copy ?
with ability to specify binary annotations and annotations
public Span ( Span span , List < Binary Annotation > binary Annotations , List < Annotation > annotations ) { this ( binary Annotations , annotations ) ; this . id = span . get Id ( ) ; this . trace Id = span . get Trace Id ( ) ; this . parent Id = span . get Parent Id ( ) ; this . timestamp = span . get Timestamp ( ) ...
public Span ( Span span , List < BinaryAnnotation > binaryAnnotations , List < Annotation > annotations ) { this ( binaryAnnotations , annotations ) ; this . id = span . getId ( ) ; this . traceId = span . getTraceId ( ) ; this . parentId = span . getParentId ( ) ; this . timestamp = span . getTimestamp ( ) ; this . du...
111
java-test-8877
java
For what purpose does a set < t push ?
for use by the map builder
public Joiner push Set ( String alias ) { if ( map Builder == null ) { map Builder = new Map Builder ( this ) ; } map Builder . add Term ( Map Builder Term Type . SET , lookup Alias ( alias ) , alias ) ; return this ; }
public Joiner pushSet ( String alias ) { if ( mapBuilder == null ) { mapBuilder = new MapBuilder ( this ) ; } mapBuilder . addTerm ( MapBuilderTermType . SET , lookupAlias ( alias ) , alias ) ; return this ; }
54
java-test-8878
java
What did the code parse into a int array ?
the comma separated string
public static int [ ] parse Int Array ( int [ ] dest , String value ) { String [ ] parts = value . split ( STRING ) ; if ( dest == null ) { dest = new int [ parts . length ] ; } for ( int i = NUM ; i < dest . length ; i ++ ) { dest [ i ] = Integer . parse Int ( parts [ i ] ) ; } return dest ; }
public static int [ ] parseIntArray ( int [ ] dest , String value ) { String [ ] parts = value . split ( STRING ) ; if ( dest == null ) { dest = new int [ parts . length ] ; } for ( int i = _NUM ; i < dest . length ; i ++ ) { dest [ i ] = Integer . parseInt ( parts [ i ] ) ; } return dest ; }
86
java-test-8885
java
What does the code return ?
the name of ruby class for the given typeref
public String ruby Type Name ( Type Ref type Ref ) { switch ( type Ref . get Kind ( ) ) { case TYPE MESSAGE : return ruby Type Name For Proto Element ( type Ref . get Message Type ( ) ) ; case TYPE ENUM : return ruby Type Name For Proto Element ( type Ref . get Enum Type ( ) ) ; default : { String name = PRIMITIVE TYPE...
public String rubyTypeName ( TypeRef typeRef ) { switch ( typeRef . getKind ( ) ) { case TYPE_MESSAGE : return rubyTypeNameForProtoElement ( typeRef . getMessageType ( ) ) ; case TYPE_ENUM : return rubyTypeNameForProtoElement ( typeRef . getEnumType ( ) ) ; default : { String name = PRIMITIVE_TYPE_NAMES . get ( typeRef...
126
java-test-8886
java
What did a column changed that have ?
a parsing error
private void check If Update ( int column Index ) { if ( ! old Duplicate Name Column . equals ( duplicate Name Column ) || ! old Duplicate Role Column . equals ( duplicate Role Column ) ) { Set < Integer > columns Update = new Hash Set < Integer > ( ) ; columns Update . add All ( old Duplicate Name Column ) ; columns U...
private void checkIfUpdate ( int columnIndex ) { if ( ! oldDuplicateNameColumn . equals ( duplicateNameColumn ) || ! oldDuplicateRoleColumn . equals ( duplicateRoleColumn ) ) { Set < Integer > columnsUpdate = new HashSet < Integer > ( ) ; columnsUpdate . addAll ( oldDuplicateNameColumn ) ; columnsUpdate . addAll ( dupl...
145
java-test-8887
java
What has a parsing error ?
a column changed that
private void check If Update ( int column Index ) { if ( ! old Duplicate Name Column . equals ( duplicate Name Column ) || ! old Duplicate Role Column . equals ( duplicate Role Column ) ) { Set < Integer > columns Update = new Hash Set < Integer > ( ) ; columns Update . add All ( old Duplicate Name Column ) ; columns U...
private void checkIfUpdate ( int columnIndex ) { if ( ! oldDuplicateNameColumn . equals ( duplicateNameColumn ) || ! oldDuplicateRoleColumn . equals ( duplicateRoleColumn ) ) { Set < Integer > columnsUpdate = new HashSet < Integer > ( ) ; columnsUpdate . addAll ( oldDuplicateNameColumn ) ; columnsUpdate . addAll ( dupl...
145
java-test-8888
java
What does the code add ?
some patterns where this variable is a relation relating the given roleplayer as the given roletype
private Stream < Multi Traversal > add Relates Pattern ( String start , String casting , Var Admin role Type , Var Admin role Player ) { String roletype Name = role Type . get Name ( ) ; String roleplayer Name = role Player . get Name ( ) ; return Stream . of ( Multi Traversal . create ( Fragment . create ( null , EDGE...
private Stream < MultiTraversal > addRelatesPattern ( String start , String casting , VarAdmin roleType , VarAdmin rolePlayer ) { String roletypeName = roleType . getName ( ) ; String roleplayerName = rolePlayer . getName ( ) ; return Stream . of ( MultiTraversal . create ( Fragment . create ( null , EDGE_BOUNDED , sta...
164
java-test-8889
java
What do a relation relate as the given roletype ?
the given roleplayer
private Stream < Multi Traversal > add Relates Pattern ( String start , String casting , Var Admin role Type , Var Admin role Player ) { String roletype Name = role Type . get Name ( ) ; String roleplayer Name = role Player . get Name ( ) ; return Stream . of ( Multi Traversal . create ( Fragment . create ( null , EDGE...
private Stream < MultiTraversal > addRelatesPattern ( String start , String casting , VarAdmin roleType , VarAdmin rolePlayer ) { String roletypeName = roleType . getName ( ) ; String roleplayerName = rolePlayer . getName ( ) ; return Stream . of ( MultiTraversal . create ( Fragment . create ( null , EDGE_BOUNDED , sta...
164
java-test-8890
java
For what purpose does the code retrieve a file ?
for path
public void retrieve File ( String path , Output Stream os , int limit ) throws IO Exception , Ftp Exception Can Not Have Data Connection , Ftp Exception Unknown Forced Data Close , Ftp Exception Control Closed By Forced Data Close { Socket socket = open Passive Data Connection ( FTP Command . RETR , path ) ; if ( sock...
public void retrieveFile ( String path , OutputStream os , int limit ) throws IOException , FtpExceptionCanNotHaveDataConnection , FtpExceptionUnknownForcedDataClose , FtpExceptionControlClosedByForcedDataClose { Socket socket = __openPassiveDataConnection ( FTPCommand . RETR , path ) ; if ( socket == null ) throw new ...
285
java-test-8894
java
What contains a profile ?
the given path or subdirectories
@ Suppress FB Warnings ( value = STRING , justification = STRING ) public static boolean contains Profile ( File path ) { if ( path . is Directory ( ) ) { if ( Profile . is Profile ( path ) ) { return BOOL ; } else { for ( File file : path . list Files ( ) ) { if ( Profile . contains Profile ( file ) ) { return BOOL ; ...
@ SuppressFBWarnings ( value = STRING , justification = STRING ) public static boolean containsProfile ( File path ) { if ( path . isDirectory ( ) ) { if ( Profile . isProfile ( path ) ) { return _BOOL ; } else { for ( File file : path . listFiles ( ) ) { if ( Profile . containsProfile ( file ) ) { return _BOOL ; } } }...
85
java-test-8895
java
Where be p_point located ?
in the inside of this octagon
public Collection < Pla Point Int Dist > nearest border projections ( Pla Point Int p point , int p max result points ) { Tree Set < Pla Point Int Dist > risul = new Tree Set < Pla Point Int Dist > ( ) ; if ( ! contains ( p point ) ) return risul ; if ( p max result points <= NUM ) return risul ; p max result points = ...
public Collection < PlaPointIntDist > nearest_border_projections ( PlaPointInt p_point , int p_max_result_points ) { TreeSet < PlaPointIntDist > risul = new TreeSet < PlaPointIntDist > ( ) ; if ( ! contains ( p_point ) ) return risul ; if ( p_max_result_points <= _NUM ) return risul ; p_max_result_points = Math . min (...
185
java-test-8896
java
What does the code calculate ?
the sorted p_max_result_points nearest points on the border of this octagon in the 45 - degree directions
public Collection < Pla Point Int Dist > nearest border projections ( Pla Point Int p point , int p max result points ) { Tree Set < Pla Point Int Dist > risul = new Tree Set < Pla Point Int Dist > ( ) ; if ( ! contains ( p point ) ) return risul ; if ( p max result points <= NUM ) return risul ; p max result points = ...
public Collection < PlaPointIntDist > nearest_border_projections ( PlaPointInt p_point , int p_max_result_points ) { TreeSet < PlaPointIntDist > risul = new TreeSet < PlaPointIntDist > ( ) ; if ( ! contains ( p_point ) ) return risul ; if ( p_max_result_points <= _NUM ) return risul ; p_max_result_points = Math . min (...
185
java-test-8897
java
How do an invoke for the given name emit ?
using the membername directly
void emit Static Invoke ( Member Name member , Name name ) { assert ( member . equals ( name . function . member ( ) ) ) ; Class < ? > defc = member . get Declaring Class ( ) ; String cname = get Internal Name ( defc ) ; String mname = member . get Name ( ) ; String mtype ; byte ref Kind = member . get Reference Kind (...
void emitStaticInvoke ( MemberName member , Name name ) { assert ( member . equals ( name . function . member ( ) ) ) ; Class < ? > defc = member . getDeclaringClass ( ) ; String cname = getInternalName ( defc ) ; String mname = member . getName ( ) ; String mtype ; byte refKind = member . getReferenceKind ( ) ; if ( r...
322
java-test-8898
java
What do inference applications need ?
accurate pseudolikelihood
public void learn ( double epsilon , int iter Limit ) { Proximal Gradient pg = new Proximal Gradient ( ) ; set Params ( new MGM Params ( pg . learn Back Track ( this , params . to Matrix 1 D ( ) , epsilon , iter Limit ) , p , lsum ) ) ; }
public void learn ( double epsilon , int iterLimit ) { ProximalGradient pg = new ProximalGradient ( ) ; setParams ( new MGMParams ( pg . learnBackTrack ( this , params . toMatrix1D ( ) , epsilon , iterLimit ) , p , lsum ) ) ; }
59
java-test-8899
java
What need accurate pseudolikelihood ?
inference applications
public void learn ( double epsilon , int iter Limit ) { Proximal Gradient pg = new Proximal Gradient ( ) ; set Params ( new MGM Params ( pg . learn Back Track ( this , params . to Matrix 1 D ( ) , epsilon , iter Limit ) , p , lsum ) ) ; }
public void learn ( double epsilon , int iterLimit ) { ProximalGradient pg = new ProximalGradient ( ) ; setParams ( new MGMParams ( pg . learnBackTrack ( this , params . toMatrix1D ( ) , epsilon , iterLimit ) , p , lsum ) ) ; }
59
java-test-8900
java
What do exception handling trigger ?
new exceptions
private void handle Possible Recursive Exception ( ) { if ( uncaught Exception Count > NUM && uncaught Exception Count <= VM . max System Trouble Recursion Depth + VM . max System Trouble Recursion Depth Before We Stop VM Sys Write ) { VM . sys Write ( STRING ) ; VM . sys Write ( uncaught Exception Count - NUM ) ; VM ....
private void handlePossibleRecursiveException ( ) { if ( uncaughtExceptionCount > _NUM && uncaughtExceptionCount <= VM . maxSystemTroubleRecursionDepth + VM . maxSystemTroubleRecursionDepthBeforeWeStopVMSysWrite ) { VM . sysWrite ( STRING ) ; VM . sysWrite ( uncaughtExceptionCount - _NUM ) ; VM . sysWrite ( STRING ) ; ...
151
java-test-8901
java
What is triggering new exceptions ?
exception handling
private void handle Possible Recursive Exception ( ) { if ( uncaught Exception Count > NUM && uncaught Exception Count <= VM . max System Trouble Recursion Depth + VM . max System Trouble Recursion Depth Before We Stop VM Sys Write ) { VM . sys Write ( STRING ) ; VM . sys Write ( uncaught Exception Count - NUM ) ; VM ....
private void handlePossibleRecursiveException ( ) { if ( uncaughtExceptionCount > _NUM && uncaughtExceptionCount <= VM . maxSystemTroubleRecursionDepth + VM . maxSystemTroubleRecursionDepthBeforeWeStopVMSysWrite ) { VM . sysWrite ( STRING ) ; VM . sysWrite ( uncaughtExceptionCount - _NUM ) ; VM . sysWrite ( STRING ) ; ...
151
java-test-8902
java
What does the code handle ?
the case of exception handling triggering new exceptions
private void handle Possible Recursive Exception ( ) { if ( uncaught Exception Count > NUM && uncaught Exception Count <= VM . max System Trouble Recursion Depth + VM . max System Trouble Recursion Depth Before We Stop VM Sys Write ) { VM . sys Write ( STRING ) ; VM . sys Write ( uncaught Exception Count - NUM ) ; VM ....
private void handlePossibleRecursiveException ( ) { if ( uncaughtExceptionCount > _NUM && uncaughtExceptionCount <= VM . maxSystemTroubleRecursionDepth + VM . maxSystemTroubleRecursionDepthBeforeWeStopVMSysWrite ) { VM . sysWrite ( STRING ) ; VM . sysWrite ( uncaughtExceptionCount - _NUM ) ; VM . sysWrite ( STRING ) ; ...
151
java-test-8903
java
Where did errors happen ?
in the thread
@ Override public void close ( ) throws IO Exception { if ( ! m Seen Eof ) { m Thread . interrupt ( ) ; try { m Thread . join ( ) ; } catch ( final Interrupted Exception e ) { throw new IO Exception ( STRING ) ; } finally { super . close ( ) ; } } check Exception ( ) ; }
@ Override public void close ( ) throws IOException { if ( ! mSeenEof ) { mThread . interrupt ( ) ; try { mThread . join ( ) ; } catch ( final InterruptedException e ) { throw new IOException ( STRING ) ; } finally { super . close ( ) ; } } checkException ( ) ; }
69
java-test-8904
java
When do a shield frame queue explicitly for sending ?
after the arduino exits the callback
public void queue Shield Frame ( Shield Frame frame ) { if ( frame == null ) throw new Null Pointer Exception ( STRING ) ; if ( ! is Connected ( ) ) { on Error ( One Sheeld Error . DEVICE NOT CONNECTED ) ; return ; } else if ( is Updating Firmware ( ) ) { on Error ( One Sheeld Error . FIRMWARE UPDATE IN PROGRESS ) ; re...
public void queueShieldFrame ( ShieldFrame frame ) { if ( frame == null ) throw new NullPointerException ( STRING ) ; if ( ! isConnected ( ) ) { onError ( OneSheeldError . DEVICE_NOT_CONNECTED ) ; return ; } else if ( isUpdatingFirmware ( ) ) { onError ( OneSheeldError . FIRMWARE_UPDATE_IN_PROGRESS ) ; return ; } queue...
90
java-test-8905
java
For what purpose do a shield frame queue explicitly after the arduino exits the callback ?
for sending
public void queue Shield Frame ( Shield Frame frame ) { if ( frame == null ) throw new Null Pointer Exception ( STRING ) ; if ( ! is Connected ( ) ) { on Error ( One Sheeld Error . DEVICE NOT CONNECTED ) ; return ; } else if ( is Updating Firmware ( ) ) { on Error ( One Sheeld Error . FIRMWARE UPDATE IN PROGRESS ) ; re...
public void queueShieldFrame ( ShieldFrame frame ) { if ( frame == null ) throw new NullPointerException ( STRING ) ; if ( ! isConnected ( ) ) { onError ( OneSheeldError . DEVICE_NOT_CONNECTED ) ; return ; } else if ( isUpdatingFirmware ( ) ) { onError ( OneSheeldError . FIRMWARE_UPDATE_IN_PROGRESS ) ; return ; } queue...
90
java-test-8906
java
What does the code unpin if the buffer ' s pin count becomes 0 , then the threads on the wait list are notified ?
the specified buffer
public void unpin ( Buffer buff ) { Block Id blk = buff . block ( ) ; Pinned Buffer pinned Buff = pinned Buffers . get ( blk ) ; if ( pinned Buff != null ) { pinned Buff . pinned Count -- ; if ( pinned Buff . pinned Count == NUM ) { buffer Pool . unpin ( buff ) ; pinned Buffers . remove ( blk ) ; synchronized ( buffer ...
public void unpin ( Buffer buff ) { BlockId blk = buff . block ( ) ; PinnedBuffer pinnedBuff = pinnedBuffers . get ( blk ) ; if ( pinnedBuff != null ) { pinnedBuff . pinnedCount -- ; if ( pinnedBuff . pinnedCount == _NUM ) { bufferPool . unpin ( buff ) ; pinnedBuffers . remove ( blk ) ; synchronized ( bufferPool ) { bu...
91
java-test-8907
java
What does the code delete ?
the entity specified
public void delete Entities ( String name , String protocol , String realm ) throws AM Console Exception { if ( protocol . equals ( IDFF ) ) { delete IDFF Entity ( name , realm ) ; } else if ( protocol . equals ( WSFED ) ) { delete WS Fed Entity ( name , realm ) ; } else { delete SAM Lv 2 Entity ( name , realm ) ; } }
public void deleteEntities ( String name , String protocol , String realm ) throws AMConsoleException { if ( protocol . equals ( IDFF ) ) { deleteIDFFEntity ( name , realm ) ; } else if ( protocol . equals ( WSFED ) ) { deleteWSFedEntity ( name , realm ) ; } else { deleteSAMLv2Entity ( name , realm ) ; } }
76
java-test-8908
java
What do the essential expressions have ?
side effects
void dce ( Method m ) { Deque < Block > code = dfs ( m . entry . to ) ; cp ( code ) ; Bit Set marked = new Bit Set ( ) ; for ( Block b : code ) for ( Expr e : b ) if ( has Side Effect ( e ) ) dce mark ( marked , e ) ; for ( Block b : code ) for ( Iterator < Expr > i = b . iterator ( ) ; i . has Next ( ) ; ) if ( ! mark...
void dce ( Method m ) { Deque < Block > code = dfs ( m . entry . to ) ; cp ( code ) ; BitSet marked = new BitSet ( ) ; for ( Block b : code ) for ( Expr e : b ) if ( hasSideEffect ( e ) ) dce_mark ( marked , e ) ; for ( Block b : code ) for ( Iterator < Expr > i = b . iterator ( ) ; i . hasNext ( ) ; ) if ( ! marked . ...
122
java-test-8909
java
What have side effects ?
the essential expressions
void dce ( Method m ) { Deque < Block > code = dfs ( m . entry . to ) ; cp ( code ) ; Bit Set marked = new Bit Set ( ) ; for ( Block b : code ) for ( Expr e : b ) if ( has Side Effect ( e ) ) dce mark ( marked , e ) ; for ( Block b : code ) for ( Iterator < Expr > i = b . iterator ( ) ; i . has Next ( ) ; ) if ( ! mark...
void dce ( Method m ) { Deque < Block > code = dfs ( m . entry . to ) ; cp ( code ) ; BitSet marked = new BitSet ( ) ; for ( Block b : code ) for ( Expr e : b ) if ( hasSideEffect ( e ) ) dce_mark ( marked , e ) ; for ( Block b : code ) for ( Iterator < Expr > i = b . iterator ( ) ; i . hasNext ( ) ; ) if ( ! marked . ...
122
java-test-8911
java
Where does range ring ?
on the given graphics
protected void paint Origin Label ( Point 2 D origin Pnt , Graphics graphics , Map Bean the Map ) { if ( the Map != null && origin Pnt != null ) { OM Text text = new OM Text ( origin Pnt . get Y ( ) , origin Pnt . get X ( ) , get Origin Label ( ) , OM Text . JUSTIFY CENTER ) ; text . set Baseline ( OM Text . BASELINE B...
protected void paintOriginLabel ( Point2D originPnt , Graphics graphics , MapBean theMap ) { if ( theMap != null && originPnt != null ) { OMText text = new OMText ( originPnt . getY ( ) , originPnt . getX ( ) , getOriginLabel ( ) , OMText . JUSTIFY_CENTER ) ; text . setBaseline ( OMText . BASELINE_BOTTOM ) ; text . put...
129
java-test-8914
java
What does the code find ?
all table names in the database
public static List < String > find All Table Names ( SQ Lite Database db ) { List < String > table Names = new Array List < String > ( ) ; Cursor cursor = null ; try { cursor = db . raw Query ( STRING , new String [ ] { STRING } ) ; if ( cursor . move To First ( ) ) { do { String table Name = cursor . get String ( curs...
public static List < String > findAllTableNames ( SQLiteDatabase db ) { List < String > tableNames = new ArrayList < String > ( ) ; Cursor cursor = null ; try { cursor = db . rawQuery ( STRING , new String [ ] { STRING } ) ; if ( cursor . moveToFirst ( ) ) { do { String tableName = cursor . getString ( cursor . getColu...
180
java-test-8915
java
What does the code try ?
to create the database using a static create ( ) method
private E create Using Static Create Method ( ) throws Checked Analysis Exception { Method create Method ; try { create Method = database Class . get Method ( STRING , new Class [ NUM ] ) ; } catch ( No Such Method Exception e ) { return null ; } if ( ! Modifier . is Static ( create Method . get Modifiers ( ) ) ) { ret...
private E createUsingStaticCreateMethod ( ) throws CheckedAnalysisException { Method createMethod ; try { createMethod = databaseClass . getMethod ( STRING , new Class [ _NUM ] ) ; } catch ( NoSuchMethodException e ) { return null ; } if ( ! Modifier . isStatic ( createMethod . getModifiers ( ) ) ) { return null ; } if...
174
java-test-8916
java
What does the code use ?
a static create ( ) method
private E create Using Static Create Method ( ) throws Checked Analysis Exception { Method create Method ; try { create Method = database Class . get Method ( STRING , new Class [ NUM ] ) ; } catch ( No Such Method Exception e ) { return null ; } if ( ! Modifier . is Static ( create Method . get Modifiers ( ) ) ) { ret...
private E createUsingStaticCreateMethod ( ) throws CheckedAnalysisException { Method createMethod ; try { createMethod = databaseClass . getMethod ( STRING , new Class [ _NUM ] ) ; } catch ( NoSuchMethodException e ) { return null ; } if ( ! Modifier . isStatic ( createMethod . getModifiers ( ) ) ) { return null ; } if...
174
java-test-8917
java
How does the code create the database ?
using a static create ( ) method
private E create Using Static Create Method ( ) throws Checked Analysis Exception { Method create Method ; try { create Method = database Class . get Method ( STRING , new Class [ NUM ] ) ; } catch ( No Such Method Exception e ) { return null ; } if ( ! Modifier . is Static ( create Method . get Modifiers ( ) ) ) { ret...
private E createUsingStaticCreateMethod ( ) throws CheckedAnalysisException { Method createMethod ; try { createMethod = databaseClass . getMethod ( STRING , new Class [ _NUM ] ) ; } catch ( NoSuchMethodException e ) { return null ; } if ( ! Modifier . isStatic ( createMethod . getModifiers ( ) ) ) { return null ; } if...
174
java-test-8918
java
For what purpose did the main method call ?
for each request that this filter is mapped for
public void do Filter ( final Servlet Request request , final Servlet Response response , final Filter Chain chain ) throws IO Exception , Servlet Exception { Url Rewriter url Rewriter = get Url Rewriter ( request , response , chain ) ; final Http Servlet Request hs Request = ( Http Servlet Request ) request ; final Ht...
public void doFilter ( final ServletRequest request , final ServletResponse response , final FilterChain chain ) throws IOException , ServletException { UrlRewriter urlRewriter = getUrlRewriter ( request , response , chain ) ; final HttpServletRequest hsRequest = ( HttpServletRequest ) request ; final HttpServletRespon...
280
java-test-8919
java
What will this method select if the search result indicates the variant where the file is in the android model ?
such variant
private void add Result And Populate Project ( @ Not Null Module Search Result result , @ Not Null Data Node < Project Data > project Info , @ Not Null List < Data Node < Module Data > > selected Modules , @ Not Null File file ) { Data Node < Module Data > module Node = result . module Node ; String module Name = get N...
private void addResultAndPopulateProject ( @ NotNull ModuleSearchResult result , @ NotNull DataNode < ProjectData > projectInfo , @ NotNull List < DataNode < ModuleData > > selectedModules , @ NotNull File file ) { DataNode < ModuleData > moduleNode = result . moduleNode ; String moduleName = getNameOf ( moduleNode ) ;...
263
java-test-8920
java
What does the code add to the ide ?
the module in the given search results
private void add Result And Populate Project ( @ Not Null Module Search Result result , @ Not Null Data Node < Project Data > project Info , @ Not Null List < Data Node < Module Data > > selected Modules , @ Not Null File file ) { Data Node < Module Data > module Node = result . module Node ; String module Name = get N...
private void addResultAndPopulateProject ( @ NotNull ModuleSearchResult result , @ NotNull DataNode < ProjectData > projectInfo , @ NotNull List < DataNode < ModuleData > > selectedModules , @ NotNull File file ) { DataNode < ModuleData > moduleNode = result . moduleNode ; String moduleName = getNameOf ( moduleNode ) ;...
263
java-test-8921
java
Where will this method select such variant if the search result indicates the variant where the file is ?
in the android model
private void add Result And Populate Project ( @ Not Null Module Search Result result , @ Not Null Data Node < Project Data > project Info , @ Not Null List < Data Node < Module Data > > selected Modules , @ Not Null File file ) { Data Node < Module Data > module Node = result . module Node ; String module Name = get N...
private void addResultAndPopulateProject ( @ NotNull ModuleSearchResult result , @ NotNull DataNode < ProjectData > projectInfo , @ NotNull List < DataNode < ModuleData > > selectedModules , @ NotNull File file ) { DataNode < ModuleData > moduleNode = result . moduleNode ; String moduleName = getNameOf ( moduleNode ) ;...
263
java-test-8922
java
What does the search result indicate ?
the variant where the file is
private void add Result And Populate Project ( @ Not Null Module Search Result result , @ Not Null Data Node < Project Data > project Info , @ Not Null List < Data Node < Module Data > > selected Modules , @ Not Null File file ) { Data Node < Module Data > module Node = result . module Node ; String module Name = get N...
private void addResultAndPopulateProject ( @ NotNull ModuleSearchResult result , @ NotNull DataNode < ProjectData > projectInfo , @ NotNull List < DataNode < ModuleData > > selectedModules , @ NotNull File file ) { DataNode < ModuleData > moduleNode = result . moduleNode ; String moduleName = getNameOf ( moduleNode ) ;...
263
java-test-8923
java
What does the code ensure ?
the given row is visible
public void ensure Row Visible ( int row ) { if ( row != - NUM ) { Rectangle cell Rect = get Cell Rect ( row , NUM , BOOL ) ; Rectangle visible Rect = get Visible Rect ( ) ; if ( ! visible Rect . intersects ( cell Rect ) ) scroll Rect To Visible ( cell Rect ) ; } }
public void ensureRowVisible ( int row ) { if ( row != - _NUM ) { Rectangle cellRect = getCellRect ( row , _NUM , _BOOL ) ; Rectangle visibleRect = getVisibleRect ( ) ; if ( ! visibleRect . intersects ( cellRect ) ) scrollRectToVisible ( cellRect ) ; } }
66
java-test-8924
java
What is the greatest bcindex has still ?
the same inscope exception handlers
private int exception End Range ( int bc Index ) { int max = bcodes . length ( ) ; if ( start P Cs != null ) { for ( int spc : start P Cs ) { if ( bc Index < spc && max > spc ) { max = spc ; } } for ( int epc : end P Cs ) { if ( bc Index < epc && max > epc ) { max = epc ; } } } return max ; }
private int exceptionEndRange ( int bcIndex ) { int max = bcodes . length ( ) ; if ( startPCs != null ) { for ( int spc : startPCs ) { if ( bcIndex < spc && max > spc ) { max = spc ; } } for ( int epc : endPCs ) { if ( bcIndex < epc && max > epc ) { max = epc ; } } } return max ; }
90
java-test-8925
java
What is has the same inscope exception handlers still ?
the greatest bcindex
private int exception End Range ( int bc Index ) { int max = bcodes . length ( ) ; if ( start P Cs != null ) { for ( int spc : start P Cs ) { if ( bc Index < spc && max > spc ) { max = spc ; } } for ( int epc : end P Cs ) { if ( bc Index < epc && max > epc ) { max = epc ; } } } return max ; }
private int exceptionEndRange ( int bcIndex ) { int max = bcodes . length ( ) ; if ( startPCs != null ) { for ( int spc : startPCs ) { if ( bcIndex < spc && max > spc ) { max = spc ; } } for ( int epc : endPCs ) { if ( bcIndex < epc && max > epc ) { max = epc ; } } } return max ; }
90
java-test-8926
java
Where did the bytes align ?
on word boundaries
public static void do Swap ( Byte Buffer b Buf ) { b Buf . rewind ( ) ; int n = b Buf . limit ( ) ; for ( int i = NUM ; i < n ; i += NUM ) { byte b = b Buf . get ( i ) ; b Buf . put ( i , b Buf . get ( i + NUM ) ) ; b Buf . put ( i + NUM , b ) ; b = b Buf . get ( i + NUM ) ; b Buf . put ( i + NUM , b Buf . get ( i + NU...
public static void doSwap ( ByteBuffer bBuf ) { bBuf . rewind ( ) ; int n = bBuf . limit ( ) ; for ( int i = _NUM ; i < n ; i += _NUM ) { byte b = bBuf . get ( i ) ; bBuf . put ( i , bBuf . get ( i + _NUM ) ) ; bBuf . put ( i + _NUM , b ) ; b = bBuf . get ( i + _NUM ) ; bBuf . put ( i + _NUM , bBuf . get ( i + _NUM ) )...
132
java-test-8927
java
What exposed whatever type ?
the array type
private void add Exposed Types ( Generic Array Type type , Class < ? > cause ) { if ( done ( type ) ) { return ; } visit ( type ) ; logger . debug ( STRING , type . get Generic Component Type ( ) , type ) ; add Exposed Types ( type . get Generic Component Type ( ) , cause ) ; }
private void addExposedTypes ( GenericArrayType type , Class < ? > cause ) { if ( done ( type ) ) { return ; } visit ( type ) ; logger . debug ( STRING , type . getGenericComponentType ( ) , type ) ; addExposedTypes ( type . getGenericComponentType ( ) , cause ) ; }
69
java-test-8928
java
What did the array type expose ?
whatever type
private void add Exposed Types ( Generic Array Type type , Class < ? > cause ) { if ( done ( type ) ) { return ; } visit ( type ) ; logger . debug ( STRING , type . get Generic Component Type ( ) , type ) ; add Exposed Types ( type . get Generic Component Type ( ) , cause ) ; }
private void addExposedTypes ( GenericArrayType type , Class < ? > cause ) { if ( done ( type ) ) { return ; } visit ( type ) ; logger . debug ( STRING , type . getGenericComponentType ( ) , type ) ; addExposedTypes ( type . getGenericComponentType ( ) , cause ) ; }
69
java-test-8929
java
When did it return the index where the table is located for future reads ?
once the table is written
private int load Table ( long uuid ) throws IO Exception { int buffer Index = - NUM ; Set < Long > uuids = null ; int block Index = blocks . size ( ) - NUM ; Table Block last Block = blocks . get ( block Index ) ; while ( buffer Index == - NUM ) { Pair < Integer , Set < Long > > buffer Index And Uuuids = last Block . w...
private int loadTable ( long uuid ) throws IOException { int bufferIndex = - _NUM ; Set < Long > uuids = null ; int blockIndex = _blocks . size ( ) - _NUM ; TableBlock lastBlock = _blocks . get ( blockIndex ) ; while ( bufferIndex == - _NUM ) { Pair < Integer , Set < Long > > bufferIndexAndUuuids = lastBlock . writeTab...
183
java-test-8930
java
What did it return once the table is written ?
the index where the table is located for future reads
private int load Table ( long uuid ) throws IO Exception { int buffer Index = - NUM ; Set < Long > uuids = null ; int block Index = blocks . size ( ) - NUM ; Table Block last Block = blocks . get ( block Index ) ; while ( buffer Index == - NUM ) { Pair < Integer , Set < Long > > buffer Index And Uuuids = last Block . w...
private int loadTable ( long uuid ) throws IOException { int bufferIndex = - _NUM ; Set < Long > uuids = null ; int blockIndex = _blocks . size ( ) - _NUM ; TableBlock lastBlock = _blocks . get ( blockIndex ) ; while ( bufferIndex == - _NUM ) { Pair < Integer , Set < Long > > bufferIndexAndUuuids = lastBlock . writeTab...
183
java-test-8933
java
For what purpose do html create ?
for some text and a popup
public String html tooltip ( String short txt , String popup txt ) { String out = STRING ; if ( jquery ) { out = String . format ( STRING , popup txt , short txt ) ; } else if ( jquery Mobile ) { String popup = String . format ( STRING + STRING + STRING , popup Id , popup txt ) ; String txt = String . format ( STRING ,...
public String html_tooltip ( String short_txt , String popup_txt ) { String out = STRING ; if ( jquery ) { out = String . format ( STRING , popup_txt , short_txt ) ; } else if ( jqueryMobile ) { String popup = String . format ( STRING + STRING + STRING , popupId , popup_txt ) ; String txt = String . format ( STRING , p...
95
java-test-8935
java
What did that alter ?
guest language execution semantics
@ Truffle Boundary static void exception Event For Client Instrument ( Event Binding < ? > b , String event Name , Throwable t ) { assert ! b . is Language Binding ( ) ; if ( t instanceof Thread Death ) { throw ( Thread Death ) t ; } Instrument Client Instrumenter instrumenter = ( Instrument Client Instrumenter ) b . g...
@ TruffleBoundary static void exceptionEventForClientInstrument ( EventBinding < ? > b , String eventName , Throwable t ) { assert ! b . isLanguageBinding ( ) ; if ( t instanceof ThreadDeath ) { throw ( ThreadDeath ) t ; } InstrumentClientInstrumenter instrumenter = ( InstrumentClientInstrumenter ) b . getInstrumenter ...
153
java-test-8936
java
What does normal response be ?
to log and continue
@ Truffle Boundary static void exception Event For Client Instrument ( Event Binding < ? > b , String event Name , Throwable t ) { assert ! b . is Language Binding ( ) ; if ( t instanceof Thread Death ) { throw ( Thread Death ) t ; } Instrument Client Instrumenter instrumenter = ( Instrument Client Instrumenter ) b . g...
@ TruffleBoundary static void exceptionEventForClientInstrument ( EventBinding < ? > b , String eventName , Throwable t ) { assert ! b . isLanguageBinding ( ) ; if ( t instanceof ThreadDeath ) { throw ( ThreadDeath ) t ; } InstrumentClientInstrumenter instrumenter = ( InstrumentClientInstrumenter ) b . getInstrumenter ...
153
java-test-8937
java
What is to log and continue ?
normal response
@ Truffle Boundary static void exception Event For Client Instrument ( Event Binding < ? > b , String event Name , Throwable t ) { assert ! b . is Language Binding ( ) ; if ( t instanceof Thread Death ) { throw ( Thread Death ) t ; } Instrument Client Instrumenter instrumenter = ( Instrument Client Instrumenter ) b . g...
@ TruffleBoundary static void exceptionEventForClientInstrument ( EventBinding < ? > b , String eventName , Throwable t ) { assert ! b . isLanguageBinding ( ) ; if ( t instanceof ThreadDeath ) { throw ( ThreadDeath ) t ; } InstrumentClientInstrumenter instrumenter = ( InstrumentClientInstrumenter ) b . getInstrumenter ...
153
java-test-8938
java
What do we send in this test case ?
pre - recorded stream of pinch out gesture
public void test Multitouch Events ( ) throws Interrupted Exception { generate Recorded Pinch Touch Events ( ) ; wait For Bridge And UI Idle ( ) ; List < String > calls = m Recording Module . get Calls ( ) ; int move With Both Pointers Event Index = - NUM ; int start Event Index = - NUM ; int start Extra Pointer Event ...
public void testMultitouchEvents ( ) throws InterruptedException { generateRecordedPinchTouchEvents ( ) ; waitForBridgeAndUIIdle ( ) ; List < String > calls = mRecordingModule . getCalls ( ) ; int moveWithBothPointersEventIndex = - _NUM ; int startEventIndex = - _NUM ; int startExtraPointerEventIndex = - _NUM ; int end...
365
java-test-8939
java
What do we verify in this test case ?
that we have recorded important touch events in js module
public void test Multitouch Events ( ) throws Interrupted Exception { generate Recorded Pinch Touch Events ( ) ; wait For Bridge And UI Idle ( ) ; List < String > calls = m Recording Module . get Calls ( ) ; int move With Both Pointers Event Index = - NUM ; int start Event Index = - NUM ; int start Extra Pointer Event ...
public void testMultitouchEvents ( ) throws InterruptedException { generateRecordedPinchTouchEvents ( ) ; waitForBridgeAndUIIdle ( ) ; List < String > calls = mRecordingModule . getCalls ( ) ; int moveWithBothPointersEventIndex = - _NUM ; int startEventIndex = - _NUM ; int startExtraPointerEventIndex = - _NUM ; int end...
365
java-test-8940
java
What have we recorded in js module ?
important touch events
public void test Multitouch Events ( ) throws Interrupted Exception { generate Recorded Pinch Touch Events ( ) ; wait For Bridge And UI Idle ( ) ; List < String > calls = m Recording Module . get Calls ( ) ; int move With Both Pointers Event Index = - NUM ; int start Event Index = - NUM ; int start Extra Pointer Event ...
public void testMultitouchEvents ( ) throws InterruptedException { generateRecordedPinchTouchEvents ( ) ; waitForBridgeAndUIIdle ( ) ; List < String > calls = mRecordingModule . getCalls ( ) ; int moveWithBothPointersEventIndex = - _NUM ; int startEventIndex = - _NUM ; int startExtraPointerEventIndex = - _NUM ; int end...
365
java-test-8941
java
When have we recorded important touch events ?
in js module
public void test Multitouch Events ( ) throws Interrupted Exception { generate Recorded Pinch Touch Events ( ) ; wait For Bridge And UI Idle ( ) ; List < String > calls = m Recording Module . get Calls ( ) ; int move With Both Pointers Event Index = - NUM ; int start Event Index = - NUM ; int start Extra Pointer Event ...
public void testMultitouchEvents ( ) throws InterruptedException { generateRecordedPinchTouchEvents ( ) ; waitForBridgeAndUIIdle ( ) ; List < String > calls = mRecordingModule . getCalls ( ) ; int moveWithBothPointersEventIndex = - _NUM ; int startEventIndex = - _NUM ; int startExtraPointerEventIndex = - _NUM ; int end...
365
java-test-8942
java
What do a string describe ?
this armor value
private static String format Armor ( int points ) { if ( ( points == I Armor State . ARMOR DOOMED ) || ( points == I Armor State . ARMOR DESTROYED ) ) { return STRING ; } if ( points == I Armor State . ARMOR NA ) { return STRING ; } return String . value Of ( points ) ; }
private static String formatArmor ( int points ) { if ( ( points == IArmorState . ARMOR_DOOMED ) || ( points == IArmorState . ARMOR_DESTROYED ) ) { return STRING ; } if ( points == IArmorState . ARMOR_NA ) { return STRING ; } return String . valueOf ( points ) ; }
65
java-test-8943
java
What does the code produce ?
a string describing this armor value
private static String format Armor ( int points ) { if ( ( points == I Armor State . ARMOR DOOMED ) || ( points == I Armor State . ARMOR DESTROYED ) ) { return STRING ; } if ( points == I Armor State . ARMOR NA ) { return STRING ; } return String . value Of ( points ) ; }
private static String formatArmor ( int points ) { if ( ( points == IArmorState . ARMOR_DOOMED ) || ( points == IArmorState . ARMOR_DESTROYED ) ) { return STRING ; } if ( points == IArmorState . ARMOR_NA ) { return STRING ; } return String . valueOf ( points ) ; }
65
java-test-8944
java
What does the code write ?
the header to the output
public void generate Header ( Writer out ) throws java . io . IO Exception { out . write ( STRING ) ; if ( title != null ) { out . write ( STRING ) ; out . write ( title ) ; out . write ( STRING ) ; } if ( base != null ) { out . write ( STRING + STRING ) ; } out . write ( STRING ) ; }
public void generateHeader ( Writer out ) throws java . io . IOException { out . write ( STRING ) ; if ( title != null ) { out . write ( STRING ) ; out . write ( title ) ; out . write ( STRING ) ; } if ( base != null ) { out . write ( STRING + STRING ) ; } out . write ( STRING ) ; }
77
java-test-8945
java
What presents the popup menu if the event is if the event is ?
the popup trigger
public void mouse Released ( Mouse Event e ) { if ( log . is Debug Enabled ( ) ) { log . debug ( STRING + ( e . get Modifiers ( ) & Mouse Event . BUTTON 1 MASK ) + STRING + e . is Popup Trigger ( ) + STRING + ( e . get Modifiers ( ) & ( Mouse Event . ALT MASK + Mouse Event . META MASK + Mouse Event . CTRL MASK ) ) ) ; ...
public void mouseReleased ( MouseEvent e ) { if ( log . isDebugEnabled ( ) ) { log . debug ( STRING + ( e . getModifiers ( ) & MouseEvent . BUTTON1_MASK ) + STRING + e . isPopupTrigger ( ) + STRING + ( e . getModifiers ( ) & ( MouseEvent . ALT_MASK + MouseEvent . META_MASK + MouseEvent . CTRL_MASK ) ) ) ; } JToggleButt...
241
java-test-8946
java
What does it send to the user if username , password , realname , email and reason is not null ?
a validation email
public synchronized boolean request Account ( Request Data data ) throws J Plag Exception { if ( data . get Real Name ( ) == null && data . get Email ( ) == null && data . get Email Second ( ) == null && data . get Homepage ( ) == null && data . get Reason ( ) == null && data . get Notes ( ) == null ) { if ( data . get...
public synchronized boolean requestAccount ( RequestData data ) throws JPlagException { if ( data . getRealName ( ) == null && data . getEmail ( ) == null && data . getEmailSecond ( ) == null && data . getHomepage ( ) == null && data . getReason ( ) == null && data . getNotes ( ) == null ) { if ( data . getPassword ( )...
451
java-test-8947
java
What does the code return ?
a name identifier
public static String create Name Identifier ( ) { String handle = null ; try { byte [ ] handle Bytes = new byte [ NUM ] ; random Generator . next Bytes ( handle Bytes ) ; handle = Base 64 . encode ( handle Bytes ) ; if ( debug . message Enabled ( ) ) { debug . message ( STRING + handle ) ; } } catch ( Exception e ) { d...
public static String createNameIdentifier ( ) { String handle = null ; try { byte [ ] handleBytes = new byte [ _NUM ] ; randomGenerator . nextBytes ( handleBytes ) ; handle = Base64 . encode ( handleBytes ) ; if ( debug . messageEnabled ( ) ) { debug . message ( STRING + handle ) ; } } catch ( Exception e ) { debug . m...
97
java-test-8949
java
When did the code call ?
when an item of options menu is clicked
@ Override public boolean on Options Item Selected ( Menu Item item ) { switch ( item . get Item Id ( ) ) { case MENU SETTINGS ID : start Activity ( new Intent ( this , Activity Settings . class ) ) ; return BOOL ; case MENU ABOUT ID : show About ( ) ; return BOOL ; } return super . on Options Item Selected ( item ) ; ...
@ Override public boolean onOptionsItemSelected ( MenuItem item ) { switch ( item . getItemId ( ) ) { case MENU_SETTINGS_ID : startActivity ( new Intent ( this , ActivitySettings . class ) ) ; return _BOOL ; case MENU_ABOUT_ID : showAbout ( ) ; return _BOOL ; } return super . onOptionsItemSelected ( item ) ; }
74
java-test-8951
java
Where did the bundles define ?
in the extensions
private static void load Extension Bundles ( Config Server Impl cs , Config Impl config , Document doc , Log log ) { Element parent = get Child By Name ( doc . get Document Element ( ) , STRING ) ; Element [ ] children = get Children ( parent , STRING ) ; String str Bundles ; Map < String , Bundle Definition > extensio...
private static void loadExtensionBundles ( ConfigServerImpl cs , ConfigImpl config , Document doc , Log log ) { Element parent = getChildByName ( doc . getDocumentElement ( ) , STRING ) ; Element [ ] children = getChildren ( parent , STRING ) ; String strBundles ; Map < String , BundleDefinition > extensionBundles = ne...
337
java-test-8952
java
What defined in the extensions ?
the bundles
private static void load Extension Bundles ( Config Server Impl cs , Config Impl config , Document doc , Log log ) { Element parent = get Child By Name ( doc . get Document Element ( ) , STRING ) ; Element [ ] children = get Children ( parent , STRING ) ; String str Bundles ; Map < String , Bundle Definition > extensio...
private static void loadExtensionBundles ( ConfigServerImpl cs , ConfigImpl config , Document doc , Log log ) { Element parent = getChildByName ( doc . getDocumentElement ( ) , STRING ) ; Element [ ] children = getChildren ( parent , STRING ) ; String strBundles ; Map < String , BundleDefinition > extensionBundles = ne...
337
java-test-8953
java
What does the code load ?
the bundles defined in the extensions
private static void load Extension Bundles ( Config Server Impl cs , Config Impl config , Document doc , Log log ) { Element parent = get Child By Name ( doc . get Document Element ( ) , STRING ) ; Element [ ] children = get Children ( parent , STRING ) ; String str Bundles ; Map < String , Bundle Definition > extensio...
private static void loadExtensionBundles ( ConfigServerImpl cs , ConfigImpl config , Document doc , Log log ) { Element parent = getChildByName ( doc . getDocumentElement ( ) , STRING ) ; Element [ ] children = getChildren ( parent , STRING ) ; String strBundles ; Map < String , BundleDefinition > extensionBundles = ne...
337
java-test-8954
java
Where does lines size ?
for the other lines
public static String [ ] word Wrap ( String str , int first Line Size , int non First Line Size ) { String [ ] lines = word Wrap ( str , first Line Size ) ; if ( lines . length > NUM && first Line Size != non First Line Size ) { String not First Lines String = String Utils . join ( lines , STRING , NUM , lines . length...
public static String [ ] wordWrap ( String str , int firstLineSize , int nonFirstLineSize ) { String [ ] lines = wordWrap ( str , firstLineSize ) ; if ( lines . length > _NUM && firstLineSize != nonFirstLineSize ) { String notFirstLinesString = StringUtils . join ( lines , STRING , _NUM , lines . length ) ; String [ ] ...
174
java-test-8955
java
What is different than the lines sizes for the other lines a string ?
the line size for the first line
public static String [ ] word Wrap ( String str , int first Line Size , int non First Line Size ) { String [ ] lines = word Wrap ( str , first Line Size ) ; if ( lines . length > NUM && first Line Size != non First Line Size ) { String not First Lines String = String Utils . join ( lines , STRING , NUM , lines . length...
public static String [ ] wordWrap ( String str , int firstLineSize , int nonFirstLineSize ) { String [ ] lines = wordWrap ( str , firstLineSize ) ; if ( lines . length > _NUM && firstLineSize != nonFirstLineSize ) { String notFirstLinesString = StringUtils . join ( lines , STRING , _NUM , lines . length ) ; String [ ] ...
174
java-test-8956
java
What does the code add to every participating vm ?
the data region
@ Suppress Warnings ( STRING ) private void create Data Regions ( ) { Host host = Host . get Host ( NUM ) ; int number Of Vms = host . get VM Count ( ) ; for ( int i = NUM ; i < number Of Vms ; ++ i ) { open Cache ( host . get VM ( i ) ) ; } }
@ SuppressWarnings ( STRING ) private void createDataRegions ( ) { Host host = Host . getHost ( _NUM ) ; int numberOfVms = host . getVMCount ( ) ; for ( int i = _NUM ; i < numberOfVms ; ++ i ) { openCache ( host . getVM ( i ) ) ; } }
69
java-test-8957
java
What does it not contain ?
any resource types
private boolean application Eligible For Upgrade ( String realm , String app Name , Map < String , Set < String > > app Data ) { if ( ROOT REALM . equals ( realm ) ) { return ! default Application Names . contains ( app Name ) && ! is Not Empty ( app Data . get ( CONFIG RESOURCE TYPE UUIDS ) ) ; } else { return ! is No...
private boolean applicationEligibleForUpgrade ( String realm , String appName , Map < String , Set < String > > appData ) { if ( ROOT_REALM . equals ( realm ) ) { return ! defaultApplicationNames . contains ( appName ) && ! isNotEmpty ( appData . get ( CONFIG_RESOURCE_TYPE_UUIDS ) ) ; } else { return ! isNotEmpty ( app...
90
java-test-8958
java
What does the code build ?
the actual fp - tree structure
private FP Tree build FP Tree ( final Relation < Bit Vector > relation , int [ ] iidx , final int items ) { FP Tree tree = new FP Tree ( items ) ; Finite Progress prog = LOG . is Verbose ( ) ? new Finite Progress ( STRING , relation . size ( ) , LOG ) : null ; int [ ] buf = new int [ items ] ; for ( DBID Iter iditer = ...
private FPTree buildFPTree ( final Relation < BitVector > relation , int [ ] iidx , final int items ) { FPTree tree = new FPTree ( items ) ; FiniteProgress prog = LOG . isVerbose ( ) ? new FiniteProgress ( STRING , relation . size ( ) , LOG ) : null ; int [ ] buf = new int [ items ] ; for ( DBIDIter iditer = relation ....
238
java-test-8959
java
What does the charts have in this theme ?
a black background
public static Chart Theme create Darkness Theme ( ) { Standard Chart Theme theme = new Standard Chart Theme ( STRING ) ; theme . title Paint = Color . white ; theme . subtitle Paint = Color . white ; theme . legend Background Paint = Color . black ; theme . legend Item Paint = Color . white ; theme . chart Background P...
public static ChartTheme createDarknessTheme ( ) { StandardChartTheme theme = new StandardChartTheme ( STRING ) ; theme . titlePaint = Color . white ; theme . subtitlePaint = Color . white ; theme . legendBackgroundPaint = Color . black ; theme . legendItemPaint = Color . white ; theme . chartBackgroundPaint = Color . ...
377
java-test-8960
java
Where does the charts have a black background ?
in this theme
public static Chart Theme create Darkness Theme ( ) { Standard Chart Theme theme = new Standard Chart Theme ( STRING ) ; theme . title Paint = Color . white ; theme . subtitle Paint = Color . white ; theme . legend Background Paint = Color . black ; theme . legend Item Paint = Color . white ; theme . chart Background P...
public static ChartTheme createDarknessTheme ( ) { StandardChartTheme theme = new StandardChartTheme ( STRING ) ; theme . titlePaint = Color . white ; theme . subtitlePaint = Color . white ; theme . legendBackgroundPaint = Color . black ; theme . legendItemPaint = Color . white ; theme . chartBackgroundPaint = Color . ...
377
java-test-8961
java
What have a black background in this theme ?
the charts
public static Chart Theme create Darkness Theme ( ) { Standard Chart Theme theme = new Standard Chart Theme ( STRING ) ; theme . title Paint = Color . white ; theme . subtitle Paint = Color . white ; theme . legend Background Paint = Color . black ; theme . legend Item Paint = Color . white ; theme . chart Background P...
public static ChartTheme createDarknessTheme ( ) { StandardChartTheme theme = new StandardChartTheme ( STRING ) ; theme . titlePaint = Color . white ; theme . subtitlePaint = Color . white ; theme . legendBackgroundPaint = Color . black ; theme . legendItemPaint = Color . white ; theme . chartBackgroundPaint = Color . ...
377