idx
int64
0
25k
question
stringlengths
71
7.19k
target
stringlengths
20
663
9,400
removes the `` file : / / '' prefix from the given uri string , if applicable . if the given uri string does n't have a `` file : / / '' prefix , it is returned unchanged . concode_field_sep String _DATA concode_elem_sep String LOG_TAG concode_field_sep String getMimeType concode_elem_sep String getRealPath concode_ele...
String function ( String arg0 ) { if ( arg0 . startsWith ( "srini_string" ) ) { arg0 = arg0 . substring ( 7 ) ; } return arg0 ; }
9,401
draws the currentstate . concode_field_sep Gold gold concode_elem_sep Cheat cheat concode_elem_sep int NUMBER_OF_STATES concode_elem_sep ArrayList<Enemy> enemies concode_elem_sep boolean isPlayingSurvival concode_elem_sep Bullet bullet concode_elem_sep int currentState concode_elem_sep Digger player concode_elem_sep St...
void function ( Graphics2D arg0 ) { if ( this . states [ this . currentState ] != null ) { this . states [ this . currentState ] . draw ( arg0 ) ; } }
9,402
performs a dynamic query on the database and returns the matching rows . concode_field_sep TrashVersionLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep java.util.List<com...
java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; }
9,403
backup a number of characters . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep int bufcolumn[] concode_elem_sep int bufline[...
void function ( int arg0 ) { inBuf += arg0 ; if ( ( bufpos -= arg0 ) < 0 ) bufpos += bufsize ; }
9,404
return the fieldname repository id . concode_field_sep PlaceHolder placeHolder concode_field_sep String extract concode_elem_sep String read concode_elem_sep void insert concode_elem_sep TypeCode type concode_elem_sep void write
String function ( ) { return "srini_string" ; }
9,405
gets the date in format . concode_field_sep Logger LOGGER concode_elem_sep Map<String,Map<String,Field>> nestedFieldMapping concode_elem_sep String DEFAULT_MIME_TYPE concode_elem_sep Map<String,List<Field>> fieldMapping concode_elem_sep Map<String,String> MIME_IMAGE_MAPPING concode_field_sep Field[] getAllFields concod...
String function ( final Date arg0 , final String arg1 ) { SimpleDateFormat loc0 = new SimpleDateFormat ( arg1 ) ; return loc0 . arg1 ( arg0 ) ; }
9,406
returns the fully qualified class name of this subscription . concode_field_sep Subscription _subscription concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGro...
java . lang . String function ( ) { return _subscription . getClassName ( ) ; }
9,407
register operations associated with this resource . concode_field_sep List<ResourceDefinition> children concode_elem_sep PathAddress address concode_elem_sep ModelNode description concode_elem_sep Map<String,AttributeAccess> attributes concode_field_sep PathElement getPathElement concode_elem_sep void registerOperation...
void function ( ManagementResourceRegistration arg0 ) { for ( AttributeAccess loc0 : attributes . values ( ) ) { arg0 . registerReadOnlyAttribute ( loc0 . getAttributeDefinition ( ) , null ) ; } }
9,408
name of the bucket . the bucket will be created if it do n't already exists . concode_field_sep String bucketName concode_elem_sep String fileName concode_elem_sep String serverSideEncryption concode_elem_sep String secretKey concode_elem_sep String prefix concode_elem_sep long partSize concode_elem_sep String proxyHos...
void function ( String arg0 ) { this . bucketName = arg0 ; }
9,409
compares the string values of adjacent objects in two arrays of objects it compares each arrayone i to its corresponding arraytwo i . all the similar objects and their corresponding indexes are returned . to compare every object in the first array to every other object in the second use #compareall concode_field_sep bo...
IndexedMap [ ] function ( Object [ ] arg0 , Object [ ] arg1 ) { return compare ( arg0 , arg1 , 0 ) ; }
9,410
clears all internal data structures , removing any references to compiled statements . concode_field_sep Database database concode_elem_sep IntKeyHashMap schemaMap concode_elem_sep LongKeyHashMap csidMap concode_elem_sep long next_cs_id concode_field_sep long nextID concode_elem_sep Statement compile concode_elem_sep S...
void function ( ) { schemaMap . clear ( ) ; csidMap . clear ( ) ; next_cs_id = 0 ; }
9,411
interface method implementation . checks for mandatory dependencies concode_field_sep Logger LOGGER concode_elem_sep StateTransitioner<T> stateTransitioner concode_field_sep void setStateTransitioner concode_elem_sep void write concode_elem_sep StateTransitioner<T> getStateTransitioner
void function ( ) { Assert . notNull ( this . stateTransitioner , "srini_string" ) ; }
9,412
override this method to do any cleanup needed after generation concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep MessageConsoleStream error concode_elem_sep String SEXEC_FILE_EXTENSION concode_elem_sep MessageConsoleStream info concode_field_sep void refreshTargetProject concode_elem_sep MessageConsole ge...
void function ( GeneratorEntry arg0 ) { }
9,413
check that the equals method can distinguish all fields . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testSerialization
void function ( ) { PlumNeedle loc0 = new PlumNeedle ( ) ; PlumNeedle loc1 = new PlumNeedle ( ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; assertTrue ( loc1 . equals ( loc0 ) ) ; }
9,414
hacky hook to add extra filters . concode_field_sep LinkedHashSet<Filter> extraFilters concode_elem_sep LinkedHashSet<ServletModule> extraServletModules concode_elem_sep long INTERACTIVE_DATASTORE_TIMEOUT_MILLIS concode_elem_sep long NONINTERACTIVE_DATASTORE_TIMEOUT_MILLIS concode_elem_sep Logger log concode_elem_sep L...
void function ( Filter arg0 ) { extraFilters . add ( arg0 ) ; }
9,415
the privacy settings for the album . concode_field_sep String UPDATED_TIME concode_elem_sep User mFrom concode_elem_sep String MESSAGE concode_elem_sep String mName concode_elem_sep String NAME concode_elem_sep boolean mCanUpload concode_elem_sep String mLocation concode_elem_sep String mType concode_elem_sep Privacy m...
String function ( ) { return mPrivacy ; }
9,416
return a random integer , with type long , uniformly distributed over the interval min , max . assume max - min < = integer.max _ value . concode_field_sep boolean marked concode_elem_sep Log LOG concode_elem_sep ThreadLocal<Random> RANDOM concode_elem_sep int count concode_elem_sep String name concode_elem_sep Action<...
long function ( final long arg0 , final long arg1 ) { final long loc0 = arg1 - arg0 ; if ( loc0 <= 0 || loc0 > Integer . MAX_VALUE ) { throw new IllegalArgumentException ( "srini_string" + arg0 + "srini_string" + arg1 ) ; } return loc0 == 1 ? arg0 : arg0 + RANDOM . get ( ) . nextInt ( ( int ) loc0 ) ; }
9,417
sets the value . concode_field_sep Integer comparison concode_elem_sep ViewEvent viewEvent concode_elem_sep long serialVersionUID concode_elem_sep Integer id concode_elem_sep String value concode_elem_sep Field target concode_field_sep String getValue concode_elem_sep Field getTarget concode_elem_sep ViewEvent getViewE...
void function ( String arg0 ) { this . value = arg0 ; }
9,418
gets the transaction type . concode_field_sep PersistenceUnitTransactionType transactionType concode_elem_sep Set<String> jarFiles concode_elem_sep String provider concode_elem_sep List<String> classes concode_elem_sep List<String> packages concode_elem_sep String name concode_elem_sep Properties props concode_elem_sep...
PersistenceUnitTransactionType function ( ) { return transactionType ; }
9,419
gets the value of the default property . concode_field_sep Boolean _default concode_elem_sep List<VanityPrefixType> prefix concode_elem_sep String name concode_elem_sep String description concode_elem_sep Long id concode_field_sep void setName concode_elem_sep List<VanityPrefixType> getPrefix concode_elem_sep String ge...
Boolean function ( ) { return _default ; }
9,420
creates a request for the given uri and method . concode_field_sep PlaceHolder placeHolder concode_field_sep Headers headers concode_elem_sep Request withUri concode_elem_sep Request withTtl concode_elem_sep String method concode_elem_sep Request clearHeaders concode_elem_sep Request withService concode_elem_sep Reques...
Request function ( String arg0 , String arg1 ) { return RequestValue . create ( arg0 , arg1 ) ; }
9,421
to be invoked after the main execution logic of concrete subclasses . concode_field_sep int NO_CONCURRENCY concode_elem_sep Log logger concode_elem_sep int UNBOUNDED_CONCURRENCY concode_elem_sep int concurrencyCount concode_elem_sep int concurrencyLimit concode_elem_sep Object monitor concode_field_sep void setConcurre...
void function ( ) { if ( this . concurrencyLimit >= 0 ) { synchronized ( this . monitor ) { this . concurrencyCount -- ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "srini_string" + this . concurrencyCount ) ; } this . monitor . notify ( ) ; } } }
9,422
sets the value of the dataset property . concode_field_sep String timeStamp concode_elem_sep String seqNum concode_elem_sep String reasonCode concode_elem_sep String dataRef concode_elem_sep String value concode_elem_sep String dataSet concode_elem_sep String configRef concode_elem_sep String entryID concode_field_sep ...
void function ( String arg0 ) { this . dataSet = arg0 ; }
9,423
reports whether the current selection contains any objects . concode_field_sep ArrayList listeners concode_elem_sep RootGraphicsNode selectionNodeRoot concode_elem_sep GraphicsNode selectionNode concode_field_sep void removeSelectionListener concode_elem_sep void mouseDragged concode_elem_sep void mouseExited concode_e...
boolean function ( ) { return ( getSelection ( ) == null ) ; }
9,424
get the single instance . concode_field_sep IsProductWorkspaceOpenValidator INSTANCE concode_field_sep boolean isError concode_elem_sep String validate
IsProductWorkspaceOpenValidator function ( ) { return INSTANCE ; }
9,425
fetch the value at a given index . i added this method to keep the rti13.javapackage happy even though it is not part of the standard dlc interface concode_field_sep List<Integer> handles concode_elem_sep int pos concode_elem_sep long serialVersionUID concode_field_sep void add concode_elem_sep HandleIterator handles c...
int function ( int arg0 ) { return this . handles . get ( arg0 ) ; }
9,426
set this value to take the supplied string value . concode_field_sep boolean _locked concode_elem_sep long _this concode_field_sep void setName concode_elem_sep String getStringValue concode_elem_sep void unlock concode_elem_sep String getName concode_elem_sep double getDoubleValue concode_elem_sep double getDouble con...
void function ( String arg0 ) { if ( PoolInternal . pool_value_set_string ( _this , arg0 ) != PoolInternal . PO_SUCCESS ) throw new PoolsException ( ) ; }
9,427
tests the mode #equals object method . concode_field_sep ExpectedException mThrown concode_field_sep void umaskExceedLength concode_elem_sep void umask concode_elem_sep void toStringTest concode_elem_sep void setOtherBits concode_elem_sep void copyConstructor concode_elem_sep void umaskNotInteger concode_elem_sep void ...
void function ( ) { Mode loc0 = new Mode ( ( short ) 0777 ) ; Assert . assertTrue ( loc0 . equals ( Mode . defaults ( ) ) ) ; Mode loc1 = new Mode ( ( short ) 0000 ) ; Assert . assertTrue ( loc1 . equals ( Mode . createNoAccess ( ) ) ) ; Assert . assertFalse ( loc0 . equals ( loc1 ) ) ; }
9,428
get the message object for the indicated sequence number . if the message object has n't been created , create it . return null if there 's no message with that sequence number . concode_field_sep IMAPFolder folder concode_elem_sep int size concode_elem_sep int SLOP concode_elem_sep MailLogger logger concode_elem_sep I...
IMAPMessage function ( int arg0 ) { int loc0 = msgnumOf ( arg0 ) ; if ( loc0 < 0 ) { if ( logger . isLoggable ( Level . FINE ) ) logger . fine ( "srini_string" + arg0 ) ; return null ; } else return getMessage ( loc0 ) ; }
9,429
sets the propeties . concode_field_sep String m_description concode_elem_sep CmsUUID m_structureId concode_elem_sep String m_title concode_elem_sep Date m_lastModified concode_elem_sep String m_size concode_elem_sep String m_resourcePath concode_elem_sep String m_previewContent concode_elem_sep Map<String,String> m_pro...
void function ( Map < String , String > arg0 ) { m_properties = arg0 ; }
9,430
puts the last refresh date into a bundle . concode_field_sep String TOKEN_SOURCE_KEY concode_elem_sep long INVALID_BUNDLE_MILLISECONDS concode_elem_sep String TOKEN_KEY concode_elem_sep String PERMISSIONS_KEY concode_elem_sep String EXPIRATION_DATE_KEY concode_elem_sep String DECLINED_PERMISSIONS_KEY concode_elem_sep S...
void function ( Bundle arg0 , Date arg1 ) { Validate . notNull ( arg0 , "srini_string" ) ; Validate . notNull ( arg1 , "srini_string" ) ; putDate ( arg0 , LAST_REFRESH_DATE_KEY , arg1 ) ; }
9,431
retrieves the model file from storage concode_field_sep ClassifierState state concode_field_sep int classify concode_elem_sep Object getModel concode_elem_sep ClassifierState getState concode_elem_sep boolean saveModel concode_elem_sep void setState concode_elem_sep boolean train
Object function ( ) { Object loc0 = null ; try { loc0 = Parameters . getPermanentStorageInstance ( ) . retrieveModel ( Parameters . getModelFileName ( ) ) ; } catch ( Exception loc1 ) { loc1 . printStackTrace ( ) ; } return loc0 ; }
9,432
this method is bound to the inputfile component and is executed multiple times during the file upload process . every call allows the user to finds out what percentage of the file has been uploaded . this progress information can then be used with a progressbar component for user feedback on the file upload progress . ...
void function ( EventObject arg0 ) { InputFile loc0 = ( InputFile ) arg0 . getSource ( ) ; fileProgress = loc0 . getFileInfo ( ) . getPercent ( ) ; }
9,433
test % throwableshort , filters package1 , package2 concode_field_sep PlaceHolder placeHolder concode_field_sep void testSeparator concode_elem_sep void testDepthAndSeparator concode_elem_sep void testFullAnsiWithCustomStyle concode_elem_sep void testFullAnsi concode_elem_sep void testNoneAndSeparatorAndFilters concode...
void function ( ) { test ( new String [ ] { "srini_string" } , 2 , Strings . LINE_SEPARATOR , Arrays . asList ( "srini_string" , "srini_string" ) ) ; }
9,434
reads a value of the specified type from the given element . concode_field_sep String LINUX concode_elem_sep String myAttribute concode_elem_sep String WINDOWS concode_elem_sep String OS concode_elem_sep String MAC concode_elem_sep Logger LOG concode_elem_sep String VALUE concode_field_sep void setAttribute concode_ele...
T function ( Class < T > arg0 , Element arg1 ) { T loc0 = null ; if ( arg1 != null ) { if ( myAttribute != null ) { loc0 = read ( arg0 , arg1 , myAttribute ) ; } if ( loc0 == null ) { loc0 = read ( arg0 , arg1 , OS ) ; if ( loc0 == null ) { loc0 = read ( arg0 , arg1 , VALUE ) ; } } } return loc0 ; }
9,435
removes the mapping from the specified key , if there was any . concode_field_sep int[] mKeys concode_elem_sep int mSize concode_elem_sep byte[] mValues concode_field_sep int keyAt concode_elem_sep int size concode_elem_sep int indexOfKey concode_elem_sep byte get concode_elem_sep byte get concode_elem_sep SparseByteAr...
void function ( int arg0 ) { int loc0 = binarySearch ( mKeys , 0 , mSize , arg0 ) ; if ( loc0 >= 0 ) { System . arraycopy ( mKeys , loc0 + 1 , mKeys , loc0 , mSize - ( loc0 + 1 ) ) ; System . arraycopy ( mValues , loc0 + 1 , mValues , loc0 , mSize - ( loc0 + 1 ) ) ; mSize -- ; } }
9,436
if set to true then the consumer runs in transaction mode , where the messages in the seda queue will only be removed if the transaction commits , which happens when the processing is complete . concode_field_sep int pollTimeout concode_elem_sep String queueName concode_elem_sep int concurrentConsumers concode_elem_sep...
void function ( boolean arg0 ) { this . transacted = arg0 ; }
9,437
counts incoming test messages . concode_field_sep Logger log concode_elem_sep int messageCount concode_elem_sep TestClientControlledTest.Roles role concode_elem_sep Session session concode_elem_sep MessageProducer producer concode_elem_sep int numMessages concode_elem_sep Connection connection concode_field_sep String ...
void function ( Message arg0 ) { log . debug ( "srini_string" + arg0 + "srini_string" ) ; messageCount ++ ; }
9,438
called by internal mechanisms , do not call yourself . concode_field_sep String feedback concode_elem_sep long interviewId concode_elem_sep String interviewType concode_elem_sep String description concode_elem_sep String startTime concode_elem_sep List<JobPosition> jobPositions concode_elem_sep long serialVersionUID co...
void function ( DaoSession arg0 ) { this . daoSession = arg0 ; myDao = arg0 != null ? arg0 . getInterviewDao ( ) : null ; }
9,439
gets the default path local config . concode_field_sep String defaultClientEep concode_elem_sep String clientDestineXp concode_elem_sep boolean autoUpdate concode_elem_sep String defaultPath concode_elem_sep String defaultPathLocalConfig concode_elem_sep String version concode_elem_sep String applicationName concode_el...
String function ( ) { return defaultPathLocalConfig ; }
9,440
retrieves the subcommand argument with the specified name . concode_field_sep int minTrailingArguments concode_elem_sep String trailingArgsDisplayName concode_elem_sep HashMap<String,Argument> longIDMap concode_elem_sep SubCommandArgumentParser parser concode_elem_sep boolean allowsTrailingArguments concode_elem_sep St...
Argument function ( String arg0 ) { for ( Argument loc0 : arguments ) { if ( loc0 . getName ( ) . equals ( arg0 ) ) { return loc0 ; } } return null ; }
9,441
sets the parentfolderid . concode_field_sep FolderId parentFolderId concode_elem_sep EventType eventType concode_elem_sep FolderId oldParentFolderId concode_elem_sep Date timestamp concode_field_sep EventType getEventType concode_elem_sep void loadFromXml concode_elem_sep void internalLoadFromXml concode_elem_sep Date ...
void function ( FolderId arg0 ) { this . parentFolderId = arg0 ; }
9,442
check if sound effects are currently enabled concode_field_sep boolean soundWorks concode_elem_sep SoundLoader store concode_elem_sep int sourceCount concode_elem_sep HashMap loaded concode_elem_sep boolean sounds concode_elem_sep IntBuffer sources concode_elem_sep int nextSource concode_elem_sep boolean inited concode...
boolean function ( ) { return sounds ; }
9,443
returns a map/list which contains the first line of each line group as key and the rest of the lines as a string value . concode_field_sep int nextStartLineNumber concode_elem_sep String[] sectionContinuations concode_elem_sep String[] ignoredStarts concode_elem_sep LineNumberReader reader concode_elem_sep String[] def...
HashMappedList function ( ) { HashMappedList loc0 = new HashMappedList ( ) ; while ( true ) { HsqlArrayList loc1 = getSection ( ) ; if ( loc1 . size ( ) < 1 ) { break ; } String loc2 = ( String ) loc1 . get ( 0 ) ; String loc3 = LineGroupReader . convertToString ( loc1 , 1 ) ; loc0 . put ( loc2 , loc3 ) ; } return loc0...
9,444
retrieves the nth daughter of this item . concode_field_sep Item next concode_elem_sep Item parent concode_elem_sep ItemContents contents concode_elem_sep Relation ownerRelation concode_elem_sep Item prev concode_elem_sep Item daughter concode_field_sep Item getPrevious concode_elem_sep Item getParent concode_elem_sep ...
Item function ( int arg0 ) { Item loc0 = daughter ; int loc1 = 0 ; while ( loc1 ++ != arg0 && loc0 != null ) { loc0 = loc0 . next ; } return loc0 ; }
9,445
returns an instance of a default client of the specified type with multiple dir address . concode_field_sep ClientType defaultType concode_field_sep Client createClient concode_elem_sep Client createClient concode_elem_sep Client createClient concode_elem_sep Client createClient
AdminClient function ( ClientType arg0 , String [ ] arg1 , UserCredentials arg2 , SSLOptions arg3 , Options arg4 ) { switch ( arg0 ) { case NATIVE : return NativeAdminClient . createClient ( arg1 , arg2 , arg3 , arg4 ) ; case JAVA : default : return new ClientImplementation ( arg1 , arg2 , arg3 , arg4 ) ; } }
9,446
returns the distance from the source to the given vertex . if the vertex is unreachable , the distance returned is double.positive _ infinity . concode_field_sep int[] edgeTo concode_elem_sep double[] distTo concode_elem_sep IndexMinPriorityQueue<Double> indexMinPQ concode_elem_sep double INFINITY concode_field_sep voi...
double function ( int arg0 ) { return distTo [ arg0 ] ; }
9,447
decide if the package is a metadata package . concode_field_sep TypeRef FLOAT concode_elem_sep String fqn concode_elem_sep Map<String,PackageRef> packageCache concode_elem_sep TypeRef CHAR concode_elem_sep boolean primitive concode_elem_sep TypeRef LONG concode_elem_sep TypeRef SHORT concode_elem_sep String descriptor ...
boolean function ( ) { if ( isDefaultPackage ( ) ) return true ; for ( int loc0 = 0 ; loc0 < Constants . METAPACKAGES . length ; loc0 ++ ) { if ( fqn . startsWith ( Constants . METAPACKAGES [ loc0 ] ) ) return true ; } return false ; }
9,448
gets the value of the reference property . concode_field_sep Reference reference concode_elem_sep String name concode_elem_sep List<Interceptor> interceptor concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setReference concode_elem_sep List<Interceptor> getInterceptor
Reference function ( ) { return reference ; }
9,449
returns i18n bundle used by colorpicker , if current bundle is null , a default bundle is set and returned concode_field_sep I18NBundle buttonBarBundle concode_elem_sep Locale locale concode_elem_sep I18NBundle colorPickerBundle concode_elem_sep I18NBundle tabbedPaneBundle concode_elem_sep I18NBundle dialogsBundle conc...
I18NBundle function ( ) { if ( colorPickerBundle == null ) colorPickerBundle = getBundle ( "srini_string" ) ; return colorPickerBundle ; }
9,450
create a row count criteriaquery from a criteriaquery concode_field_sep String FROM_PATTERN_STRING concode_elem_sep String ALIAS_PATTERN_STRING concode_elem_sep Pattern FROM_PATTERN concode_elem_sep Pattern ALIAS_PATTERN concode_elem_sep long aliasCount concode_field_sep void copyJoins concode_elem_sep String getOrCrea...
CriteriaQuery < Long > function ( EntityManager arg0 , CriteriaQuery < T > arg1 ) { CriteriaBuilder loc0 = arg0 . getCriteriaBuilder ( ) ; CriteriaQuery < Long > loc1 = loc0 . createQuery ( Long . class ) ; copyCriteriaNoSelection ( arg1 , loc1 ) ; loc1 . select ( loc0 . count ( findRoot ( loc1 , arg1 . getResultType (...
9,451
sets the encapsulated byte to the specified value . concode_field_sep long serialVersionUID concode_elem_sep byte value concode_field_sep void copyTo concode_elem_sep byte getValue concode_elem_sep void read concode_elem_sep int getBinaryLength concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_...
void function ( byte arg0 ) { this . value = arg0 ; }
9,452
converts an angle in radians to degrees concode_field_sep int MILLION concode_elem_sep int EARTH_RADIUS_KM concode_field_sep double bearing concode_elem_sep double bearing concode_elem_sep double distanceKm concode_elem_sep double distanceKm
double function ( double arg0 ) { return ( Math . toDegrees ( arg0 ) + 360 ) % 360 ; }
9,453
retrieves the accumulated time this object has spent running since it was last zeroed . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep void zero concode_elem_sep long currentElapsedTime concode_elem_sep void stop concode_el...
long function ( ) { if ( running ) { return total + System . currentTimeMillis ( ) - startTime ; } else { return total ; } }
9,454
call this at the beginning to make sure that the class is loaded and the static initializer has run concode_field_sep PlaceHolder placeHolder concode_field_sep void uncaughtException concode_elem_sep void handle
void function ( ) { Log . debug ( "srini_string" ) ; }
9,455
sets the category for the end of the line . concode_field_sep long serialVersionUID concode_elem_sep Comparable category2 concode_elem_sep Paint paint concode_elem_sep Stroke stroke concode_elem_sep double value2 concode_elem_sep double value1 concode_elem_sep Comparable category1 concode_field_sep Stroke getStroke con...
void function ( Comparable arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . category2 = arg0 ; }
9,456
gets the value of the targetnamespace property . concode_field_sep String targetNamespace concode_elem_sep String name concode_elem_sep Boolean header concode_elem_sep String partName concode_field_sep void setName concode_elem_sep void setPartName concode_elem_sep String getName concode_elem_sep String targetNamespace...
String function ( ) { if ( targetNamespace == null ) { return "srini_string" ; } else { return targetNamespace ; } }
9,457
true if addcommunicationtocase succeeds . otherwise , returns an error . concode_field_sep Boolean result concode_field_sep void setResult concode_elem_sep int hashCode concode_elem_sep Boolean getResult concode_elem_sep boolean equals concode_elem_sep AddCommunicationToCaseResult clone concode_elem_sep String toString...
Boolean function ( ) { return this . result ; }
9,458
confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSerialization concode_elem_sep void testEquals
void function ( ) { LegendItemEntity loc0 = new LegendItemEntity ( new Rectangle2D . Double ( 1.0 , 2.0 , 3.0 , 4.0 ) ) ; LegendItemEntity loc1 = ( LegendItemEntity ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; }
9,459
return the current offset to start at . concode_field_sep int pageSize concode_elem_sep int DEFAULT_PAGE_SIZE concode_elem_sep int page concode_elem_sep String nextPage concode_elem_sep int total concode_elem_sep String prevPage concode_field_sep int getPageSize concode_elem_sep boolean pageSizeIsDefault concode_elem_s...
int function ( ) { return ( page * pageSize ) - pageSize ; }
9,460
sets the path to the chrome executable . this path should exist on the machine which will launch chrome . the path should either be absolute or relative to the location of running chromedriver server . concode_field_sep List<File> extensionFiles concode_elem_sep Map<String,Object> experimentalOptions concode_elem_sep S...
void function ( String arg0 ) { binary = checkNotNull ( arg0 ) ; }
9,461
util method to write an attribute without the ns prefix concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.StartInstancesType localStartInstances concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep void writ...
void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , javax . xml . stream . XMLStreamWriter arg3 ) { if ( arg0 . equals ( "srini_string" ) ) { arg3 . writeAttribute ( arg1 , arg2 ) ; } else { registerPrefix ( arg3 , arg0 ) ; arg3 . writeAttribute ( arg0 , arg1 , arg2 ) ; }...
9,462
sets the size . concode_field_sep double rotateX concode_elem_sep Paint outlinePaint concode_elem_sep int size concode_elem_sep AffineTransform transform concode_elem_sep Paint highlightPaint concode_elem_sep double rotateY concode_elem_sep Stroke outlineStroke concode_elem_sep Paint fillPaint concode_elem_sep long ser...
void function ( int arg0 ) { this . size = arg0 ; }
9,463
get the block . concode_field_sep BaseBlock block concode_field_sep BaseBlock next concode_elem_sep BaseBlock next
BaseBlock function ( ) { return block ; }
9,464
retrieves the accumulated time this object has spent running since it was last zeroed . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep void zero concode_elem_sep long currentElapsedTime concode_elem_sep void stop concode_el...
long function ( ) { if ( running ) { return total + System . currentTimeMillis ( ) - startTime ; } else { return total ; } }
9,465
the instance type for the modified reserved instances . concode_field_sep Integer instanceCount concode_elem_sep String instanceType concode_elem_sep String availabilityZone concode_elem_sep String platform concode_field_sep ReservedInstancesConfiguration withAvailabilityZone concode_elem_sep void setPlatform concode_e...
void function ( InstanceType arg0 ) { this . instanceType = arg0 . toString ( ) ; }
9,466
the name of this dialect as it appears in related enum values . concode_field_sep ThirdParty thirdParty concode_elem_sep boolean commercial concode_elem_sep SQLDialect[] FAMILIES concode_elem_sep String name concode_elem_sep SQLDialect predecessor concode_elem_sep SQLDialect family concode_field_sep ThirdParty thirdPar...
String function ( ) { return name == null ? null : name . toUpperCase ( ) ; }
9,467
sets the value of the endpointside property . concode_field_sep TubeFactoryList clientSide concode_elem_sep TubeFactoryList endpointSide concode_elem_sep String name concode_elem_sep Map<QName,String> otherAttributes concode_elem_sep List<Object> any concode_field_sep void setName concode_elem_sep String getName concod...
void function ( TubeFactoryList arg0 ) { this . endpointSide = arg0 ; }
9,468
returns the hexadecimal number of a bit array . concode_field_sep String HEXES concode_field_sep boolean[] getBits concode_elem_sep int fromHex concode_elem_sep Date resolveDateTime concode_elem_sep String getStackTrace concode_elem_sep byte[] hexStringToByteArray concode_elem_sep int fromByte concode_elem_sep String g...
String function ( boolean [ ] arg0 ) { int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ; ++ loc1 ) { loc0 |= ( arg0 [ loc1 ] ? 1 : 0 ) << loc1 ; } return toHex ( loc0 ) ; }
9,469
saves all given entities . use the returned instances for further operations as the operation might have changed the entity instances completely . concode_field_sep EntityManager entityManager concode_elem_sep String pu concode_elem_sep Class<I> idClass concode_elem_sep Repository repository concode_elem_sep Class<T> e...
Iterable < T > function ( final Iterable < T > entities ) { return inTransaction ( new Callable < Iterable < T >> ( ) { @ Override public Iterable < T > call ( ) throws Exception { for ( T object : entities ) { entityManager . persist ( object ) ; } return entities ; } } ) ; }
9,470
sets the element of this big array at specified index . concode_field_sep byte[][] array concode_elem_sep int INSTANCE_SIZE concode_elem_sep long SIZE_OF_SEGMENT concode_elem_sep byte initialValue concode_elem_sep int capacity concode_elem_sep int segments concode_field_sep void grow concode_elem_sep long sizeOf concod...
void function ( long arg0 , byte arg1 ) { array [ segment ( arg0 ) ] [ offset ( arg0 ) ] = arg1 ; }
9,471
checks if any threads are deadlocked . if any , print the thread dump information . concode_field_sep String INDENT concode_elem_sep Timer threadCheck concode_elem_sep ThreadMXBean threadBean concode_elem_sep ThreadDeadlockDetector detector concode_field_sep void init concode_elem_sep void printThreadInfo concode_elem_...
void function ( ) { long [ ] loc0 = threadBean . findDeadlockedThreads ( ) ; if ( loc0 == null ) { return ; } dumpThreadsAndLocks ( "srini_string" , threadBean , loc0 ) ; }
9,472
gets the prefix for this qname concode_field_sep String EMPTY_STRING concode_elem_sep String localPart concode_elem_sep String prefix concode_elem_sep String namespaceURI concode_field_sep String getQualifiedName concode_elem_sep QName valueOf concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_s...
String function ( ) { return prefix ; }
9,473
gets the value of the defaultidentitystoreid property . concode_field_sep String defaultAttributeStoreId concode_elem_sep ExternalConfigType externalConfig concode_elem_sep OptionsType options concode_elem_sep IdentityStoreMappingsType identityStoreMappings concode_elem_sep String id concode_elem_sep String clazz conco...
String function ( ) { return defaultIdentityStoreId ; }
9,474
gets all the data sinks of this job . concode_field_sep String jobName concode_elem_sep int DEFAULT_PARALELLISM concode_elem_sep ExecutionConfig executionConfig concode_elem_sep HashMap<String,DistributedCacheEntry> cacheFile concode_elem_sep List<GenericDataSinkBase<?>> sinks concode_elem_sep int maxDop concode_elem_s...
Collection < ? extends GenericDataSinkBase < ? >> function ( ) { return this . sinks ; }
9,475
gets the parent object in the object tree representing the unmarshalled xml document . concode_field_sep STYAlign tblpYSpec concode_elem_sep Object parent concode_elem_sep STHAnchor horzAnchor concode_elem_sep BigInteger leftFromText concode_elem_sep STXAlign tblpXSpec concode_elem_sep BigInteger tblpX concode_elem_sep...
Object function ( ) { return this . parent ; }
9,476
asserts that the current response was redirected and returns the prior response . concode_field_sep Request request concode_elem_sep WebSocket webSocket concode_elem_sep Response response concode_elem_sep IOException failure concode_elem_sep String body concode_field_sep RecordedResponse assertNoNetworkResponse concode...
RecordedResponse function ( ) { Response loc0 = response . loc0 ( ) ; assertNotNull ( loc0 ) ; assertNull ( loc0 . body ( ) ) ; return new RecordedResponse ( loc0 . request ( ) , loc0 , null , null , null ) ; }
9,477
convenience method for getting a 16-bit sample from a byte array . samples should be in 16-bit , signed , little-endian format . concode_field_sep PlaceHolder placeHolder concode_field_sep void filter concode_elem_sep void filter concode_elem_sep void reset concode_elem_sep int getRemainingSize concode_elem_sep void se...
short function ( byte [ ] arg0 , int arg1 ) { return ( short ) ( ( ( arg0 [ arg1 + 1 ] & 0xff ) << 8 ) | ( arg0 [ arg1 ] & 0xff ) ) ; }
9,478
gets the number of the root slot . this code behaves equal to getroot . getslotnumber . if this slot is the root of the tree of shared slots , then this method returns the same value as #getslotnumber . concode_field_sep JobID jobID concode_elem_sep SharedSlot parent concode_elem_sep int status concode_elem_sep int CAN...
int function ( ) { if ( parent == null ) { return slotNumber ; } else { return parent . getRootSlotNumber ( ) ; } }
9,479
gets the value of the adminpassword property . concode_field_sep String adminName concode_elem_sep String adminUsername concode_elem_sep String smtpServer concode_elem_sep String siteAddress concode_elem_sep String adminPassword concode_field_sep void setAdminName concode_elem_sep void setAdminPassword concode_elem_sep...
String function ( ) { return adminPassword ; }
9,480
sets the last name for this student . concode_field_sep int studentId concode_elem_sep String firstName concode_elem_sep String lastName concode_elem_sep String address concode_elem_sep boolean uiToggle concode_elem_sep Set<Course> courses concode_field_sep void setCourses concode_elem_sep int getStudentId concode_elem...
void function ( String arg0 ) { this . lastName = arg0 ; }
9,481
adds the file to the current commitbody . concode_field_sep HashMap<String,ArrayList<Integer>> temp concode_elem_sep Date commitTime concode_elem_sep CommitBody past concode_elem_sep ArrayList<String> listFilesInCommit concode_elem_sep ArrayList<Integer> historyNodes concode_elem_sep HashMap<String,ArrayList<Integer>> ...
void function ( File arg0 ) { filesInCommit . add ( arg0 ) ; listFilesInCommit . add ( arg0 . getPath ( ) ) ; if ( ! inheritedPlusAdded . containsKey ( arg0 . getPath ( ) ) ) { ArrayList < Integer > loc0 = new ArrayList < Integer > ( ) ; inheritedPlusAdded . put ( arg0 . getPath ( ) , loc0 ) ; } inheritedPlusAdded . ge...
9,482
by default , there are no collisions in pasting . concode_field_sep Map nameFeatureMap concode_elem_sep Object NULL_TOKEN concode_field_sep boolean shouldOverrideCopyOperation concode_elem_sep void setName concode_elem_sep boolean canContain concode_elem_sep XMLResource getResource concode_elem_sep String getName conco...
PasteAction function ( EClass arg0 ) { return PasteAction . ADD ; }
9,483
sets value type . concode_field_sep String dbSchema concode_elem_sep String cacheName concode_elem_sep String valType concode_elem_sep JdbcTypeField[] keyFields concode_elem_sep long serialVersionUID concode_elem_sep String keyType concode_elem_sep JdbcTypeField[] valFlds concode_elem_sep String dbTbl concode_elem_sep ...
JdbcType function ( String arg0 ) { this . valType = arg0 ; return this ; }
9,484
afterpropertiesset concode_field_sep ResourceDao m_resourceDao concode_elem_sep StatisticsReportDao m_statisticsReportDao concode_field_sep StatisticsReportDao getStatisticsReportDao concode_elem_sep void setStatisticsReportDao concode_elem_sep void setResourceDao concode_elem_sep ResourceDao getResourceDao concode_ele...
void function ( ) { Assert . state ( m_statisticsReportDao != null , "srini_string" ) ; Assert . state ( m_resourceDao != null , "srini_string" ) ; }
9,485
when the user clicks the flip button , this method fires a session state change event indicating that the session state has changed to showing_answer . concode_field_sep QandAPanelContainer qap concode_elem_sep ButtonPanelContainer bpc concode_elem_sep Session session concode_elem_sep SessionState sessionState concode_...
void function ( ) { setSessionState ( SessionState . SHOWING_ANSWER ) ; }
9,486
read an object of the type specified by the type char . concode_field_sep int streamPosition concode_elem_sep byte[] bytes concode_elem_sep int bytesLength concode_field_sep boolean isBundle concode_elem_sep int lengthOfCurrentString concode_elem_sep OSCMessage convertMessage concode_elem_sep String readString concode_...
Object function ( char arg0 ) { switch ( arg0 ) { case 'i' : return readInteger ( ) ; case 'h' : return readBigInteger ( ) ; case 'f' : return readFloat ( ) ; case 'd' : return readDouble ( ) ; case 's' : return readString ( ) ; case 'c' : return readChar ( ) ; case 'T' : return Boolean . TRUE ; case 'F' : return Boole...
9,487
sets the value of the toomanyresults property . concode_field_sep ArrayList<ArtifactType> artifact concode_elem_sep SearchResults.Data data concode_elem_sep BigInteger count concode_elem_sep BigInteger from concode_elem_sep BigInteger totalCount concode_elem_sep boolean tooManyResults concode_field_sep void setTotalCou...
void function ( boolean arg0 ) { this . tooManyResults = arg0 ; }
9,488
test client . read bits from standard input and write to the file specified on command line . concode_field_sep int buffer concode_elem_sep int n concode_elem_sep BufferedOutputStream out concode_field_sep void writeByte concode_elem_sep void flush concode_elem_sep void clearBuffer concode_elem_sep void close concode_e...
void function ( String [ ] arg0 ) { String loc0 = arg0 [ 0 ] ; BinaryOut loc1 = new BinaryOut ( loc0 ) ; BinaryIn loc2 = new BinaryIn ( ) ; while ( ! loc2 . isEmpty ( ) ) { char loc3 = loc2 . readChar ( ) ; loc1 . write ( loc3 ) ; } loc1 . flush ( ) ; }
9,489
this method is called automatically when communicationnetworkserviceremoteagent observable object update the database when new message is received concode_field_sep ErrorManager errorManager concode_elem_sep FermatMessage lastMessageReceived concode_elem_sep PlatformComponentProfile remoteNetworkServiceProfile concode_...
void function ( Observable arg0 , Object arg1 ) { if ( arg1 instanceof FermatMessage ) { onMessageReceived ( ( FermatMessage ) arg1 ) ; } }
9,490
true if the reader has a time dimension concode_field_sep TimeZone UTC_TIME_ZONE concode_elem_sep String UTC_PATTERN concode_elem_sep GridCoverage2DReader reader concode_elem_sep Comparator<Object> ELEVATION_COMPARATOR concode_elem_sep Logger LOGGER concode_elem_sep Comparator<Object> TEMPORAL_COMPARATOR concode_elem_s...
boolean function ( ) { return "srini_string" . equalsIgnoreCase ( reader . getMetadataValue ( HAS_TIME_DOMAIN ) ) ; }
9,491
returns the age in days . concode_field_sep Calendar firstQuarter concode_elem_sep double illumination concode_elem_sep Calendar thirdQuarter concode_elem_sep MoonPhaseName name concode_elem_sep Calendar _new concode_elem_sep int age concode_elem_sep Calendar full concode_field_sep void setName concode_elem_sep Calenda...
int function ( ) { return age ; }
9,492
returns members of certain type from pyclassliketype . concode_field_sep PlaceHolder placeHolder concode_field_sep PyCollectionType toKeywordContainerType concode_elem_sep PyTupleType toPositionalContainerType concode_elem_sep T findData
List < T > function ( @ NotNull final PyClassLikeType arg0 , @ NotNull final Class < T > arg1 , boolean arg2 , @ NotNull final TypeEvalContext arg3 ) { final List < T > loc0 = new ArrayList < > ( ) ; arg0 . visitMembers ( t -> { if ( arg1 . isInstance ( t ) ) { @ SuppressWarnings ( "srini_string" ) final T loc1 = ( T )...
9,493
removes vault files from the given directory , and also removes the given key store file . concode_field_sep String keyStoreType concode_elem_sep String salt concode_elem_sep String keyStorePassword concode_elem_sep String FILE_SEPARATOR concode_elem_sep int keySize concode_elem_sep String VAULT_DAT_FILE concode_elem_s...
void function ( String arg0 , boolean arg1 , String arg2 ) { cleanFilesystem ( new File ( arg0 ) , arg1 , new File ( arg2 ) ) ; }
9,494
mute the radio volume concode_field_sep String REQUEST_GET_MODE concode_elem_sep Logger logger concode_elem_sep FrontierSiliconRadioConnection conn concode_elem_sep String REQUEST_SET_MUTE concode_elem_sep String REQUEST_GET_VOLUME concode_elem_sep String REQUEST_GET_PLAY_INFO_TEXT concode_elem_sep String REQUEST_GET_M...
void function ( boolean arg0 ) { final String loc0 = "srini_string" + ( arg0 ? "srini_string" : "srini_string" ) ; try { conn . doRequest ( REQUEST_SET_MUTE , loc0 ) ; return ; } catch ( Exception loc1 ) { logger . error ( "srini_string" + REQUEST_SET_MUTE + "srini_string" + loc0 ) ; } }
9,495
setsp concode_field_sep int POP concode_elem_sep boolean m_verbose concode_elem_sep int SUB concode_elem_sep int m_registers[] concode_elem_sep int SP concode_elem_sep int R3 concode_elem_sep int R2 concode_elem_sep TrapHandler m_TH concode_elem_sep int BNE concode_elem_sep int R1 concode_elem_sep int NUMGENREG concode...
void function ( int arg0 ) { m_registers [ SP ] = arg0 ; }
9,496
the splunk query to run concode_field_sep String earliestTime concode_elem_sep boolean useSunHttpsHandler concode_elem_sep String source concode_elem_sep int port concode_elem_sep String savedSearch concode_elem_sep String password concode_elem_sep String search concode_elem_sep Boolean streaming concode_elem_sep SSLSe...
void function ( String arg0 ) { this . search = arg0 ; }
9,497
gets all pages in offline page model . concode_field_sep long mNativeOfflinePageEvaluationBridge concode_elem_sep boolean mIsOfflinePageModelLoaded concode_elem_sep ObserverList<OfflinePageEvaluationObserver> mObservers concode_field_sep void nativeSavePageLater concode_elem_sep void nativeGetRequestsInQueue concode_el...
void function ( final Callback < List < OfflinePageItem >> arg0 ) { List < OfflinePageItem > loc0 = new ArrayList < > ( ) ; nativeGetAllPages ( mNativeOfflinePageEvaluationBridge , loc0 , arg0 ) ; }
9,498
get parameter value from request scope . concode_field_sep Logger log concode_elem_sep Properties buildProperties concode_field_sep UIComponent findComponent concode_elem_sep ServletContext getServletContext concode_elem_sep void redirectBrowser concode_elem_sep Object getManagedBean concode_elem_sep String getActionAt...
String function ( String arg0 ) { return FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getRequestParameterMap ( ) . get ( arg0 ) ; }
9,499
returns default configuration supported by the sensor . currently only frequency is supported . concode_field_sep double SENSOR_FREQUENCY_NORMAL concode_elem_sep double mCurrentPollingFrequency concode_elem_sep long mNativePlatformSensorAndroid concode_elem_sep double MICROSECONDS_IN_SECOND concode_elem_sep double SECO...
double function ( ) { return SENSOR_FREQUENCY_NORMAL ; }