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-2909
java
What would force a psr ?
damage
public Piloting Roll Data check Landing With Damage ( Entity Movement Type overall Move Type ) { Piloting Roll Data roll = get Base Piloting Roll ( overall Move Type ) ; if ( ( ( get Bad Criticals ( Critical Slot . TYPE SYSTEM , Mech . SYSTEM GYRO , Mech . LOC CT ) > NUM ) && ( get Gyro Type ( ) != Mech . GYRO HEAVY DU...
public PilotingRollData checkLandingWithDamage ( EntityMovementType overallMoveType ) { PilotingRollData roll = getBasePilotingRoll ( overallMoveType ) ; if ( ( ( getBadCriticals ( CriticalSlot . TYPE_SYSTEM , Mech . SYSTEM_GYRO , Mech . LOC_CT ) > _NUM ) && ( getGyroType ( ) != Mech . GYRO_HEAVY_DUTY ) ) || ( ( getBad...
177
java-test-2910
java
In which direction is the entity landing with damage that ?
from a jump )
public Piloting Roll Data check Landing With Damage ( Entity Movement Type overall Move Type ) { Piloting Roll Data roll = get Base Piloting Roll ( overall Move Type ) ; if ( ( ( get Bad Criticals ( Critical Slot . TYPE SYSTEM , Mech . SYSTEM GYRO , Mech . LOC CT ) > NUM ) && ( get Gyro Type ( ) != Mech . GYRO HEAVY DU...
public PilotingRollData checkLandingWithDamage ( EntityMovementType overallMoveType ) { PilotingRollData roll = getBasePilotingRoll ( overallMoveType ) ; if ( ( ( getBadCriticals ( CriticalSlot . TYPE_SYSTEM , Mech . SYSTEM_GYRO , Mech . LOC_CT ) > _NUM ) && ( getGyroType ( ) != Mech . GYRO_HEAVY_DUTY ) ) || ( ( getBad...
177
java-test-2912
java
How does the code run the given script ?
with command line arguments
public Object run ( final Reader in , final String file Name , List list ) throws Compilation Failed Exception { return run ( in , file Name , ( String [ ] ) list . to Array ( new String [ list . size ( ) ] ) ) ; }
public Object run ( final Reader in , final String fileName , List list ) throws CompilationFailedException { return run ( in , fileName , ( String [ ] ) list . toArray ( new String [ list . size ( ) ] ) ) ; }
52
java-test-2913
java
When do this use ?
before writing out a new version of the file
public void make Backup File ( String name ) { File file = find File ( name ) ; if ( file == null ) { log . info ( STRING + name + STRING ) ; } else if ( file . can Write ( ) ) { String backup Name = backup File Name ( file . get Absolute Path ( ) ) ; File backup File = find File ( backup Name ) ; if ( backup File != n...
public void makeBackupFile ( String name ) { File file = findFile ( name ) ; if ( file == null ) { log . info ( STRING + name + STRING ) ; } else if ( file . canWrite ( ) ) { String backupName = backupFileName ( file . getAbsolutePath ( ) ) ; File backupFile = findFile ( backupName ) ; if ( backupFile != null ) { if ( ...
149
java-test-2914
java
What does the code find ?
a range of unreserved rop registers
private int find Next Unreserved Rop Reg ( int start Reg , int width ) { int reg ; reg = reserved Rop Regs . next Clear Bit ( start Reg ) ; while ( BOOL ) { int i = NUM ; while ( i < width && ! reserved Rop Regs . get ( reg + i ) ) { i ++ ; } if ( i == width ) { return reg ; } reg = reserved Rop Regs . next Clear Bit (...
private int findNextUnreservedRopReg ( int startReg , int width ) { int reg ; reg = reservedRopRegs . nextClearBit ( startReg ) ; while ( _BOOL ) { int i = _NUM ; while ( i < width && ! reservedRopRegs . get ( reg + i ) ) { i ++ ; } if ( i == width ) { return reg ; } reg = reservedRopRegs . nextClearBit ( reg + i ) ; }...
94
java-test-2915
java
How are % ' , ' \ ' , and encoded where ' xx ' is the hexadecimal encoding of the byte ?
as three chars in ' % xx ' format
public static String byte Array To Json String ( byte [ ] bytes ) { String Builder sb = new String Builder ( bytes . length * NUM ) ; for ( byte b : bytes ) { if ( b >= NUM && b < NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . f...
public static String byteArrayToJsonString ( byte [ ] bytes ) { StringBuilder sb = new StringBuilder ( bytes . length * _NUM ) ; for ( byte b : bytes ) { if ( b >= _NUM && b < _NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . form...
107
java-test-2916
java
What are encoded where ' xx ' is the hexadecimal encoding of the byte ?
% ' , ' \ ' , and
public static String byte Array To Json String ( byte [ ] bytes ) { String Builder sb = new String Builder ( bytes . length * NUM ) ; for ( byte b : bytes ) { if ( b >= NUM && b < NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . f...
public static String byteArrayToJsonString ( byte [ ] bytes ) { StringBuilder sb = new StringBuilder ( bytes . length * _NUM ) ; for ( byte b : bytes ) { if ( b >= _NUM && b < _NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . form...
107
java-test-2917
java
Where are % ' , ' \ ' , and encoded as three chars in ' % xx ' format ?
where ' xx ' is the hexadecimal encoding of the byte
public static String byte Array To Json String ( byte [ ] bytes ) { String Builder sb = new String Builder ( bytes . length * NUM ) ; for ( byte b : bytes ) { if ( b >= NUM && b < NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . f...
public static String byteArrayToJsonString ( byte [ ] bytes ) { StringBuilder sb = new StringBuilder ( bytes . length * _NUM ) ; for ( byte b : bytes ) { if ( b >= _NUM && b < _NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . form...
107
java-test-2918
java
Where is xx the hexadecimal encoding of the byte ?
' % xx ' format
public static String byte Array To Json String ( byte [ ] bytes ) { String Builder sb = new String Builder ( bytes . length * NUM ) ; for ( byte b : bytes ) { if ( b >= NUM && b < NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . f...
public static String byteArrayToJsonString ( byte [ ] bytes ) { StringBuilder sb = new StringBuilder ( bytes . length * _NUM ) ; for ( byte b : bytes ) { if ( b >= _NUM && b < _NUM ) { char c = ( char ) b ; if ( c != STRING && c != STRING && c != STRING ) { sb . append ( c ) ; continue ; } } sb . append ( String . form...
107
java-test-2919
java
What marks at the current cursor position ?
the entry for a new text style
private void on Format Button Click ( Toggle Button toggle Button , String tag ) { Spannable s = m Content Edit Text . get Text ( ) ; if ( s == null ) return ; int selection Start = m Content Edit Text . get Selection Start ( ) ; m Style Start = selection Start ; int selection End = m Content Edit Text . get Selection ...
private void onFormatButtonClick ( ToggleButton toggleButton , String tag ) { Spannable s = mContentEditText . getText ( ) ; if ( s == null ) return ; int selectionStart = mContentEditText . getSelectionStart ( ) ; mStyleStart = selectionStart ; int selectionEnd = mContentEditText . getSelectionEnd ( ) ; if ( selection...
841
java-test-2920
java
Where does the entry for a new text style mark ?
at the current cursor position
private void on Format Button Click ( Toggle Button toggle Button , String tag ) { Spannable s = m Content Edit Text . get Text ( ) ; if ( s == null ) return ; int selection Start = m Content Edit Text . get Selection Start ( ) ; m Style Start = selection Start ; int selection End = m Content Edit Text . get Selection ...
private void onFormatButtonClick ( ToggleButton toggleButton , String tag ) { Spannable s = mContentEditText . getText ( ) ; if ( s == null ) return ; int selectionStart = mContentEditText . getSelectionStart ( ) ; mStyleStart = selectionStart ; int selectionEnd = mContentEditText . getSelectionEnd ( ) ; if ( selection...
841
java-test-2921
java
What does the code read ?
a ' trees ' block
private Tree [ ] read Trees Block ( Taxon List taxon List , boolean use Taxon List Numbering ) throws Import Exception , IO Exception { Array List < Tree > trees = new Array List < Tree > ( ) ; String [ ] last Token = new String [ NUM ] ; Hash Map < String , Taxon > translation List = read Translation List ( taxon List...
private Tree [ ] readTreesBlock ( TaxonList taxonList , boolean useTaxonListNumbering ) throws ImportException , IOException { ArrayList < Tree > trees = new ArrayList < Tree > ( ) ; String [ ] lastToken = new String [ _NUM ] ; HashMap < String , Taxon > translationList = readTranslationList ( taxonList , lastToken ) ;...
192
java-test-2922
java
What do we aren ?
that smart in that we ignore the singleswf property of the breakpoint meaning that if you have a breakpoint set on a single swf , it will be restored across all swfs
void reapply Breakpoints ( ) { int count = breakpoint Count ( ) ; for ( int i = NUM ; i < count ; i ++ ) { Break Action a = breakpoint At ( i ) ; a . clear Hits ( ) ; a . set Status ( Break Action . UNRESOLVED ) ; } String Builder sb = new String Builder ( ) ; resolve Breakpoints ( sb ) ; out ( sb . to String ( ) ) ; }
void reapplyBreakpoints ( ) { int count = breakpointCount ( ) ; for ( int i = _NUM ; i < count ; i ++ ) { BreakAction a = breakpointAt ( i ) ; a . clearHits ( ) ; a . setStatus ( BreakAction . UNRESOLVED ) ; } StringBuilder sb = new StringBuilder ( ) ; resolveBreakpoints ( sb ) ; out ( sb . toString ( ) ) ; }
85
java-test-2923
java
What does an algorithm ( like training change extensively ?
the polarity of the synapses in this group
public void revalidate Synapse Sets ( ) { Iterator < Synapse > ex Iterator = ex Synapse Set . iterator ( ) ; Array List < Synapse > ex Switches = new Array List < Synapse > ( ex Synapse Set . size ( ) ) ; while ( ex Iterator . has Next ( ) ) { Synapse s = ex Iterator . next ( ) ; if ( s . get Strength ( ) < NUM ) { ex ...
public void revalidateSynapseSets ( ) { Iterator < Synapse > exIterator = exSynapseSet . iterator ( ) ; ArrayList < Synapse > exSwitches = new ArrayList < Synapse > ( exSynapseSet . size ( ) ) ; while ( exIterator . hasNext ( ) ) { Synapse s = exIterator . next ( ) ; if ( s . getStrength ( ) < _NUM ) { exSwitches . add...
229
java-test-2924
java
When can this method be called to sort synapses into their appropriate sets thus ?
after the bulk of the algorithm is completed
public void revalidate Synapse Sets ( ) { Iterator < Synapse > ex Iterator = ex Synapse Set . iterator ( ) ; Array List < Synapse > ex Switches = new Array List < Synapse > ( ex Synapse Set . size ( ) ) ; while ( ex Iterator . has Next ( ) ) { Synapse s = ex Iterator . next ( ) ; if ( s . get Strength ( ) < NUM ) { ex ...
public void revalidateSynapseSets ( ) { Iterator < Synapse > exIterator = exSynapseSet . iterator ( ) ; ArrayList < Synapse > exSwitches = new ArrayList < Synapse > ( exSynapseSet . size ( ) ) ; while ( exIterator . hasNext ( ) ) { Synapse s = exIterator . next ( ) ; if ( s . getStrength ( ) < _NUM ) { exSwitches . add...
229
java-test-2925
java
What did this method sort ?
synapses
public void revalidate Synapse Sets ( ) { Iterator < Synapse > ex Iterator = ex Synapse Set . iterator ( ) ; Array List < Synapse > ex Switches = new Array List < Synapse > ( ex Synapse Set . size ( ) ) ; while ( ex Iterator . has Next ( ) ) { Synapse s = ex Iterator . next ( ) ; if ( s . get Strength ( ) < NUM ) { ex ...
public void revalidateSynapseSets ( ) { Iterator < Synapse > exIterator = exSynapseSet . iterator ( ) ; ArrayList < Synapse > exSwitches = new ArrayList < Synapse > ( exSynapseSet . size ( ) ) ; while ( exIterator . hasNext ( ) ) { Synapse s = exIterator . next ( ) ; if ( s . getStrength ( ) < _NUM ) { exSwitches . add...
229
java-test-2926
java
What changes the polarity of the synapses in this group extensively ?
an algorithm ( like training
public void revalidate Synapse Sets ( ) { Iterator < Synapse > ex Iterator = ex Synapse Set . iterator ( ) ; Array List < Synapse > ex Switches = new Array List < Synapse > ( ex Synapse Set . size ( ) ) ; while ( ex Iterator . has Next ( ) ) { Synapse s = ex Iterator . next ( ) ; if ( s . get Strength ( ) < NUM ) { ex ...
public void revalidateSynapseSets ( ) { Iterator < Synapse > exIterator = exSynapseSet . iterator ( ) ; ArrayList < Synapse > exSwitches = new ArrayList < Synapse > ( exSynapseSet . size ( ) ) ; while ( exIterator . hasNext ( ) ) { Synapse s = exIterator . next ( ) ; if ( s . getStrength ( ) < _NUM ) { exSwitches . add...
229
java-test-2927
java
What can this method be called thus after the bulk of the algorithm is completed ?
to sort synapses into their appropriate sets
public void revalidate Synapse Sets ( ) { Iterator < Synapse > ex Iterator = ex Synapse Set . iterator ( ) ; Array List < Synapse > ex Switches = new Array List < Synapse > ( ex Synapse Set . size ( ) ) ; while ( ex Iterator . has Next ( ) ) { Synapse s = ex Iterator . next ( ) ; if ( s . get Strength ( ) < NUM ) { ex ...
public void revalidateSynapseSets ( ) { Iterator < Synapse > exIterator = exSynapseSet . iterator ( ) ; ArrayList < Synapse > exSwitches = new ArrayList < Synapse > ( exSynapseSet . size ( ) ) ; while ( exIterator . hasNext ( ) ) { Synapse s = exIterator . next ( ) ; if ( s . getStrength ( ) < _NUM ) { exSwitches . add...
229
java-test-2930
java
What does the code create with the given key and constraints ?
a new entity of the given type
@ Suppress Warnings ( STRING ) public < T > T new Model ( Class < T > type , Object key , Entity Constraint constraints ) { Entity Type entity Type = definitions . get Entity Type Matching Interface ( type . get Name ( ) , BOOL ) ; Entity entity = new Entity ( entity Type , key , constraints ) ; return ( T ) get Proxy ...
@ SuppressWarnings ( STRING ) public < T > T newModel ( Class < T > type , Object key , EntityConstraint constraints ) { EntityType entityType = definitions . getEntityTypeMatchingInterface ( type . getName ( ) , _BOOL ) ; Entity entity = newEntity ( entityType , key , constraints ) ; return ( T ) getProxy ( entity ) ;...
76
java-test-2931
java
What does the code create ?
the handles and infos for the type parameter of the given binary member
private void generate Type Parameter Infos ( Binary Member parent , char [ ] signature , Hash Map new Elements , Array List type Parameter Handles ) { if ( signature == null ) return ; char [ ] [ ] type Parameter Signatures = Signature . get Type Parameters ( signature ) ; for ( int i = NUM , type Parameter Count = typ...
private void generateTypeParameterInfos ( BinaryMember parent , char [ ] signature , HashMap newElements , ArrayList typeParameterHandles ) { if ( signature == null ) return ; char [ ] [ ] typeParameterSignatures = Signature . getTypeParameters ( signature ) ; for ( int i = _NUM , typeParameterCount = typeParameterSign...
315
java-test-2932
java
What does the code calculate ?
a weighted distribution
protected int weighted Distribution ( int [ ] weights ) { int sum = NUM ; for ( int weight : weights ) { sum += weight ; } int val = ( int ) Math . floor ( m random . next Double ( ) * sum ) ; for ( int i = NUM ; i < weights . length ; i ++ ) { val -= weights [ i ] ; if ( val < NUM ) { return i ; } } return - NUM ; }
protected int weightedDistribution ( int [ ] weights ) { int sum = _NUM ; for ( int weight : weights ) { sum += weight ; } int val = ( int ) Math . floor ( m_random . nextDouble ( ) * sum ) ; for ( int i = _NUM ; i < weights . length ; i ++ ) { val -= weights [ i ] ; if ( val < _NUM ) { return i ; } } return - _NUM ; }
91
java-test-2933
java
For what purpose did the code call ?
to smash this block
default boolean smash Block ( Entity Player player , World world , Block Pos pos , I Block State state , Tool Tier tier ) { Tool Tier required = get Required Tier ( state ) ; if ( required != null && tier . is Greater Than Or Equal To ( required ) ) { float luck = tier . ordinal ( ) * NUM ; List < Item Stack > drops = ...
default boolean smashBlock ( EntityPlayer player , World world , BlockPos pos , IBlockState state , ToolTier tier ) { ToolTier required = getRequiredTier ( state ) ; if ( required != null && tier . isGreaterThanOrEqualTo ( required ) ) { float luck = tier . ordinal ( ) * _NUM ; List < ItemStack > drops = getDrops ( pla...
149
java-test-2936
java
Does this return portable paths that are outside of program ?
No
public static String UR Ifor Portable Path ( String path ) { if ( path . starts With ( File Util . PREFERENCES ) ) { return path . replace First ( File Util . PREFERENCES , STRING ) ; } else if ( path . starts With ( File Util . PROGRAM ) ) { return path . replace First ( File Util . PROGRAM , STRING ) ; } else { retur...
public static String URIforPortablePath ( String path ) { if ( path . startsWith ( FileUtil . PREFERENCES ) ) { return path . replaceFirst ( FileUtil . PREFERENCES , STRING ) ; } else if ( path . startsWith ( FileUtil . PROGRAM ) ) { return path . replaceFirst ( FileUtil . PROGRAM , STRING ) ; } else { return null ; } ...
78
java-test-2937
java
What does this method not check ?
that the portable path is actually sane
public static String UR Ifor Portable Path ( String path ) { if ( path . starts With ( File Util . PREFERENCES ) ) { return path . replace First ( File Util . PREFERENCES , STRING ) ; } else if ( path . starts With ( File Util . PROGRAM ) ) { return path . replace First ( File Util . PROGRAM , STRING ) ; } else { retur...
public static String URIforPortablePath ( String path ) { if ( path . startsWith ( FileUtil . PREFERENCES ) ) { return path . replaceFirst ( FileUtil . PREFERENCES , STRING ) ; } else if ( path . startsWith ( FileUtil . PROGRAM ) ) { return path . replaceFirst ( FileUtil . PROGRAM , STRING ) ; } else { return null ; } ...
78
java-test-2938
java
Does this method check ?
No
public static String UR Ifor Portable Path ( String path ) { if ( path . starts With ( File Util . PREFERENCES ) ) { return path . replace First ( File Util . PREFERENCES , STRING ) ; } else if ( path . starts With ( File Util . PROGRAM ) ) { return path . replace First ( File Util . PROGRAM , STRING ) ; } else { retur...
public static String URIforPortablePath ( String path ) { if ( path . startsWith ( FileUtil . PREFERENCES ) ) { return path . replaceFirst ( FileUtil . PREFERENCES , STRING ) ; } else if ( path . startsWith ( FileUtil . PROGRAM ) ) { return path . replaceFirst ( FileUtil . PROGRAM , STRING ) ; } else { return null ; } ...
78
java-test-2939
java
What refuses to return portable paths that are outside of program : and preference ?
this
public static String UR Ifor Portable Path ( String path ) { if ( path . starts With ( File Util . PREFERENCES ) ) { return path . replace First ( File Util . PREFERENCES , STRING ) ; } else if ( path . starts With ( File Util . PROGRAM ) ) { return path . replace First ( File Util . PROGRAM , STRING ) ; } else { retur...
public static String URIforPortablePath ( String path ) { if ( path . startsWith ( FileUtil . PREFERENCES ) ) { return path . replaceFirst ( FileUtil . PREFERENCES , STRING ) ; } else if ( path . startsWith ( FileUtil . PROGRAM ) ) { return path . replaceFirst ( FileUtil . PROGRAM , STRING ) ; } else { return null ; } ...
78
java-test-2940
java
What do this refuse ?
to return portable paths that are outside of program : and preference
public static String UR Ifor Portable Path ( String path ) { if ( path . starts With ( File Util . PREFERENCES ) ) { return path . replace First ( File Util . PREFERENCES , STRING ) ; } else if ( path . starts With ( File Util . PROGRAM ) ) { return path . replace First ( File Util . PROGRAM , STRING ) ; } else { retur...
public static String URIforPortablePath ( String path ) { if ( path . startsWith ( FileUtil . PREFERENCES ) ) { return path . replaceFirst ( FileUtil . PREFERENCES , STRING ) ; } else if ( path . startsWith ( FileUtil . PROGRAM ) ) { return path . replaceFirst ( FileUtil . PROGRAM , STRING ) ; } else { return null ; } ...
78
java-test-2941
java
For what purpose do public uris return this method ?
for only some portable paths
public static String UR Ifor Portable Path ( String path ) { if ( path . starts With ( File Util . PREFERENCES ) ) { return path . replace First ( File Util . PREFERENCES , STRING ) ; } else if ( path . starts With ( File Util . PROGRAM ) ) { return path . replace First ( File Util . PROGRAM , STRING ) ; } else { retur...
public static String URIforPortablePath ( String path ) { if ( path . startsWith ( FileUtil . PREFERENCES ) ) { return path . replaceFirst ( FileUtil . PREFERENCES , STRING ) ; } else if ( path . startsWith ( FileUtil . PROGRAM ) ) { return path . replaceFirst ( FileUtil . PROGRAM , STRING ) ; } else { return null ; } ...
78
java-test-2942
java
What does the code get ?
the public uri for a portable path
public static String UR Ifor Portable Path ( String path ) { if ( path . starts With ( File Util . PREFERENCES ) ) { return path . replace First ( File Util . PREFERENCES , STRING ) ; } else if ( path . starts With ( File Util . PROGRAM ) ) { return path . replace First ( File Util . PROGRAM , STRING ) ; } else { retur...
public static String URIforPortablePath ( String path ) { if ( path . startsWith ( FileUtil . PREFERENCES ) ) { return path . replaceFirst ( FileUtil . PREFERENCES , STRING ) ; } else if ( path . startsWith ( FileUtil . PROGRAM ) ) { return path . replaceFirst ( FileUtil . PROGRAM , STRING ) ; } else { return null ; } ...
78
java-test-2943
java
What does one have ?
no terminals on its source side
private boolean is Abstract ( String source ) { int nonterminal Count = NUM ; for ( String t : source . split ( STRING ) ) { if ( ! t . matches ( NT REGEX ) ) return BOOL ; nonterminal Count ++ ; } return nonterminal Count != NUM ; }
private boolean isAbstract ( String source ) { int nonterminalCount = _NUM ; for ( String t : source . split ( STRING ) ) { if ( ! t . matches ( NT_REGEX ) ) return _BOOL ; nonterminalCount ++ ; } return nonterminalCount != _NUM ; }
54
java-test-2944
java
What does the code create if a username , password and database are supplied , or returns absent ( ) otherwise ?
a mongocredential
public static Optional < Mongo Credential > create Credentials ( String username , String password , String database ) { if ( ! Strings . is Null Or Empty ( username ) && ! Strings . is Null Or Empty ( password ) && ! Strings . is Null Or Empty ( database ) ) { return Optional . of ( Mongo Credential . create Mongo CR ...
public static Optional < MongoCredential > createCredentials ( String username , String password , String database ) { if ( ! Strings . isNullOrEmpty ( username ) && ! Strings . isNullOrEmpty ( password ) && ! Strings . isNullOrEmpty ( database ) ) { return Optional . of ( MongoCredential . createMongoCRCredential ( us...
95
java-test-2946
java
What does the code add to this statement ?
a constraint statement
public void add Constraint Command ( Define Command command ) { if ( command instanceof Create Index ) { constraint Commands . add ( command ) ; } else { Alter Table Add Constraint con = ( Alter Table Add Constraint ) command ; boolean already Set ; if ( con . get Type ( ) == Command Interface . ALTER TABLE ADD CONSTRA...
public void addConstraintCommand ( DefineCommand command ) { if ( command instanceof CreateIndex ) { constraintCommands . add ( command ) ; } else { AlterTableAddConstraint con = ( AlterTableAddConstraint ) command ; boolean alreadySet ; if ( con . getType ( ) == CommandInterface . ALTER_TABLE_ADD_CONSTRAINT_PRIMARY_KE...
112
java-test-2947
java
What has this operation have limited which is acceptable because all our sparse - safe operations have only limited nan support ?
nan support
public static void matrix Mult W Div MM ( Matrix Block mW , Matrix Block mU , Matrix Block mV , Matrix Block mX , Matrix Block ret , W Div MM Type wt , int k ) throws DML Runtime Exception { if ( mW . is Empty Block ( BOOL ) || ( wt . is Left ( ) && mU . is Empty Block ( BOOL ) ) || ( wt . is Right ( ) && mV . is Empty...
public static void matrixMultWDivMM ( MatrixBlock mW , MatrixBlock mU , MatrixBlock mV , MatrixBlock mX , MatrixBlock ret , WDivMMType wt , int k ) throws DMLRuntimeException { if ( mW . isEmptyBlock ( _BOOL ) || ( wt . isLeft ( ) && mU . isEmptyBlock ( _BOOL ) ) || ( wt . isRight ( ) && mV . isEmptyBlock ( _BOOL ) ) |...
502
java-test-2948
java
What did all our sparse - safe operations have ?
only limited nan support
public static void matrix Mult W Div MM ( Matrix Block mW , Matrix Block mU , Matrix Block mV , Matrix Block mX , Matrix Block ret , W Div MM Type wt , int k ) throws DML Runtime Exception { if ( mW . is Empty Block ( BOOL ) || ( wt . is Left ( ) && mU . is Empty Block ( BOOL ) ) || ( wt . is Right ( ) && mV . is Empty...
public static void matrixMultWDivMM ( MatrixBlock mW , MatrixBlock mU , MatrixBlock mV , MatrixBlock mX , MatrixBlock ret , WDivMMType wt , int k ) throws DMLRuntimeException { if ( mW . isEmptyBlock ( _BOOL ) || ( wt . isLeft ( ) && mU . isEmptyBlock ( _BOOL ) ) || ( wt . isRight ( ) && mV . isEmptyBlock ( _BOOL ) ) |...
502
java-test-2949
java
What will this operator produce for w / ( u % * % t ( v ) ) for w / ( u % * % t ( v ) ) ?
a zero intermediate
public static void matrix Mult W Div MM ( Matrix Block mW , Matrix Block mU , Matrix Block mV , Matrix Block mX , Matrix Block ret , W Div MM Type wt , int k ) throws DML Runtime Exception { if ( mW . is Empty Block ( BOOL ) || ( wt . is Left ( ) && mU . is Empty Block ( BOOL ) ) || ( wt . is Right ( ) && mV . is Empty...
public static void matrixMultWDivMM ( MatrixBlock mW , MatrixBlock mU , MatrixBlock mV , MatrixBlock mX , MatrixBlock ret , WDivMMType wt , int k ) throws DMLRuntimeException { if ( mW . isEmptyBlock ( _BOOL ) || ( wt . isLeft ( ) && mU . isEmptyBlock ( _BOOL ) ) || ( wt . isRight ( ) && mV . isEmptyBlock ( _BOOL ) ) |...
502
java-test-2950
java
What have only limited nan support ?
all our sparse - safe operations
public static void matrix Mult W Div MM ( Matrix Block mW , Matrix Block mU , Matrix Block mV , Matrix Block mX , Matrix Block ret , W Div MM Type wt , int k ) throws DML Runtime Exception { if ( mW . is Empty Block ( BOOL ) || ( wt . is Left ( ) && mU . is Empty Block ( BOOL ) ) || ( wt . is Right ( ) && mV . is Empty...
public static void matrixMultWDivMM ( MatrixBlock mW , MatrixBlock mU , MatrixBlock mV , MatrixBlock mX , MatrixBlock ret , WDivMMType wt , int k ) throws DMLRuntimeException { if ( mW . isEmptyBlock ( _BOOL ) || ( wt . isLeft ( ) && mU . isEmptyBlock ( _BOOL ) ) || ( wt . isRight ( ) && mV . isEmptyBlock ( _BOOL ) ) |...
502
java-test-2952
java
When has a throttle been found ?
as we requested
public void notify Address Throttle Found ( Dcc Throttle t ) { if ( log . is Debug Enabled ( ) ) { log . debug ( STRING ) ; } m Throttle = t ; set Enabled ( BOOL ) ; m Throttle . add Property Change Listener ( this ) ; set Fn Buttons ( ) ; }
public void notifyAddressThrottleFound ( DccThrottle t ) { if ( log . isDebugEnabled ( ) ) { log . debug ( STRING ) ; } mThrottle = t ; setEnabled ( _BOOL ) ; mThrottle . addPropertyChangeListener ( this ) ; setFnButtons ( ) ; }
60
java-test-2953
java
For what purpose do reflection use ?
to find the proper getf ? method for each button
public void notify Address Throttle Found ( Dcc Throttle t ) { if ( log . is Debug Enabled ( ) ) { log . debug ( STRING ) ; } m Throttle = t ; set Enabled ( BOOL ) ; m Throttle . add Property Change Listener ( this ) ; set Fn Buttons ( ) ; }
public void notifyAddressThrottleFound ( DccThrottle t ) { if ( log . isDebugEnabled ( ) ) { log . debug ( STRING ) ; } mThrottle = t ; setEnabled ( _BOOL ) ; mThrottle . addPropertyChangeListener ( this ) ; setFnButtons ( ) ; }
60
java-test-2954
java
What does the code get ?
notification that a throttle has been found as we requested . use reflection to find the proper getf ? method for each button
public void notify Address Throttle Found ( Dcc Throttle t ) { if ( log . is Debug Enabled ( ) ) { log . debug ( STRING ) ; } m Throttle = t ; set Enabled ( BOOL ) ; m Throttle . add Property Change Listener ( this ) ; set Fn Buttons ( ) ; }
public void notifyAddressThrottleFound ( DccThrottle t ) { if ( log . isDebugEnabled ( ) ) { log . debug ( STRING ) ; } mThrottle = t ; setEnabled ( _BOOL ) ; mThrottle . addPropertyChangeListener ( this ) ; setFnButtons ( ) ; }
60
java-test-2955
java
What does the code extract ?
the type of all tokens that potentially delimit string literals
private List < Token Type > extract String Literal Delimiting Tokens ( String [ ] tokens ) { List < Token Type > delimiting Tokens = new Array List < Token Type > ( ) ; for ( String token : tokens ) { String clean Token = clean Token ( token ) ; boolean handled = BOOL ; if ( alternate Quote == null ) { String alternate...
private List < TokenType > extractStringLiteralDelimitingTokens ( String [ ] tokens ) { List < TokenType > delimitingTokens = new ArrayList < TokenType > ( ) ; for ( String token : tokens ) { String cleanToken = cleanToken ( token ) ; boolean handled = _BOOL ; if ( alternateQuote == null ) { String alternateQuoteFromTo...
484
java-test-2956
java
What delimit string literals potentially ?
all tokens
private List < Token Type > extract String Literal Delimiting Tokens ( String [ ] tokens ) { List < Token Type > delimiting Tokens = new Array List < Token Type > ( ) ; for ( String token : tokens ) { String clean Token = clean Token ( token ) ; boolean handled = BOOL ; if ( alternate Quote == null ) { String alternate...
private List < TokenType > extractStringLiteralDelimitingTokens ( String [ ] tokens ) { List < TokenType > delimitingTokens = new ArrayList < TokenType > ( ) ; for ( String token : tokens ) { String cleanToken = cleanToken ( token ) ; boolean handled = _BOOL ; if ( alternateQuote == null ) { String alternateQuoteFromTo...
484
java-test-2957
java
What has this means ?
each character has to be output on it ' s own , while changing the color . one style with the appropriate user metadata is used and the color changed . prints the rest ( what doesn ' t belong to the nick itself ) based on the default user style
private void print Rainbow User ( User user , String user Name , boolean action , Special Color type , String id ) { Simple Attribute Set user Style = new Simple Attribute Set ( styles . nick ( ) ) ; user Style . add Attribute ( Attribute . IS USER MESSAGE , BOOL ) ; user Style . add Attribute ( Attribute . USER , user...
private void printRainbowUser ( User user , String userName , boolean action , SpecialColor type , String id ) { SimpleAttributeSet userStyle = new SimpleAttributeSet ( styles . nick ( ) ) ; userStyle . addAttribute ( Attribute . IS_USER_MESSAGE , _BOOL ) ; userStyle . addAttribute ( Attribute . USER , user ) ; if ( id...
204
java-test-2958
java
When be each character be output on it ' s own ?
while changing the color
private void print Rainbow User ( User user , String user Name , boolean action , Special Color type , String id ) { Simple Attribute Set user Style = new Simple Attribute Set ( styles . nick ( ) ) ; user Style . add Attribute ( Attribute . IS USER MESSAGE , BOOL ) ; user Style . add Attribute ( Attribute . USER , user...
private void printRainbowUser ( User user , String userName , boolean action , SpecialColor type , String id ) { SimpleAttributeSet userStyle = new SimpleAttributeSet ( styles . nick ( ) ) ; userStyle . addAttribute ( Attribute . IS_USER_MESSAGE , _BOOL ) ; userStyle . addAttribute ( Attribute . USER , user ) ; if ( id...
204
java-test-2959
java
How do the username output ?
in rainbow colors
private void print Rainbow User ( User user , String user Name , boolean action , Special Color type , String id ) { Simple Attribute Set user Style = new Simple Attribute Set ( styles . nick ( ) ) ; user Style . add Attribute ( Attribute . IS USER MESSAGE , BOOL ) ; user Style . add Attribute ( Attribute . USER , user...
private void printRainbowUser ( User user , String userName , boolean action , SpecialColor type , String id ) { SimpleAttributeSet userStyle = new SimpleAttributeSet ( styles . nick ( ) ) ; userStyle . addAttribute ( Attribute . IS_USER_MESSAGE , _BOOL ) ; userStyle . addAttribute ( Attribute . USER , user ) ; if ( id...
204
java-test-2960
java
For what purpose are all turnouts set correctly ?
for travel in the designated section to the next section
protected boolean check Turnouts In Section ( Section s , int seq Num , Section next Section , Active Train at , Layout Editor le , Section prev Section ) { return turnout Util ( s , seq Num , next Section , at , le , BOOL , BOOL , prev Section ) ; }
protected boolean checkTurnoutsInSection ( Section s , int seqNum , Section nextSection , ActiveTrain at , LayoutEditor le , Section prevSection ) { return turnoutUtil ( s , seqNum , nextSection , at , le , _BOOL , _BOOL , prevSection ) ; }
56
java-test-2961
java
What do this method require ?
use of the connectivity stored in a layout editor panel
protected boolean check Turnouts In Section ( Section s , int seq Num , Section next Section , Active Train at , Layout Editor le , Section prev Section ) { return turnout Util ( s , seq Num , next Section , at , le , BOOL , BOOL , prev Section ) ; }
protected boolean checkTurnoutsInSection ( Section s , int seqNum , Section nextSection , ActiveTrain at , LayoutEditor le , Section prevSection ) { return turnoutUtil ( s , seqNum , nextSection , at , le , _BOOL , _BOOL , prevSection ) ; }
56
java-test-2962
java
Where did the connectivity store ?
in a layout editor panel
protected boolean check Turnouts In Section ( Section s , int seq Num , Section next Section , Active Train at , Layout Editor le , Section prev Section ) { return turnout Util ( s , seq Num , next Section , at , le , BOOL , BOOL , prev Section ) ; }
protected boolean checkTurnoutsInSection ( Section s , int seqNum , Section nextSection , ActiveTrain at , LayoutEditor le , Section prevSection ) { return turnoutUtil ( s , seqNum , nextSection , at , le , _BOOL , _BOOL , prevSection ) ; }
56
java-test-2963
java
What stored in a layout editor panel ?
the connectivity
protected boolean check Turnouts In Section ( Section s , int seq Num , Section next Section , Active Train at , Layout Editor le , Section prev Section ) { return turnout Util ( s , seq Num , next Section , at , le , BOOL , BOOL , prev Section ) ; }
protected boolean checkTurnoutsInSection ( Section s , int seqNum , Section nextSection , ActiveTrain at , LayoutEditor le , Section prevSection ) { return turnoutUtil ( s , seqNum , nextSection , at , le , _BOOL , _BOOL , prevSection ) ; }
56
java-test-2964
java
How do a contour path or line construct ?
using the given arrays of x & y values
public Contour Path ( Contour Attrib attr , int level Index , double [ ] x , double [ ] y ) { x Arr = x ; y Arr = y ; this . level Index = level Index ; attributes = attr ; int np = x Arr . length ; if ( Math . abs ( x [ NUM ] - x [ np - NUM ] ) < k Small X && Math . abs ( y [ NUM ] - y [ np - NUM ] ) < k Small Y ) { c...
public ContourPath ( ContourAttrib attr , int levelIndex , double [ ] x , double [ ] y ) { xArr = x ; yArr = y ; this . levelIndex = levelIndex ; attributes = attr ; int np = xArr . length ; if ( Math . abs ( x [ _NUM ] - x [ np - _NUM ] ) < kSmallX && Math . abs ( y [ _NUM ] - y [ np - _NUM ] ) < kSmallY ) { closed = ...
133
java-test-2965
java
What does something extend ?
a jsplitpane
void apply Center Panel ( Grass Marlin ui ) { if ( tree View Component != null ) { center Panel Component . add ( tree View Component , Split Pane . Position . CENTER ) ; } center Panel Component . add ( graph Component , Split Pane . Position . RIGHT ) ; center Panel Component . add ( log Component , Split Pane . Posi...
void applyCenterPanel ( GrassMarlin ui ) { if ( treeViewComponent != null ) { centerPanelComponent . add ( treeViewComponent , SplitPane . Position . CENTER ) ; } centerPanelComponent . add ( graphComponent , SplitPane . Position . RIGHT ) ; centerPanelComponent . add ( logComponent , SplitPane . Position . LEFT_BOTTOM...
226
java-test-2966
java
How is it not written ?
in latin alphabet
private void cleaning Text ( ) { int latin Count = NUM , non Latin Count = NUM ; for ( int i = NUM ; i < text . length ( ) ; ++ i ) { char c = text . char At ( i ) ; if ( c <= STRING && c >= STRING ) { ++ latin Count ; } else if ( c >= STRING && Unicode Block . of ( c ) != Unicode Block . LATIN EXTENDED ADDITIONAL ) { ...
private void cleaningText ( ) { int latinCount = _NUM , nonLatinCount = _NUM ; for ( int i = _NUM ; i < text . length ( ) ; ++ i ) { char c = text . charAt ( i ) ; if ( c <= STRING && c >= STRING ) { ++ latinCount ; } else if ( c >= STRING && UnicodeBlock . of ( c ) != UnicodeBlock . LATIN_EXTENDED_ADDITIONAL ) { ++ no...
177
java-test-2967
java
What will this register if the locator already exists if the locator already exists if the locator already exists ?
an mbean for it
public Object Name create Distribution Locator ( String host , int port , String working Directory , String product Directory , String remote Command ) throws Malformed Object Name Exception { try { Distribution Locator Jmx Impl locator = ( Distribution Locator Jmx Impl ) add Distribution Locator ( ) ; Distribution Loc...
public ObjectName createDistributionLocator ( String host , int port , String workingDirectory , String productDirectory , String remoteCommand ) throws MalformedObjectNameException { try { DistributionLocatorJmxImpl locator = ( DistributionLocatorJmxImpl ) addDistributionLocator ( ) ; DistributionLocatorConfig config ...
204
java-test-2968
java
What does the code create ?
a new distributionlocator for this system
public Object Name create Distribution Locator ( String host , int port , String working Directory , String product Directory , String remote Command ) throws Malformed Object Name Exception { try { Distribution Locator Jmx Impl locator = ( Distribution Locator Jmx Impl ) add Distribution Locator ( ) ; Distribution Loc...
public ObjectName createDistributionLocator ( String host , int port , String workingDirectory , String productDirectory , String remoteCommand ) throws MalformedObjectNameException { try { DistributionLocatorJmxImpl locator = ( DistributionLocatorJmxImpl ) addDistributionLocator ( ) ; DistributionLocatorConfig config ...
204
java-test-2969
java
What does the code register ?
an mbean for managing it
public Object Name create Distribution Locator ( String host , int port , String working Directory , String product Directory , String remote Command ) throws Malformed Object Name Exception { try { Distribution Locator Jmx Impl locator = ( Distribution Locator Jmx Impl ) add Distribution Locator ( ) ; Distribution Loc...
public ObjectName createDistributionLocator ( String host , int port , String workingDirectory , String productDirectory , String remoteCommand ) throws MalformedObjectNameException { try { DistributionLocatorJmxImpl locator = ( DistributionLocatorJmxImpl ) addDistributionLocator ( ) ; DistributionLocatorConfig config ...
204
java-test-2973
java
What does the project creator create ?
a test project
private void configure Test Project ( N4 MF Project Info project Info ) { model Folder Name = TEST SRC ROOT ; all Folders . add ( TEST SRC ROOT ) ; if ( ! project Info . get Additional Source Folder ( ) ) { all Folders . remove ( SRC ROOT ) ; } }
private void configureTestProject ( N4MFProjectInfo projectInfo ) { modelFolderName = TEST_SRC_ROOT ; allFolders . add ( TEST_SRC_ROOT ) ; if ( ! projectInfo . getAdditionalSourceFolder ( ) ) { allFolders . remove ( SRC_ROOT ) ; } }
57
java-test-2974
java
For what purpose does the code configure the project creator ?
to create a test project
private void configure Test Project ( N4 MF Project Info project Info ) { model Folder Name = TEST SRC ROOT ; all Folders . add ( TEST SRC ROOT ) ; if ( ! project Info . get Additional Source Folder ( ) ) { all Folders . remove ( SRC ROOT ) ; } }
private void configureTestProject ( N4MFProjectInfo projectInfo ) { modelFolderName = TEST_SRC_ROOT ; allFolders . add ( TEST_SRC_ROOT ) ; if ( ! projectInfo . getAdditionalSourceFolder ( ) ) { allFolders . remove ( SRC_ROOT ) ; } }
57
java-test-2975
java
What does the code read ?
a certificate ( or certificate chain )
private void print Cert From Stream ( Input Stream in , Print Stream out ) throws Exception { Collection < ? extends Certificate > c = null ; try { c = cf . generate Certificates ( in ) ; } catch ( Certificate Exception ce ) { throw new Exception ( rb . get String ( STRING ) , ce ) ; } if ( c . is Empty ( ) ) { throw n...
private void printCertFromStream ( InputStream in , PrintStream out ) throws Exception { Collection < ? extends Certificate > c = null ; try { c = cf . generateCertificates ( in ) ; } catch ( CertificateException ce ) { throw new Exception ( rb . getString ( STRING ) , ce ) ; } if ( c . isEmpty ( ) ) { throw new Except...
271
java-test-2976
java
What does the code perform ?
a vm restart operation on specified vm
public void perform Restart Operation Async ( final String vm Id , final Future Callback < Task > response Callback ) throws IO Exception { String path = String . format ( STRING , get Base Path ( ) , vm Id ) ; create Object Async ( path , null , response Callback ) ; }
public void performRestartOperationAsync ( final String vmId , final FutureCallback < Task > responseCallback ) throws IOException { String path = String . format ( STRING , getBasePath ( ) , vmId ) ; createObjectAsync ( path , null , responseCallback ) ; }
57
java-test-2977
java
When do operation verify ?
when nothing has been written on the journal
public void test empty Journal ( ) throws IO Exception , Interrupted Exception , Execution Exception { final File out = File . create Temp File ( get Name ( ) , Options . JNL ) ; try { final Journal src = get Store ( get Properties ( ) ) ; try { final Future < Map < String , Base Index Stats > > f = src . warm Up ( nul...
public void test_emptyJournal ( ) throws IOException , InterruptedException , ExecutionException { final File out = File . createTempFile ( getName ( ) , Options . JNL ) ; try { final Journal src = getStore ( getProperties ( ) ) ; try { final Future < Map < String , BaseIndexStats > > f = src . warmUp ( null ) ; final ...
126
java-test-2978
java
What does the code create ?
a new instance of resultrecord
public Result Record ( Directory Scanner Config scan , Action [ ] actions , File f ) { directory Scanner = scan . get Name ( ) ; this . actions = actions ; date = new Date ( ) ; filename = f . get Absolute Path ( ) ; }
public ResultRecord ( DirectoryScannerConfig scan , Action [ ] actions , File f ) { directoryScanner = scan . getName ( ) ; this . actions = actions ; date = new Date ( ) ; filename = f . getAbsolutePath ( ) ; }
52
java-test-2979
java
Where is pos 1 + the index of the last char ?
in the literal
private void add Integer ( ) { int old Pos = pos - NUM ; String literal = scan Integer ( ) ; final String substring ; final int radix ; if ( literal . starts With ( STRING ) || literal . starts With ( STRING ) ) { radix = NUM ; substring = literal . substring ( NUM ) ; } else if ( literal . starts With ( STRING ) && li...
private void addInteger ( ) { int oldPos = pos - _NUM ; String literal = scanInteger ( ) ; final String substring ; final int radix ; if ( literal . startsWith ( STRING ) || literal . startsWith ( STRING ) ) { radix = _NUM ; substring = literal . substring ( _NUM ) ; } else if ( literal . startsWith ( STRING ) && liter...
166
java-test-2980
java
What does the code create from the relevant command line options for class path , boot class path , and extension directories ?
a classpath object for rmic
public static Class Path create Class Path ( String class Path String , String sys Class Path String , String ext Dirs String ) { Path path = new Path ( ) ; if ( sys Class Path String == null ) { sys Class Path String = System . get Property ( STRING ) ; } if ( sys Class Path String != null ) { path . add Files ( sys C...
public static ClassPath createClassPath ( String classPathString , String sysClassPathString , String extDirsString ) { Path path = new Path ( ) ; if ( sysClassPathString == null ) { sysClassPathString = System . getProperty ( STRING ) ; } if ( sysClassPathString != null ) { path . addFiles ( sysClassPathString ) ; } p...
211
java-test-2981
java
When does photo file path save ?
during e . g . screen rotation
@ Override public Parcelable on Save Instance State ( ) { String path = m Photo File Path . get ( ) ; if ( path == null ) return null ; Bundle bundle = new Bundle ( ) ; bundle . put String ( STRING , path ) ; return bundle ; }
@ Override public Parcelable onSaveInstanceState ( ) { String path = mPhotoFilePath . get ( ) ; if ( path == null ) return null ; Bundle bundle = new Bundle ( ) ; bundle . putString ( STRING , path ) ; return bundle ; }
54
java-test-2982
java
What does this method add ?
a record of file
@ Request Mapping ( value = { STRING , STRING } , method = Request Method . PUT ) @ Response Body public Rest Wrapper insert ( @ Model Attribute ( STRING ) @ Valid File file , Binding Result binding Result , Principal principal ) { Rest Wrapper rest Wrapper = null ; if ( binding Result . has Errors ( ) ) { Binding Resu...
@ RequestMapping ( value = { STRING , STRING } , method = RequestMethod . PUT ) @ ResponseBody public RestWrapper insert ( @ ModelAttribute ( STRING ) @ Valid File file , BindingResult bindingResult , Principal principal ) { RestWrapper restWrapper = null ; if ( bindingResult . hasErrors ( ) ) { BindingResultError bind...
208
java-test-2983
java
What does this method call ?
proc insertfile
@ Request Mapping ( value = { STRING , STRING } , method = Request Method . PUT ) @ Response Body public Rest Wrapper insert ( @ Model Attribute ( STRING ) @ Valid File file , Binding Result binding Result , Principal principal ) { Rest Wrapper rest Wrapper = null ; if ( binding Result . has Errors ( ) ) { Binding Resu...
@ RequestMapping ( value = { STRING , STRING } , method = RequestMethod . PUT ) @ ResponseBody public RestWrapper insert ( @ ModelAttribute ( STRING ) @ Valid File file , BindingResult bindingResult , Principal principal ) { RestWrapper restWrapper = null ; if ( bindingResult . hasErrors ( ) ) { BindingResultError bind...
208
java-test-2985
java
What does this remote implementation class implement ?
the specified remote method of a remote interface
private Method Doc find Impl Method ( Method Doc interface Method ) { String name = interface Method . name ( ) ; String desc = Util . method Descriptor Of ( interface Method ) ; for ( Method Doc impl Method : impl Class . methods ( ) ) { if ( name . equals ( impl Method . name ( ) ) && desc . equals ( Util . method De...
private MethodDoc findImplMethod ( MethodDoc interfaceMethod ) { String name = interfaceMethod . name ( ) ; String desc = Util . methodDescriptorOf ( interfaceMethod ) ; for ( MethodDoc implMethod : implClass . methods ( ) ) { if ( name . equals ( implMethod . name ( ) ) && desc . equals ( Util . methodDescriptorOf ( i...
91
java-test-2986
java
What implements the specified remote method of a remote interface ?
this remote implementation class
private Method Doc find Impl Method ( Method Doc interface Method ) { String name = interface Method . name ( ) ; String desc = Util . method Descriptor Of ( interface Method ) ; for ( Method Doc impl Method : impl Class . methods ( ) ) { if ( name . equals ( impl Method . name ( ) ) && desc . equals ( Util . method De...
private MethodDoc findImplMethod ( MethodDoc interfaceMethod ) { String name = interfaceMethod . name ( ) ; String desc = Util . methodDescriptorOf ( interfaceMethod ) ; for ( MethodDoc implMethod : implClass . methods ( ) ) { if ( name . equals ( implMethod . name ( ) ) && desc . equals ( Util . methodDescriptorOf ( i...
91
java-test-2987
java
For what purpose does the methoddoc return ?
for the method of this remote implementation class that implements the specified remote method of a remote interface
private Method Doc find Impl Method ( Method Doc interface Method ) { String name = interface Method . name ( ) ; String desc = Util . method Descriptor Of ( interface Method ) ; for ( Method Doc impl Method : impl Class . methods ( ) ) { if ( name . equals ( impl Method . name ( ) ) && desc . equals ( Util . method De...
private MethodDoc findImplMethod ( MethodDoc interfaceMethod ) { String name = interfaceMethod . name ( ) ; String desc = Util . methodDescriptorOf ( interfaceMethod ) ; for ( MethodDoc implMethod : implClass . methods ( ) ) { if ( name . equals ( implMethod . name ( ) ) && desc . equals ( Util . methodDescriptorOf ( i...
91
java-test-2988
java
Where was no matching method found ?
in this remote implementation class
private Method Doc find Impl Method ( Method Doc interface Method ) { String name = interface Method . name ( ) ; String desc = Util . method Descriptor Of ( interface Method ) ; for ( Method Doc impl Method : impl Class . methods ( ) ) { if ( name . equals ( impl Method . name ( ) ) && desc . equals ( Util . method De...
private MethodDoc findImplMethod ( MethodDoc interfaceMethod ) { String name = interfaceMethod . name ( ) ; String desc = Util . methodDescriptorOf ( interfaceMethod ) ; for ( MethodDoc implMethod : implClass . methods ( ) ) { if ( name . equals ( implMethod . name ( ) ) && desc . equals ( Util . methodDescriptorOf ( i...
91
java-test-2989
java
What was found in this remote implementation class ?
no matching method
private Method Doc find Impl Method ( Method Doc interface Method ) { String name = interface Method . name ( ) ; String desc = Util . method Descriptor Of ( interface Method ) ; for ( Method Doc impl Method : impl Class . methods ( ) ) { if ( name . equals ( impl Method . name ( ) ) && desc . equals ( Util . method De...
private MethodDoc findImplMethod ( MethodDoc interfaceMethod ) { String name = interfaceMethod . name ( ) ; String desc = Util . methodDescriptorOf ( interfaceMethod ) ; for ( MethodDoc implMethod : implClass . methods ( ) ) { if ( name . equals ( implMethod . name ( ) ) && desc . equals ( Util . methodDescriptorOf ( i...
91
java-test-2990
java
What uses the player uuid as filename since version 1 . 7 . 6 ?
minecraft
@ Not Null public List < Player Nbt > create Multiplayer Player Nbts ( ) { List < Player Nbt > result = new Array List < Player Nbt > ( ) ; for ( File playerdata File : get Playerdata Files ( ) ) { if ( playerdata File . is File ( ) ) { result . add ( create Playerdata Player Nbt ( get Player UUID From Playerdata File ...
@ NotNull public List < PlayerNbt > createMultiplayerPlayerNbts ( ) { List < PlayerNbt > result = new ArrayList < PlayerNbt > ( ) ; for ( File playerdataFile : getPlayerdataFiles ( ) ) { if ( playerdataFile . isFile ( ) ) { result . add ( createPlayerdataPlayerNbt ( getPlayerUUIDFromPlayerdataFile ( playerdataFile ) ) ...
184
java-test-2991
java
When does minecraft use the player uuid as filename ?
since version 1 . 7 . 6
@ Not Null public List < Player Nbt > create Multiplayer Player Nbts ( ) { List < Player Nbt > result = new Array List < Player Nbt > ( ) ; for ( File playerdata File : get Playerdata Files ( ) ) { if ( playerdata File . is File ( ) ) { result . add ( create Playerdata Player Nbt ( get Player UUID From Playerdata File ...
@ NotNull public List < PlayerNbt > createMultiplayerPlayerNbts ( ) { List < PlayerNbt > result = new ArrayList < PlayerNbt > ( ) ; for ( File playerdataFile : getPlayerdataFiles ( ) ) { if ( playerdataFile . isFile ( ) ) { result . add ( createPlayerdataPlayerNbt ( getPlayerUUIDFromPlayerdataFile ( playerdataFile ) ) ...
184
java-test-2992
java
What does minecraft use as filename since version 1 . 7 . 6 ?
the player uuid
@ Not Null public List < Player Nbt > create Multiplayer Player Nbts ( ) { List < Player Nbt > result = new Array List < Player Nbt > ( ) ; for ( File playerdata File : get Playerdata Files ( ) ) { if ( playerdata File . is File ( ) ) { result . add ( create Playerdata Player Nbt ( get Player UUID From Playerdata File ...
@ NotNull public List < PlayerNbt > createMultiplayerPlayerNbts ( ) { List < PlayerNbt > result = new ArrayList < PlayerNbt > ( ) ; for ( File playerdataFile : getPlayerdataFiles ( ) ) { if ( playerdataFile . isFile ( ) ) { result . add ( createPlayerdataPlayerNbt ( getPlayerUUIDFromPlayerdataFile ( playerdataFile ) ) ...
184
java-test-2995
java
What does the code add to the transfer tag except if an alarm with the same i d i d already present or , if the alarm values do not belong to the specified tag ?
the given alarm values
public final void add Alarm Values ( final List < Alarm Value Impl > alarm Values ) { if ( alarm Values != null ) { for ( Alarm Value Impl alarm Value : alarm Values ) { if ( alarm Value != null ) { add Alarm Value ( alarm Value ) ; } } } }
public final void addAlarmValues ( final List < AlarmValueImpl > alarmValues ) { if ( alarmValues != null ) { for ( AlarmValueImpl alarmValue : alarmValues ) { if ( alarmValue != null ) { addAlarmValue ( alarmValue ) ; } } } }
58
java-test-2997
java
What does this function test ?
whether the specified database driver in the configuration is available or not
private void test Driver ( ) throws Couldnt Load Driver Exception { try { Class . for Name ( m database Configuration . get Driver ( ) ) ; } catch ( final Class Not Found Exception exception ) { throw new Couldnt Load Driver Exception ( STRING + m database Configuration . get Driver ( ) + STRING ) ; } }
private void testDriver ( ) throws CouldntLoadDriverException { try { Class . forName ( m_databaseConfiguration . getDriver ( ) ) ; } catch ( final ClassNotFoundException exception ) { throw new CouldntLoadDriverException ( STRING + m_databaseConfiguration . getDriver ( ) + STRING ) ; } }
63
java-test-2998
java
What does string contain ?
a config file keyword
public static boolean contains Config File Keyword ( String string ) { Iterator iterator = CONFIG KEYWORDS . iterator ( ) ; while ( iterator . has Next ( ) ) { if ( string . contains ( ( Char Sequence ) iterator . next ( ) ) ) { return BOOL ; } } return BOOL ; }
public static boolean containsConfigFileKeyword ( String string ) { Iterator iterator = CONFIG_KEYWORDS . iterator ( ) ; while ( iterator . hasNext ( ) ) { if ( string . contains ( ( CharSequence ) iterator . next ( ) ) ) { return _BOOL ; } } return _BOOL ; }
59
java-test-2999
java
What is in the offspring ?
an anchor view
void maybe Add Dependency ( View anchor View , View child View , View Chase Choreography choreography ) { if ( child Choreography . contains Key ( anchor View ) ) { Choreography Chain child = child Choreography . get ( anchor View ) ; child . add Child Dependency ( child View , choreography ) ; return ; } for ( Choreog...
void maybeAddDependency ( View anchorView , View childView , ViewChaseChoreography choreography ) { if ( childChoreography . containsKey ( anchorView ) ) { ChoreographyChain child = childChoreography . get ( anchorView ) ; child . addChildDependency ( childView , choreography ) ; return ; } for ( ChoreographyChain d : ...
91
java-test-3000
java
Where do an anchor view be ?
in the offspring
void maybe Add Dependency ( View anchor View , View child View , View Chase Choreography choreography ) { if ( child Choreography . contains Key ( anchor View ) ) { Choreography Chain child = child Choreography . get ( anchor View ) ; child . add Child Dependency ( child View , choreography ) ; return ; } for ( Choreog...
void maybeAddDependency ( View anchorView , View childView , ViewChaseChoreography choreography ) { if ( childChoreography . containsKey ( anchorView ) ) { ChoreographyChain child = childChoreography . get ( anchorView ) ; child . addChildDependency ( childView , choreography ) ; return ; } for ( ChoreographyChain d : ...
91
java-test-3001
java
Where be the passed in pageformat be usable ?
on the printerjob ' s current printer
public Page Format validate Page ( Page Format page ) { Page Format new Page = ( Page Format ) page . clone ( ) ; Paper new Paper = new Paper ( ) ; validate Paper ( new Page . get Paper ( ) , new Paper ) ; new Page . set Paper ( new Paper ) ; return new Page ; }
public PageFormat validatePage ( PageFormat page ) { PageFormat newPage = ( PageFormat ) page . clone ( ) ; Paper newPaper = new Paper ( ) ; validatePaper ( newPage . getPaper ( ) , newPaper ) ; newPage . setPaper ( newPaper ) ; return newPage ; }
65
java-test-3002
java
What be usable on the printerjob ' s current printer ?
the passed in pageformat
public Page Format validate Page ( Page Format page ) { Page Format new Page = ( Page Format ) page . clone ( ) ; Paper new Paper = new Paper ( ) ; validate Paper ( new Page . get Paper ( ) , new Paper ) ; new Page . set Paper ( new Paper ) ; return new Page ; }
public PageFormat validatePage ( PageFormat page ) { PageFormat newPage = ( PageFormat ) page . clone ( ) ; Paper newPaper = new Paper ( ) ; validatePaper ( newPage . getPaper ( ) , newPaper ) ; newPage . setPaper ( newPaper ) ; return newPage ; }
65
java-test-3003
java
What does the code define ?
a proxy class in the given class loader
private static Class < ? > load Proxy Class ( Class Loader loader , Class < ? > [ ] interfaces ) throws Class Not Found Exception { try { return Proxy . get Proxy Class ( loader , interfaces ) ; } catch ( Illegal Argument Exception e ) { throw new Class Not Found Exception ( STRING , e ) ; } }
private static Class < ? > loadProxyClass ( ClassLoader loader , Class < ? > [ ] interfaces ) throws ClassNotFoundException { try { return Proxy . getProxyClass ( loader , interfaces ) ; } catch ( IllegalArgumentException e ) { throw new ClassNotFoundException ( STRING , e ) ; } }
65
java-test-3004
java
What will the proxy class implement ?
the given interfaces classes
private static Class < ? > load Proxy Class ( Class Loader loader , Class < ? > [ ] interfaces ) throws Class Not Found Exception { try { return Proxy . get Proxy Class ( loader , interfaces ) ; } catch ( Illegal Argument Exception e ) { throw new Class Not Found Exception ( STRING , e ) ; } }
private static Class < ? > loadProxyClass ( ClassLoader loader , Class < ? > [ ] interfaces ) throws ClassNotFoundException { try { return Proxy . getProxyClass ( loader , interfaces ) ; } catch ( IllegalArgumentException e ) { throw new ClassNotFoundException ( STRING , e ) ; } }
65
java-test-3005
java
What does the code write ?
a pcp mmv table - of - contents block
private void write Toc ( Byte Buffer data File Buffer , Toc Type toc Type , int entry Count , int first Entry Offset ) { data File Buffer . put Int ( toc Type . identifier ) ; data File Buffer . put Int ( entry Count ) ; data File Buffer . put Long ( first Entry Offset ) ; }
private void writeToc ( ByteBuffer dataFileBuffer , TocType tocType , int entryCount , int firstEntryOffset ) { dataFileBuffer . putInt ( tocType . identifier ) ; dataFileBuffer . putInt ( entryCount ) ; dataFileBuffer . putLong ( firstEntryOffset ) ; }
63
java-test-3006
java
What does method use ?
to write content of the part
public void start Part ( String content Type , String [ ] headers ) throws IO Exception { write Current Boundary ( ) ; if ( content Type != null ) { write String ( Mime Utils . HEADER CONTENT TYPE + STRING + content Type ) ; out . write ( CRLF ) ; } for ( int i = NUM ; headers != null && i < headers . length ; i ++ ) {...
public void startPart ( String contentType , String [ ] headers ) throws IOException { writeCurrentBoundary ( ) ; if ( contentType != null ) { writeString ( MimeUtils . HEADER_CONTENT_TYPE + STRING + contentType ) ; out . write ( CRLF ) ; } for ( int i = _NUM ; headers != null && i < headers . length ; i ++ ) { writeSt...
102
java-test-3007
java
What does the code start ?
new mime part
public void start Part ( String content Type , String [ ] headers ) throws IO Exception { write Current Boundary ( ) ; if ( content Type != null ) { write String ( Mime Utils . HEADER CONTENT TYPE + STRING + content Type ) ; out . write ( CRLF ) ; } for ( int i = NUM ; headers != null && i < headers . length ; i ++ ) {...
public void startPart ( String contentType , String [ ] headers ) throws IOException { writeCurrentBoundary ( ) ; if ( contentType != null ) { writeString ( MimeUtils . HEADER_CONTENT_TYPE + STRING + contentType ) ; out . write ( CRLF ) ; } for ( int i = _NUM ; headers != null && i < headers . length ; i ++ ) { writeSt...
102
java-test-3008
java
What does this method register ?
the default prefixes
public static void register Default Prefixes ( ) throws XML Security Exception { set Default Prefix ( STRING , STRING ) ; set Default Prefix ( STRING , STRING ) ; set Default Prefix ( STRING , STRING ) ; set Default Prefix ( STRING , STRING ) ; set Default Prefix ( STRING , STRING ) ; set Default Prefix ( STRING , STRI...
public static void registerDefaultPrefixes ( ) throws XMLSecurityException { setDefaultPrefix ( STRING , STRING ) ; setDefaultPrefix ( STRING , STRING ) ; setDefaultPrefix ( STRING , STRING ) ; setDefaultPrefix ( STRING , STRING ) ; setDefaultPrefix ( STRING , STRING ) ; setDefaultPrefix ( STRING , STRING ) ; setDefaul...
86
java-test-3009
java
What do a list of item get ?
from a list o model
protected List < Item > to Items ( List < Model > models ) { if ( models == null ) { return Collections . empty List ( ) ; } int size = models . size ( ) ; List < Item > items = new Array List < > ( size ) ; for ( int i = NUM ; i < size ; i ++ ) { items . add ( to Item ( models . get ( i ) ) ) ; } return items ; }
protected List < Item > toItems ( List < Model > models ) { if ( models == null ) { return Collections . emptyList ( ) ; } int size = models . size ( ) ; List < Item > items = new ArrayList < > ( size ) ; for ( int i = _NUM ; i < size ; i ++ ) { items . add ( toItem ( models . get ( i ) ) ) ; } return items ; }
91
java-test-3010
java
What gets from a list o model ?
a list of item
protected List < Item > to Items ( List < Model > models ) { if ( models == null ) { return Collections . empty List ( ) ; } int size = models . size ( ) ; List < Item > items = new Array List < > ( size ) ; for ( int i = NUM ; i < size ; i ++ ) { items . add ( to Item ( models . get ( i ) ) ) ; } return items ; }
protected List < Item > toItems ( List < Model > models ) { if ( models == null ) { return Collections . emptyList ( ) ; } int size = models . size ( ) ; List < Item > items = new ArrayList < > ( size ) ; for ( int i = _NUM ; i < size ; i ++ ) { items . add ( toItem ( models . get ( i ) ) ) ; } return items ; }
91
java-test-3011
java
How do them add to the appropriate year for news stories or other info gathering ?
by student standing run through each type of player
private void group Player Standing CSV ( ) { for ( Player QB p : team Q Bs ) { if ( p . year == NUM ) team R Ss . add ( p ) ; else if ( p . year == NUM ) team F Rs . add ( p ) ; else if ( p . year == NUM ) team S Os . add ( p ) ; else if ( p . year == NUM ) team J Rs . add ( p ) ; else if ( p . year == NUM ) team S Rs ...
private void groupPlayerStandingCSV ( ) { for ( PlayerQB p : teamQBs ) { if ( p . year == _NUM ) teamRSs . add ( p ) ; else if ( p . year == _NUM ) teamFRs . add ( p ) ; else if ( p . year == _NUM ) teamSOs . add ( p ) ; else if ( p . year == _NUM ) teamJRs . add ( p ) ; else if ( p . year == _NUM ) teamSRs . add ( p )...
818
java-test-3012
java
For what purpose do them add to the appropriate year by student standing run through each type of player ?
for news stories or other info gathering
private void group Player Standing CSV ( ) { for ( Player QB p : team Q Bs ) { if ( p . year == NUM ) team R Ss . add ( p ) ; else if ( p . year == NUM ) team F Rs . add ( p ) ; else if ( p . year == NUM ) team S Os . add ( p ) ; else if ( p . year == NUM ) team J Rs . add ( p ) ; else if ( p . year == NUM ) team S Rs ...
private void groupPlayerStandingCSV ( ) { for ( PlayerQB p : teamQBs ) { if ( p . year == _NUM ) teamRSs . add ( p ) ; else if ( p . year == _NUM ) teamFRs . add ( p ) ; else if ( p . year == _NUM ) teamSOs . add ( p ) ; else if ( p . year == _NUM ) teamJRs . add ( p ) ; else if ( p . year == _NUM ) teamSRs . add ( p )...
818
java-test-3014
java
What does the code given a set of query params assert ?
that exactly one document is returned
public static Solr Document assert Search One Doc ( Solr Params p ) throws Exception { Solr Document List docs = assert Search ( p ) ; assert Equals ( STRING + p . to String ( ) + STRING + docs . to String ( ) , NUM , docs . get Num Found ( ) ) ; assert Equals ( STRING + p . to String ( ) + STRING + docs . to String ( ...
public static SolrDocument assertSearchOneDoc ( SolrParams p ) throws Exception { SolrDocumentList docs = assertSearch ( p ) ; assertEquals ( STRING + p . toString ( ) + STRING + docs . toString ( ) , _NUM , docs . getNumFound ( ) ) ; assertEquals ( STRING + p . toString ( ) + STRING + docs . toString ( ) , _NUM , docs...
98
java-test-3015
java
What asserts that exactly one document is returned ?
the code given a set of query params
public static Solr Document assert Search One Doc ( Solr Params p ) throws Exception { Solr Document List docs = assert Search ( p ) ; assert Equals ( STRING + p . to String ( ) + STRING + docs . to String ( ) , NUM , docs . get Num Found ( ) ) ; assert Equals ( STRING + p . to String ( ) + STRING + docs . to String ( ...
public static SolrDocument assertSearchOneDoc ( SolrParams p ) throws Exception { SolrDocumentList docs = assertSearch ( p ) ; assertEquals ( STRING + p . toString ( ) + STRING + docs . toString ( ) , _NUM , docs . getNumFound ( ) ) ; assertEquals ( STRING + p . toString ( ) + STRING + docs . toString ( ) , _NUM , docs...
98
java-test-3016
java
What does a value source build ?
from a given string and a given source type
private static Value Source build Source Tree ( Index Schema schema , String expression , int source Type ) { int expression Type = get Source Type ( expression ) ; if ( source Type != FIELD TYPE && expression Type != FIELD TYPE && expression Type != FILTER TYPE && expression Type != source Type ) { return null ; } swi...
private static ValueSource buildSourceTree ( IndexSchema schema , String expression , int sourceType ) { int expressionType = getSourceType ( expression ) ; if ( sourceType != FIELD_TYPE && expressionType != FIELD_TYPE && expressionType != FILTER_TYPE && expressionType != sourceType ) { return null ; } switch ( express...
186
java-test-3017
java
What builds from a given string and a given source type ?
a value source
private static Value Source build Source Tree ( Index Schema schema , String expression , int source Type ) { int expression Type = get Source Type ( expression ) ; if ( source Type != FIELD TYPE && expression Type != FIELD TYPE && expression Type != FILTER TYPE && expression Type != source Type ) { return null ; } swi...
private static ValueSource buildSourceTree ( IndexSchema schema , String expression , int sourceType ) { int expressionType = getSourceType ( expression ) ; if ( sourceType != FIELD_TYPE && expressionType != FIELD_TYPE && expressionType != FILTER_TYPE && expressionType != sourceType ) { return null ; } switch ( express...
186
java-test-3018
java
What does the code add ?
the filters , from previously - taken filters
public void apply ( Filter Set filter Set , Filter Service Granular Lock Factory lock Factory ) { for ( Filter Set Entry entry : filter Set . get Filters ( ) ) { add ( entry . get Filter Value Set ( ) , entry . get Handle ( ) , lock Factory ) ; } }
public void apply ( FilterSet filterSet , FilterServiceGranularLockFactory lockFactory ) { for ( FilterSetEntry entry : filterSet . getFilters ( ) ) { add ( entry . getFilterValueSet ( ) , entry . getHandle ( ) , lockFactory ) ; } }
58
java-test-3021
java
Do the suggested exportmasks meet the vplex requirements ?
No
private Set < URI > filter Export Masks By V Plex Requirements ( Storage System vplex , Storage System array , URI varray URI , Export Mask Placement Descriptor placement Descriptor ) { Map < URI , Export Mask > mask Set = placement Descriptor . get Masks ( ) ; Map < URI , Volume > volume Map = placement Descriptor . g...
private Set < URI > filterExportMasksByVPlexRequirements ( StorageSystem vplex , StorageSystem array , URI varrayURI , ExportMaskPlacementDescriptor placementDescriptor ) { Map < URI , ExportMask > maskSet = placementDescriptor . getMasks ( ) ; Map < URI , Volume > volumeMap = placementDescriptor . getVolumesToPlace ( ...
427
java-test-3022
java
What will examine the placement descriptor to filter out any of the suggested exportmasks that do not meet the vplex requirements ?
routine
private Set < URI > filter Export Masks By V Plex Requirements ( Storage System vplex , Storage System array , URI varray URI , Export Mask Placement Descriptor placement Descriptor ) { Map < URI , Export Mask > mask Set = placement Descriptor . get Masks ( ) ; Map < URI , Volume > volume Map = placement Descriptor . g...
private Set < URI > filterExportMasksByVPlexRequirements ( StorageSystem vplex , StorageSystem array , URI varrayURI , ExportMaskPlacementDescriptor placementDescriptor ) { Map < URI , ExportMask > maskSet = placementDescriptor . getMasks ( ) ; Map < URI , Volume > volumeMap = placementDescriptor . getVolumesToPlace ( ...
427
java-test-3023
java
For what purpose will routine examine the placement descriptor ?
to filter out any of the suggested exportmasks that do not meet the vplex requirements
private Set < URI > filter Export Masks By V Plex Requirements ( Storage System vplex , Storage System array , URI varray URI , Export Mask Placement Descriptor placement Descriptor ) { Map < URI , Export Mask > mask Set = placement Descriptor . get Masks ( ) ; Map < URI , Volume > volume Map = placement Descriptor . g...
private Set < URI > filterExportMasksByVPlexRequirements ( StorageSystem vplex , StorageSystem array , URI varrayURI , ExportMaskPlacementDescriptor placementDescriptor ) { Map < URI , ExportMask > maskSet = placementDescriptor . getMasks ( ) ; Map < URI , Volume > volumeMap = placementDescriptor . getVolumesToPlace ( ...
427
java-test-3024
java
What do the suggested exportmasks not meet ?
the vplex requirements
private Set < URI > filter Export Masks By V Plex Requirements ( Storage System vplex , Storage System array , URI varray URI , Export Mask Placement Descriptor placement Descriptor ) { Map < URI , Export Mask > mask Set = placement Descriptor . get Masks ( ) ; Map < URI , Volume > volume Map = placement Descriptor . g...
private Set < URI > filterExportMasksByVPlexRequirements ( StorageSystem vplex , StorageSystem array , URI varrayURI , ExportMaskPlacementDescriptor placementDescriptor ) { Map < URI , ExportMask > maskSet = placementDescriptor . getMasks ( ) ; Map < URI , Volume > volumeMap = placementDescriptor . getVolumesToPlace ( ...
427
java-test-3025
java
What do not meet the vplex requirements ?
the suggested exportmasks
private Set < URI > filter Export Masks By V Plex Requirements ( Storage System vplex , Storage System array , URI varray URI , Export Mask Placement Descriptor placement Descriptor ) { Map < URI , Export Mask > mask Set = placement Descriptor . get Masks ( ) ; Map < URI , Volume > volume Map = placement Descriptor . g...
private Set < URI > filterExportMasksByVPlexRequirements ( StorageSystem vplex , StorageSystem array , URI varrayURI , ExportMaskPlacementDescriptor placementDescriptor ) { Map < URI , ExportMask > maskSet = placementDescriptor . getMasks ( ) ; Map < URI , Volume > volumeMap = placementDescriptor . getVolumesToPlace ( ...
427