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-3175 | java | How does a list return ? | with the paths of all java classes | public static List < String > classes Path ( ) throws File Not Found Exception , Loading File Exception { List < File > files = get Java Files ( ) ; List < String > paths = new Array List < String > ( ) ; for ( File file : files ) paths . add ( file . get Path ( ) ) ; return paths ; } | public static List < String > classesPath ( ) throws FileNotFoundException , LoadingFileException { List < File > files = getJavaFiles ( ) ; List < String > paths = new ArrayList < String > ( ) ; for ( File file : files ) paths . add ( file . getPath ( ) ) ; return paths ; } | 70 |
java-test-3176 | java | Does the threadidtosequence i d map have only one entry ? | No | public static Object [ ] assert Thread Id To Sequence Id Map Has Entry Ids ( ) { Event ID [ ] evids = new Event ID [ NUM ] ; Map map = pool . get Thread Id To Sequence Id Map ( ) ; assert Not Null ( map ) ; evids [ NUM ] = put Allevent Id 1 ; evids [ NUM ] = put Allevent Id 2 ; evids [ NUM ] = put Allevent Id 3 ; evids... | public static Object [ ] assertThreadIdToSequenceIdMapHasEntryIds ( ) { EventID [ ] evids = new EventID [ _NUM ] ; Map map = pool . getThreadIdToSequenceIdMap ( ) ; assertNotNull ( map ) ; evids [ _NUM ] = putAlleventId1 ; evids [ _NUM ] = putAlleventId2 ; evids [ _NUM ] = putAlleventId3 ; evids [ _NUM ] = putAlleventI... | 157 |
java-test-3177 | java | What does the threadidtosequence i d map not have ? | only one entry | public static Object [ ] assert Thread Id To Sequence Id Map Has Entry Ids ( ) { Event ID [ ] evids = new Event ID [ NUM ] ; Map map = pool . get Thread Id To Sequence Id Map ( ) ; assert Not Null ( map ) ; evids [ NUM ] = put Allevent Id 1 ; evids [ NUM ] = put Allevent Id 2 ; evids [ NUM ] = put Allevent Id 3 ; evids... | public static Object [ ] assertThreadIdToSequenceIdMapHasEntryIds ( ) { EventID [ ] evids = new EventID [ _NUM ] ; Map map = pool . getThreadIdToSequenceIdMap ( ) ; assertNotNull ( map ) ; evids [ _NUM ] = putAlleventId1 ; evids [ _NUM ] = putAlleventId2 ; evids [ _NUM ] = putAlleventId3 ; evids [ _NUM ] = putAlleventI... | 157 |
java-test-3178 | java | What not has only one entry ? | the threadidtosequence i d map | public static Object [ ] assert Thread Id To Sequence Id Map Has Entry Ids ( ) { Event ID [ ] evids = new Event ID [ NUM ] ; Map map = pool . get Thread Id To Sequence Id Map ( ) ; assert Not Null ( map ) ; evids [ NUM ] = put Allevent Id 1 ; evids [ NUM ] = put Allevent Id 2 ; evids [ NUM ] = put Allevent Id 3 ; evids... | public static Object [ ] assertThreadIdToSequenceIdMapHasEntryIds ( ) { EventID [ ] evids = new EventID [ _NUM ] ; Map map = pool . getThreadIdToSequenceIdMap ( ) ; assertNotNull ( map ) ; evids [ _NUM ] = putAlleventId1 ; evids [ _NUM ] = putAlleventId2 ; evids [ _NUM ] = putAlleventId3 ; evids [ _NUM ] = putAlleventI... | 157 |
java-test-3179 | java | What does the code handle ? | the delete / dnf / plustwo butons | private void handle Buttons ( boolean hide Buttons ) { if ( hide Buttons ) { quick Action Buttons . set Visibility ( View . GONE ) ; } else { quick Action Buttons . set Visibility ( View . VISIBLE ) ; } Broadcaster . broadcast ( get Activity ( ) , STRING , STRING ) ; } | private void handleButtons ( boolean hideButtons ) { if ( hideButtons ) { quickActionButtons . setVisibility ( View . GONE ) ; } else { quickActionButtons . setVisibility ( View . VISIBLE ) ; } Broadcaster . broadcast ( getActivity ( ) , STRING , STRING ) ; } | 59 |
java-test-3182 | java | For what purpose did all references need ? | for this signature | private List < Reference > create Signature References ( XML Signature Factory xml Sig Factory , List < String > reference Id List ) throws No Such Algorithm Exception , Invalid Algorithm Parameter Exception { List < Reference > result = new Array List < Reference > ( ) ; for ( String ref Id : reference Id List ) { if ... | private List < Reference > createSignatureReferences ( XMLSignatureFactory xmlSigFactory , List < String > referenceIdList ) throws NoSuchAlgorithmException , InvalidAlgorithmParameterException { List < Reference > result = new ArrayList < Reference > ( ) ; for ( String refId : referenceIdList ) { if ( refId == null ) ... | 156 |
java-test-3183 | java | What is not stopped in that case ? | the work | public static boolean cancel Potential Work ( Object data , Image View image View ) { final Bitmap Worker Task bitmap Worker Task = get Bitmap Worker Task ( image View ) ; if ( bitmap Worker Task != null ) { final Object bitmap Data = bitmap Worker Task . m Data ; if ( bitmap Data == null || ! bitmap Data . equals ( da... | public static boolean cancelPotentialWork ( Object data , ImageView imageView ) { final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask ( imageView ) ; if ( bitmapWorkerTask != null ) { final Object bitmapData = bitmapWorkerTask . mData ; if ( bitmapData == null || ! bitmapData . equals ( data ) ) { bitmapWorke... | 112 |
java-test-3184 | java | Is the work stopped in that case ? | No | public static boolean cancel Potential Work ( Object data , Image View image View ) { final Bitmap Worker Task bitmap Worker Task = get Bitmap Worker Task ( image View ) ; if ( bitmap Worker Task != null ) { final Object bitmap Data = bitmap Worker Task . m Data ; if ( bitmap Data == null || ! bitmap Data . equals ( da... | public static boolean cancelPotentialWork ( Object data , ImageView imageView ) { final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask ( imageView ) ; if ( bitmapWorkerTask != null ) { final Object bitmapData = bitmapWorkerTask . mData ; if ( bitmapData == null || ! bitmapData . equals ( data ) ) { bitmapWorke... | 112 |
java-test-3185 | java | Where is the work not stopped ? | in that case | public static boolean cancel Potential Work ( Object data , Image View image View ) { final Bitmap Worker Task bitmap Worker Task = get Bitmap Worker Task ( image View ) ; if ( bitmap Worker Task != null ) { final Object bitmap Data = bitmap Worker Task . m Data ; if ( bitmap Data == null || ! bitmap Data . equals ( da... | public static boolean cancelPotentialWork ( Object data , ImageView imageView ) { final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask ( imageView ) ; if ( bitmapWorkerTask != null ) { final Object bitmapData = bitmapWorkerTask . mData ; if ( bitmapData == null || ! bitmapData . equals ( data ) ) { bitmapWorke... | 112 |
java-test-3186 | java | What does the code write ? | a source / sink specification object for java method parameters | private void write Java Parameter Spec ( Java Parameter Spec spec , Document document , Element parent Element ) { Element parameter = document . create Element ( STRING ) ; parent Element . append Child ( parameter ) ; parameter . set Attribute ( STRING , spec . get Package Name ( ) ) ; parameter . set Attribute ( STR... | private void writeJavaParameterSpec ( JavaParameterSpec spec , Document document , Element parentElement ) { Element parameter = document . createElement ( STRING ) ; parentElement . appendChild ( parameter ) ; parameter . setAttribute ( STRING , spec . getPackageName ( ) ) ; parameter . setAttribute ( STRING , spec . ... | 111 |
java-test-3187 | java | What does the code add to this history ? | editor input | public void add ( I Editor Input input ) { File file = MME . get File ( input ) ; if ( file != null ) { String uri = Workbook History Item . to URI ( file . get Absolute Path ( ) ) ; remove ( input , uri ) ; items . add ( NUM , new Workbook History Item ( input , uri , System . current Time Millis ( ) ) ) ; while ( ite... | public void add ( IEditorInput input ) { File file = MME . getFile ( input ) ; if ( file != null ) { String uri = WorkbookHistoryItem . toURI ( file . getAbsolutePath ( ) ) ; remove ( input , uri ) ; items . add ( _NUM , new WorkbookHistoryItem ( input , uri , System . currentTimeMillis ( ) ) ) ; while ( items . size (... | 129 |
java-test-3190 | java | What do a string contain ? | the port names for printing | private String ports To String ( Set < Storage Port > list ) { String Builder buf = new String Builder ( ) ; for ( Storage Port port : list ) { buf . append ( port . get Port Name ( ) + STRING ) ; } return buf . to String ( ) ; } | private String portsToString ( Set < StoragePort > list ) { StringBuilder buf = new StringBuilder ( ) ; for ( StoragePort port : list ) { buf . append ( port . getPortName ( ) + STRING ) ; } return buf . toString ( ) ; } | 58 |
java-test-3191 | java | What does the code take ? | a set of storageports | private String ports To String ( Set < Storage Port > list ) { String Builder buf = new String Builder ( ) ; for ( Storage Port port : list ) { buf . append ( port . get Port Name ( ) + STRING ) ; } return buf . to String ( ) ; } | private String portsToString ( Set < StoragePort > list ) { StringBuilder buf = new StringBuilder ( ) ; for ( StoragePort port : list ) { buf . append ( port . getPortName ( ) + STRING ) ; } return buf . toString ( ) ; } | 58 |
java-test-3192 | java | What does the code return ? | a string containing the port names for printing | private String ports To String ( Set < Storage Port > list ) { String Builder buf = new String Builder ( ) ; for ( Storage Port port : list ) { buf . append ( port . get Port Name ( ) + STRING ) ; } return buf . to String ( ) ; } | private String portsToString ( Set < StoragePort > list ) { StringBuilder buf = new StringBuilder ( ) ; for ( StoragePort port : list ) { buf . append ( port . getPortName ( ) + STRING ) ; } return buf . toString ( ) ; } | 58 |
java-test-3193 | java | What connected to databaseurl ? | managers | public Manager Factory ( String database Url , Manager Pool pool , long poll Period , Time Unit unit , Connection Mode mode ) { this . database Url = database Url ; this . pool = pool ; this . poll Ms = unit . to Millis ( poll Period ) ; this . mode = mode ; try Create Tables ( ) ; } | public ManagerFactory ( String databaseUrl , ManagerPool pool , long pollPeriod , TimeUnit unit , ConnectionMode mode ) { this . databaseUrl = databaseUrl ; this . pool = pool ; this . pollMs = unit . toMillis ( pollPeriod ) ; this . mode = mode ; tryCreateTables ( ) ; } | 66 |
java-test-3194 | java | What did managers connect ? | to databaseurl | public Manager Factory ( String database Url , Manager Pool pool , long poll Period , Time Unit unit , Connection Mode mode ) { this . database Url = database Url ; this . pool = pool ; this . poll Ms = unit . to Millis ( poll Period ) ; this . mode = mode ; try Create Tables ( ) ; } | public ManagerFactory ( String databaseUrl , ManagerPool pool , long pollPeriod , TimeUnit unit , ConnectionMode mode ) { this . databaseUrl = databaseUrl ; this . pool = pool ; this . pollMs = unit . toMillis ( pollPeriod ) ; this . mode = mode ; tryCreateTables ( ) ; } | 66 |
java-test-3206 | java | What does the code find ? | an evaluation result | public static Evaluation Result find Or Create ( Result Hierarchy hierarchy , Result parent , String name , String shortname ) { Array List < Evaluation Result > ers = Result Util . filter Results ( hierarchy , parent , Evaluation Result . class ) ; Evaluation Result ev = null ; for ( Evaluation Result e : ers ) { if (... | public static EvaluationResult findOrCreate ( ResultHierarchy hierarchy , Result parent , String name , String shortname ) { ArrayList < EvaluationResult > ers = ResultUtil . filterResults ( hierarchy , parent , EvaluationResult . class ) ; EvaluationResult ev = null ; for ( EvaluationResult e : ers ) { if ( shortname ... | 117 |
java-test-3207 | java | What do the sequence have ? | the least acute angles possible | private static double score Sequence ( List < Lat Long > pts ) { Lat Long prev = pts . get ( pts . size ( ) - NUM ) ; Lat Long prevprev = pts . get ( pts . size ( ) - NUM ) ; double prev Angle = Math . atan 2 ( prev . lat - prevprev . lat , prev . lng - prevprev . lng ) ; double score = NUM ; for ( Lat Long pt : pts ) ... | private static double scoreSequence ( List < LatLong > pts ) { LatLong prev = pts . get ( pts . size ( ) - _NUM ) ; LatLong prevprev = pts . get ( pts . size ( ) - _NUM ) ; double prevAngle = Math . atan2 ( prev . lat - prevprev . lat , prev . lng - prevprev . lng ) ; double score = _NUM ; for ( LatLong pt : pts ) { do... | 184 |
java-test-3208 | java | What do a new content verifier use ? | default algorithm | public static Content Verifier Provider create Default Content Verifier ( Public Key key ) throws Operator Creation Exception { if ( STRING == key . get Algorithm ( ) ) { return SUN VERIFICATION BUILDER . build ( key ) ; } else { return BC VERIFICATION BUILDER . build ( key ) ; } } | public static ContentVerifierProvider createDefaultContentVerifier ( PublicKey key ) throws OperatorCreationException { if ( STRING == key . getAlgorithm ( ) ) { return SUN_VERIFICATION_BUILDER . build ( key ) ; } else { return BC_VERIFICATION_BUILDER . build ( key ) ; } } | 56 |
java-test-3209 | java | When do local cache update ? | when command changed | private void update Command Cache ( String group , String command , boolean need Notify ) { String old Command = command Cache . get ( group ) ; if ( ! command . equals ( old Command ) ) { command Cache . put ( group , command ) ; if ( need Notify ) { notify Executor . execute ( new Notify Command ( group , command ) )... | private void updateCommandCache ( String group , String command , boolean needNotify ) { String oldCommand = commandCache . get ( group ) ; if ( ! command . equals ( oldCommand ) ) { commandCache . put ( group , command ) ; if ( needNotify ) { notifyExecutor . execute ( new NotifyCommand ( group , command ) ) ; LoggerU... | 112 |
java-test-3210 | java | Where did the key arrangement store ? | in settings provider | protected void update Keys ( ) { Button Info [ ] buttons = Navigation Buttons . load Button Map ( m Context ) ; int visible Count = NUM ; for ( int i = NUM ; i < buttons . length ; i ++ ) { int id = BUTTON IDS [ i ] ; Button Info info = buttons [ m Vertical ? buttons . length - i - NUM : i ] ; Key Button View button = ... | protected void updateKeys ( ) { ButtonInfo [ ] buttons = NavigationButtons . loadButtonMap ( mContext ) ; int visibleCount = _NUM ; for ( int i = _NUM ; i < buttons . length ; i ++ ) { int id = BUTTON_IDS [ i ] ; ButtonInfo info = buttons [ mVertical ? buttons . length - i - _NUM : i ] ; KeyButtonView button = ( KeyBut... | 200 |
java-test-3211 | java | How does the code update the buttons key arrangement stored in settings provider ? | according to the | protected void update Keys ( ) { Button Info [ ] buttons = Navigation Buttons . load Button Map ( m Context ) ; int visible Count = NUM ; for ( int i = NUM ; i < buttons . length ; i ++ ) { int id = BUTTON IDS [ i ] ; Button Info info = buttons [ m Vertical ? buttons . length - i - NUM : i ] ; Key Button View button = ... | protected void updateKeys ( ) { ButtonInfo [ ] buttons = NavigationButtons . loadButtonMap ( mContext ) ; int visibleCount = _NUM ; for ( int i = _NUM ; i < buttons . length ; i ++ ) { int id = BUTTON_IDS [ i ] ; ButtonInfo info = buttons [ mVertical ? buttons . length - i - _NUM : i ] ; KeyButtonView button = ( KeyBut... | 200 |
java-test-3212 | java | What stored in settings provider ? | the key arrangement | protected void update Keys ( ) { Button Info [ ] buttons = Navigation Buttons . load Button Map ( m Context ) ; int visible Count = NUM ; for ( int i = NUM ; i < buttons . length ; i ++ ) { int id = BUTTON IDS [ i ] ; Button Info info = buttons [ m Vertical ? buttons . length - i - NUM : i ] ; Key Button View button = ... | protected void updateKeys ( ) { ButtonInfo [ ] buttons = NavigationButtons . loadButtonMap ( mContext ) ; int visibleCount = _NUM ; for ( int i = _NUM ; i < buttons . length ; i ++ ) { int id = BUTTON_IDS [ i ] ; ButtonInfo info = buttons [ mVertical ? buttons . length - i - _NUM : i ] ; KeyButtonView button = ( KeyBut... | 200 |
java-test-3214 | java | What does the code add for consumption by some query ? | a chunk of intermediate results | protected boolean accept Chunk ( final I Chunk Message < I Binding Set > msg ) { if ( msg == null ) throw new Illegal Argument Exception ( ) ; if ( ! msg . is Materialized ( ) ) throw new Illegal State Exception ( ) ; final Abstract Running Query q = get Running Query ( msg . get Query Id ( ) ) ; if ( q == null ) { thr... | protected boolean acceptChunk ( final IChunkMessage < IBindingSet > msg ) { if ( msg == null ) throw new IllegalArgumentException ( ) ; if ( ! msg . isMaterialized ( ) ) throw new IllegalStateException ( ) ; final AbstractRunningQuery q = getRunningQuery ( msg . getQueryId ( ) ) ; if ( q == null ) { throw new IllegalSt... | 137 |
java-test-3215 | java | For what purpose does the code add a chunk of intermediate results ? | for consumption by some query | protected boolean accept Chunk ( final I Chunk Message < I Binding Set > msg ) { if ( msg == null ) throw new Illegal Argument Exception ( ) ; if ( ! msg . is Materialized ( ) ) throw new Illegal State Exception ( ) ; final Abstract Running Query q = get Running Query ( msg . get Query Id ( ) ) ; if ( q == null ) { thr... | protected boolean acceptChunk ( final IChunkMessage < IBindingSet > msg ) { if ( msg == null ) throw new IllegalArgumentException ( ) ; if ( ! msg . isMaterialized ( ) ) throw new IllegalStateException ( ) ; final AbstractRunningQuery q = getRunningQuery ( msg . getQueryId ( ) ) ; if ( q == null ) { throw new IllegalSt... | 137 |
java-test-3216 | java | How does the code create a clone ? | by serializing object and deserializing byte stream | public static Object serialize Clone ( final Object obj ) throws IO Exception , Class Not Found Exception { Byte Array Output Stream mem Out = new Byte Array Output Stream ( ) ; Object Output Stream obj Out = new Object Output Stream ( mem Out ) ; obj Out . write Object ( obj ) ; obj Out . close ( ) ; Byte Array Input ... | public static Object serializeClone ( final Object obj ) throws IOException , ClassNotFoundException { ByteArrayOutputStream memOut = new ByteArrayOutputStream ( ) ; ObjectOutputStream objOut = new ObjectOutputStream ( memOut ) ; objOut . writeObject ( obj ) ; objOut . close ( ) ; ByteArrayInputStream src = new ByteArr... | 111 |
java-test-3217 | java | What does the code deserializ ? | byte stream | public static Object serialize Clone ( final Object obj ) throws IO Exception , Class Not Found Exception { Byte Array Output Stream mem Out = new Byte Array Output Stream ( ) ; Object Output Stream obj Out = new Object Output Stream ( mem Out ) ; obj Out . write Object ( obj ) ; obj Out . close ( ) ; Byte Array Input ... | public static Object serializeClone ( final Object obj ) throws IOException , ClassNotFoundException { ByteArrayOutputStream memOut = new ByteArrayOutputStream ( ) ; ObjectOutputStream objOut = new ObjectOutputStream ( memOut ) ; objOut . writeObject ( obj ) ; objOut . close ( ) ; ByteArrayInputStream src = new ByteArr... | 111 |
java-test-3218 | java | When is this method called ? | before or after any rows have been processed | public void fire ( Session session , int type , boolean before Action ) { if ( row Based || before != before Action || ( type Mask & type ) == NUM ) { return ; } load ( ) ; Connection c2 = session . create Connection ( BOOL ) ; boolean old = BOOL ; if ( type != Trigger . SELECT ) { old = session . set Commit Or Rollbac... | public void fire ( Session session , int type , boolean beforeAction ) { if ( rowBased || before != beforeAction || ( typeMask & type ) == _NUM ) { return ; } load ( ) ; Connection c2 = session . createConnection ( _BOOL ) ; boolean old = _BOOL ; if ( type != Trigger . SELECT ) { old = session . setCommitOrRollbackDisa... | 236 |
java-test-3219 | java | What does the code call if required ? | the trigger class | public void fire ( Session session , int type , boolean before Action ) { if ( row Based || before != before Action || ( type Mask & type ) == NUM ) { return ; } load ( ) ; Connection c2 = session . create Connection ( BOOL ) ; boolean old = BOOL ; if ( type != Trigger . SELECT ) { old = session . set Commit Or Rollbac... | public void fire ( Session session , int type , boolean beforeAction ) { if ( rowBased || before != beforeAction || ( typeMask & type ) == _NUM ) { return ; } load ( ) ; Connection c2 = session . createConnection ( _BOOL ) ; boolean old = _BOOL ; if ( type != Trigger . SELECT ) { old = session . setCommitOrRollbackDisa... | 236 |
java-test-3224 | java | What do the object print ? | to end - user | final public void print ( Object o ) { try { Buffered Writer writer = new Buffered Writer ( resp . get Writer ( ) ) ; writer . write ( o . to String ( ) ) ; writer . flush ( ) ; } catch ( Exception e ) { if ( log . is Error Enabled ( ) ) log . error ( o , e ) ; } } | final public void print ( Object o ) { try { BufferedWriter writer = new BufferedWriter ( resp . getWriter ( ) ) ; writer . write ( o . toString ( ) ) ; writer . flush ( ) ; } catch ( Exception e ) { if ( log . isErrorEnabled ( ) ) log . error ( o , e ) ; } } | 73 |
java-test-3226 | java | When is the program running if that ' s the case ? | already | public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; } | public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; } | 52 |
java-test-3227 | java | What does the code not request ? | its deletion on program termination | public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; } | public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; } | 52 |
java-test-3228 | java | What does the code create if it ' s not present and requests its deletion on program termination or informs that the program is already running if that ' s the case ? | the lock file | public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; } | public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; } | 52 |
java-test-3229 | java | Does the code request its deletion on program termination ? | No | public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; } | public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; } | 52 |
java-test-3232 | java | What does the code add ? | the given taxon | public int add Taxon ( Taxon taxon ) { int index = get Taxon Index ( taxon ) ; if ( index == - NUM ) { taxa . add ( taxon ) ; fire Taxon Added ( taxon ) ; index = taxa . size ( ) - NUM ; } return index ; } | public int addTaxon ( Taxon taxon ) { int index = getTaxonIndex ( taxon ) ; if ( index == - _NUM ) { taxa . add ( taxon ) ; fireTaxonAdded ( taxon ) ; index = taxa . size ( ) - _NUM ; } return index ; } | 56 |
java-test-3233 | java | What does the code get if the algorithm is available if the algorithm is available ? | a sha - 256 hash of the input string | private static String try Hash String Sha 256 ( Context context , String input ) { String salt = create Salt ( context ) ; try { Message Digest hash = Message Digest . get Instance ( STRING ) ; hash . reset ( ) ; hash . update ( input . get Bytes ( ) ) ; hash . update ( salt . get Bytes ( ) ) ; byte [ ] hashed Bytes = ... | private static String tryHashStringSha256 ( Context context , String input ) { String salt = createSalt ( context ) ; try { MessageDigest hash = MessageDigest . getInstance ( STRING ) ; hash . reset ( ) ; hash . update ( input . getBytes ( ) ) ; hash . update ( salt . getBytes ( ) ) ; byte [ ] hashedBytes = hash . dige... | 106 |
java-test-3234 | java | What do the systemmembermbean represent ? | the specified distributed member or null | public Object Name manage System Member ( Distributed Member distributed Member ) throws Admin Exception , Malformed Object Name Exception { try { System Member member = lookup System Member ( distributed Member ) ; if ( member == null ) return null ; System Member Jmx Impl jmx = ( System Member Jmx Impl ) member ; Obj... | public ObjectName manageSystemMember ( DistributedMember distributedMember ) throws AdminException , MalformedObjectNameException { try { SystemMember member = lookupSystemMember ( distributedMember ) ; if ( member == null ) return null ; SystemMemberJmxImpl jmx = ( SystemMemberJmxImpl ) member ; ObjectName oname = new... | 184 |
java-test-3235 | java | What is representing the specified distributed member or null ? | the systemmembermbean | public Object Name manage System Member ( Distributed Member distributed Member ) throws Admin Exception , Malformed Object Name Exception { try { System Member member = lookup System Member ( distributed Member ) ; if ( member == null ) return null ; System Member Jmx Impl jmx = ( System Member Jmx Impl ) member ; Obj... | public ObjectName manageSystemMember ( DistributedMember distributedMember ) throws AdminException , MalformedObjectNameException { try { SystemMember member = lookupSystemMember ( distributedMember ) ; if ( member == null ) return null ; SystemMemberJmxImpl jmx = ( SystemMemberJmxImpl ) member ; ObjectName oname = new... | 184 |
java-test-3237 | java | What does the code convert into a string ? | an input number object | protected String convert To String ( Object value ) throws Throwable { String result = null ; if ( use Locale Format && value instanceof Number ) { Number Format format = get Format ( ) ; format . set Grouping Used ( BOOL ) ; result = format . format ( value ) ; } else { result = value . to String ( ) ; } return result... | protected String convertToString ( Object value ) throws Throwable { String result = null ; if ( useLocaleFormat && value instanceof Number ) { NumberFormat format = getFormat ( ) ; format . setGroupingUsed ( _BOOL ) ; result = format . format ( value ) ; } else { result = value . toString ( ) ; } return result ; } | 72 |
java-test-3238 | java | What does the code parse from the result ? | the races | private List < Race > parse Races ( String json ) { List < Race > result = new Array List < > ( ) ; if ( json == null ) { return null ; } JSON Parser parser = new JSON Parser ( ) ; try { JSON Object root = ( JSON Object ) parser . parse ( json . trim ( ) ) ; JSON Array races = ( JSON Array ) root . get ( STRING ) ; for... | private List < Race > parseRaces ( String json ) { List < Race > result = new ArrayList < > ( ) ; if ( json == null ) { return null ; } JSONParser parser = new JSONParser ( ) ; try { JSONObject root = ( JSONObject ) parser . parse ( json . trim ( ) ) ; JSONArray races = ( JSONArray ) root . get ( STRING ) ; for ( Objec... | 162 |
java-test-3241 | java | What does the code update ? | the cluster ' s tenant | private static void update Cluster Tenant ( Db Client db Client , URI data Center Id , URI tenant Id ) { List < Named Element > clusters Uris = list Children ( db Client , data Center Id , Cluster . class , STRING , STRING ) ; for ( Named Element cluster Uri : clusters Uris ) { Cluster cluster = db Client . query Objec... | private static void updateClusterTenant ( DbClient dbClient , URI dataCenterId , URI tenantId ) { List < NamedElement > clustersUris = listChildren ( dbClient , dataCenterId , Cluster . class , STRING , STRING ) ; for ( NamedElement clusterUri : clustersUris ) { Cluster cluster = dbClient . queryObject ( Cluster . clas... | 110 |
java-test-3242 | java | What might extensions register with this method with this method ? | additional aggregation functions | public static void register New Aggregation Function ( String name , Class < ? extends Aggregation Function > clazz , Aggregation Function Meta Data Provider meta Data Provider ) { AGGREATION FUNCTIONS . put ( name , clazz ) ; AGGREGATION FUNCTIONS META DATA PROVIDER . put ( name , meta Data Provider ) ; } | public static void registerNewAggregationFunction ( String name , Class < ? extends AggregationFunction > clazz , AggregationFunctionMetaDataProvider metaDataProvider ) { AGGREATION_FUNCTIONS . put ( name , clazz ) ; AGGREGATION_FUNCTIONS_META_DATA_PROVIDER . put ( name , metaDataProvider ) ; } | 56 |
java-test-3244 | java | What does this condition reset periodically ? | its policy configuration information | private void reset Policy Config ( Map env ) throws Policy Exception , SSO Exception { if ( current Time Millis ( ) > policy Config Expires At ) { String realm Dn = Collection Helper . get Map Attr ( env , Policy Evaluator . REALM DN ) ; if ( realm Dn == null ) { debug . error ( STRING ) ; throw new Policy Exception ( ... | private void resetPolicyConfig ( Map env ) throws PolicyException , SSOException { if ( currentTimeMillis ( ) > policyConfigExpiresAt ) { String realmDn = CollectionHelper . getMapAttr ( env , PolicyEvaluator . REALM_DN ) ; if ( realmDn == null ) { debug . error ( STRING ) ; throw new PolicyException ( ResBundleUtils .... | 115 |
java-test-3245 | java | Where do shapes represent the six sides of a block ? | in a horizontal stack | private Shape [ ] create Horizontal Block ( double x0 , double width , double y0 , double y1 , boolean inverted ) { Shape [ ] result = new Shape [ NUM ] ; Point 2 D p00 = new Point 2 D . Double ( y0 , x0 ) ; Point 2 D p01 = new Point 2 D . Double ( y0 , x0 + width ) ; Point 2 D p02 = new Point 2 D . Double ( p01 . get ... | private Shape [ ] createHorizontalBlock ( double x0 , double width , double y0 , double y1 , boolean inverted ) { Shape [ ] result = new Shape [ _NUM ] ; Point2D p00 = new Point2D . Double ( y0 , x0 ) ; Point2D p01 = new Point2D . Double ( y0 , x0 + width ) ; Point2D p02 = new Point2D . Double ( p01 . getX ( ) + getXOf... | 1,058 |
java-test-3246 | java | Where did all strings pad ? | on the right to the length of the longest one | public static Vector pad Right ( Collection strings ) { Vector v = new Vector ( ) ; int length = max Length ( strings ) ; for ( Iterator i = strings . iterator ( ) ; i . has Next ( ) ; ) { String string = ( String ) i . next ( ) ; v . add ( pad Right ( string , length ) ) ; } return v ; } | public static Vector padRight ( Collection strings ) { Vector v = new Vector ( ) ; int length = maxLength ( strings ) ; for ( Iterator i = strings . iterator ( ) ; i . hasNext ( ) ; ) { String string = ( String ) i . next ( ) ; v . add ( padRight ( string , length ) ) ; } return v ; } | 77 |
java-test-3251 | java | What does the code load if it doesn ' t exist ? | the name mapper | protected void load Mapper ( ) throws SMS Exception { String Buffer name Map Filename = new String Buffer ( m Root Dir ) ; name Map Filename . append ( File . separator Char ) ; name Map Filename . append ( DEFAULT NAMEMAP FILENAME ) ; m Name Map Handle = new File ( name Map Filename . to String ( ) ) ; if ( m Name Map... | protected void loadMapper ( ) throws SMSException { StringBuffer nameMapFilename = new StringBuffer ( mRootDir ) ; nameMapFilename . append ( File . separatorChar ) ; nameMapFilename . append ( DEFAULT_NAMEMAP_FILENAME ) ; mNameMapHandle = new File ( nameMapFilename . toString ( ) ) ; if ( mNameMapHandle . isFile ( ) )... | 438 |
java-test-3252 | java | What handles multi - legged securidgrant ? | securidretriever | public OIDC Tokens acquire Tokens By Secur ID ( String username , String passcode , Secur ID Retriever secur Id Retriever , Token Spec token Spec ) throws OIDC Client Exception , OIDC Server Exception , Token Validation Exception , SSL Connection Exception { Validate . not Empty ( username , STRING ) ; Validate . not E... | public OIDCTokens acquireTokensBySecurID ( String username , String passcode , SecurIDRetriever securIdRetriever , TokenSpec tokenSpec ) throws OIDCClientException , OIDCServerException , TokenValidationException , SSLConnectionException { Validate . notEmpty ( username , STRING ) ; Validate . notEmpty ( passcode , STR... | 175 |
java-test-3253 | java | What does securidretriever handle ? | multi - legged securidgrant | public OIDC Tokens acquire Tokens By Secur ID ( String username , String passcode , Secur ID Retriever secur Id Retriever , Token Spec token Spec ) throws OIDC Client Exception , OIDC Server Exception , Token Validation Exception , SSL Connection Exception { Validate . not Empty ( username , STRING ) ; Validate . not E... | public OIDCTokens acquireTokensBySecurID ( String username , String passcode , SecurIDRetriever securIdRetriever , TokenSpec tokenSpec ) throws OIDCClientException , OIDCServerException , TokenValidationException , SSLConnectionException { Validate . notEmpty ( username , STRING ) ; Validate . notEmpty ( passcode , STR... | 175 |
java-test-3256 | java | Till when did time elapse ? | until now | public static String format Elapsed ( Timestamp start ) { if ( start == null ) return STRING ; long start Time = start . get Time ( ) ; long end Time = System . current Time Millis ( ) ; return format Elapsed ( end Time - start Time ) ; } | public static String formatElapsed ( Timestamp start ) { if ( start == null ) return STRING ; long startTime = start . getTime ( ) ; long endTime = System . currentTimeMillis ( ) ; return formatElapsed ( endTime - startTime ) ; } | 54 |
java-test-3258 | java | What does the code add to the list of biomes allowed to generate ? | all biomes of this type | public void add Biome Type ( Biome Dictionary . Type type ) { Array List < Biome Gen Base > entry List = new Array List < Biome Gen Base > ( ) ; entry List . add All ( Arrays . as List ( Biome Dictionary . get Biomes For Type ( type ) ) ) ; entry List . remove ( Biome Gen Base . hell ) ; entry List . remove ( Biome Gen... | public void addBiomeType ( BiomeDictionary . Type type ) { ArrayList < BiomeGenBase > entryList = new ArrayList < BiomeGenBase > ( ) ; entryList . addAll ( Arrays . asList ( BiomeDictionary . getBiomesForType ( type ) ) ) ; entryList . remove ( BiomeGenBase . hell ) ; entryList . remove ( BiomeGenBase . sky ) ; Iterato... | 168 |
java-test-3261 | java | What is displaying rows of data corresponding to where the user is currently pointing at ? | a overlaying rectangle | private void draw Overlay Info ( Graphics 2 D g , Point position ) { if ( m Reporting Container == null ) { return ; } int ascent = m Default Font Metrics . get Ascent ( ) ; int label Column Width = NUM ; int data Column Width = NUM ; int overlay Height = OVERLAY INFO PADDING * NUM + ascent + OVERLAY INFO LINE SPACING ... | private void drawOverlayInfo ( Graphics2D g , Point position ) { if ( mReportingContainer == null ) { return ; } int ascent = mDefaultFontMetrics . getAscent ( ) ; int labelColumnWidth = _NUM ; int dataColumnWidth = _NUM ; int overlayHeight = OVERLAY_INFO_PADDING * _NUM + ascent + OVERLAY_INFO_LINE_SPACING ; String con... | 660 |
java-test-3262 | java | What do a overlaying rectangle display ? | rows of data corresponding to where the user is currently pointing at | private void draw Overlay Info ( Graphics 2 D g , Point position ) { if ( m Reporting Container == null ) { return ; } int ascent = m Default Font Metrics . get Ascent ( ) ; int label Column Width = NUM ; int data Column Width = NUM ; int overlay Height = OVERLAY INFO PADDING * NUM + ascent + OVERLAY INFO LINE SPACING ... | private void drawOverlayInfo ( Graphics2D g , Point position ) { if ( mReportingContainer == null ) { return ; } int ascent = mDefaultFontMetrics . getAscent ( ) ; int labelColumnWidth = _NUM ; int dataColumnWidth = _NUM ; int overlayHeight = OVERLAY_INFO_PADDING * _NUM + ascent + OVERLAY_INFO_LINE_SPACING ; String con... | 660 |
java-test-3266 | java | What does the code provide ? | a skip fully method | public static void skip Fully ( Input Stream in , long bytes ) throws IO Exception { if ( bytes < NUM ) { throw new Illegal Argument Exception ( STRING + bytes + STRING ) ; } long remaining = bytes ; while ( remaining > NUM ) { long skipped = in . skip ( remaining ) ; if ( skipped <= NUM ) { throw new EOF Exception ( S... | public static void skipFully ( InputStream in , long bytes ) throws IOException { if ( bytes < _NUM ) { throw new IllegalArgumentException ( STRING + bytes + STRING ) ; } long remaining = bytes ; while ( remaining > _NUM ) { long skipped = in . skip ( remaining ) ; if ( skipped <= _NUM ) { throw new EOFException ( STRI... | 84 |
java-test-3267 | java | Where did the directories specify ? | in the file path | private void prepare Directories ( File file , Boolean create Path If Missing , Boolean remove Old Output ) { File output Directory ; if ( file . is Directory ( ) ) { output Directory = file ; } else { output Directory = file . get Parent File ( ) ; } if ( ! output Directory . exists ( ) && create Path If Missing ) { i... | private void prepareDirectories ( File file , Boolean createPathIfMissing , Boolean removeOldOutput ) { File outputDirectory ; if ( file . isDirectory ( ) ) { outputDirectory = file ; } else { outputDirectory = file . getParentFile ( ) ; } if ( ! outputDirectory . exists ( ) && createPathIfMissing ) { if ( ! outputDire... | 135 |
java-test-3268 | java | What specified in the file path ? | the directories | private void prepare Directories ( File file , Boolean create Path If Missing , Boolean remove Old Output ) { File output Directory ; if ( file . is Directory ( ) ) { output Directory = file ; } else { output Directory = file . get Parent File ( ) ; } if ( ! output Directory . exists ( ) && create Path If Missing ) { i... | private void prepareDirectories ( File file , Boolean createPathIfMissing , Boolean removeOldOutput ) { File outputDirectory ; if ( file . isDirectory ( ) ) { outputDirectory = file ; } else { outputDirectory = file . getParentFile ( ) ; } if ( ! outputDirectory . exists ( ) && createPathIfMissing ) { if ( ! outputDire... | 135 |
java-test-3269 | java | What do a model use ? | the arithmetic mean estimator | public double log Marginal Likelihood Arithmetic ( List < Double > v ) { int size = v . size ( ) ; double sum = Log Tricks . log Zero ; for ( int i = NUM ; i < size ; i ++ ) { if ( ! Double . is Na N ( v . get ( i ) ) && ! Double . is Infinite ( v . get ( i ) ) ) { sum = Log Tricks . log Sum ( sum , v . get ( i ) ) ; }... | public double logMarginalLikelihoodArithmetic ( List < Double > v ) { int size = v . size ( ) ; double sum = LogTricks . logZero ; for ( int i = _NUM ; i < size ; i ++ ) { if ( ! Double . isNaN ( v . get ( i ) ) && ! Double . isInfinite ( v . get ( i ) ) ) { sum = LogTricks . logSum ( sum , v . get ( i ) ) ; } else { s... | 117 |
java-test-3270 | java | What did it add ? | to result list | public List < Integer > diff Ways To Compute ( String input ) { List < Integer > res = new Linked List < > ( ) ; for ( int i = NUM ; i < input . length ( ) ; i ++ ) { char c = input . char At ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diff Ways To Compute ( input . substring ( NU... | public List < Integer > diffWaysToCompute ( String input ) { List < Integer > res = new LinkedList < > ( ) ; for ( int i = _NUM ; i < input . length ( ) ; i ++ ) { char c = input . charAt ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diffWaysToCompute ( input . substring ( _NUM , i ... | 216 |
java-test-3271 | java | How do the input divide into sub - strings ? | according to the operator | public List < Integer > diff Ways To Compute ( String input ) { List < Integer > res = new Linked List < > ( ) ; for ( int i = NUM ; i < input . length ( ) ; i ++ ) { char c = input . char At ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diff Ways To Compute ( input . substring ( NU... | public List < Integer > diffWaysToCompute ( String input ) { List < Integer > res = new LinkedList < > ( ) ; for ( int i = _NUM ; i < input . length ( ) ; i ++ ) { char c = input . charAt ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diffWaysToCompute ( input . substring ( _NUM , i ... | 216 |
java-test-3272 | java | What can you modify by overriding this function ? | the save / load behavior | public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos... | public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ... | 81 |
java-test-3273 | java | What is the function used ? | to save the model into disk | public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos... | public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ... | 81 |
java-test-3274 | java | How can you modify the save / load behavior ? | by overriding this function | public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos... | public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ... | 81 |
java-test-3275 | java | What do this function serialize into disk just ? | the whole object | public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos... | public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ... | 81 |
java-test-3277 | java | What does the selected view indexes convert ? | to model indexes | public static int [ ] convert Selection To Model ( J Table table ) { int [ ] selected = table . get Selected Rows ( ) ; for ( int i = NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convert Row Index To Model ( selected [ i ] ) ; } return selected ; } | public static int [ ] convertSelectionToModel ( JTable table ) { int [ ] selected = table . getSelectedRows ( ) ; for ( int i = _NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convertRowIndexToModel ( selected [ i ] ) ; } return selected ; } | 69 |
java-test-3278 | java | What converts to model indexes ? | the selected view indexes | public static int [ ] convert Selection To Model ( J Table table ) { int [ ] selected = table . get Selected Rows ( ) ; for ( int i = NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convert Row Index To Model ( selected [ i ] ) ; } return selected ; } | public static int [ ] convertSelectionToModel ( JTable table ) { int [ ] selected = table . getSelectedRows ( ) ; for ( int i = _NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convertRowIndexToModel ( selected [ i ] ) ; } return selected ; } | 69 |
java-test-3279 | java | What does the code create ? | a gzipped archive of the exported db tables | protected final long archive Exported DB Tables ( ) throws Exception { final Native Command native Command = new Native Command ( ) ; final String compressed Archived DB File Name = get Archived Compressed DB Name ( ) ; final String command = STRING + compressed Archived DB File Name + STRING + ffdc Root Directory Name... | protected final long archiveExportedDBTables ( ) throws Exception { final NativeCommand nativeCommand = new NativeCommand ( ) ; final String compressedArchivedDBFileName = getArchivedCompressedDBName ( ) ; final String command = STRING + compressedArchivedDBFileName + STRING + ffdcRootDirectoryName + STRING + DB_FFDC_S... | 197 |
java-test-3282 | java | What are encoded the sequence number and the length a prefix ? | in the first atom | protected void encode Line Prefix ( Output Stream out Stream , int length ) throws IO Exception { out Stream . write ( STRING ) ; crc . value = NUM ; tmp [ NUM ] = ( byte ) length ; tmp [ NUM ] = ( byte ) sequence ; sequence = ( sequence + NUM ) & NUM ; encode Atom ( out Stream , tmp , NUM , NUM ) ; } | protected void encodeLinePrefix ( OutputStream outStream , int length ) throws IOException { outStream . write ( STRING ) ; crc . value = _NUM ; tmp [ _NUM ] = ( byte ) length ; tmp [ _NUM ] = ( byte ) sequence ; sequence = ( sequence + _NUM ) & _NUM ; encodeAtom ( outStream , tmp , _NUM , _NUM ) ; } | 76 |
java-test-3286 | java | What does return predecessors list without blocks contain ? | ' ignore_edge ' attribute | public static List < Block Node > filter Predecessors ( Block Node block ) { List < Block Node > predecessors = block . get Predecessors ( ) ; List < Block Node > list = new Array List < Block Node > ( predecessors . size ( ) ) ; for ( Block Node pred : predecessors ) { Ignore Edge Attr edge Attr = pred . get ( A Type ... | public static List < BlockNode > filterPredecessors ( BlockNode block ) { List < BlockNode > predecessors = block . getPredecessors ( ) ; List < BlockNode > list = new ArrayList < BlockNode > ( predecessors . size ( ) ) ; for ( BlockNode pred : predecessors ) { IgnoreEdgeAttr edgeAttr = pred . get ( AType . IGNORE_EDGE... | 119 |
java-test-3287 | java | What contains ' ignore_edge ' attribute ? | return predecessors list without blocks | public static List < Block Node > filter Predecessors ( Block Node block ) { List < Block Node > predecessors = block . get Predecessors ( ) ; List < Block Node > list = new Array List < Block Node > ( predecessors . size ( ) ) ; for ( Block Node pred : predecessors ) { Ignore Edge Attr edge Attr = pred . get ( A Type ... | public static List < BlockNode > filterPredecessors ( BlockNode block ) { List < BlockNode > predecessors = block . getPredecessors ( ) ; List < BlockNode > list = new ArrayList < BlockNode > ( predecessors . size ( ) ) ; for ( BlockNode pred : predecessors ) { IgnoreEdgeAttr edgeAttr = pred . get ( AType . IGNORE_EDGE... | 119 |
java-test-3288 | java | How do predecessors list ? | without blocks | public static List < Block Node > filter Predecessors ( Block Node block ) { List < Block Node > predecessors = block . get Predecessors ( ) ; List < Block Node > list = new Array List < Block Node > ( predecessors . size ( ) ) ; for ( Block Node pred : predecessors ) { Ignore Edge Attr edge Attr = pred . get ( A Type ... | public static List < BlockNode > filterPredecessors ( BlockNode block ) { List < BlockNode > predecessors = block . getPredecessors ( ) ; List < BlockNode > list = new ArrayList < BlockNode > ( predecessors . size ( ) ) ; for ( BlockNode pred : predecessors ) { IgnoreEdgeAttr edgeAttr = pred . get ( AType . IGNORE_EDGE... | 119 |
java-test-3289 | java | For what purpose was the last keep - alive received the time ? | for a given platform ident | public void handle Keep Alive Signal ( long platform Ident ) { Agent Status Data agent Status Data = agent Status Data Map . get ( platform Ident ) ; if ( null != agent Status Data ) { agent Status Data . set Last Keep Alive Timestamp ( System . current Time Millis ( ) ) ; if ( agent Status Data . get Agent Connection ... | public void handleKeepAliveSignal ( long platformIdent ) { AgentStatusData agentStatusData = agentStatusDataMap . get ( platformIdent ) ; if ( null != agentStatusData ) { agentStatusData . setLastKeepAliveTimestamp ( System . currentTimeMillis ( ) ) ; if ( agentStatusData . getAgentConnection ( ) == AgentConnection . N... | 119 |
java-test-3290 | java | What does the pin list not contain ? | the required certs | public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; } | public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; } | 60 |
java-test-3291 | java | What does not contain the required certs ? | the pin list | public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; } | public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; } | 60 |
java-test-3292 | java | How does the given chain check ? | against the pin list corresponding to this entry | public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; } | public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; } | 60 |
java-test-3293 | java | Does the pin list contain the required certs ? | No | public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; } | public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; } | 60 |
java-test-3295 | java | What does the code find ? | the middle point of two intersect points in circle | private static Point find Midnormal Point ( Point center , Point a , Point b , Rect area , int radius ) { if ( a . y == b . y ) { if ( a . y < center . y ) { return new Point ( ( a . x + b . x ) / NUM , center . y + radius ) ; } return new Point ( ( a . x + b . x ) / NUM , center . y - radius ) ; } if ( a . x == b . x ... | private static Point findMidnormalPoint ( Point center , Point a , Point b , Rect area , int radius ) { if ( a . y == b . y ) { if ( a . y < center . y ) { return new Point ( ( a . x + b . x ) / _NUM , center . y + radius ) ; } return new Point ( ( a . x + b . x ) / _NUM , center . y - radius ) ; } if ( a . x == b . x ... | 300 |
java-test-3296 | java | For what purpose does the code process the stats line ? | to sum up all network stats belonging to the uid | @ Override public void process New Lines ( String [ ] lines ) { for ( String line : lines ) { if ( line . starts With ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { my Is File Missing = BOOL ; return ; } String [ ] values = line . split ( LINE SPLIT REGEX ) ; if ( values . length < INDEX OF TX BYTES ) ... | @ Override public void processNewLines ( String [ ] lines ) { for ( String line : lines ) { if ( line . startsWith ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { myIsFileMissing = _BOOL ; return ; } String [ ] values = line . split ( LINE_SPLIT_REGEX ) ; if ( values . length < INDEX_OF_TX_BYTES ) { con... | 257 |
java-test-3297 | java | What does the code process to sum up all network stats belonging to the uid ? | the stats line | @ Override public void process New Lines ( String [ ] lines ) { for ( String line : lines ) { if ( line . starts With ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { my Is File Missing = BOOL ; return ; } String [ ] values = line . split ( LINE SPLIT REGEX ) ; if ( values . length < INDEX OF TX BYTES ) ... | @ Override public void processNewLines ( String [ ] lines ) { for ( String line : lines ) { if ( line . startsWith ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { myIsFileMissing = _BOOL ; return ; } String [ ] values = line . split ( LINE_SPLIT_REGEX ) ; if ( values . length < INDEX_OF_TX_BYTES ) { con... | 257 |
java-test-3298 | java | What does the code create ? | the zlib bytes for pdf images | private byte [ ] to ZLIB ( Rendered Image image , Color bkg , String color Model ) throws IO Exception { return Image Graphics 2 D . to Byte Array ( image , Image Constants . RAW , Image Constants . ENCODING FLATE ASCII 85 , Image Graphics 2 D . get RAW Properties ( bkg , color Model ) ) ; } | private byte [ ] toZLIB ( RenderedImage image , Color bkg , String colorModel ) throws IOException { return ImageGraphics2D . toByteArray ( image , ImageConstants . RAW , ImageConstants . ENCODING_FLATE_ASCII85 , ImageGraphics2D . getRAWProperties ( bkg , colorModel ) ) ; } | 64 |
java-test-3299 | java | How is the depth - first search performed ? | in the relative order in which vertexes were added to the graph | public void add Vertex ( Object id ) throws Illegal Argument Exception { if ( initialized ) { throw new Illegal Argument Exception ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertex Map . put ( id , vertex ) ; if ( existing != null ) { throw new Illegal Argument Exception ( ) ; } vertex List . add ( v... | public void addVertex ( Object id ) throws IllegalArgumentException { if ( initialized ) { throw new IllegalArgumentException ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertexMap . put ( id , vertex ) ; if ( existing != null ) { throw new IllegalArgumentException ( ) ; } vertexList . add ( vertex ) ;... | 74 |
java-test-3300 | java | How were vertexes added to the graph ? | the relative order | public void add Vertex ( Object id ) throws Illegal Argument Exception { if ( initialized ) { throw new Illegal Argument Exception ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertex Map . put ( id , vertex ) ; if ( existing != null ) { throw new Illegal Argument Exception ( ) ; } vertex List . add ( v... | public void addVertex ( Object id ) throws IllegalArgumentException { if ( initialized ) { throw new IllegalArgumentException ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertexMap . put ( id , vertex ) ; if ( existing != null ) { throw new IllegalArgumentException ( ) ; } vertexList . add ( vertex ) ;... | 74 |
java-test-3303 | java | What does the code compute ? | the effective band size | protected int effective Band Size ( final int dim 1 , final int dim 2 ) { if ( band Size == Double . POSITIVE INFINITY ) { return ( dim 1 > dim 2 ) ? dim 1 : dim 2 ; } if ( band Size >= NUM ) { return ( int ) band Size ; } return ( int ) Math . ceil ( ( dim 1 >= dim 2 ? dim 1 : dim 2 ) * band Size ) ; } | protected int effectiveBandSize ( final int dim1 , final int dim2 ) { if ( bandSize == Double . POSITIVE_INFINITY ) { return ( dim1 > dim2 ) ? dim1 : dim2 ; } if ( bandSize >= _NUM ) { return ( int ) bandSize ; } return ( int ) Math . ceil ( ( dim1 >= dim2 ? dim1 : dim2 ) * bandSize ) ; } | 87 |
java-test-3304 | java | What does the code add to the external qualifier map if it is not an alias annotation ? | the annotation class | private void add Unit To External Qual Map ( final Class < ? extends Annotation > anno Class ) { Annotation Mirror mirror = Units Relations Tools . build Anno Mirror With No Prefix ( processing Env , anno Class ) ; if ( ! is Aliased Annotation ( mirror ) ) { String unit Class Name = anno Class . get Canonical Name ( ) ... | private void addUnitToExternalQualMap ( final Class < ? extends Annotation > annoClass ) { AnnotationMirror mirror = UnitsRelationsTools . buildAnnoMirrorWithNoPrefix ( processingEnv , annoClass ) ; if ( ! isAliasedAnnotation ( mirror ) ) { String unitClassName = annoClass . getCanonicalName ( ) ; if ( ! externalQualsM... | 193 |
java-test-3305 | java | How do user exist ? | by nick | @ Synchronized ( STRING ) public boolean contains User ( @ Non Null String nick ) { String nick Lowercase = nick . to Lower Case ( locale ) ; return user Nick Map . contains Key ( nick Lowercase ) || private Users . contains Key ( nick Lowercase ) ; } | @ Synchronized ( STRING ) public boolean containsUser ( @ NonNull String nick ) { String nickLowercase = nick . toLowerCase ( locale ) ; return userNickMap . containsKey ( nickLowercase ) || privateUsers . containsKey ( nickLowercase ) ; } | 53 |
java-test-3307 | java | When is exceptionally action not invoked ? | when source completes normally | public void test Exceptionally normal Completion ( ) { for ( boolean create Incomplete : new boolean [ ] { BOOL , BOOL } ) for ( Integer v1 : new Integer [ ] { NUM , null } ) { final Atomic Integer a = new Atomic Integer ( NUM ) ; final Completable Future < Integer > f = new Completable Future < > ( ) ; if ( ! create I... | public void testExceptionally_normalCompletion ( ) { for ( boolean createIncomplete : new boolean [ ] { _BOOL , _BOOL } ) for ( Integer v1 : new Integer [ ] { _NUM , null } ) { final AtomicInteger a = new AtomicInteger ( _NUM ) ; final CompletableFuture < Integer > f = new CompletableFuture < > ( ) ; if ( ! createIncom... | 149 |
java-test-3310 | java | How are flow scalars presented ? | in one of two forms | private Token scan Flow Scalar ( char style ) { boolean double ; if ( style == STRING ) { double = BOOL ; } else { double = BOOL ; } String Builder chunks = new String Builder ( ) ; Mark start Mark = reader . get Mark ( ) ; char quote = reader . peek ( ) ; reader . forward ( ) ; chunks . append ( scan Flow Scalar Non S... | private Token scanFlowScalar ( char style ) { boolean _double ; if ( style == STRING ) { _double = _BOOL ; } else { _double = _BOOL ; } StringBuilder chunks = new StringBuilder ( ) ; Mark startMark = reader . getMark ( ) ; char quote = reader . peek ( ) ; reader . forward ( ) ; chunks . append ( scanFlowScalarNonSpaces... | 169 |
java-test-3311 | java | How are the seconds reported where ? | with 0 | public static String time To String ( long period ) { period /= NUM ; final long milsecs = period % NUM ; period /= NUM ; final long secs = period % NUM ; period /= NUM ; final long mins = period % NUM ; period /= NUM ; final long hours = period ; return String . format ( STRING , hours , mins , secs , milsecs ) ; } | public static String timeToString ( long period ) { period /= _NUM ; final long milsecs = period % _NUM ; period /= _NUM ; final long secs = period % _NUM ; period /= _NUM ; final long mins = period % _NUM ; period /= _NUM ; final long hours = period ; return String . format ( STRING , hours , mins , secs , milsecs ) ;... | 74 |
java-test-3313 | java | What does the code compute ? | the tau correlation measure | @ Reference ( authors = STRING , title = STRING , booktitle = STRING , url = STRING ) public double compute Tau ( long c , long d , double m , long wd , long bd ) { double tie = ( wd * ( wd - NUM ) + bd * ( bd - NUM ) ) > > > NUM ; return ( c - d ) / Math . sqrt ( ( m - tie ) * m ) ; } | @ Reference ( authors = STRING , title = STRING , booktitle = STRING , url = STRING ) public double computeTau ( long c , long d , double m , long wd , long bd ) { double tie = ( wd * ( wd - _NUM ) + bd * ( bd - _NUM ) ) > > > _NUM ; return ( c - d ) / Math . sqrt ( ( m - tie ) * m ) ; } | 86 |
java-test-3319 | java | In which direction do an " object removed " event fire ? | to registered naminglisteners | private void fire Object Removed ( Binding old Bd , long change ID ) { if ( naming Listeners == null || naming Listeners . size ( ) == NUM ) return ; Naming Event e = new Naming Event ( event Src , Naming Event . OBJECT REMOVED , null , old Bd , new Long ( change ID ) ) ; support . queue Event ( e , naming Listeners ) ... | private void fireObjectRemoved ( Binding oldBd , long changeID ) { if ( namingListeners == null || namingListeners . size ( ) == _NUM ) return ; NamingEvent e = new NamingEvent ( eventSrc , NamingEvent . OBJECT_REMOVED , null , oldBd , new Long ( changeID ) ) ; support . queueEvent ( e , namingListeners ) ; } | 75 |
java-test-3320 | java | What does the code remove ? | leading and trailing whitespace and comments | private String read Line Trim Comments ( Buffered Reader br ) throws IO Exception { String line = br . read Line ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . index Of ( STRING ) == NUM ) { line = STRING ; } } return line ; } | private String readLineTrimComments ( BufferedReader br ) throws IOException { String line = br . readLine ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . indexOf ( STRING ) == _NUM ) { line = STRING ; } } return line ; } | 63 |
java-test-3321 | java | Where is null returned ? | on eof | private String read Line Trim Comments ( Buffered Reader br ) throws IO Exception { String line = br . read Line ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . index Of ( STRING ) == NUM ) { line = STRING ; } } return line ; } | private String readLineTrimComments ( BufferedReader br ) throws IOException { String line = br . readLine ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . indexOf ( STRING ) == _NUM ) { line = STRING ; } } return line ; } | 63 |
java-test-3322 | java | What does the code read ? | the next line from the specified bufferedreader | private String read Line Trim Comments ( Buffered Reader br ) throws IO Exception { String line = br . read Line ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . index Of ( STRING ) == NUM ) { line = STRING ; } } return line ; } | private String readLineTrimComments ( BufferedReader br ) throws IOException { String line = br . readLine ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . indexOf ( STRING ) == _NUM ) { line = STRING ; } } return line ; } | 63 |
java-test-3323 | java | Should you use this method normally ? | No | public static void write ( @ Nullable Project project , @ Not Null Virtual File virtual File , @ Not Null Object requestor , @ Not Null String text , long new Modification Stamp ) throws IO Exception { Charset existing = virtual File . get Charset ( ) ; Pair . Non Null < Charset , byte [ ] > chosen = charset For Writin... | public static void write ( @ Nullable Project project , @ NotNull VirtualFile virtualFile , @ NotNull Object requestor , @ NotNull String text , long newModificationStamp ) throws IOException { Charset existing = virtualFile . getCharset ( ) ; Pair . NonNull < Charset , byte [ ] > chosen = charsetForWriting ( project ,... | 171 |
java-test-3324 | java | How does file overwrite ? | with text | public static void write ( @ Nullable Project project , @ Not Null Virtual File virtual File , @ Not Null Object requestor , @ Not Null String text , long new Modification Stamp ) throws IO Exception { Charset existing = virtual File . get Charset ( ) ; Pair . Non Null < Charset , byte [ ] > chosen = charset For Writin... | public static void write ( @ Nullable Project project , @ NotNull VirtualFile virtualFile , @ NotNull Object requestor , @ NotNull String text , long newModificationStamp ) throws IOException { Charset existing = virtualFile . getCharset ( ) ; Pair . NonNull < Charset , byte [ ] > chosen = charsetForWriting ( project ,... | 171 |
java-test-3325 | java | For what purpose do events generate ? | for created file or directory | private void generate Create Events ( List < Igfs Path > created Paths , boolean file ) { if ( evts . is Recordable ( Event Type . EVT IGFS DIR CREATED ) ) { for ( int i = NUM ; i < created Paths . size ( ) - NUM ; i ++ ) Igfs Utils . send Events ( igfs Ctx . kernal Context ( ) , created Paths . get ( i ) , Event Type ... | private void generateCreateEvents ( List < IgfsPath > createdPaths , boolean file ) { if ( evts . isRecordable ( EventType . EVT_IGFS_DIR_CREATED ) ) { for ( int i = _NUM ; i < createdPaths . size ( ) - _NUM ; i ++ ) IgfsUtils . sendEvents ( igfsCtx . kernalContext ( ) , createdPaths . get ( i ) , EventType . EVT_IGFS_... | 195 |
java-test-3326 | java | What does the code calculate ? | the smallest surrounding box of this line segmant | public Shape Tile Box bounding box ( ) { if ( bounding box != null ) return bounding box ; Pla Point Float start corner = start point approx ( ) ; Pla Point Float end corner = end point approx ( ) ; double llx = Math . min ( start corner . v x , end corner . v x ) ; double lly = Math . min ( start corner . v y , end co... | public ShapeTileBox bounding_box ( ) { if ( bounding_box != null ) return bounding_box ; PlaPointFloat start_corner = start_point_approx ( ) ; PlaPointFloat end_corner = end_point_approx ( ) ; double llx = Math . min ( start_corner . v_x , end_corner . v_x ) ; double lly = Math . min ( start_corner . v_y , end_corner .... | 196 |
java-test-3329 | java | What is it using ? | hardware address of the network interface that is not guaranteed to be mac addresses | public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf .... | public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa... | 157 |
java-test-3330 | java | What can return on linux ? | gethardwareaddress | public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf .... | public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa... | 157 |
java-test-3331 | java | In which direction is networkinterface . gethardwareaddress ( ) method called ? | from many threads | public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf .... | public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa... | 157 |
java-test-3332 | java | What enabled local ? | macs | public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf .... | public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa... | 157 |
java-test-3333 | java | What does the code get ? | a list of all local enabled macs known to this jvm | public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf .... | public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa... | 157 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.