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-6190 | java | What do it mean ? | the last tick of the clock is smaller than tickms | public void increment In Steps ( long tick Ms , long total Ms ) { long start = now ; long end = start + total Ms ; while ( now < end ) { increment By ( Math . min ( tick Ms , end - now ) ) ; } } | public void incrementInSteps ( long tickMs , long totalMs ) { long start = now ; long end = start + totalMs ; while ( now < end ) { incrementBy ( Math . min ( tickMs , end - now ) ) ; } } | 53 |
java-test-6191 | java | Till when will by tickms be has incremented the clock amount repeatedly ? | until it has progress by totalms from the given time when this call was made | public void increment In Steps ( long tick Ms , long total Ms ) { long start = now ; long end = start + total Ms ; while ( now < end ) { increment By ( Math . min ( tick Ms , end - now ) ) ; } } | public void incrementInSteps ( long tickMs , long totalMs ) { long start = now ; long end = start + totalMs ; while ( now < end ) { incrementBy ( Math . min ( tickMs , end - now ) ) ; } } | 53 |
java-test-6192 | java | What does the code put into the repository for future analysis ? | a specific parworker statistic | public static void put PW Stat ( long id , Stat type , double s ) { if ( disabled ) return ; if ( ! pwstats . contains Key ( id ) ) pwstats . put ( id , new Hash Map < Stat , Linked List < Double > > ( ) ) ; Hash Map < Stat , Linked List < Double > > allstats = pwstats . get ( id ) ; if ( ! allstats . contains Key ( ty... | public static void putPWStat ( long id , Stat type , double s ) { if ( _disabled ) return ; if ( ! _pwstats . containsKey ( id ) ) _pwstats . put ( id , new HashMap < Stat , LinkedList < Double > > ( ) ) ; HashMap < Stat , LinkedList < Double > > allstats = _pwstats . get ( id ) ; if ( ! allstats . containsKey ( type )... | 126 |
java-test-6195 | java | Where will this method divide the blocks as per the data locality ? | among the nodes | public static Map < String , List < Distributable > > node Block Mapping ( List < Distributable > block Infos , int no Of Nodes Input , List < String > active Nodes ) { Map < String , List < Distributable > > node Blocks Map = new Hash Map < String , List < Distributable > > ( Carbon Common Constants . DEFAULT COLLECTI... | public static Map < String , List < Distributable > > nodeBlockMapping ( List < Distributable > blockInfos , int noOfNodesInput , List < String > activeNodes ) { Map < String , List < Distributable > > nodeBlocksMap = new HashMap < String , List < Distributable > > ( CarbonCommonConstants . DEFAULT_COLLECTION_SIZE ) ; ... | 344 |
java-test-6196 | java | When does the code build a wikibasedate ? | from seconds since epoch | public static Wikibase Date from Seconds Since Epoch ( long seconds Since Epoch ) { long year = year From Seconds Since Epoch ( seconds Since Epoch ) ; int second = ( int ) ( seconds Since Epoch - calculate First Day Of Year ( year ) * SECONDS PER DAY ) ; int month = NUM ; long [ ] seconds Per Month Cumulative = second... | public static WikibaseDate fromSecondsSinceEpoch ( long secondsSinceEpoch ) { long year = yearFromSecondsSinceEpoch ( secondsSinceEpoch ) ; int second = ( int ) ( secondsSinceEpoch - calculateFirstDayOfYear ( year ) * SECONDS_PER_DAY ) ; int month = _NUM ; long [ ] secondsPerMonthCumulative = secondsPerMonthCumulative ... | 174 |
java-test-6197 | java | What does the code build from seconds since epoch ? | a wikibasedate | public static Wikibase Date from Seconds Since Epoch ( long seconds Since Epoch ) { long year = year From Seconds Since Epoch ( seconds Since Epoch ) ; int second = ( int ) ( seconds Since Epoch - calculate First Day Of Year ( year ) * SECONDS PER DAY ) ; int month = NUM ; long [ ] seconds Per Month Cumulative = second... | public static WikibaseDate fromSecondsSinceEpoch ( long secondsSinceEpoch ) { long year = yearFromSecondsSinceEpoch ( secondsSinceEpoch ) ; int second = ( int ) ( secondsSinceEpoch - calculateFirstDayOfYear ( year ) * SECONDS_PER_DAY ) ; int month = _NUM ; long [ ] secondsPerMonthCumulative = secondsPerMonthCumulative ... | 174 |
java-test-6198 | java | What does this execute ? | the commands in each line | public void parse ( ) { for ( String line : commands ) { String [ ] args = line . split ( STRING ) ; switch ( args [ NUM ] ) { case STRING : handle Response ( args ) ; break ; case STRING : switch ( args [ NUM ] ) { case STRING : sub . await Terminal Event ( ) ; break ; case STRING : try { sub . await At Least ( Long .... | public void parse ( ) { for ( String line : commands ) { String [ ] args = line . split ( STRING ) ; switch ( args [ _NUM ] ) { case STRING : handleResponse ( args ) ; break ; case STRING : switch ( args [ _NUM ] ) { case STRING : sub . awaitTerminalEvent ( ) ; break ; case STRING : try { sub . awaitAtLeast ( Long . pa... | 432 |
java-test-6199 | java | What does this method assume ? | that the arguments are either the fits header keywords as strings , and some other type ( or null ) for comment style keywords | @ Override public int compare ( String c1 , String c2 ) { if ( c1 . equals ( c2 ) ) { return NUM ; } if ( c1 . equals ( SIMPLE . key ( ) ) || c1 . equals ( XTENSION . key ( ) ) ) { return - NUM ; } else if ( c2 . equals ( SIMPLE . key ( ) ) || c2 . equals ( XTENSION . key ( ) ) ) { return NUM ; } else if ( c1 . equals ... | @ Override public int compare ( String c1 , String c2 ) { if ( c1 . equals ( c2 ) ) { return _NUM ; } if ( c1 . equals ( SIMPLE . key ( ) ) || c1 . equals ( XTENSION . key ( ) ) ) { return - _NUM ; } else if ( c2 . equals ( SIMPLE . key ( ) ) || c2 . equals ( XTENSION . key ( ) ) ) { return _NUM ; } else if ( c1 . equa... | 523 |
java-test-6201 | java | How does the code create a spatialindex object ? | with just a shape file name | public static Spatial Index locate And Set Shape Data ( String shape File Name ) { Spatial Index spi = null ; if ( shape File Name == null ) { return null ; } int appendix Index = shape File Name . index Of ( STRING ) ; if ( logger . is Loggable ( Level . FINE ) ) { logger . fine ( STRING + shape File Name ) ; } if ( a... | public static SpatialIndex locateAndSetShapeData ( String shapeFileName ) { SpatialIndex spi = null ; if ( shapeFileName == null ) { return null ; } int appendixIndex = shapeFileName . indexOf ( STRING ) ; if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( STRING + shapeFileName ) ; } if ( appendixIndex != -... | 235 |
java-test-6202 | java | What will this method attempt if the shape file is local ? | to build the spatial index file and place it next to the shape file | public static Spatial Index locate And Set Shape Data ( String shape File Name ) { Spatial Index spi = null ; if ( shape File Name == null ) { return null ; } int appendix Index = shape File Name . index Of ( STRING ) ; if ( logger . is Loggable ( Level . FINE ) ) { logger . fine ( STRING + shape File Name ) ; } if ( a... | public static SpatialIndex locateAndSetShapeData ( String shapeFileName ) { SpatialIndex spi = null ; if ( shapeFileName == null ) { return null ; } int appendixIndex = shapeFileName . indexOf ( STRING ) ; if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( STRING + shapeFileName ) ; } if ( appendixIndex != -... | 235 |
java-test-6203 | java | What does the code create with just a shape file name ? | a spatialindex object | public static Spatial Index locate And Set Shape Data ( String shape File Name ) { Spatial Index spi = null ; if ( shape File Name == null ) { return null ; } int appendix Index = shape File Name . index Of ( STRING ) ; if ( logger . is Loggable ( Level . FINE ) ) { logger . fine ( STRING + shape File Name ) ; } if ( a... | public static SpatialIndex locateAndSetShapeData ( String shapeFileName ) { SpatialIndex spi = null ; if ( shapeFileName == null ) { return null ; } int appendixIndex = shapeFileName . indexOf ( STRING ) ; if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( STRING + shapeFileName ) ; } if ( appendixIndex != -... | 235 |
java-test-6207 | java | For what purpose does this method perform an asynchronous thrift call ? | to reserve space for a resource on a host | @ Rpc Method public void reserve ( Resource resource , Integer generation , Async Method Callback < Host . Async Client . reserve call > handler ) throws Rpc Exception { ensure Client ( ) ; Reserve Request reserve Request = new Reserve Request ( ) ; reserve Request . set Resource ( resource ) ; if ( null != generation ... | @ RpcMethod public void reserve ( Resource resource , Integer generation , AsyncMethodCallback < Host . AsyncClient . reserve_call > handler ) throws RpcException { ensureClient ( ) ; ReserveRequest reserveRequest = new ReserveRequest ( ) ; reserveRequest . setResource ( resource ) ; if ( null != generation ) { reserve... | 140 |
java-test-6208 | java | What does this method update so people can navigate between all the tool results ? | the menus of all the scorecards previously generated | private static void update Menus ( Set < Report > tool Results , Set < String > cat Set ) { String Buffer sb = new String Buffer ( ) ; for ( Report tool Report : tool Results ) { if ( ! ( show Ave Only Mode && tool Report . is Commercial ( ) ) ) { sb . append ( STRING ) ; sb . append ( tool Report . get Filename ( ) ) ... | private static void updateMenus ( Set < Report > toolResults , Set < String > catSet ) { StringBuffer sb = new StringBuffer ( ) ; for ( Report toolReport : toolResults ) { if ( ! ( showAveOnlyMode && toolReport . isCommercial ( ) ) ) { sb . append ( STRING ) ; sb . append ( toolReport . getFilename ( ) ) ; sb . append ... | 299 |
java-test-6209 | java | For what purpose does this method update the menus of all the scorecards previously generated ? | so people can navigate between all the tool results | private static void update Menus ( Set < Report > tool Results , Set < String > cat Set ) { String Buffer sb = new String Buffer ( ) ; for ( Report tool Report : tool Results ) { if ( ! ( show Ave Only Mode && tool Report . is Commercial ( ) ) ) { sb . append ( STRING ) ; sb . append ( tool Report . get Filename ( ) ) ... | private static void updateMenus ( Set < Report > toolResults , Set < String > catSet ) { StringBuffer sb = new StringBuffer ( ) ; for ( Report toolReport : toolResults ) { if ( ! ( showAveOnlyMode && toolReport . isCommercial ( ) ) ) { sb . append ( STRING ) ; sb . append ( toolReport . getFilename ( ) ) ; sb . append ... | 299 |
java-test-6212 | java | What are the current number of child views used ? | to produce the new array | int [ ] update Layout Array ( int [ ] old Array , int offset , int n Inserted ) { int n = get View Count ( ) ; int [ ] new Array = new int [ n ] ; System . arraycopy ( old Array , NUM , new Array , NUM , offset ) ; System . arraycopy ( old Array , offset , new Array , offset + n Inserted , n - n Inserted - offset ) ; r... | int [ ] updateLayoutArray ( int [ ] oldArray , int offset , int nInserted ) { int n = getViewCount ( ) ; int [ ] newArray = new int [ n ] ; System . arraycopy ( oldArray , _NUM , newArray , _NUM , offset ) ; System . arraycopy ( oldArray , offset , newArray , offset + nInserted , n - nInserted - offset ) ; return newAr... | 89 |
java-test-6213 | java | Where are the contents of the old array inserted into the new array so that the old layout information is transferred to the new array ? | at the appropriate places | int [ ] update Layout Array ( int [ ] old Array , int offset , int n Inserted ) { int n = get View Count ( ) ; int [ ] new Array = new int [ n ] ; System . arraycopy ( old Array , NUM , new Array , NUM , offset ) ; System . arraycopy ( old Array , offset , new Array , offset + n Inserted , n - n Inserted - offset ) ; r... | int [ ] updateLayoutArray ( int [ ] oldArray , int offset , int nInserted ) { int n = getViewCount ( ) ; int [ ] newArray = new int [ n ] ; System . arraycopy ( oldArray , _NUM , newArray , _NUM , offset ) ; System . arraycopy ( oldArray , offset , newArray , offset + nInserted , n - nInserted - offset ) ; return newAr... | 89 |
java-test-6214 | java | What are used to produce the new array ? | the current number of child views | int [ ] update Layout Array ( int [ ] old Array , int offset , int n Inserted ) { int n = get View Count ( ) ; int [ ] new Array = new int [ n ] ; System . arraycopy ( old Array , NUM , new Array , NUM , offset ) ; System . arraycopy ( old Array , offset , new Array , offset + n Inserted , n - n Inserted - offset ) ; r... | int [ ] updateLayoutArray ( int [ ] oldArray , int offset , int nInserted ) { int n = getViewCount ( ) ; int [ ] newArray = new int [ n ] ; System . arraycopy ( oldArray , _NUM , newArray , _NUM , offset ) ; System . arraycopy ( oldArray , offset , newArray , offset + nInserted , n - nInserted - offset ) ; return newAr... | 89 |
java-test-6215 | java | For what purpose are the contents of the old array inserted into the new array at the appropriate places ? | so that the old layout information is transferred to the new array | int [ ] update Layout Array ( int [ ] old Array , int offset , int n Inserted ) { int n = get View Count ( ) ; int [ ] new Array = new int [ n ] ; System . arraycopy ( old Array , NUM , new Array , NUM , offset ) ; System . arraycopy ( old Array , offset , new Array , offset + n Inserted , n - n Inserted - offset ) ; r... | int [ ] updateLayoutArray ( int [ ] oldArray , int offset , int nInserted ) { int n = getViewCount ( ) ; int [ ] newArray = new int [ n ] ; System . arraycopy ( oldArray , _NUM , newArray , _NUM , offset ) ; System . arraycopy ( oldArray , offset , newArray , offset + nInserted , n - nInserted - offset ) ; return newAr... | 89 |
java-test-6216 | java | What are inserted into the new array at the appropriate places ? | the contents of the old array | int [ ] update Layout Array ( int [ ] old Array , int offset , int n Inserted ) { int n = get View Count ( ) ; int [ ] new Array = new int [ n ] ; System . arraycopy ( old Array , NUM , new Array , NUM , offset ) ; System . arraycopy ( old Array , offset , new Array , offset + n Inserted , n - n Inserted - offset ) ; r... | int [ ] updateLayoutArray ( int [ ] oldArray , int offset , int nInserted ) { int n = getViewCount ( ) ; int [ ] newArray = new int [ n ] ; System . arraycopy ( oldArray , _NUM , newArray , _NUM , offset ) ; System . arraycopy ( oldArray , offset , newArray , offset + nInserted , n - nInserted - offset ) ; return newAr... | 89 |
java-test-6217 | java | What does the code resize to match the new number of child views ? | the given layout array | int [ ] update Layout Array ( int [ ] old Array , int offset , int n Inserted ) { int n = get View Count ( ) ; int [ ] new Array = new int [ n ] ; System . arraycopy ( old Array , NUM , new Array , NUM , offset ) ; System . arraycopy ( old Array , offset , new Array , offset + n Inserted , n - n Inserted - offset ) ; r... | int [ ] updateLayoutArray ( int [ ] oldArray , int offset , int nInserted ) { int n = getViewCount ( ) ; int [ ] newArray = new int [ n ] ; System . arraycopy ( oldArray , _NUM , newArray , _NUM , offset ) ; System . arraycopy ( oldArray , offset , newArray , offset + nInserted , n - nInserted - offset ) ; return newAr... | 89 |
java-test-6218 | java | For what purpose does the code resize the given layout array ? | to match the new number of child views | int [ ] update Layout Array ( int [ ] old Array , int offset , int n Inserted ) { int n = get View Count ( ) ; int [ ] new Array = new int [ n ] ; System . arraycopy ( old Array , NUM , new Array , NUM , offset ) ; System . arraycopy ( old Array , offset , new Array , offset + n Inserted , n - n Inserted - offset ) ; r... | int [ ] updateLayoutArray ( int [ ] oldArray , int offset , int nInserted ) { int n = getViewCount ( ) ; int [ ] newArray = new int [ n ] ; System . arraycopy ( oldArray , _NUM , newArray , _NUM , offset ) ; System . arraycopy ( oldArray , offset , newArray , offset + nInserted , n - nInserted - offset ) ; return newAr... | 89 |
java-test-6220 | java | What is pruning thread ? | the searcher | public void start Searcher Pruning Thread ( Count Down Latch shutdown Now ) { if ( searcher Pruning Thread == null ) { searcher Pruning Thread = new Searcher Pruning Thread ( shutdown Now ) ; searcher Pruning Thread . set Name ( STRING + name ) ; searcher Pruning Thread . start ( ) ; } } | public void startSearcherPruningThread ( CountDownLatch shutdownNow ) { if ( searcherPruningThread == null ) { searcherPruningThread = new SearcherPruningThread ( shutdownNow ) ; searcherPruningThread . setName ( STRING + name ) ; searcherPruningThread . start ( ) ; } } | 58 |
java-test-6221 | java | What does the code start ? | the searcher pruning thread | public void start Searcher Pruning Thread ( Count Down Latch shutdown Now ) { if ( searcher Pruning Thread == null ) { searcher Pruning Thread = new Searcher Pruning Thread ( shutdown Now ) ; searcher Pruning Thread . set Name ( STRING + name ) ; searcher Pruning Thread . start ( ) ; } } | public void startSearcherPruningThread ( CountDownLatch shutdownNow ) { if ( searcherPruningThread == null ) { searcherPruningThread = new SearcherPruningThread ( shutdownNow ) ; searcherPruningThread . setName ( STRING + name ) ; searcherPruningThread . start ( ) ; } } | 58 |
java-test-6223 | java | How does the graphicsenvironment return ? | according to the system property ' java . awt . graphicsenv ' | private static Graphics Environment create GE ( ) { Graphics Environment ge ; String nm = Access Controller . do Privileged ( new Get Property Action ( STRING , null ) ) ; try { Class < Graphics Environment > ge Cls ; try { ge Cls = ( Class < Graphics Environment > ) Class . for Name ( nm ) ; } catch ( Class Not Found ... | private static GraphicsEnvironment createGE ( ) { GraphicsEnvironment ge ; String nm = AccessController . doPrivileged ( new GetPropertyAction ( STRING , null ) ) ; try { Class < GraphicsEnvironment > geCls ; try { geCls = ( Class < GraphicsEnvironment > ) Class . forName ( nm ) ; } catch ( ClassNotFoundException ex ) ... | 198 |
java-test-6224 | java | Why can mrjobconfiguration be not used for the general case ? | because program blocks and related symbol tables can be hierarchically structured | public static Object [ ] parse Data Object ( String in ) throws DML Runtime Exception { Object [ ] ret = new Object [ NUM ] ; String Tokenizer st = new String Tokenizer ( in , DATA FIELD DELIM ) ; String name = st . next Token ( ) ; Data Type datatype = Data Type . value Of ( st . next Token ( ) ) ; Value Type valuetyp... | public static Object [ ] parseDataObject ( String in ) throws DMLRuntimeException { Object [ ] ret = new Object [ _NUM ] ; StringTokenizer st = new StringTokenizer ( in , DATA_FIELD_DELIM ) ; String name = st . nextToken ( ) ; DataType datatype = DataType . valueOf ( st . nextToken ( ) ) ; ValueType valuetype = ValueTy... | 560 |
java-test-6228 | java | What is searching in classpath ? | for rapidminer jars | public static synchronized void ensure Rapid Miner Home Set ( final Level log Level ) { LOGGER . set Level ( log Level ) ; if ( get Rapid Miner Home ( ) == null ) { log Info ( STRING + PROPERTY RAPIDMINER HOME + STRING ) ; if ( ! search In Class Path ( ) ) { try { log Info ( STRING + PROPERTY RAPIDMINER HOME + STRING )... | public static synchronized void ensureRapidMinerHomeSet ( final Level logLevel ) { LOGGER . setLevel ( logLevel ) ; if ( getRapidMinerHome ( ) == null ) { logInfo ( STRING + PROPERTY_RAPIDMINER_HOME + STRING ) ; if ( ! searchInClassPath ( ) ) { try { logInfo ( STRING + PROPERTY_RAPIDMINER_HOME + STRING ) ; searchInBuil... | 128 |
java-test-6229 | java | How is the environment variable ' rapidminer . home ' set ? | by searching for rapidminer jars in classpath | public static synchronized void ensure Rapid Miner Home Set ( final Level log Level ) { LOGGER . set Level ( log Level ) ; if ( get Rapid Miner Home ( ) == null ) { log Info ( STRING + PROPERTY RAPIDMINER HOME + STRING ) ; if ( ! search In Class Path ( ) ) { try { log Info ( STRING + PROPERTY RAPIDMINER HOME + STRING )... | public static synchronized void ensureRapidMinerHomeSet ( final Level logLevel ) { LOGGER . setLevel ( logLevel ) ; if ( getRapidMinerHome ( ) == null ) { logInfo ( STRING + PROPERTY_RAPIDMINER_HOME + STRING ) ; if ( ! searchInClassPath ( ) ) { try { logInfo ( STRING + PROPERTY_RAPIDMINER_HOME + STRING ) ; searchInBuil... | 128 |
java-test-6230 | java | What does the code move down one space ? | all the selected tiles | protected void move One Slot To Bottom ( Image Tile [ ] selected Tiles 2 ) { OM Graphic List list = get List ( ) ; if ( list != null && selected Tiles != null && selected Tiles . length > NUM ) { for ( int i = selected Tiles 2 . length - NUM ; i >= NUM ; i -- ) { Image Tile tile = selected Tiles 2 [ i ] ; list . move I... | protected void moveOneSlotToBottom ( ImageTile [ ] selectedTiles2 ) { OMGraphicList list = getList ( ) ; if ( list != null && selectedTiles != null && selectedTiles . length > _NUM ) { for ( int i = selectedTiles2 . length - _NUM ; i >= _NUM ; i -- ) { ImageTile tile = selectedTiles2 [ i ] ; list . moveIndexedOneToBott... | 104 |
java-test-6231 | java | In which direction does the code move all the selected tiles ? | down one space | protected void move One Slot To Bottom ( Image Tile [ ] selected Tiles 2 ) { OM Graphic List list = get List ( ) ; if ( list != null && selected Tiles != null && selected Tiles . length > NUM ) { for ( int i = selected Tiles 2 . length - NUM ; i >= NUM ; i -- ) { Image Tile tile = selected Tiles 2 [ i ] ; list . move I... | protected void moveOneSlotToBottom ( ImageTile [ ] selectedTiles2 ) { OMGraphicList list = getList ( ) ; if ( list != null && selectedTiles != null && selectedTiles . length > _NUM ) { for ( int i = selectedTiles2 . length - _NUM ; i >= _NUM ; i -- ) { ImageTile tile = selectedTiles2 [ i ] ; list . moveIndexedOneToBott... | 104 |
java-test-6232 | java | What do we update ? | the peak limits | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6233 | java | Why does we continue to update the peak limits if force allocation is passed if force allocation is passed ? | since we now know that this allocation will occur despite our moving past one or more limits | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6234 | java | What will we do stop ? | updating the peak allocation | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6235 | java | How is allocation done always ? | through the entire tree | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6236 | java | What do we manage consistently ? | reservation boundary issues | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6237 | java | What will we do continue ? | to do a complete and consistent allocation | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6238 | java | What do we do ? | a complete and consistent allocation | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6239 | java | What are whether the allocation should be forced and whether or not the peak memory allocation should be updated if at some point during allocation escalation we determine that the allocation is no longer possible ? | the two options that we influence | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6240 | java | What do we know ? | that we will be directly unwinding this allocation ( and thus never actually making the allocation ) | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6241 | java | What will we be unwinding and thus never actually making the allocation ) directly ? | this allocation | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6242 | java | What does we continue if force allocation is passed if force allocation is passed since we now know that this allocation will occur despite our moving past one or more limits ? | to update the peak limits | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6243 | java | Why do we do this ? | because we know that we will be directly unwinding this allocation ( and thus never actually making the allocation ) . if force allocation is passed , then we continue to update the peak limits since we now know that this allocation will occur despite our moving past one or more limits | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6244 | java | What do we never make actually ? | the allocation | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6245 | java | When do we determine that the allocation is no longer possible ? | at some point during allocation escalation | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6246 | java | For what purpose are this takes a forced approach to allocation ? | to ensure that we manage reservation boundary issues consistently . allocation is always done through the entire tree | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6247 | java | What do we know now ? | that this allocation will occur despite our moving past one or more limits | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6248 | java | What do we determine at some point during allocation escalation ? | that the allocation is no longer possible | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6249 | java | What are this takes to ensure that we manage reservation boundary issues consistently . allocation is always done through the entire tree ? | a forced approach to allocation | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6250 | java | What does the two options that we influence be if at some point during allocation escalation we determine that the allocation is no longer possible ? | whether the allocation should be forced and whether or not the peak memory allocation should be updated | private Allocation Outcome allocate ( final long size , final boolean incoming Update Peak , final boolean force Allocation ) { final long new Local = locally Held Memory . add And Get ( size ) ; final long beyond Reservation = new Local - reservation ; final boolean beyond Limit = new Local > allocation Limit . get ( ... | private AllocationOutcome allocate ( final long size , final boolean incomingUpdatePeak , final boolean forceAllocation ) { final long newLocal = locallyHeldMemory . addAndGet ( size ) ; final long beyondReservation = newLocal - reservation ; final boolean beyondLimit = newLocal > allocationLimit . get ( ) ; final bool... | 183 |
java-test-6252 | java | How does the code add a load of given field ? | at given instruction | public void add Load ( Instruction Handle handle , X Field field ) { get Load Store Count ( field ) . load Count ++ ; handle To Field Map . put ( handle , field ) ; load Handle Set . set ( handle . get Position ( ) ) ; } | public void addLoad ( InstructionHandle handle , XField field ) { getLoadStoreCount ( field ) . loadCount ++ ; handleToFieldMap . put ( handle , field ) ; loadHandleSet . set ( handle . getPosition ( ) ) ; } | 53 |
java-test-6253 | java | What does the code add at given instruction ? | a load of given field | public void add Load ( Instruction Handle handle , X Field field ) { get Load Store Count ( field ) . load Count ++ ; handle To Field Map . put ( handle , field ) ; load Handle Set . set ( handle . get Position ( ) ) ; } | public void addLoad ( InstructionHandle handle , XField field ) { getLoadStoreCount ( field ) . loadCount ++ ; handleToFieldMap . put ( handle , field ) ; loadHandleSet . set ( handle . getPosition ( ) ) ; } | 53 |
java-test-6255 | java | In which direction did label read files of different source ? | from category | public int [ ] read Labels ( ) throws Exception { int labels [ ] = new int [ data Num ] ; Buffered Reader tr Users = new Buffered Reader ( new Input Stream Reader ( new File Input Stream ( label File ) ) ) ; String line = STRING ; while ( ( line = tr Users . read Line ( ) ) != null ) { String [ ] strs = line . split ( ... | public int [ ] readLabels ( ) throws Exception { int labels [ ] = new int [ dataNum ] ; BufferedReader trUsers = new BufferedReader ( new InputStreamReader ( new FileInputStream ( labelFile ) ) ) ; String line = STRING ; while ( ( line = trUsers . readLine ( ) ) != null ) { String [ ] strs = line . split ( STRING ) ; l... | 119 |
java-test-6264 | java | What does the code extract ? | the signature i d from the usekey element | private String extract Signature Id ( Use Key Type use Key , Security Header Type header ) { assert header != null ; String signature Id = null ; if ( use Key != null ) { signature Id = use Key . get Sig ( ) ; if ( header . get Signature ( ) == null || ! signature Id . equals Ignore Case ( header . get Signature ( ) . ... | private String extractSignatureId ( UseKeyType useKey , SecurityHeaderType header ) { assert header != null ; String signatureId = null ; if ( useKey != null ) { signatureId = useKey . getSig ( ) ; if ( header . getSignature ( ) == null || ! signatureId . equalsIgnoreCase ( header . getSignature ( ) . getId ( ) ) ) { t... | 98 |
java-test-6265 | java | What does the code verify ? | that the signature i d is valid | private String extract Signature Id ( Use Key Type use Key , Security Header Type header ) { assert header != null ; String signature Id = null ; if ( use Key != null ) { signature Id = use Key . get Sig ( ) ; if ( header . get Signature ( ) == null || ! signature Id . equals Ignore Case ( header . get Signature ( ) . ... | private String extractSignatureId ( UseKeyType useKey , SecurityHeaderType header ) { assert header != null ; String signatureId = null ; if ( useKey != null ) { signatureId = useKey . getSig ( ) ; if ( header . getSignature ( ) == null || ! signatureId . equalsIgnoreCase ( header . getSignature ( ) . getId ( ) ) ) { t... | 98 |
java-test-6266 | java | What does the code check ? | whether a settings ' s value is currently set to the default value | public boolean is Default ( String scope , String key ) { synchronized ( m Lock ) { String default Value = get String Default ( key ) ; String value = get String ( scope , key ) ; return value == null ? BOOL : value . equals ( default Value ) ; } } | public boolean isDefault ( String scope , String key ) { synchronized ( mLock ) { String defaultValue = getStringDefault ( key ) ; String value = getString ( scope , key ) ; return value == null ? _BOOL : value . equals ( defaultValue ) ; } } | 57 |
java-test-6267 | java | What does a routine know ? | how and when to quote and escape the given value | private static String quote ( String value ) { boolean needs Quotes = BOOL ; int length = value . length ( ) ; for ( int i = NUM ; ( i < length ) && ! needs Quotes ; ++ i ) { needs Quotes = ! is Token Char ( value . char At ( i ) ) ; } if ( needs Quotes ) { String Builder buffer = new String Builder ( ( int ) ( length ... | private static String quote ( String value ) { boolean needsQuotes = _BOOL ; int length = value . length ( ) ; for ( int i = _NUM ; ( i < length ) && ! needsQuotes ; ++ i ) { needsQuotes = ! isTokenChar ( value . charAt ( i ) ) ; } if ( needsQuotes ) { StringBuilder buffer = new StringBuilder ( ( int ) ( length * _NUM ... | 174 |
java-test-6268 | java | What knows how and when to quote and escape the given value ? | a routine | private static String quote ( String value ) { boolean needs Quotes = BOOL ; int length = value . length ( ) ; for ( int i = NUM ; ( i < length ) && ! needs Quotes ; ++ i ) { needs Quotes = ! is Token Char ( value . char At ( i ) ) ; } if ( needs Quotes ) { String Builder buffer = new String Builder ( ( int ) ( length ... | private static String quote ( String value ) { boolean needsQuotes = _BOOL ; int length = value . length ( ) ; for ( int i = _NUM ; ( i < length ) && ! needsQuotes ; ++ i ) { needsQuotes = ! isTokenChar ( value . charAt ( i ) ) ; } if ( needsQuotes ) { StringBuilder buffer = new StringBuilder ( ( int ) ( length * _NUM ... | 174 |
java-test-6269 | java | What does the specified sdp data contain ? | definitions for a video stream | public static boolean sdp Has Video ( JSON Object sdp ) { boolean has Video = BOOL ; if ( null != sdp ) { try { String sdp String = sdp . get String ( STRING ) ; has Video = sdp String . contains ( STRING ) ; } catch ( JSON Exception e ) { Log . d ( TAG , STRING ) ; } } return has Video ; } | public static boolean sdpHasVideo ( JSONObject sdp ) { boolean hasVideo = _BOOL ; if ( null != sdp ) { try { String sdpString = sdp . getString ( STRING ) ; hasVideo = sdpString . contains ( STRING ) ; } catch ( JSONException e ) { Log . d ( TAG , STRING ) ; } } return hasVideo ; } | 74 |
java-test-6270 | java | What contains definitions for a video stream ? | the specified sdp data | public static boolean sdp Has Video ( JSON Object sdp ) { boolean has Video = BOOL ; if ( null != sdp ) { try { String sdp String = sdp . get String ( STRING ) ; has Video = sdp String . contains ( STRING ) ; } catch ( JSON Exception e ) { Log . d ( TAG , STRING ) ; } } return has Video ; } | public static boolean sdpHasVideo ( JSONObject sdp ) { boolean hasVideo = _BOOL ; if ( null != sdp ) { try { String sdpString = sdp . getString ( STRING ) ; hasVideo = sdpString . contains ( STRING ) ; } catch ( JSONException e ) { Log . d ( TAG , STRING ) ; } } return hasVideo ; } | 74 |
java-test-6271 | java | What does the code get ? | the specs for all currently woven advice | public synchronized Collection < Weave Spec > woven ( ) { Collection < Weave Spec > specs = Lists . new Array List ( ) ; for ( Weave w : woven . values ( ) ) { specs . add ( w . spec ) ; } return specs ; } | public synchronized Collection < WeaveSpec > woven ( ) { Collection < WeaveSpec > specs = Lists . newArrayList ( ) ; for ( Weave w : woven . values ( ) ) { specs . add ( w . spec ) ; } return specs ; } | 52 |
java-test-6272 | java | What is force delete used ? | to remove struct / trait in case of entity updates | public boolean delete Edge Reference ( Atlas Edge edge , Data Types . Type Category type Category , boolean is Composite , boolean force Delete Struct Trait ) throws Atlas Exception { LOG . debug ( STRING , string ( edge ) ) ; boolean force Delete = ( type Category == Data Types . Type Category . STRUCT || type Categor... | public boolean deleteEdgeReference ( AtlasEdge edge , DataTypes . TypeCategory typeCategory , boolean isComposite , boolean forceDeleteStructTrait ) throws AtlasException { LOG . debug ( STRING , string ( edge ) ) ; boolean forceDelete = ( typeCategory == DataTypes . TypeCategory . STRUCT || typeCategory == DataTypes .... | 183 |
java-test-6273 | java | What is used to remove struct / trait in case of entity updates ? | force delete | public boolean delete Edge Reference ( Atlas Edge edge , Data Types . Type Category type Category , boolean is Composite , boolean force Delete Struct Trait ) throws Atlas Exception { LOG . debug ( STRING , string ( edge ) ) ; boolean force Delete = ( type Category == Data Types . Type Category . STRUCT || type Categor... | public boolean deleteEdgeReference ( AtlasEdge edge , DataTypes . TypeCategory typeCategory , boolean isComposite , boolean forceDeleteStructTrait ) throws AtlasException { LOG . debug ( STRING , string ( edge ) ) ; boolean forceDelete = ( typeCategory == DataTypes . TypeCategory . STRUCT || typeCategory == DataTypes .... | 183 |
java-test-6274 | java | What is the flag character means for f format ? | that the output should be left justified within the field . the default is to pad with blanks on the left . ' + ' character means that the conversion will always begin with a sign ( + or - ) . the blank flag character means that a non - negative input will be preceded with a blank . if both a ' + ' and a ' ' are specif... | private char [ ] f Format Digits ( double x ) { String sx , sx Out ; int i , j , k ; int n1 In , n2 In ; int expon = NUM ; boolean minus Sign = BOOL ; if ( x > NUM ) sx = Double . to String ( x ) ; else if ( x < NUM ) { sx = Double . to String ( - x ) ; minus Sign = BOOL ; } else { sx = Double . to String ( x ) ; if ( ... | private char [ ] fFormatDigits ( double x ) { String sx , sxOut ; int i , j , k ; int n1In , n2In ; int expon = _NUM ; boolean minusSign = _BOOL ; if ( x > _NUM ) sx = Double . toString ( x ) ; else if ( x < _NUM ) { sx = Double . toString ( - x ) ; minusSign = _BOOL ; } else { sx = Double . toString ( x ) ; if ( sx . ... | 1,682 |
java-test-6275 | java | How does the code expand the current speech data ? | by appending the data in the input stream | public void write ( Input Stream stream ) { if ( is Final ) { log . warning ( STRING ) ; return ; } try { int n Read ; byte [ ] buffer = new byte [ NUM * NUM ] ; while ( ( n Read = stream . read ( buffer , NUM , buffer . length ) ) != - NUM ) { byte [ ] new Data = new byte [ data . length + n Read ] ; System . arraycop... | public void write ( InputStream stream ) { if ( isFinal ) { log . warning ( STRING ) ; return ; } try { int nRead ; byte [ ] buffer = new byte [ _NUM * _NUM ] ; while ( ( nRead = stream . read ( buffer , _NUM , buffer . length ) ) != - _NUM ) { byte [ ] newData = new byte [ data . length + nRead ] ; System . arraycopy ... | 145 |
java-test-6276 | java | What does the code append ? | the data in the input stream | public void write ( Input Stream stream ) { if ( is Final ) { log . warning ( STRING ) ; return ; } try { int n Read ; byte [ ] buffer = new byte [ NUM * NUM ] ; while ( ( n Read = stream . read ( buffer , NUM , buffer . length ) ) != - NUM ) { byte [ ] new Data = new byte [ data . length + n Read ] ; System . arraycop... | public void write ( InputStream stream ) { if ( isFinal ) { log . warning ( STRING ) ; return ; } try { int nRead ; byte [ ] buffer = new byte [ _NUM * _NUM ] ; while ( ( nRead = stream . read ( buffer , _NUM , buffer . length ) ) != - _NUM ) { byte [ ] newData = new byte [ data . length + nRead ] ; System . arraycopy ... | 145 |
java-test-6280 | java | What does the code select if any ? | the video track | private static int select Track ( Media Extractor extractor ) { int num Tracks = extractor . get Track Count ( ) ; for ( int i = NUM ; i < num Tracks ; i ++ ) { Media Format format = extractor . get Track Format ( i ) ; String mime = format . get String ( Media Format . KEY MIME ) ; if ( mime . starts With ( STRING ) )... | private static int selectTrack ( MediaExtractor extractor ) { int numTracks = extractor . getTrackCount ( ) ; for ( int i = _NUM ; i < numTracks ; i ++ ) { MediaFormat format = extractor . getTrackFormat ( i ) ; String mime = format . getString ( MediaFormat . KEY_MIME ) ; if ( mime . startsWith ( STRING ) ) { if ( VER... | 113 |
java-test-6281 | java | What does the code find ? | the first occurrence of ' ' , ' - ' , ' , ' or ' | private static int find Separator ( String s ) { int result = s . index Of ( STRING ) ; if ( result == - NUM ) { result = s . index Of ( STRING ) ; } if ( result == - NUM ) { result = s . index Of ( STRING ) ; } if ( result == - NUM ) { result = s . index Of ( STRING ) ; } return result ; } | private static int findSeparator ( String s ) { int result = s . indexOf ( STRING ) ; if ( result == - _NUM ) { result = s . indexOf ( STRING ) ; } if ( result == - _NUM ) { result = s . indexOf ( STRING ) ; } if ( result == - _NUM ) { result = s . indexOf ( STRING ) ; } return result ; } | 82 |
java-test-6282 | java | What has caused the pool to become quiescent ? | inactivating w | private boolean await Work ( Work Queue w , int r ) { if ( w == null || w . qlock < NUM ) return BOOL ; for ( int pred = w . stack Pred , spins = SPINS , ss ; ; ) { if ( ( ss = w . scan State ) >= NUM ) break ; else if ( spins > NUM ) { r ^= r << NUM ; r ^= r > > > NUM ; r ^= r << NUM ; if ( r >= NUM && -- spins == NUM... | private boolean awaitWork ( WorkQueue w , int r ) { if ( w == null || w . qlock < _NUM ) return _BOOL ; for ( int pred = w . stackPred , spins = SPINS , ss ; ; ) { if ( ( ss = w . scanState ) >= _NUM ) break ; else if ( spins > _NUM ) { r ^= r << _NUM ; r ^= r > > > _NUM ; r ^= r << _NUM ; if ( r >= _NUM && -- spins ==... | 520 |
java-test-6284 | java | What does the code see ? | the general contract of the readint method of datainput | public final int read Int ( ) throws java . io . IO Exception { read Fully ( scratch , NUM , NUM ) ; return ( ( ( scratch [ NUM ] & NUM ) << NUM ) | ( ( scratch [ NUM ] & NUM ) << NUM ) | ( ( scratch [ NUM ] & NUM ) << NUM ) | ( ( scratch [ NUM ] & NUM ) << NUM ) ) ; } | public final int readInt ( ) throws java . io . IOException { readFully ( scratch , _NUM , _NUM ) ; return ( ( ( scratch [ _NUM ] & _NUM ) << _NUM ) | ( ( scratch [ _NUM ] & _NUM ) << _NUM ) | ( ( scratch [ _NUM ] & _NUM ) << _NUM ) | ( ( scratch [ _NUM ] & _NUM ) << _NUM ) ) ; } | 81 |
java-test-6285 | java | What is this method have used if no factoryfinderinstance can be found for key , and this call to getapplicationfactoryfinderinstance ( ) * does * have a currentkeyrent facescontext but a previous call to getapplicationfactoryfinderinstance * did not * have a currentkeyrent facescontext ? | to detect the following special initialization case | private boolean detect Special Initialization Case ( Faces Context faces Context ) { boolean result = BOOL ; if ( null == faces Context ) { log Null Faces Context . compare And Set ( BOOL , BOOL ) ; } else { log Non Null Faces Context . compare And Set ( BOOL , BOOL ) ; } result = log Null Faces Context . get ( ) && lo... | private boolean detectSpecialInitializationCase ( FacesContext facesContext ) { boolean result = _BOOL ; if ( null == facesContext ) { logNullFacesContext . compareAndSet ( _BOOL , _BOOL ) ; } else { logNonNullFacesContext . compareAndSet ( _BOOL , _BOOL ) ; } result = logNullFacesContext . get ( ) && logNonNullFacesCo... | 84 |
java-test-6286 | java | What does have have a currentkeyrent facescontext ? | this call to getapplicationfactoryfinderinstance ( ) | private boolean detect Special Initialization Case ( Faces Context faces Context ) { boolean result = BOOL ; if ( null == faces Context ) { log Null Faces Context . compare And Set ( BOOL , BOOL ) ; } else { log Non Null Faces Context . compare And Set ( BOOL , BOOL ) ; } result = log Null Faces Context . get ( ) && lo... | private boolean detectSpecialInitializationCase ( FacesContext facesContext ) { boolean result = _BOOL ; if ( null == facesContext ) { logNullFacesContext . compareAndSet ( _BOOL , _BOOL ) ; } else { logNonNullFacesContext . compareAndSet ( _BOOL , _BOOL ) ; } result = logNullFacesContext . get ( ) && logNonNullFacesCo... | 84 |
java-test-6287 | java | What did not have a currentkeyrent facescontext ? | a previous call to getapplicationfactoryfinderinstance | private boolean detect Special Initialization Case ( Faces Context faces Context ) { boolean result = BOOL ; if ( null == faces Context ) { log Null Faces Context . compare And Set ( BOOL , BOOL ) ; } else { log Non Null Faces Context . compare And Set ( BOOL , BOOL ) ; } result = log Null Faces Context . get ( ) && lo... | private boolean detectSpecialInitializationCase ( FacesContext facesContext ) { boolean result = _BOOL ; if ( null == facesContext ) { logNullFacesContext . compareAndSet ( _BOOL , _BOOL ) ; } else { logNonNullFacesContext . compareAndSet ( _BOOL , _BOOL ) ; } result = logNullFacesContext . get ( ) && logNonNullFacesCo... | 84 |
java-test-6291 | java | How does the persistence layer query ? | using the given tokenfilter which must have the required ' return attributes ' defined within it | public void delete On Query ( final Token Filter filter ) throws Core Token Exception , Illegal Argument Exception { filter . add Return Attribute ( Core Token Field . TOKEN ID ) ; Result Handler < Collection < Partial Token > , Core Token Exception > handler = handler Factory . get Delete On Query Handler ( ) ; try { ... | public void deleteOnQuery ( final TokenFilter filter ) throws CoreTokenException , IllegalArgumentException { filter . addReturnAttribute ( CoreTokenField . TOKEN_ID ) ; ResultHandler < Collection < PartialToken > , CoreTokenException > handler = handlerFactory . getDeleteOnQueryHandler ( ) ; try { attributeQueryWithHa... | 94 |
java-test-6292 | java | What must the given tokenfilter have ? | the required ' return attributes ' defined within it | public void delete On Query ( final Token Filter filter ) throws Core Token Exception , Illegal Argument Exception { filter . add Return Attribute ( Core Token Field . TOKEN ID ) ; Result Handler < Collection < Partial Token > , Core Token Exception > handler = handler Factory . get Delete On Query Handler ( ) ; try { ... | public void deleteOnQuery ( final TokenFilter filter ) throws CoreTokenException , IllegalArgumentException { filter . addReturnAttribute ( CoreTokenField . TOKEN_ID ) ; ResultHandler < Collection < PartialToken > , CoreTokenException > handler = handlerFactory . getDeleteOnQueryHandler ( ) ; try { attributeQueryWithHa... | 94 |
java-test-6293 | java | Where did the required ' return attributes ' define ? | within it | public void delete On Query ( final Token Filter filter ) throws Core Token Exception , Illegal Argument Exception { filter . add Return Attribute ( Core Token Field . TOKEN ID ) ; Result Handler < Collection < Partial Token > , Core Token Exception > handler = handler Factory . get Delete On Query Handler ( ) ; try { ... | public void deleteOnQuery ( final TokenFilter filter ) throws CoreTokenException , IllegalArgumentException { filter . addReturnAttribute ( CoreTokenField . TOKEN_ID ) ; ResultHandler < Collection < PartialToken > , CoreTokenException > handler = handlerFactory . getDeleteOnQueryHandler ( ) ; try { attributeQueryWithHa... | 94 |
java-test-6294 | java | What defined within it ? | the required ' return attributes ' | public void delete On Query ( final Token Filter filter ) throws Core Token Exception , Illegal Argument Exception { filter . add Return Attribute ( Core Token Field . TOKEN ID ) ; Result Handler < Collection < Partial Token > , Core Token Exception > handler = handler Factory . get Delete On Query Handler ( ) ; try { ... | public void deleteOnQuery ( final TokenFilter filter ) throws CoreTokenException , IllegalArgumentException { filter . addReturnAttribute ( CoreTokenField . TOKEN_ID ) ; ResultHandler < Collection < PartialToken > , CoreTokenException > handler = handlerFactory . getDeleteOnQueryHandler ( ) ; try { attributeQueryWithHa... | 94 |
java-test-6296 | java | What represent hour respectively , minute and second ? | " ss " | public static Date string To Date ( String str Date ) throws Parse Exception { int [ ] diff Time = null ; boolean plus Time = BOOL ; int idx T = str Date . index Of ( STRING ) ; if ( idx T == - NUM ) { throw new Parse Exception ( STRING , NUM ) ; } int idx Diff UTC = str Date . index Of ( STRING , idx T ) ; if ( idx Di... | public static Date stringToDate ( String strDate ) throws ParseException { int [ ] diffTime = null ; boolean plusTime = _BOOL ; int idxT = strDate . indexOf ( STRING ) ; if ( idxT == - _NUM ) { throw new ParseException ( STRING , _NUM ) ; } int idxDiffUTC = strDate . indexOf ( STRING , idxT ) ; if ( idxDiffUTC == - _NU... | 225 |
java-test-6298 | java | What does a new entry construct ? | from the specified symbol and next entry reference | public Entry ( String symbol , Entry next ) { this . symbol = symbol . intern ( ) ; characters = new char [ symbol . length ( ) ] ; symbol . get Chars ( NUM , characters . length , characters , NUM ) ; this . next = next ; } | public Entry ( String symbol , Entry next ) { this . symbol = symbol . intern ( ) ; characters = new char [ symbol . length ( ) ] ; symbol . getChars ( _NUM , characters . length , characters , _NUM ) ; this . next = next ; } | 55 |
java-test-6301 | java | What will train skip ? | the routelocation | public void add Train Skips Location ( String location Id ) { if ( skip Locations List . contains ( location Id ) ) { return ; } skip Locations List . add ( NUM , location Id ) ; log . debug ( STRING + location Id ) ; set Dirty And Fire Property Change ( STOPS CHANGED PROPERTY , skip Locations List . size ( ) - NUM , s... | public void addTrainSkipsLocation ( String locationId ) { if ( _skipLocationsList . contains ( locationId ) ) { return ; } _skipLocationsList . add ( _NUM , locationId ) ; log . debug ( STRING + locationId ) ; setDirtyAndFirePropertyChange ( STOPS_CHANGED_PROPERTY , _skipLocationsList . size ( ) - _NUM , _skipLocations... | 81 |
java-test-6303 | java | How does the code perform the conversion ? | without checked exceptions | public static URL to URL ( URI uri ) { if ( uri == null ) throw new Null Pointer Exception ( STRING ) ; try { return uri . to URL ( ) ; } catch ( Malformed URL Exception e ) { throw new Illegal Argument Exception ( uri + STRING , e ) ; } } | public static URL toURL ( URI uri ) { if ( uri == null ) throw new NullPointerException ( STRING ) ; try { return uri . toURL ( ) ; } catch ( MalformedURLException e ) { throw new IllegalArgumentException ( uri + STRING , e ) ; } } | 59 |
java-test-6304 | java | What does the code perform without checked exceptions ? | the conversion | public static URL to URL ( URI uri ) { if ( uri == null ) throw new Null Pointer Exception ( STRING ) ; try { return uri . to URL ( ) ; } catch ( Malformed URL Exception e ) { throw new Illegal Argument Exception ( uri + STRING , e ) ; } } | public static URL toURL ( URI uri ) { if ( uri == null ) throw new NullPointerException ( STRING ) ; try { return uri . toURL ( ) ; } catch ( MalformedURLException e ) { throw new IllegalArgumentException ( uri + STRING , e ) ; } } | 59 |
java-test-6305 | java | When did none receive ? | within timeout | public Event do Wait Timeout ( long timeout ) { Event e = null ; long towait = NUM ; long endtime = - NUM ; boolean usetimeout = ( timeout > NUM ) ; if ( usetimeout ) { endtime = System . nano Time ( ) + timeout * NUM * NUM ; } if ( network Thread . get Done ( ) ) return null ; while ( e == null ) { if ( usetimeout ) {... | public Event doWaitTimeout ( long timeout ) { Event e = null ; long towait = _NUM ; long endtime = - _NUM ; boolean usetimeout = ( timeout > _NUM ) ; if ( usetimeout ) { endtime = System . nanoTime ( ) + timeout * _NUM * _NUM ; } if ( networkThread . getDone ( ) ) return null ; while ( e == null ) { if ( usetimeout ) {... | 206 |
java-test-6306 | java | What locates for given sub - type of type that this deserializer handles ? | deserializer | protected Json Deserializer < Object > find Subclass Deserializer ( Deserialization Context ctxt , Object bean , Token Buffer unknown Tokens ) throws IO Exception , Json Processing Exception { Json Deserializer < Object > sub Deser ; synchronized ( this ) { sub Deser = ( sub Deserializers == null ) ? null : sub Deseria... | protected JsonDeserializer < Object > _findSubclassDeserializer ( DeserializationContext ctxt , Object bean , TokenBuffer unknownTokens ) throws IOException , JsonProcessingException { JsonDeserializer < Object > subDeser ; synchronized ( this ) { subDeser = ( _subDeserializers == null ) ? null : _subDeserializers . ge... | 218 |
java-test-6307 | java | What do deserializer locate ? | for given sub - type of type that this deserializer handles | protected Json Deserializer < Object > find Subclass Deserializer ( Deserialization Context ctxt , Object bean , Token Buffer unknown Tokens ) throws IO Exception , Json Processing Exception { Json Deserializer < Object > sub Deser ; synchronized ( this ) { sub Deser = ( sub Deserializers == null ) ? null : sub Deseria... | protected JsonDeserializer < Object > _findSubclassDeserializer ( DeserializationContext ctxt , Object bean , TokenBuffer unknownTokens ) throws IOException , JsonProcessingException { JsonDeserializer < Object > subDeser ; synchronized ( this ) { subDeser = ( _subDeserializers == null ) ? null : _subDeserializers . ge... | 218 |
java-test-6308 | java | For what purpose did helper method call ? | to ( try to ) locate deserializer for given sub - type of type that this deserializer handles | protected Json Deserializer < Object > find Subclass Deserializer ( Deserialization Context ctxt , Object bean , Token Buffer unknown Tokens ) throws IO Exception , Json Processing Exception { Json Deserializer < Object > sub Deser ; synchronized ( this ) { sub Deser = ( sub Deserializers == null ) ? null : sub Deseria... | protected JsonDeserializer < Object > _findSubclassDeserializer ( DeserializationContext ctxt , Object bean , TokenBuffer unknownTokens ) throws IOException , JsonProcessingException { JsonDeserializer < Object > subDeser ; synchronized ( this ) { subDeser = ( _subDeserializers == null ) ? null : _subDeserializers . ge... | 218 |
java-test-6309 | java | How does the code delete all rows ? | with the keys matching the subset of all keys | public void delete Value Subkeyed ( Connection connection , Object keys [ ] ) { String Builder builder = new String Builder ( ) ; builder . append ( STRING ) ; builder . append ( table Name ) ; builder . append ( STRING ) ; String delimiter = STRING ; for ( int i = NUM ; i < keys . length ; i ++ ) { builder . append ( ... | public void deleteValueSubkeyed ( Connection connection , Object keys [ ] ) { StringBuilder builder = new StringBuilder ( ) ; builder . append ( STRING ) ; builder . append ( tableName ) ; builder . append ( STRING ) ; String delimiter = STRING ; for ( int i = _NUM ; i < keys . length ; i ++ ) { builder . append ( deli... | 334 |
java-test-6310 | java | What does this reconstruct ? | the ancestral nodestates at each node | private void reconstruct States ( Tree tree , Node Ref node , int [ ] parent States ) { for ( int i = NUM ; i < patterns . get Pattern Count ( ) ; i ++ ) { double [ ] Sa = node Scores [ node . get Number ( ) ] [ i ] ; if ( compress States ) { int [ ] set = state Sets [ i ] ; int min State = set [ NUM ] ; double min Cos... | private void reconstructStates ( Tree tree , NodeRef node , int [ ] parentStates ) { for ( int i = _NUM ; i < patterns . getPatternCount ( ) ; i ++ ) { double [ ] Sa = nodeScores [ node . getNumber ( ) ] [ i ] ; if ( compressStates ) { int [ ] set = stateSets [ i ] ; int minState = set [ _NUM ] ; double minCost = Sa [ ... | 354 |
java-test-6311 | java | What does the code ensure ? | that the annotation arguments comply to their declarations | @ Override public Void visit Annotation ( Annotation Tree node , Void p ) { List < ? extends Expression Tree > args = node . get Arguments ( ) ; if ( args . is Empty ( ) ) { return null ; } Element anno = Tree Info . symbol ( ( JC Tree ) node . get Annotation Type ( ) ) ; if ( anno . to String ( ) . equals ( Default Qu... | @ Override public Void visitAnnotation ( AnnotationTree node , Void p ) { List < ? extends ExpressionTree > args = node . getArguments ( ) ; if ( args . isEmpty ( ) ) { return null ; } Element anno = TreeInfo . symbol ( ( JCTree ) node . getAnnotationType ( ) ) ; if ( anno . toString ( ) . equals ( DefaultQualifier . c... | 679 |
java-test-6312 | java | What form special trees ? | annotation arguments | @ Override public Void visit Annotation ( Annotation Tree node , Void p ) { List < ? extends Expression Tree > args = node . get Arguments ( ) ; if ( args . is Empty ( ) ) { return null ; } Element anno = Tree Info . symbol ( ( JC Tree ) node . get Annotation Type ( ) ) ; if ( anno . to String ( ) . equals ( Default Qu... | @ Override public Void visitAnnotation ( AnnotationTree node , Void p ) { List < ? extends ExpressionTree > args = node . getArguments ( ) ; if ( args . isEmpty ( ) ) { return null ; } Element anno = TreeInfo . symbol ( ( JCTree ) node . getAnnotationType ( ) ) ; if ( anno . toString ( ) . equals ( DefaultQualifier . c... | 679 |
java-test-6313 | java | Why do this need some special casing ? | as annotation arguments form special trees | @ Override public Void visit Annotation ( Annotation Tree node , Void p ) { List < ? extends Expression Tree > args = node . get Arguments ( ) ; if ( args . is Empty ( ) ) { return null ; } Element anno = Tree Info . symbol ( ( JC Tree ) node . get Annotation Type ( ) ) ; if ( anno . to String ( ) . equals ( Default Qu... | @ Override public Void visitAnnotation ( AnnotationTree node , Void p ) { List < ? extends ExpressionTree > args = node . getArguments ( ) ; if ( args . isEmpty ( ) ) { return null ; } Element anno = TreeInfo . symbol ( ( JCTree ) node . getAnnotationType ( ) ) ; if ( anno . toString ( ) . equals ( DefaultQualifier . c... | 679 |
java-test-6314 | java | What do this need as annotation arguments form special trees ? | some special casing | @ Override public Void visit Annotation ( Annotation Tree node , Void p ) { List < ? extends Expression Tree > args = node . get Arguments ( ) ; if ( args . is Empty ( ) ) { return null ; } Element anno = Tree Info . symbol ( ( JC Tree ) node . get Annotation Type ( ) ) ; if ( anno . to String ( ) . equals ( Default Qu... | @ Override public Void visitAnnotation ( AnnotationTree node , Void p ) { List < ? extends ExpressionTree > args = node . getArguments ( ) ; if ( args . isEmpty ( ) ) { return null ; } Element anno = TreeInfo . symbol ( ( JCTree ) node . getAnnotationType ( ) ) ; if ( anno . toString ( ) . equals ( DefaultQualifier . c... | 679 |
java-test-6315 | java | What does annotation arguments form ? | special trees | @ Override public Void visit Annotation ( Annotation Tree node , Void p ) { List < ? extends Expression Tree > args = node . get Arguments ( ) ; if ( args . is Empty ( ) ) { return null ; } Element anno = Tree Info . symbol ( ( JC Tree ) node . get Annotation Type ( ) ) ; if ( anno . to String ( ) . equals ( Default Qu... | @ Override public Void visitAnnotation ( AnnotationTree node , Void p ) { List < ? extends ExpressionTree > args = node . getArguments ( ) ; if ( args . isEmpty ( ) ) { return null ; } Element anno = TreeInfo . symbol ( ( JCTree ) node . getAnnotationType ( ) ) ; if ( anno . toString ( ) . equals ( DefaultQualifier . c... | 679 |
java-test-6316 | java | What is used to compute the checksum ? | only the specified region of the buffer | public void test checksum 02 ( ) { byte [ ] data = new byte [ NUM ] ; r . next Bytes ( data ) ; Adler 32 adler 32 = new Adler 32 ( ) ; adler 32 . update ( data , NUM , NUM ) ; final int expected Checksum = ( int ) adler 32 . get Value ( ) ; assert Equals ( expected Checksum , chk . checksum ( Byte Buffer . wrap ( data ... | public void test_checksum02 ( ) { byte [ ] data = new byte [ _NUM ] ; r . nextBytes ( data ) ; Adler32 adler32 = new Adler32 ( ) ; adler32 . update ( data , _NUM , _NUM ) ; final int expectedChecksum = ( int ) adler32 . getValue ( ) ; assertEquals ( expectedChecksum , chk . checksum ( ByteBuffer . wrap ( data ) , _NUM ... | 93 |
java-test-6317 | java | What is only the specified region of the buffer used ? | to compute the checksum | public void test checksum 02 ( ) { byte [ ] data = new byte [ NUM ] ; r . next Bytes ( data ) ; Adler 32 adler 32 = new Adler 32 ( ) ; adler 32 . update ( data , NUM , NUM ) ; final int expected Checksum = ( int ) adler 32 . get Value ( ) ; assert Equals ( expected Checksum , chk . checksum ( Byte Buffer . wrap ( data ... | public void test_checksum02 ( ) { byte [ ] data = new byte [ _NUM ] ; r . nextBytes ( data ) ; Adler32 adler32 = new Adler32 ( ) ; adler32 . update ( data , _NUM , _NUM ) ; final int expectedChecksum = ( int ) adler32 . getValue ( ) ; assertEquals ( expectedChecksum , chk . checksum ( ByteBuffer . wrap ( data ) , _NUM ... | 93 |
java-test-6322 | java | How does the code parse the length of the episode ? | in milliseonds | private static long parse Duration From Seconds ( String duration Seconds ) { long duration = NUM ; try { duration = Long . parse Long ( duration Seconds ) ; duration = duration * NUM ; } catch ( Number Format Exception e ) { Timber . w ( STRING ) ; Timber . w ( e . get Message ( ) ) ; } return duration ; } | private static long parseDurationFromSeconds ( String durationSeconds ) { long duration = _NUM ; try { duration = Long . parseLong ( durationSeconds ) ; duration = duration * _NUM ; } catch ( NumberFormatException e ) { Timber . w ( STRING ) ; Timber . w ( e . getMessage ( ) ) ; } return duration ; } | 70 |
java-test-6323 | java | What do a string resemble ? | ssss | private static long parse Duration From Seconds ( String duration Seconds ) { long duration = NUM ; try { duration = Long . parse Long ( duration Seconds ) ; duration = duration * NUM ; } catch ( Number Format Exception e ) { Timber . w ( STRING ) ; Timber . w ( e . get Message ( ) ) ; } return duration ; } | private static long parseDurationFromSeconds ( String durationSeconds ) { long duration = _NUM ; try { duration = Long . parseLong ( durationSeconds ) ; duration = duration * _NUM ; } catch ( NumberFormatException e ) { Timber . w ( STRING ) ; Timber . w ( e . getMessage ( ) ) ; } return duration ; } | 70 |
java-test-6324 | java | What does the code parse in milliseonds ? | the length of the episode | private static long parse Duration From Seconds ( String duration Seconds ) { long duration = NUM ; try { duration = Long . parse Long ( duration Seconds ) ; duration = duration * NUM ; } catch ( Number Format Exception e ) { Timber . w ( STRING ) ; Timber . w ( e . get Message ( ) ) ; } return duration ; } | private static long parseDurationFromSeconds ( String durationSeconds ) { long duration = _NUM ; try { duration = Long . parseLong ( durationSeconds ) ; duration = duration * _NUM ; } catch ( NumberFormatException e ) { Timber . w ( STRING ) ; Timber . w ( e . getMessage ( ) ) ; } return duration ; } | 70 |
java-test-6326 | java | What can we do manage ? | to do it | private Rewrite Match invoke Run Method ( Object class Instance To Run , Http Servlet Request http Servlet Request , Http Servlet Response http Servlet Response , Filter Chain chain , Object [ ] match Objs ) throws Servlet Exception , Invocation Target Exception { if ( log . is Debug Enabled ( ) ) { log . debug ( STRIN... | private RewriteMatch invokeRunMethod ( Object classInstanceToRun , HttpServletRequest httpServletRequest , HttpServletResponse httpServletResponse , FilterChain chain , Object [ ] matchObjs ) throws ServletException , InvocationTargetException { if ( log . isDebugEnabled ( ) ) { log . debug ( STRING + classStr + STRING... | 561 |
java-test-6327 | java | What do we don here ? | log exceptions | private Rewrite Match invoke Run Method ( Object class Instance To Run , Http Servlet Request http Servlet Request , Http Servlet Response http Servlet Response , Filter Chain chain , Object [ ] match Objs ) throws Servlet Exception , Invocation Target Exception { if ( log . is Debug Enabled ( ) ) { log . debug ( STRIN... | private RewriteMatch invokeRunMethod ( Object classInstanceToRun , HttpServletRequest httpServletRequest , HttpServletResponse httpServletResponse , FilterChain chain , Object [ ] matchObjs ) throws ServletException , InvocationTargetException { if ( log . isDebugEnabled ( ) ) { log . debug ( STRING + classStr + STRING... | 561 |
java-test-6328 | java | What describes the same font ? | another fontdescription | public boolean equals ( Object value ) { if ( this == value ) { return BOOL ; } else if ( value != null && value instanceof Font Description ) { Font Description other = ( Font Description ) value ; if ( style != other . style ) return BOOL ; if ( compact Font Format != other . compact Font Format ) return BOOL ; if ( ... | public boolean equals ( Object value ) { if ( this == value ) { return _BOOL ; } else if ( value != null && value instanceof FontDescription ) { FontDescription other = ( FontDescription ) value ; if ( style != other . style ) return _BOOL ; if ( compactFontFormat != other . compactFontFormat ) return _BOOL ; if ( adva... | 164 |
java-test-6329 | java | What does another fontdescription describe ? | the same font | public boolean equals ( Object value ) { if ( this == value ) { return BOOL ; } else if ( value != null && value instanceof Font Description ) { Font Description other = ( Font Description ) value ; if ( style != other . style ) return BOOL ; if ( compact Font Format != other . compact Font Format ) return BOOL ; if ( ... | public boolean equals ( Object value ) { if ( this == value ) { return _BOOL ; } else if ( value != null && value instanceof FontDescription ) { FontDescription other = ( FontDescription ) value ; if ( style != other . style ) return _BOOL ; if ( compactFontFormat != other . compactFontFormat ) return _BOOL ; if ( adva... | 164 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.