idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
18,700 | same as await r , default_timeout . concode_field_sep boolean active concode_elem_sep Runnable callback concode_elem_sep long DEFAULT_TIMEOUT concode_elem_sep Runnable doNothing concode_field_sep void call concode_elem_sep void run concode_elem_sep void shutdown | boolean function ( Runnable arg0 ) { return await ( arg0 , DEFAULT_TIMEOUT ) ; } |
18,701 | writes the given line with an increased indent . concode_field_sep String indentString concode_elem_sep int indentCounter concode_elem_sep BufferedWriter bw concode_elem_sep HashMap<Integer,String> indentMap concode_field_sep String getIndentString concode_elem_sep void newLine concode_elem_sep void setIndentString con... | void function ( String arg0 ) { writeLine ( arg0 , true , false ) ; } |
18,702 | gets holdings id . concode_field_sep Integer holdingsId concode_elem_sep String lastUpdatedBy concode_elem_sep Date lastUpdatedDate concode_elem_sep Date createdDate concode_elem_sep boolean isDeleted concode_elem_sep String createdBy concode_elem_sep List<BibliographicEntity> bibliographicEntities concode_elem_sep Str... | Integer function ( ) { return holdingsId ; } |
18,703 | set whether to write footers in compact form . see #iscompactfooter for more info . concode_field_sep Collection<BinaryTypeConfiguration> typeCfgs concode_elem_sep boolean compactFooter concode_elem_sep BinaryIdMapper idMapper concode_elem_sep BinarySerializer serializer concode_elem_sep boolean DFLT_COMPACT_FOOTER con... | BinaryConfiguration function ( boolean arg0 ) { this . compactFooter = arg0 ; return this ; } |
18,704 | gets the head of the item list . concode_field_sep Utterance owner concode_elem_sep Item head concode_elem_sep String TOKEN concode_elem_sep String WORD concode_elem_sep Item tail concode_elem_sep String name concode_field_sep void setTail concode_elem_sep String getName concode_elem_sep Item getTail concode_elem_sep U... | Item function ( ) { return head ; } |
18,705 | gets the value of the description property . concode_field_sep String featureName concode_elem_sep DataDetailsType dataDetails concode_elem_sep Boolean grandFathered concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep Boolean requiredByPlan concode_elem_sep Boolean deviceValidati... | String function ( ) { return description ; } |
18,706 | returns the label of this refactoring 's command . concode_field_sep RefactoringHelper helper concode_elem_sep List<T> contextObjects concode_field_sep TransactionalEditingDomain getEditingDomain concode_elem_sep Resource getResource concode_elem_sep boolean internalDoUndo concode_elem_sep List<?> getAffectedFiles conc... | String function ( ) { return "srini_string" ; } |
18,707 | returns the next binding in the list . concode_field_sep Hashtable<?,?> _env concode_elem_sep CNCtx _ctx concode_elem_sep boolean more concode_elem_sep BindingIterator _bindingIter concode_elem_sep int counter concode_elem_sep BindingListHolder _bindingList concode_elem_sep int DEFAULT_BATCHSIZE concode_elem_sep int ba... | javax . naming . Binding function ( ) { if ( more && counter >= _bindingList . value . length ) { getMore ( ) ; } if ( more && counter < _bindingList . value . length ) { org . omg . CosNaming . Binding loc0 = _bindingList . value [ counter ] ; counter ++ ; return mapBinding ( loc0 ) ; } else { throw new NoSuchElementE... |
18,708 | find linkages between two groups within tolerance of bond length , from potential atoms . concode_field_sep PlaceHolder placeHolder concode_field_sep List<String> getAtomNames concode_elem_sep List<Group> getAminoAcids concode_elem_sep double getAtomDistance concode_elem_sep StructureGroup getStructureGroup concode_ele... | List < Atom [ ] > function ( final Group arg0 , final Group arg1 , final boolean arg2 , final double arg3 ) { return findAtomLinkages ( arg0 , arg1 , null , null , arg2 , arg3 ) ; } |
18,709 | this gets invoked any time there is a url selection change . it sets the newly selected url in the server , if selected url is not null . concode_field_sep Combo urlCombo concode_elem_sep String serverTypeId concode_elem_sep CloudFoundryServer cfServer concode_elem_sep int comboIndex concode_field_sep void createContro... | void function ( ) { String loc0 = getURLSelection ( ) ; if ( loc0 != null ) { loc0 = CloudUiUtil . getUrlFromDisplayText ( loc0 ) ; cfServer . setUrl ( loc0 ) ; } } |
18,710 | 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 ) ; } |
18,711 | returns whether the given element has children . intended as an optimization for when the viewer does not need the actual children . clients may be able to implement this more efficiently than getchildren . concode_field_sep GraphicalEditorWithFlyoutPalette viewer concode_field_sep Object getParent concode_elem_sep Str... | boolean function ( Object arg0 ) { return getChildren ( arg0 ) . length > 0 ; } |
18,712 | returns the local address to which this socket is bound . concode_field_sep int sendBufferSize concode_elem_sep InetAddress localAddress concode_elem_sep Socket acceptedSock concode_elem_sep String cvsId concode_elem_sep Logger log concode_elem_sep ServerSocket sock concode_field_sep void setLocalAddress concode_elem_s... | InetAddress function ( ) { if ( localAddress != null ) return localAddress ; return sock . getInetAddress ( ) ; } |
18,713 | set the attribute name concode_field_sep Object attributeValue concode_elem_sep Type attributeType concode_elem_sep String attributeName concode_field_sep Type getAttributeType concode_elem_sep void setAttributeType concode_elem_sep Object getAttributeValue concode_elem_sep void setAttributeValue concode_elem_sep Strin... | void function ( String arg0 ) { attributeName = arg0 ; } |
18,714 | create a branch with a commit and return back to master . concode_field_sep String initial concode_elem_sep String branchLine concode_elem_sep MergeContent LOCAL_CHANGES_OVERWRITTEN_BY concode_elem_sep String masterLine concode_elem_sep String BRANCH_FOR_UNMERGED_CONFLICTS concode_field_sep void append1 concode_elem_se... | void function ( Collection < GitRepository > arg0 , String arg1 , String arg2 ) { GitScenarios . branchWithCommit ( arg0 , arg1 , arg2 , "srini_string" ) ; } |
18,715 | returns the global subroutine index data . concode_field_sep CFFCharset charset concode_elem_sep String fontName concode_elem_sep Map<String,Object> topDict concode_elem_sep IndexData globalSubrIndex concode_elem_sep List<byte[]> charStrings concode_field_sep void setName concode_elem_sep List<Number> getFontMatrix con... | IndexData function ( ) { return globalSubrIndex ; } |
18,716 | dispatch type from name concode_field_sep String[] _pathSpecs concode_elem_sep int INCLUDE concode_elem_sep int _dispatches concode_elem_sep String[] _servletNames concode_elem_sep int REQUEST concode_elem_sep int ERROR concode_elem_sep int ALL concode_elem_sep int FORWARD concode_elem_sep int DEFAULT concode_elem_sep ... | int function ( DispatcherType arg0 ) { switch ( arg0 ) { case REQUEST : return REQUEST ; case ASYNC : return ASYNC ; case FORWARD : return FORWARD ; case INCLUDE : return INCLUDE ; case ERROR : return ERROR ; } throw new IllegalArgumentException ( arg0 . toString ( ) ) ; } |
18,717 | sets the current encoder param instance . this method is intended to be called by the png decoder and will overwrite the current instance returned by getencodeparam . concode_field_sep boolean suppressAlpha concode_elem_sep boolean expandPalette concode_elem_sep boolean performGammaCorrection concode_elem_sep PNGEncode... | void function ( PNGEncodeParam arg0 ) { this . encodeParam = arg0 ; } |
18,718 | gets the value of the src property . concode_field_sep Layout layout concode_elem_sep String flavour concode_elem_sep String src concode_elem_sep String width concode_elem_sep Label label concode_elem_sep String autoplay concode_elem_sep String height concode_field_sep void setSrc concode_elem_sep Label getLabel concod... | String function ( ) { return src ; } |
18,719 | cleanup evolutions for the given database . this will run the down scripts for all the applied evolutions . concode_field_sep PlaceHolder placeHolder concode_field_sep play.api.db.evolutions.EvolutionsReader fromMap concode_elem_sep play.api.db.evolutions.EvolutionsReader fromClassLoader concode_elem_sep play.api.db.ev... | void function ( Database arg0 , boolean arg1 ) { cleanupEvolutions ( arg0 , arg1 , "srini_string" ) ; } |
18,720 | returns the first quartile . concode_field_sep Number q1 concode_elem_sep Number q3 concode_elem_sep long serialVersionUID concode_elem_sep Number median concode_elem_sep Number minRegularValue concode_elem_sep Number mean concode_elem_sep Number minOutlier concode_elem_sep Number maxRegularValue concode_elem_sep List ... | Number function ( ) { return this . q1 ; } |
18,721 | returns the project for the given project name . note that in case of multiple projects with the same name , only the first matching project will be returned . concode_field_sep Map<Long,Project> projectsMap concode_elem_sep List<ProjectManagerEventListener> projectManagerEventListeners concode_field_sep List<Project> ... | Project function ( String arg0 ) { for ( Project loc0 : projectsMap . values ( ) ) { if ( loc0 . getProjectName ( ) . equals ( arg0 ) ) { return loc0 ; } } return null ; } |
18,722 | validates this dosage by calling medicine #validate on all medicines for this dosage . concode_field_sep Set<Medicine> medicines concode_elem_sep LocalDate responseLastCapturedDate concode_elem_sep Long id concode_elem_sep Time dosageTime concode_field_sep Time getDosageTime concode_elem_sep LocalDate getStartDate conc... | void function ( ) { for ( Medicine loc0 : getMedicines ( ) ) { loc0 . validate ( ) ; } } |
18,723 | sets the value of the effectivedate property . concode_field_sep BigDecimal originalECLB concode_elem_sep String description concode_elem_sep BigDecimal lastAmountOfPayment concode_elem_sep String skuDescription concode_elem_sep long serialVersionUID concode_elem_sep BigDecimal eclmp concode_elem_sep String equipmentSt... | void function ( XMLGregorianCalendar arg0 ) { this . effectiveDate = arg0 ; } |
18,724 | reads new input data into the buffer . call only with pos == end or end == -1 , depending on the desired outcome if the function throws . concode_field_sep Charset charset concode_elem_sep byte[] buf concode_elem_sep InputStream in concode_elem_sep int pos concode_elem_sep byte LF concode_elem_sep byte CR concode_elem_... | void function ( ) { int loc0 = in . read ( buf , 0 , buf . length ) ; if ( loc0 == - 1 ) { throw new EOFException ( ) ; } pos = 0 ; end = loc0 ; } |
18,725 | merges all fields specified by this fieldmasktree from source to destination . concode_field_sep TreeMap<String,Node> children concode_elem_sep String FIELD_PATH_SEPARATOR_REGEX concode_elem_sep Logger logger concode_elem_sep Node root concode_field_sep FieldMaskTree addFieldPath concode_elem_sep FieldMaskTree mergeFro... | void function ( Message arg0 , Message . Builder arg1 , FieldMaskUtil . MergeOptions arg2 ) { if ( arg0 . getDescriptorForType ( ) != arg1 . getDescriptorForType ( ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( root . children . isEmpty ( ) ) { return ; } merge ( root , "srini_string" , arg0 , arg... |
18,726 | get custom serializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Long lineItemId concode_elem_sep java.lang.Long contendingImpressions concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_field_sep java.lang.Long getLineItemId con... | org . apache . axis . encoding . Serializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanSerializer ( arg1 , arg2 , typeDesc ) ; } |
18,727 | hook that gets the datasource that provides the connectivity to theembedded database . returns null if the datasource has not been initializedor if the database has been shut down . subclasses may call this method to access the datasource instance directly . concode_field_sep boolean generateUniqueDatabaseName concode_... | DataSource function ( ) { return this . dataSource ; } |
18,728 | gets the value of the tokenid property . concode_field_sep JAXBElement<String> opstenantname concode_elem_sep JAXBElement<String> tokenId concode_elem_sep JAXBElement<String> ip concode_elem_sep JAXBElement<String> tenantId concode_elem_sep JAXBElement<String> opsusername concode_elem_sep JAXBElement<String> opspasswor... | JAXBElement < String > function ( ) { return tokenId ; } |
18,729 | this method resets the outgoing events . concode_field_sep boolean minus concode_elem_sep double plusAssign concode_elem_sep boolean equalOrLess concode_elem_sep boolean notEqual concode_elem_sep boolean less concode_elem_sep double divAssign concode_elem_sep boolean e1 concode_elem_sep boolean equalOrGreater concode_e... | void function ( ) { } |
18,730 | return the ha.server _ cluster setting . concode_field_sep String HA_SLAVE_ONLY_KEY concode_elem_sep String DEFAULT_PATH concode_elem_sep String haServer concode_elem_sep String WEB_SERVER_BIND_ADDRESS_KEY concode_elem_sep String MODE_KEY concode_elem_sep String baseAddress concode_elem_sep String haServerId concode_el... | String function ( ) { return haClusterServer ; } |
18,731 | returns the company id of this wiki page resource . concode_field_sep WikiPageResource _wikiPageResource concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep long... | long function ( ) { return _wikiPageResource . getCompanyId ( ) ; } |
18,732 | devuelve el sistema de puntuaciones del torneo concode_field_sep int maxTeamPlayer concode_elem_sep PointSystem pointSystem concode_elem_sep int maxPlayers concode_elem_sep int minPlayers concode_elem_sep String name concode_elem_sep int id concode_elem_sep int matchPlayers concode_elem_sep int nRounds concode_elem_sep... | PointSystem function ( ) { return pointSystem ; } |
18,733 | sets the value of the totalramused property . concode_field_sep Integer totalInstancesUsed concode_elem_sep Integer maxTotalInstances concode_elem_sep Integer maxTotalRAMSize concode_elem_sep JAXBElement<String> isapLongMessage concode_elem_sep JAXBElement<String> isapMessage concode_elem_sep Integer maxTotalFloatingIp... | void function ( Integer arg0 ) { this . totalRAMUsed = arg0 ; } |
18,734 | add a node with the given name identifier for dot and some more attributes . if this node must have a label string , it must be given in the attributes . concode_field_sep String _name concode_elem_sep java.util.Vector _nodes concode_elem_sep DotNodeAttr[] _node_defaults concode_elem_sep String _label concode_field_sep... | void function ( String arg0 , DotNodeAttr [ ] arg1 ) { _nodes . addElement ( new DotNode ( arg0 , arg1 ) ) ; } |
18,735 | sets the value of the pathtype property . concode_field_sep String path concode_elem_sep String id concode_elem_sep String pathType concode_field_sep String getPath concode_elem_sep void setId concode_elem_sep void setPath concode_elem_sep String getId concode_elem_sep String getPathType | void function ( String arg0 ) { this . pathType = arg0 ; } |
18,736 | appends the specified component to the path list concode_field_sep String pathSep concode_elem_sep String pathenv concode_elem_sep String fileSep concode_field_sep File getAbsolutePath concode_elem_sep void main | void function ( String arg0 ) { pathenv = arg0 + pathSep + pathenv ; } |
18,737 | starting point for walking . concode_field_sep List<Node> toWalk concode_elem_sep HashMap<Node,Object> retMap concode_elem_sep HashMap<Node,Object> reMap concode_elem_sep TaskGraphWalkerContext walkerCtx concode_elem_sep Stack<Node> opStack concode_elem_sep Dispatcher dispatcher concode_field_sep void dispatch concode_... | void function ( Collection < Node > arg0 , HashMap < Node , Object > arg1 ) { toWalk . addAll ( arg0 ) ; while ( toWalk . size ( ) > 0 ) { Node loc0 = toWalk . remove ( 0 ) ; walk ( loc0 ) ; if ( arg1 != null ) { arg1 . put ( loc0 , retMap . get ( loc0 ) ) ; } } } |
18,738 | non-android accessor . concode_field_sep int memoryClass concode_elem_sep ActivityManager.MemoryInfo memoryInfo concode_elem_sep List<ActivityManager.RunningServiceInfo> services concode_elem_sep String backgroundPackage concode_elem_sep List<ActivityManager.RunningTaskInfo> tasks concode_elem_sep List<ActivityManager.... | void function ( List < ActivityManager . RunningServiceInfo > arg0 ) { this . services . clear ( ) ; this . services . addAll ( arg0 ) ; } |
18,739 | add url patterns to which the registered interceptor should apply to . concode_field_sep PathMatcher pathMatcher concode_elem_sep List<String> includePatterns concode_elem_sep HandlerInterceptor interceptor concode_elem_sep List<String> excludePatterns concode_field_sep InterceptorRegistration pathMatcher concode_elem_... | InterceptorRegistration function ( String ... arg0 ) { this . includePatterns . addAll ( Arrays . asList ( arg0 ) ) ; return this ; } |
18,740 | retrieves prefix + '' in '' + elapsedtime + '' ms. '' 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_elem_sep String currentElapsedTimeTo... | String function ( String arg0 ) { return arg0 + "srini_string" + elapsedTime ( ) + "srini_string" ; } |
18,741 | sets the threshold used to determine when winkler bonus should be used . set to a negative value to get the jaro distance . concode_field_sep float threshold concode_field_sep float getDistance concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep float getThreshold concode_elem_sep String toSt... | void function ( float arg0 ) { this . threshold = arg0 ; } |
18,742 | returns the entry that this importer uses as the root sentinel . concode_field_sep TarFile tarFile concode_elem_sep Map children concode_elem_sep TarEntry root concode_elem_sep Map directoryEntryCache concode_elem_sep int stripLevel concode_field_sep void setStrip concode_elem_sep String getLabel concode_elem_sep Strin... | Object function ( ) { return root ; } |
18,743 | removes empty strings from the given list . empty includes null . concode_field_sep PlaceHolder placeHolder concode_field_sep List<Integer> getIntegerCollection concode_elem_sep void removeAll concode_elem_sep void removeAll concode_elem_sep List<T> subList concode_elem_sep Set<T> getDuplicates concode_elem_sep Set<T> ... | void function ( List < String > arg0 ) { if ( arg0 != null && ! arg0 . isEmpty ( ) ) { Iterator < String > loc0 = arg0 . loc0 ( ) ; while ( loc0 . hasNext ( ) ) { if ( StringUtils . isEmpty ( loc0 . next ( ) ) ) { loc0 . remove ( ) ; } } } } |
18,744 | fast method of finding the next power of 2 greater than or equal to the supplied value . if the value is < = 0 then 1 will be returned . this method is not suitable for long #min_value or numbers greater than 2 ^ 62 . concode_field_sep PlaceHolder placeHolder concode_field_sep int divideByAndCeilToInt concode_elem_sep ... | long function ( final long arg0 ) { return 1L << ( 64 - Long . numberOfLeadingZeros ( arg0 - 1 ) ) ; } |
18,745 | sets the value of the requestid property . concode_field_sep String requestId concode_elem_sep List<Error> error concode_field_sep List<Error> getError concode_elem_sep String getRequestId | void function ( String arg0 ) { this . requestId = arg0 ; } |
18,746 | returns whether the list of defined command parameter type identifiers has changed . concode_field_sep int CHANGED_COMMAND_DEFINED concode_elem_sep int changedValues concode_elem_sep String parameterTypeId concode_elem_sep int CHANGED_PARAMETER_TYPE_DEFINED concode_elem_sep CommandManager commandManager concode_elem_se... | boolean function ( ) { return ( parameterTypeId != null ) ; } |
18,747 | returns a hash code . concode_field_sep long serialVersionUID concode_elem_sep ArrayList keys concode_elem_sep ArrayList values concode_elem_sep HashMap indexMap concode_field_sep void sortByValues concode_elem_sep Comparable getKey concode_elem_sep int getIndex concode_elem_sep void rebuildIndex concode_elem_sep void ... | int function ( ) { return ( this . keys != null ? this . keys . hashCode ( ) : 0 ) ; } |
18,748 | start the worker thread . concode_field_sep Thread thread concode_elem_sep Integer threadPriority concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep void setThreadPriority concode_elem_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep void set... | void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { if ( threadPriority != null ) loc0 . setPriority ( threadPriority ) ; loc0 . start ( ) ; } } |
18,749 | iterates through the given loaders until it finds one that can load finalizer . concode_field_sep Method startFinalizer concode_elem_sep boolean threadStarted concode_elem_sep String LOADING_ERROR concode_elem_sep String FINALIZER_CLASS_NAME concode_elem_sep ReferenceQueue<Object> queue concode_elem_sep Logger logger c... | Class < ? > function ( FinalizerLoader ... arg0 ) { for ( FinalizerLoader loc0 : arg0 ) { Class < ? > loc1 = loc0 . loadFinalizer ( ) ; if ( loc1 != null ) { return loc1 ; } } throw new AssertionError ( ) ; } |
18,750 | checks for equality and prints the entire values rather than abbreviated values like testcase.assertequals does . concode_field_sep String STORE_NAME concode_elem_sep boolean updated concode_field_sep void assertDbExists concode_elem_sep void assertDbExists concode_elem_sep void writeObjects concode_elem_sep void readR... | void function ( Object arg0 , Object arg1 ) { if ( ( arg0 != null ) ? ( ! arg0 . equals ( arg1 ) ) : ( arg1 != null ) ) { TestCase . fail ( "srini_string" + arg0 + "srini_string" + arg1 ) ; } } |
18,751 | emits only values of a logged in user . the returned observable may never emit . concode_field_sep PlaceHolder placeHolder concode_field_sep void logout concode_elem_sep Observable<User> loggedOutUser concode_elem_sep User getUser concode_elem_sep Observable<User> observable concode_elem_sep void refresh concode_elem_s... | Observable < User > function ( ) { return observable ( ) . filter ( ObjectUtils :: isNotNull ) ; } |
18,752 | returns the file if this node is from a source file , else null . concode_field_sep int start concode_elem_sep String fileOrUrl concode_elem_sep String name concode_elem_sep NBinding binding concode_elem_sep int end concode_field_sep String getName concode_elem_sep int start concode_elem_sep int length concode_elem_sep... | String function ( ) { return isURL ( ) ? null : fileOrUrl ; } |
18,753 | unsupported operation , throws an unsupportedoperationexception since this list is read-only . concode_field_sep String READ_ONLY_ERROR_MESSAGE concode_elem_sep Logger logger concode_elem_sep Map<ServiceReference,T> serviceMap concode_field_sep boolean add concode_elem_sep void add concode_elem_sep int compare concode_... | boolean function ( Collection < ? extends T > arg0 ) { throw new UnsupportedOperationException ( READ_ONLY_ERROR_MESSAGE ) ; } |
18,754 | requests repairs for the given keyspace and column families . concode_field_sep ConcurrentMap<UUID,RepairSession> sessions concode_elem_sep ThreadPoolExecutor executor concode_elem_sep ActiveRepairService instance concode_field_sep void removeFromActiveSessions concode_elem_sep void handleMessage concode_elem_sep void ... | RepairFuture function ( Range < Token > arg0 , String arg1 , boolean arg2 , boolean arg3 , String ... arg4 ) { RepairSession loc0 = new RepairSession ( arg0 , arg1 , arg2 , arg3 , arg4 ) ; if ( loc0 . endpoints . isEmpty ( ) ) return null ; RepairFuture loc1 = new RepairFuture ( loc0 ) ; executor . execute ( loc1 ) ; r... |
18,755 | gets the target folder path as a file that includes the project location concode_field_sep PlaceHolder placeHolder concode_field_sep IProject getTargetProject concode_elem_sep void refreshTargetProject concode_elem_sep boolean createEmptyProject concode_elem_sep FeatureConfiguration getOutletFeatureConfiguration concod... | File function ( GeneratorEntry arg0 ) { String loc0 = getOutletFeatureConfiguration ( arg0 ) . getParameterValue ( ICoreFeatureConstants . OUTLET_FEATURE_TARGET_FOLDER ) . getStringValue ( ) ; return new File ( getTargetProject ( arg0 ) . getLocation ( ) . toFile ( ) . getPath ( ) + File . separator + loc0 ) ; } |
18,756 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep com.amazonaws.internal.SdkInternalList<Instance> instances concode_elem_sep String marker concode_field_sep java.util.List<Instance> getInstances concode_elem_sep void setInstances concode_elem_sep ListInstancesResult ... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getInstances ( ) != null ) loc0 . append ( "srini_string" + getInstances ( ) + "srini_string" ) ; if ( getMarker ( ) != null ) loc0 . append ( "srini_string" + getMarker ( ) ) ; loc0 . append ( "srini_string" ) ; ... |
18,757 | return the number of days of the selected month concode_field_sep int m_daysLastMonth concode_elem_sep DateFormat m_currentDayFormat concode_elem_sep DateFormat m_yearFormat concode_elem_sep ArrayList<DateChangeListener> listenerList concode_elem_sep Calendar m_calendar concode_elem_sep int m_daysMonth concode_elem_sep... | int function ( ) { return m_daysMonth ; } |
18,758 | adds a field with a type created using org.apache.calcite.rel.type.reldatatypefactory #createsqltype org.apache.calcite.sql.type.sqltypename . concode_field_sep RelDataTypeFactory typeFactory concode_elem_sep List<String> names concode_elem_sep List<RelDataType> types concode_field_sep RelDataType createStructType conc... | FieldInfoBuilder function ( String arg0 , SqlTypeName arg1 ) { add ( arg0 , typeFactory . createSqlType ( arg1 ) ) ; return this ; } |
18,759 | obtains the thread context classloader concode_field_sep PlaceHolder placeHolder concode_field_sep String getProperty concode_elem_sep void setFieldValue concode_elem_sep List<Method> getMethodsWithAnnotation concode_elem_sep Class<?> loadClass concode_elem_sep List<Field> getFieldsWithAnnotation concode_elem_sep T new... | ClassLoader function ( ) { return AccessController . doPrivileged ( GetTcclAction . INSTANCE ) ; } |
18,760 | gets the value of the adtags property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the adtags property . for example , to add a new item , do as f... | List < String > function ( ) { if ( adTags == null ) { adTags = new ArrayList < String > ( ) ; } return this . adTags ; } |
18,761 | returns a string describing the estimated risk of the given capability . concode_field_sep PlaceHolder placeHolder concode_field_sep double determineRisk concode_elem_sep String getRiskExplanation | String function ( Capability arg0 ) { double loc0 = determineRisk ( arg0 ) ; if ( loc0 > 0.75 ) { return "srini_string" ; } else if ( loc0 > 0.25 ) { return "srini_string" ; } else if ( loc0 > 0 ) { return "srini_string" ; } else { return "srini_string" ; } } |
18,762 | get the number of the stored attributes . concode_field_sep AttributeSet parent concode_elem_sep Object[] keys concode_elem_sep Object[] values concode_elem_sep long serialVersionUID concode_field_sep AttributeSet getResolveParent concode_elem_sep Object getAttribute concode_elem_sep boolean containsAttributes concode_... | int function ( ) { return keys . length ; } |
18,763 | the root uri of the file system . concode_field_sep String prefix concode_elem_sep String ROOTURI concode_elem_sep String PREFIX concode_field_sep Object getParam concode_elem_sep Byte getByte concode_elem_sep byte getByte concode_elem_sep Byte getByte concode_elem_sep Short getShort concode_elem_sep short getShort con... | void function ( FileSystemOptions arg0 , String arg1 ) { setParam ( arg0 , ROOTURI , arg1 ) ; } |
18,764 | see #basicbuildingblocksreport concode_field_sep XmlDom signingCertificate concode_elem_sep String contextName concode_elem_sep XmlDom bvData concode_elem_sep POEExtraction poe concode_elem_sep ValidationPolicy countersignatureValidationPolicy concode_elem_sep XmlDom ltvData concode_elem_sep XmlDom tsData concode_elem_... | void function ( final XmlDom arg0 ) { this . basicBuildingBlocksReport = arg0 ; } |
18,765 | receive an amount of money from a customer . check that the amount is sensible . concode_field_sep int total concode_elem_sep int balance concode_elem_sep boolean premio concode_elem_sep int price concode_elem_sep int cont concode_elem_sep int maxTicket concode_field_sep int getBalance concode_elem_sep int emptyMachine... | void function ( int arg0 ) { if ( arg0 > 0 ) { balance = balance + arg0 ; } else { System . out . println ( "srini_string" + arg0 ) ; } } |
18,766 | this causes the currently executing thread to wait until the specified event is dispatched and the provided predicate returns true . concode_field_sep ExecutorService eventExecutor concode_elem_sep V listener concode_elem_sep ConcurrentHashMap<Class<?>,ConcurrentHashMap<Method,CopyOnWriteArrayList<ListenerPair<Object>>... | void function ( Predicate < T > arg0 ) { waitFor ( arg0 , 0 ) ; } |
18,767 | get a message from resource.properties from the package of the given object . concode_field_sep Locale LOCAL concode_elem_sep String PROJECT_NAME concode_elem_sep String PACKAGE_NAME concode_elem_sep ResourceBundle PARENT concode_elem_sep Class thisClass concode_elem_sep String RESOURCE_NAME concode_elem_sep ClassLoade... | String function ( String arg4 , String arg0 , String arg1 , String arg2 , String arg3 ) { return messageBundle . getMessage ( arg4 , arg0 , arg1 , arg2 , arg3 ) ; } |
18,768 | go to previous page in history . we manage our own history concode_field_sep PluginManager pluginManager concode_elem_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep BroadcastReceiver receiver concode_elem_sep SystemWebView webView concode_elem_sep CordovaWebView parentWebV... | boolean function ( ) { if ( webView . canGoBack ( ) ) { webView . goBack ( ) ; return true ; } return false ; } |
18,769 | returns a field in a json object as a float . throws illegalargumentexception if the field value is null . concode_field_sep PlaceHolder placeHolder concode_field_sep long getLong concode_elem_sep long getLong concode_elem_sep int getInt concode_elem_sep int getInt concode_elem_sep JsonObject getObject concode_elem_sep... | float function ( JsonObject arg0 , String arg1 ) { final JsonValue loc0 = arg0 . get ( arg1 ) ; throwExceptionIfNull ( loc0 , arg1 ) ; return loc0 . asFloat ( ) ; } |
18,770 | gets the value of the numfmtid property . concode_field_sep String formatCode concode_elem_sep Object parent concode_elem_sep long numFmtId concode_field_sep Object getParent concode_elem_sep void afterUnmarshal concode_elem_sep void setParent concode_elem_sep void setFormatCode concode_elem_sep void setNumFmtId concod... | long function ( ) { return numFmtId ; } |
18,771 | perform a grep on the given file . concode_field_sep File file concode_elem_sep Pattern pattern concode_elem_sep String lineText concode_elem_sep int start concode_elem_sep int end concode_elem_sep int lineNumber concode_field_sep int getLineNumber concode_elem_sep List grepList concode_elem_sep String getLineText conc... | MatchedLine [ ] function ( File arg0 ) { List loc0 = grepList ( arg0 ) ; MatchedLine loc1 [ ] = new MatchedLine [ loc0 . size ( ) ] ; loc0 . toArray ( loc1 ) ; return ( loc1 ) ; } |
18,772 | register a new action type for event recording , lookups , etc. . concode_field_sep TreeMap<String,ActionType> registeredActions concode_field_sep ArrayList<ActionType> getActionsByShortname concode_elem_sep ArrayList<String> listActionsThatAllowRollback concode_elem_sep ActionType getAction concode_elem_sep String[] l... | void function ( ActionType arg0 ) { registeredActions . put ( arg0 . getName ( ) , arg0 ) ; } |
18,773 | indicates that the parent activity is currently paused . concode_field_sep int DESTROYED concode_elem_sep int STARTED concode_elem_sep int PAUSED concode_elem_sep int RESUMED concode_elem_sep Activity sActivity concode_elem_sep int sActivityState concode_elem_sep int CREATED concode_elem_sep int STOPPED concode_elem_se... | boolean function ( ) { return sActivityState == PAUSED ; } |
18,774 | factory method instantiates a row based on table type . concode_field_sep Node nPrimaryNode concode_elem_sep Object oData[] concode_field_sep Row getUpdatedRow concode_elem_sep boolean isDeleted concode_elem_sep Node getNextNode concode_elem_sep Node getNode concode_elem_sep void delete concode_elem_sep Object[] getDat... | Row function ( Table arg0 , Object arg1 [ ] ) { if ( arg0 . isText ( ) ) { return new CachedDataRow ( arg0 , arg1 ) ; } else if ( arg0 . isCached ( ) ) { return new CachedRow ( arg0 , arg1 ) ; } else { return new Row ( arg0 , arg1 ) ; } } |
18,775 | sets the password . concode_field_sep String password concode_elem_sep String userName concode_field_sep String getPassword concode_elem_sep void setUserName concode_elem_sep String getUserName | void function ( String arg0 ) { this . password = arg0 ; } |
18,776 | wrapper around progressbar #setprogress int setprogress int that keeps bar 's max in sync with the animation 's progress scale factor . concode_field_sep int MAX_PROGRESS concode_field_sep int scaleRatio concode_elem_sep ObjectAnimator startNewAnimator | void function ( ProgressBar arg0 , double arg1 ) { arg0 . setMax ( MAX_PROGRESS ) ; arg0 . setProgress ( scaleRatio ( arg1 ) ) ; } |
18,777 | if within tile bounds , retrieves the status of the vgatileupdate value concode_field_sep boolean vgaTileUpdated[][] concode_elem_sep AttributeController attributeController concode_elem_sep ColourRegister colourRegister concode_elem_sep int X_NUM_TILES concode_elem_sep byte[] vgaMemory concode_elem_sep int Y_TILESIZE ... | boolean function ( int arg0 , int arg1 ) { return ( ( ( ( arg0 ) < X_NUM_TILES ) && ( ( arg1 ) < Y_NUM_TILES ) ) ? vgaTileUpdated [ arg0 ] [ arg1 ] : false ) ; } |
18,778 | converts all lowercase letters in an expression to uppercase . talendtypes string category stringhandling param string `` hello '' string : string example upcase `` hello '' # hello concode_field_sep PlaceHolder placeHolder concode_field_sep String LEFT concode_elem_sep String TRIM concode_elem_sep boolean IS_ALPHA con... | String function ( String arg0 ) { return arg0 == null ? null : arg0 . toUpperCase ( ) ; } |
18,779 | used to communicate a progress update between a plugin tool and the main whitebox user interface . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amI... | void function ( String arg0 , int arg1 ) { if ( myHost != null && ( ( arg1 != previousProgress ) || ( ! arg0 . equals ( previousProgressLabel ) ) ) ) { myHost . updateProgress ( arg0 , arg1 ) ; } previousProgress = arg1 ; previousProgressLabel = arg0 ; } |
18,780 | gets the value of the top property . concode_field_sep Object parent concode_elem_sep CTBorder insideV concode_elem_sep CTBorder top concode_elem_sep CTBorder left concode_elem_sep CTBorder insideH concode_elem_sep CTBorder bottom concode_elem_sep CTBorder right concode_field_sep CTBorder getInsideH concode_elem_sep Ob... | CTBorder function ( ) { return top ; } |
18,781 | builds a document from the given input input data + existing document . concode_field_sep String CVS_REVISION concode_field_sep void setAttribute concode_elem_sep void doTraverse concode_elem_sep Object documentAppendChild concode_elem_sep Object createElement concode_elem_sep Object elementAppendChild concode_elem_sep... | Object function ( final IDataCreators arg0 , final Object arg1 ) { IDataElementList loc0 = arg0 . getTree ( ) ; int loc1 = loc0 . getLength ( ) ; IDataElement loc2 ; for ( int loc3 = 0 ; loc3 < loc1 ; loc3 ++ ) { loc2 = loc0 . item ( loc3 ) ; doTraverse ( loc2 , arg1 , null ) ; } return arg1 ; } |
18,782 | atomically updates the element at index i with the resultsof applying the given function , returning the previous value . the function should be side-effect-free , since it may be re-applied when attempted updates fail due to contention among threads . concode_field_sep Unsafe unsafe concode_elem_sep int base concode_e... | long function ( int arg0 , LongUnaryOperator arg1 ) { long loc0 = checkedByteOffset ( arg0 ) ; long loc1 , loc2 ; do { loc1 = getRaw ( loc0 ) ; loc2 = arg1 . applyAsLong ( loc1 ) ; } while ( ! compareAndSetRaw ( loc0 , loc1 , loc2 ) ) ; return loc1 ; } |
18,783 | sets the company id of this password policy rel . concode_field_sep PasswordPolicyRel _passwordPolicyRel concode_field_sep long getClassNameId concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoB... | void function ( long arg0 ) { _passwordPolicyRel . setCompanyId ( arg0 ) ; } |
18,784 | translates the first defined message . uses ` java.text.messageformat ` internally to format the message . concode_field_sep play.api.i18n.MessagesApi messages concode_field_sep play.api.i18n.MessagesApi scalaApi concode_elem_sep boolean langCookieSecure concode_elem_sep Boolean isDefinedAt concode_elem_sep boolean lan... | String function ( play . api . i18n . Lang arg0 , List < String > arg1 , Object ... arg2 ) { Buffer < String > loc0 = scala . collection . JavaConverters . asScalaBufferConverter ( arg1 ) . asScala ( ) ; Buffer < Object > loc1 = convertArgsToScalaBuffer ( arg2 ) ; return messages . apply ( loc0 . toSeq ( ) , loc1 , arg... |
18,785 | test of tostring method , of class rekening . concode_field_sep PlaceHolder placeHolder concode_field_sep void testTransactionCollection concode_elem_sep void testHashCode concode_elem_sep void testEquals | void function ( ) { Rekening loc0 = new Rekening ( ) ; String loc1 = "srini_string" ; String loc2 = loc0 . toString ( ) ; assertEquals ( loc1 , loc2 ) ; } |
18,786 | returns the generator . concode_field_sep BigInteger g concode_elem_sep BigInteger N concode_field_sep byte[] getEncoded concode_elem_sep byte[] getEncoded concode_elem_sep String getAlgorithm concode_elem_sep boolean equals concode_elem_sep BigInteger getN concode_elem_sep String getFormat | BigInteger function ( ) { return g ; } |
18,787 | set an attribute value on the current session . concode_field_sep SessionManager sessionManager concode_field_sep Object getAttribute concode_elem_sep String getSessionCookie concode_elem_sep String getCurrentSessionId concode_elem_sep void removeAttribute concode_elem_sep HttpSession getHttpSession | void function ( String arg0 , Object arg1 ) { HttpSession loc0 = getHttpSession ( ) ; if ( loc0 != null ) { loc0 . setAttribute ( arg0 , arg1 ) ; } } |
18,788 | performs a dynamic query on the database and returns the matching rows . concode_field_sep LayoutBranchLocalService _service concode_field_sep com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch concode_elem_sep com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch concode_elem_sep com.liferay.portal.ke... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . arg0 ( arg0 ) ; } |
18,789 | returns the number of samples kept by the estimator concode_field_sep Quantile quantiles[] concode_elem_sep long[] buffer concode_elem_sep int bufferCount concode_elem_sep long count concode_elem_sep int g concode_elem_sep int delta concode_elem_sep long value concode_elem_sep LinkedList<SampleItem> samples concode_fie... | int function ( ) { return samples . size ( ) ; } |
18,790 | creates a voicemail filter with the specified read status . concode_field_sep PlaceHolder placeHolder concode_field_sep String[] getClauses concode_elem_sep VoicemailFilter createWithOrOf concode_elem_sep VoicemailFilter createWithAndOf concode_elem_sep VoicemailFilter createWithMatchingFields concode_elem_sep Voicemai... | VoicemailFilter function ( boolean arg0 ) { return createWithMatchingFields ( VoicemailImpl . createEmptyBuilder ( ) . setIsRead ( arg0 ) . build ( ) ) ; } |
18,791 | get the port setting for the mios unit configuration . the default port for a mios unit is 3480 , but this can be overridden in config as needed . concode_field_sep int CONFIG_DEFAULT_REFRESH_COUNT concode_elem_sep int refreshCount concode_elem_sep int errorCount concode_elem_sep int CONFIG_DISABLE_ERROR_COUNT concode_... | int function ( ) { return port ; } |
18,792 | convert a well-formed but not necessarily valid xml string into a jsonarray using the jsonml transform . each xml tag is represented as a jsonarray in which the first element is the tag name . if the tag has attributes , then the second element will be jsonobject containing the name/value pairs . if the tag contains ch... | JSONArray function ( String arg0 ) { return toJSONArray ( new XMLTokener ( arg0 ) ) ; } |
18,793 | creates a file in the test 's output directory and writes the rule key file in it . concode_field_sep String RULE_KEY_FILE concode_elem_sep BuildEngine buildEngine concode_field_sep boolean isRuleKeyInDir concode_elem_sep Path getRuleKeyFilePath | Step function ( TestRule arg0 ) { RuleKey loc0 = buildEngine . getRuleKey ( arg0 . getBuildTarget ( ) ) ; return new WriteFileStep ( ( ( BuildRule ) arg0 ) . getProjectFilesystem ( ) , loc0 . toString ( ) , getRuleKeyFilePath ( arg0 ) , false ) ; } |
18,794 | returns a string summarizing f1 that will print nicely . concode_field_sep int tpCount concode_elem_sep int fpCount concode_elem_sep int fnCount concode_field_sep int getFN concode_elem_sep void incrementFN concode_elem_sep void incrementFP concode_elem_sep int getTP concode_elem_sep void addFN concode_elem_sep String ... | String function ( int arg0 ) { NumberFormat loc0 = NumberFormat . getNumberInstance ( ) ; loc0 . setMaximumFractionDigits ( arg0 ) ; return loc0 . format ( getFMeasure ( ) ) ; } |
18,795 | utility for finding token delimiter in a type 4 function stream . concode_field_sep Procedure currentProcedure concode_elem_sep Reader reader concode_elem_sep int TOKEN_EXPRESSION concode_elem_sep int tokenType concode_elem_sep int startTokenPos concode_elem_sep int TOKEN_OPERAND concode_elem_sep int numRead concode_el... | boolean function ( char arg0 ) { } |
18,796 | sets the destination configuration for the replication rule . concode_field_sep String prefix concode_elem_sep ReplicationDestinationConfig destinationConfig concode_elem_sep String status concode_field_sep ReplicationRule withStatus concode_elem_sep ReplicationRule withStatus concode_elem_sep String getPrefix concode_... | void function ( ReplicationDestinationConfig arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . destinationConfig = arg0 ; } |
18,797 | register this handler for start receiving messages concode_field_sep Provider<MessageDispatcher<Void>> msgDispatcherProvider concode_field_sep Collection<MessageFilter> getFilters | void function ( ) { MessageDispatcher < Void > loc0 = msgDispatcherProvider . get ( ) ; for ( MessageFilter loc1 : getFilters ( ) ) { loc0 . addFilter ( loc1 ) ; } loc0 . setConsumable ( false ) . setCallback ( null , this ) . register ( ) ; } |
18,798 | describes `` main '' frameworks to be shown on top of the tree concode_field_sep ExtensionPointName<ProjectCategory> EXTENSION_POINT_NAME concode_field_sep String getGroupName concode_elem_sep String getDisplayName concode_elem_sep int getWeight concode_elem_sep ModuleBuilder createModuleBuilder concode_elem_sep String... | String [ ] function ( ) { return ArrayUtil . EMPTY_STRING_ARRAY ; } |
18,799 | returns the time elapsed . concode_field_sep long creationTime_ concode_elem_sep boolean isFailedPretest_ concode_elem_sep int timesUsedCount_ concode_elem_sep long lastUseTime_ concode_elem_sep long timeIdleInPool_ concode_field_sep long getLifeSpan concode_elem_sep int getUseCount concode_elem_sep long getInactivityT... | long function ( long arg0 ) { if ( arg0 == 0 ) return 0 ; else return System . currentTimeMillis ( ) - arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.