idx int64 0 25k | question stringlengths 68 5.61k | target stringlengths 21 500 |
|---|---|---|
2,700 | settext to label object . concode_field_sep Button button concode_elem_sep Label label concode_field_sep void setVisible concode_elem_sep void setEnabled concode_elem_sep void setToolTipText concode_elem_sep void addFocusListener concode_elem_sep Boolean isSelected concode_elem_sep void forceFocus concode_elem_sep void... | void function ( final String arg0 ) { if ( arg0 != null ) { label . setText ( arg0 ) ; } else { label . setText ( "srini_string" ) ; } } |
2,701 | indicates if there are elements remaining in this buffer , that is if position < limit . concode_field_sep int UNSET_MARK concode_elem_sep int limit concode_elem_sep int position concode_elem_sep int mark concode_elem_sep int capacity concode_field_sep boolean isReadOnly concode_elem_sep Buffer rewind concode_elem_sep ... | boolean function ( ) { return position < limit ; } |
2,702 | gets the value of the portinactiondetail 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 portinactiondetail property . for example , to ... | List < PortInActionDetail > function ( ) { if ( portInActionDetail == null ) { portInActionDetail = new ArrayList < PortInActionDetail > ( ) ; } return this . portInActionDetail ; } |
2,703 | returns the key for the series . concode_field_sep long serialVersionUID concode_elem_sep EventListenerList listeners concode_elem_sep VetoableChangeSupport vetoableChangeSupport concode_elem_sep String description concode_elem_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep Comparable key concode_elem... | Comparable function ( ) { return this . key ; } |
2,704 | converts meter into feet concode_field_sep GeoidCorrectionKind geoidKind concode_elem_sep double NO_ELEVATION concode_elem_sep double METER_TO_FEET concode_elem_sep String HEIGHT_ATTRIBUTE concode_elem_sep HgtReader hgt concode_elem_sep UnitMode unitMode concode_elem_sep String IMPERIAL_SYSTEM_COUNTRIES[] concode_field... | double function ( double arg0 ) { return arg0 * METER_TO_FEET ; } |
2,705 | get the value as integer concode_field_sep int length concode_elem_sep int tag concode_elem_sep int type concode_elem_sep byte[] value concode_field_sep byte[] getValue concode_elem_sep int getType concode_elem_sep DerParser getParser concode_elem_sep int getLength concode_elem_sep boolean isConstructed concode_elem_se... | BigInteger function ( ) { if ( type != DerParser . INTEGER ) throw new IOException ( "srini_string" ) ; return new BigInteger ( value ) ; } |
2,706 | returns an iterator of all currently defined levels . concode_field_sep LogImpl impl concode_elem_sep String CATEGORY concode_field_sep boolean isLoggable concode_elem_sep void init concode_elem_sep boolean isLoggingSupported concode_elem_sep void setDefaultLevel concode_elem_sep void log concode_elem_sep Level getDefa... | Iterator < Level > function ( ) { return impl . levelIterator ( ) ; } |
2,707 | adds the specified value as text to the current position of the in progress xml document . concode_field_sep String xmlns concode_elem_sep boolean rootElement concode_elem_sep Stack<String> elementStack concode_elem_sep String PROLOG concode_elem_sep Writer writer concode_field_sep XMLWriter endElement concode_elem_sep... | XMLWriter function ( String arg0 ) { append ( escapeXMLEntities ( arg0 ) ) ; return this ; } |
2,708 | method that can be called to try to access member constructor , static factory method that is used as the `` non-default creator '' constructor or factory method that takes one or more arguments . note that implementations not required to return actual object they use or , they may use some other instantiation method .... | AnnotatedWithParams function ( ) { return null ; } |
2,709 | gets whether or not this time zone uses daylight time . concode_field_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_elem_sep String checkboxId concode_field_sep String getLocation concode_elem_sep boolean isRelevantComponentId concode_elem_sep String getDisplayN... | String function ( ) { TimeZone loc0 = TimeZone . getTimeZone ( id ) ; if ( loc0 . useDaylightTime ( ) ) { return "srini_string" ; } return "srini_string" ; } |
2,710 | return string representation of this if-then-else concode_field_sep Object state concode_elem_sep Plan plan concode_field_sep Plan ifStateMatches | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( this . state ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( this . plan ) ; return loc0 . toString ( ) ; } |
2,711 | reads a specified file and creates a graph . concode_field_sep PlaceHolder placeHolder concode_field_sep NodeImpl createNode concode_elem_sep NodeImpl createNode concode_elem_sep PortImpl createPort concode_elem_sep PortImpl createPort concode_elem_sep WSGraph createWSGraph concode_elem_sep EdgeImpl createEdge concode_... | WSGraph function ( File arg0 ) { String loc0 = IOUtil . readFileToString ( arg0 ) ; return createGraph ( loc0 ) ; } |
2,712 | performs a dynamic query on the database and returns the matching rows . concode_field_sep VirtualHostLocalService _virtualHostLocalService concode_field_sep java.util.List<com.liferay.portal.model.VirtualHost> getVirtualHosts concode_elem_sep void setWrappedService concode_elem_sep void setWrappedVirtualHostLocalServi... | java . util . List function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _virtualHostLocalService . arg0 ( arg0 ) ; } |
2,713 | add information message to a specific client . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep Object getElValue concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep S... | void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_INFO , arg1 , arg1 ) ) ; } |
2,714 | sets the value of the sptree property . concode_field_sep CTControlList controls concode_elem_sep GroupShape spTree concode_elem_sep CTBackground bg concode_elem_sep CTCustomerDataList custDataLst concode_elem_sep CTExtensionList extLst concode_elem_sep String name concode_field_sep CTBackground getBg concode_elem_sep ... | void function ( GroupShape arg0 ) { this . spTree = arg0 ; } |
2,715 | sets whether panning is enabled or not . default value is true . concode_field_sep float MAX_ZOOM concode_elem_sep boolean isRotationEnabled concode_elem_sep Fit fitMethod concode_elem_sep int imageW concode_elem_sep float OVERZOOM_FACTOR concode_elem_sep int viewportH concode_elem_sep boolean isDoubleTapEnabled concod... | Settings function ( boolean arg0 ) { isPanEnabled = arg0 ; return this ; } |
2,716 | gets the name . concode_field_sep String name concode_elem_sep long serialVersionUID concode_elem_sep Map<String,Item> items concode_elem_sep int outOfDateCount concode_field_sep void setName concode_elem_sep Map<String,Item> getItems concode_elem_sep void setOutOfDateCount concode_elem_sep void setItems concode_elem_s... | String function ( ) { return name ; } |
2,717 | gets the value of the ratingcode property . concode_field_sep BigInteger debarmentCount concode_elem_sep XMLGregorianCalendar ratingDate concode_elem_sep XMLGregorianCalendar lastDebarmentDate concode_elem_sep String ratingCode concode_elem_sep Boolean debarmentIndicator concode_elem_sep BigInteger failureRiskScore con... | String function ( ) { return ratingCode ; } |
2,718 | returns the size of the gameboard . concode_field_sep GameTile[][] gameboardState concode_elem_sep Dimension gameboardSize concode_field_sep void setGameboardState concode_elem_sep void setGameboardState concode_elem_sep GameTile getGameboardState concode_elem_sep GameTile getGameboardState concode_elem_sep void gameUp... | Dimension function ( ) { return this . gameboardSize ; } |
2,719 | helper for error callbacks that just returns the status.error by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String ... | void function ( String arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . ERROR , arg0 ) ) ; } |
2,720 | sets the securityauthenticator to use for authenticating the httpprincipal . concode_field_sep SecurityConstraint securityConstraint concode_elem_sep String roleClassName concode_elem_sep SecurityAuthenticator securityAuthenticator concode_elem_sep String constraint concode_elem_sep String realm concode_elem_sep Loggin... | void function ( SecurityAuthenticator arg0 ) { this . securityAuthenticator = arg0 ; } |
2,721 | removes the given association from this saga . when the saga is committed , it can no longer be found using the given association value . if the given saga was n't associated with given values , nothing happens . concode_field_sep boolean isActive concode_elem_sep String identifier concode_elem_sep ParameterResolverFac... | void function ( String arg0 , String arg1 ) { associationValues . remove ( new AssociationValue ( arg0 , arg1 ) ) ; } |
2,722 | used to communicate a cancel operation from the whitebox gui . concode_field_sep String[] args concode_elem_sep double LnOf2 concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amIActive... | void function ( boolean arg0 ) { cancelOp = arg0 ; } |
2,723 | yzhang comment method `` settalendtype '' . concode_field_sep String talendType concode_elem_sep boolean nullable concode_elem_sep String name concode_elem_sep String value concode_field_sep void setName concode_elem_sep String getValue concode_elem_sep String getName concode_elem_sep String getTalendType concode_elem_... | void function ( String arg0 ) { this . talendType = arg0 ; } |
2,724 | removes the specified node from the link list . concode_field_sep T last concode_elem_sep int size concode_elem_sep Log log concode_elem_sep T first concode_field_sep void addLast concode_elem_sep void makeLast concode_elem_sep void removeAll concode_elem_sep int size concode_elem_sep void makeFirst concode_elem_sep vo... | T function ( ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "srini_string" ) ; } return first ; } |
2,725 | compares this object to an arbitrary object . concode_field_sep double allocatedY concode_elem_sep double gap concode_elem_sep double angle concode_elem_sep double baseY concode_elem_sep double linkPercent concode_elem_sep TextBox label concode_elem_sep double labelHeight concode_elem_sep Comparable key concode_field_s... | int function ( Object arg0 ) { int loc0 = 0 ; if ( arg0 instanceof PieLabelRecord ) { PieLabelRecord loc1 = ( PieLabelRecord ) arg0 ; if ( this . baseY < loc1 . baseY ) { loc0 = - 1 ; } else if ( this . baseY > loc1 . baseY ) { loc0 = 1 ; } } return loc0 ; } |
2,726 | here is the event response . this code is executed when the user clicks on the button for starting a new game , which can be done when the application starts up , during a game , or after a game has been played . note that the game data is already locked for this thread before it is called , and that it will be unlocke... | void function ( ActionEvent arg0 ) { if ( miniGame . isCurrentScreenState ( SPLASH_SCREEN_STATE ) ) { miniGame . switchToSagaScreen ( ) ; } } |
2,727 | declares the configuration fragments that are required by this rule for the specified configuration . valid transition values are host for the host configuration and none for the target configuration . in contrast to #requiresconfigurationfragments collection , this method takes the names of fragments as determined by ... | void function ( ConfigurationTransition arg0 , Collection < String > arg1 ) { requiredConfigurationFragmentNames . putAll ( arg0 , arg1 ) ; } |
2,728 | close an output experience file concode_field_sep boolean showStackTrace concode_elem_sep String prefix concode_elem_sep StringBuilder result concode_elem_sep boolean showErrors concode_elem_sep boolean showStamp concode_elem_sep LineOutput outExp2 concode_elem_sep NAR nar concode_elem_sep PrintWriter outExp concode_fi... | void function ( ) { outExp . close ( ) ; nar . removeOutput ( this ) ; } |
2,729 | returns the number of system events . concode_field_sep SystemEventLocalService _systemEventLocalService concode_field_sep com.liferay.portal.kernel.model.SystemEvent updateSystemEvent concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.... | int function ( ) { return _systemEventLocalService . getSystemEventsCount ( ) ; } |
2,730 | deletes the service component with the primary key from the database . also notifies the appropriate model listeners . concode_field_sep ServiceComponentLocalService _serviceComponentLocalService concode_field_sep void upgradeDB concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrapped... | com . liferay . portal . model . ServiceComponent function ( long arg0 ) { return _serviceComponentLocalService . deleteServiceComponent ( arg0 ) ; } |
2,731 | create a litedevicedelegatingviewresolver delegating to the specified viewresolver and computing a sensible order for it . the specified viewresolver should implement ordered , consider using #createviewresolver viewresolver , int if that 's not the case . concode_field_sep DeviceDelegatingViewResolverProperties proper... | LiteDeviceDelegatingViewResolver function ( ViewResolver arg0 ) { if ( ! ( arg0 instanceof Ordered ) ) { throw new IllegalStateException ( "srini_string" + arg0 + "srini_string" + Ordered . class . getName ( ) ) ; } int loc0 = ( ( Ordered ) arg0 ) . getOrder ( ) ; return createViewResolver ( arg0 , adjustOrder ( loc0 )... |
2,732 | sets the value of the id property . concode_field_sep Boolean statelessBeanIsClusterable concode_elem_sep String statelessBeanCallRouterClassName concode_elem_sep Boolean homeIsClusterable concode_elem_sep String homeCallRouterClassName concode_elem_sep String statelessBeanLoadAlgorithm concode_elem_sep Boolean useServ... | void function ( final String arg0 ) { this . id = arg0 ; } |
2,733 | the kind of the file , one of bofrecord #type_worksheet , bofrecord #type_chart , bofrecord #type_excel_4_macro or bofrecord #type_workspace_file concode_field_sep Closeable input concode_elem_sep int biffVersion concode_elem_sep RecordInputStream ris concode_elem_sep int fileType concode_field_sep int getBiffVersion c... | int function ( ) { return fileType ; } |
2,734 | report this synchronization point as successful . concode_field_sep Condition condition concode_elem_sep E failureException concode_elem_sep AbstractXMPPConnection connection concode_elem_sep Lock connectionLock concode_elem_sep State state concode_elem_sep String waitFor concode_field_sep void init concode_elem_sep E ... | void function ( ) { connectionLock . lock ( ) ; try { state = State . Success ; condition . signalAll ( ) ; } finally { connectionLock . unlock ( ) ; } } |
2,735 | returns the array with favorite static members . concode_field_sep String fErrorMessage concode_elem_sep int fPosition concode_elem_sep IContextInformation fContextInformation concode_field_sep void sessionEnded concode_elem_sep void setContextInformationPosition concode_elem_sep void sessionStarted concode_elem_sep St... | String [ ] function ( ) { String loc0 = PreferenceConstants . getPreferenceStore ( ) . getString ( PreferenceConstants . CODEASSIST_FAVORITE_STATIC_MEMBERS ) ; if ( loc0 != null && loc0 . length ( ) > 0 ) return loc0 . split ( "srini_string" ) ; return new String [ 0 ] ; } |
2,736 | produce a jsonarray of jsonobjects from a comma delimited text string using a supplied jsonarray as the source of element names . concode_field_sep PlaceHolder placeHolder concode_field_sep String getValue concode_elem_sep JSONObject rowToJSONObject concode_elem_sep String rowToString concode_elem_sep String toString c... | JSONArray function ( JSONArray arg0 , JSONTokener arg1 ) { if ( arg0 == null || arg0 . length ( ) == 0 ) { return null ; } JSONArray loc0 = new JSONArray ( ) ; for ( ; ; ) { JSONObject loc1 = rowToJSONObject ( arg0 , arg1 ) ; if ( loc1 == null ) { break ; } loc0 . put ( loc1 ) ; } if ( loc0 . length ( ) == 0 ) { return... |
2,737 | gets the value of the fldfilterchecked property . concode_field_sep Boolean fldFilterChecked concode_elem_sep RecordRef fldCompareField concode_elem_sep RecordRef fldFilter concode_elem_sep Boolean fldFilterNotNull concode_elem_sep String fldFilterVal concode_elem_sep CustomizationFilterCompareType fldFilterCompareType... | Boolean function ( ) { return fldFilterChecked ; } |
2,738 | elapsedtime concode_field_sep long m_nextRetryTimeNanos concode_elem_sep long m_timeoutInMillis concode_elem_sep boolean m_strictTimeouts concode_elem_sep long m_attemptStartTimeNanos concode_elem_sep long m_timeoutInNanos concode_elem_sep int m_attempt concode_elem_sep long m_timeoutInSeconds concode_elem_sep int m_re... | double function ( TimeUnit arg0 ) { return convertFromNanos ( elapsedTimeNanos ( ) , arg0 ) ; } |
2,739 | adds a symbol to this family . concode_field_sep String _name concode_elem_sep HashSet<DSymbol> _symbols concode_elem_sep int _type concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String getSymbolsRepr concode_elem_sep int getType concode_elem_sep Iterator<DSymbol> getSymbols concode_ele... | void function ( DSymbol arg0 ) { _symbols . add ( arg0 ) ; } |
2,740 | gets the id . concode_field_sep String employeeName concode_elem_sep ImageInfo photo concode_elem_sep Long employeeId concode_elem_sep Long id concode_elem_sep Long projectId concode_elem_sep ProjectMemberRole projectMemberRole concode_elem_sep Integer version concode_field_sep Integer getVersion concode_elem_sep void ... | Long function ( ) { return id ; } |
2,741 | returns the number of rows that match the dynamic query . concode_field_sep DATAGROUPLocalService _datagroupLocalService concode_field_sep vn.dtt.cmon.dm.dao.model.DATAGROUP addDATAGROUP concode_elem_sep vn.dtt.cmon.dm.dao.model.DATAGROUP createDATAGROUP concode_elem_sep int countAll concode_elem_sep void setWrappedSer... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _datagroupLocalService . dynamicQueryCount ( arg0 ) ; } |
2,742 | clear session details concode_field_sep Editor editor concode_elem_sep String IS_USER_LOGIN concode_elem_sep String PREFER_NAME concode_elem_sep Context _context concode_elem_sep SharedPreferences pref concode_elem_sep String KEY_NAME concode_elem_sep String KEY_EMAIL concode_elem_sep int PRIVATE_MODE concode_field_sep... | void function ( ) { editor . clear ( ) ; editor . commit ( ) ; Intent loc0 = new Intent ( _context , MainActivity . class ) ; loc0 . addFlags ( Intent . FLAG_ACTIVITY_CLEAR_TOP ) ; loc0 . setFlags ( Intent . FLAG_ACTIVITY_NEW_TASK ) ; _context . startActivity ( loc0 ) ; } |
2,743 | called before the index shard gets deleted from disk note : this method is only executed on the first attempt of deleting the shard . retries are will not invoke this method . concode_field_sep PlaceHolder placeHolder concode_field_sep void afterIndexCreated concode_elem_sep void beforeIndexShardClosed concode_elem_sep... | void function ( ShardId arg0 , Settings arg1 ) { } |
2,744 | ensures that this object is in the running state . if this object is not running , then the call has the effect of setting the starttime attribute to the current value of system.currenttimemillis and setting the running attribute to true . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep l... | void function ( ) { startTime = System . currentTimeMillis ( ) ; running = true ; } |
2,745 | the actions associated with the rule . concode_field_sep java.util.Date createdAt concode_elem_sep Boolean ruleDisabled concode_elem_sep String ruleName concode_elem_sep String description concode_elem_sep java.util.List<Action> actions concode_elem_sep String sql concode_field_sep TopicRule withRuleName concode_elem_s... | java . util . List < Action > function ( ) { return actions ; } |
2,746 | set storage type quota in a batch . only used by fsimage load concode_field_sep long DEFAULT_STORAGE_SPACE_QUOTA concode_elem_sep QuotaCounts quota concode_elem_sep QuotaCounts usage concode_elem_sep long DEFAULT_NAMESPACE_QUOTA concode_field_sep String storagespaceString concode_elem_sep Builder typeQuotas concode_ele... | void function ( EnumCounters < StorageType > arg0 ) { this . quota . setTypeSpaces ( arg0 ) ; } |
2,747 | get the data properties from the incoming request concode_field_sep String MEDIA_CC_1_3 concode_elem_sep String TYPE_IMPORTITEM concode_elem_sep String ACCEPT_MEDIA_TYPES concode_elem_sep JSONArray graph concode_elem_sep String MEDIA_CC_1_1 concode_elem_sep JSONObject contentItem concode_elem_sep String errorMessage co... | Properties function ( ) { return dataProps ; } |
2,748 | converts jsontree to a java object . concode_field_sep PlaceHolder placeHolder concode_field_sep void toJson concode_elem_sep String toJson concode_elem_sep T read concode_elem_sep JsonElement toJsonTree concode_elem_sep T fromJson concode_elem_sep T fromJson concode_elem_sep TypeAdapter<T> nullSafe concode_elem_sep vo... | T function ( JsonElement arg0 ) { try { JsonReader loc0 = new JsonTreeReader ( arg0 ) ; return read ( loc0 ) ; } catch ( IOException loc0 ) { throw new JsonIOException ( loc0 ) ; } } |
2,749 | closes the csv file . concode_field_sep int nbrCols concode_elem_sep int nbrRows concode_elem_sep String newline concode_elem_sep OutputStreamWriter writer concode_field_sep void writeHeader concode_elem_sep String toCsvValue concode_elem_sep void doWriteData concode_elem_sep void writeData | void function ( ) { this . writer . close ( ) ; } |
2,750 | gets the adapter classes . concode_field_sep ResourceResolver resourceResolver concode_elem_sep boolean forceFirstAdapter concode_elem_sep Logger logger concode_elem_sep TomcatContainer tomcatContainer concode_elem_sep Map<String,ResourceResolver> resourceResolvers concode_elem_sep List<String> adapterClasses concode_e... | List < String > function ( ) { return adapterClasses ; } |
2,751 | test operatorutil #getcontractclass class concode_field_sep PlaceHolder placeHolder concode_field_sep void getContractClassShouldReturnSinkForOutputFormat concode_elem_sep void getContractClassShouldReturnNullForStub concode_elem_sep void getContractClassShouldReturnCrossForCrossStub concode_elem_sep void getContractCl... | void function ( ) { final Class < ? > loc0 = OperatorUtil . getContractClass ( DelimitedInputFormat . class ) ; assertEquals ( GenericDataSourceBase . class , loc0 ) ; } |
2,752 | internal close routine . concode_field_sep Object filter concode_elem_sep QueryCursor cursor concode_elem_sep CacheEntryEventFilter javaFilter concode_elem_sep ReadWriteLock lock concode_elem_sep long serialVersionUID concode_elem_sep PlatformContext platformCtx concode_elem_sep boolean hasFilter concode_elem_sep Platf... | void function ( ) { if ( ptr != 0 ) { long loc0 = ptr ; ptr = 0 ; if ( cursor != null ) cursor . close ( ) ; platformCtx . gateway ( ) . continuousQueryFilterRelease ( loc0 ) ; } } |
2,753 | cleans up test environment concode_field_sep Logger log concode_field_sep void defaultClassSetup concode_elem_sep void defaultSetup concode_elem_sep void defaultClean concode_elem_sep int getErrorMessages concode_elem_sep void deleteErrorLog | void function ( ) { new WorkbenchShell ( ) ; log . info ( "srini_string" ) ; ProjectFactory . deleteAllProjects ( ) ; log . info ( "srini_string" ) ; FuseServerManipulator . deleteAllServers ( ) ; FuseServerManipulator . deleteAllServerRuntimes ( ) ; } |
2,754 | given a start element , obtain the xsi : type defined concode_field_sep Validator validator concode_elem_sep PicketLinkLogger logger concode_field_sep void bypassElementBlock concode_elem_sep String getAttributeValue concode_elem_sep String getAttributeValue concode_elem_sep boolean hasTextAhead concode_elem_sep String... | String function ( StartElement arg0 ) { Attribute loc0 = arg0 . getAttributeByName ( new QName ( JBossSAMLURIConstants . XSI_NSURI . get ( ) , JBossSAMLConstants . TYPE . get ( ) ) ) ; if ( loc0 == null ) throw logger . parserExpectedXSI ( ErrorCodes . EXPECTED_XSI ) ; return StaxParserUtil . getAttributeValue ( loc0 )... |
2,755 | get the moon velocity update from the state parameters , the rocket is too light to influence the system concode_field_sep int width concode_elem_sep CircleShape moon concode_elem_sep Commandes commandes concode_elem_sep List<GraphicObject> listGraphic concode_elem_sep CircleShape earth concode_elem_sep RectangleShape ... | double [ ] function ( double [ ] arg0 , double [ ] arg1 , double [ ] arg2 ) { double [ ] loc0 = getForceVector ( arg1 , arg0 , earth . getMass ( ) * moon . getMass ( ) , false ) ; double [ ] loc1 = PhysicUtility . scalarProd ( 1 / moon . getMass ( ) , loc0 ) ; double [ ] loc2 = PhysicUtility . sum2 ( arg2 , loc1 ) ; re... |
2,756 | is task while running visible ? concode_field_sep String ID_KEY concode_elem_sep String VISIBLE_KEY concode_elem_sep Map<String,String> configuration concode_elem_sep String UPDATED_KEY concode_elem_sep String ENABLED_KEY concode_elem_sep String ALERT_EMAIL_KEY concode_elem_sep String REPOSITORY_ID_KEY concode_elem_sep... | boolean function ( ) { return getBoolean ( VISIBLE_KEY , true ) ; } |
2,757 | this method schedules toe state entry , but does n't enters it . concode_field_sep AtomicLong tackRequests concode_elem_sep AtomicBoolean isToeScheduled concode_elem_sep AtomicLong toeThread concode_elem_sep AtomicLong toeRequests concode_elem_sep AtomicLong tickRequests concode_elem_sep AtomicInteger currentState conc... | void function ( ) { isToeScheduled . set ( true ) ; } |
2,758 | set the bonus for the initiative concode_field_sep Dice die concode_elem_sep int incrementalBonus concode_elem_sep int currentInitiative concode_elem_sep int mod concode_elem_sep int roll concode_elem_sep SystemAttribute attribute concode_field_sep int checkExtRoll concode_elem_sep int checkExtRoll concode_elem_sep voi... | void function ( int arg0 ) { this . incrementalBonus = arg0 - attribute . getModifier ( ) ; if ( getCurrentInitiative ( ) > 0 ) { setCurrentInitiative ( roll + getModifier ( ) + mod ) ; } } |
2,759 | concatenates a pdf document selecting the pages to keep . the pages are described as a list of integer . the page ordering can be changed but no page repetitions are allowed . concode_field_sep PdfCopyFieldsImp fc concode_field_sep void setOutlines concode_elem_sep void setViewerPreferences concode_elem_sep void addJav... | void function ( PdfReader arg0 , List < Integer > arg1 ) { fc . addDocument ( arg0 , arg1 ) ; } |
2,760 | sets the elevation . concode_field_sep double elevation concode_elem_sep double azimuth concode_field_sep double getAzimuth concode_elem_sep String toString concode_elem_sep double getElevation concode_elem_sep void setAzimuth | void function ( double arg0 ) { this . elevation = arg0 ; } |
2,761 | formats a long as an 8-byte signed hex value . concode_field_sep PlaceHolder placeHolder concode_field_sep String uNibble concode_elem_sep String s4 concode_elem_sep String u8 concode_elem_sep String dump concode_elem_sep String u1 concode_elem_sep String u2 concode_elem_sep String u2or4 concode_elem_sep String u3 conc... | String function ( long arg0 ) { char [ ] loc0 = new char [ 17 ] ; if ( arg0 < 0 ) { loc0 [ 0 ] = '-' ; arg0 = - arg0 ; } else { loc0 [ 0 ] = '+' ; } for ( int loc1 = 0 ; loc1 < 16 ; loc1 ++ ) { loc0 [ 16 - loc1 ] = Character . forDigit ( ( int ) arg0 & 0x0f , 16 ) ; arg0 >>= 4 ; } return new String ( loc0 ) ; } |
2,762 | put a value into the map . concode_field_sep Long2ObjectHashMap<V> map concode_field_sep long compoundKey concode_elem_sep double loadFactor concode_elem_sep int size concode_elem_sep void forEach concode_elem_sep void forEach concode_elem_sep V get concode_elem_sep boolean isEmpty concode_elem_sep V remove concode_ele... | V function ( final int arg0 , final int arg1 , final V arg2 ) { final long loc0 = compoundKey ( arg0 , arg1 ) ; return map . put ( loc0 , arg2 ) ; } |
2,763 | returns a string that uniquely identifies the specified object , including its class . the returned string is of form `` classname@hashcode '' , ie is the same as the return value of the object.tostring method , but works even when the specified object 's class has overridden the tostring method . concode_field_sep Pro... | String function ( Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } else { return arg0 . getClass ( ) . getName ( ) + "srini_string" + System . identityHashCode ( arg0 ) ; } } |
2,764 | sends a number as a command for a specified item to the event bus . concode_field_sep Logger logger concode_field_sep Object postUpdate concode_elem_sep Object postUpdate concode_elem_sep Object postUpdate concode_elem_sep Object postUpdate concode_elem_sep Object restoreStates concode_elem_sep Map<Item,State> storeSta... | Object function ( Item arg0 , Number arg1 ) { if ( arg0 != null && arg1 != null ) { return sendCommand ( arg0 . getName ( ) , arg1 . toString ( ) ) ; } else { return null ; } } |
2,765 | lifetime scope of this method is limited depends on the operations performed . rows deleted completely can equal rows produced later . this can return invalid results if used with deleted rows . concode_field_sep RowAction rowAction concode_elem_sep Object[] rowData concode_elem_sep int position concode_field_sep int g... | boolean function ( Object arg0 ) { if ( arg0 == this ) { return true ; } if ( arg0 instanceof Row ) { return ( ( Row ) arg0 ) . position == position ; } return false ; } |
2,766 | checks if all given transitions have at least one action . returns false for empty lists . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean hasEntryAction concode_elem_sep boolean containsOnlyEventsOfType concode_elem_sep boolean oneIncomingTransitionEntersCompositeWithEntryActions concode_elem_sep b... | boolean function ( EList < Transition > arg0 ) { if ( arg0 . isEmpty ( ) ) return false ; for ( Transition loc0 : arg0 ) { if ( ! hasAtLeastOneAction ( loc0 ) ) { return false ; } } return true ; } |
2,767 | returns the underlying toolboxfactory being used . concode_field_sep ToolboxFactory factory concode_elem_sep Toolbox application concode_elem_sep VelocityEngine velocity concode_elem_sep boolean userOverwrite concode_field_sep void setToolboxFactory concode_elem_sep boolean hasRequestTools concode_elem_sep void debug c... | ToolboxFactory function ( ) { return this . factory ; } |
2,768 | compares specified request with this one . concode_field_sep String workspace concode_elem_sep Credentials creds concode_elem_sep int hash concode_field_sep int hashCode concode_elem_sep int computeSimpleCredsHashCode concode_elem_sep Credentials getCredentials concode_elem_sep int computeHash concode_elem_sep String g... | boolean function ( JcrConnectionRequestInfo arg0 ) { return equals ( workspace , arg0 . workspace ) && equals ( creds , arg0 . creds ) ; } |
2,769 | set the filter configuration object for this filter . concode_field_sep boolean debug concode_elem_sep FilterConfig filterConfig concode_field_sep void init concode_elem_sep void sendProcessingError concode_elem_sep void doAfterProcessing concode_elem_sep String getStackTrace concode_elem_sep void doFilter concode_elem... | void function ( FilterConfig arg0 ) { this . filterConfig = arg0 ; } |
2,770 | retrieve the model object for the given model name , either from the model or from the request attributes . concode_field_sep Boolean defaultHtmlEscape concode_elem_sep Map<String,Errors> errorsMap concode_elem_sep RequestDataValueProcessor dataValueProcessor concode_elem_sep MessageSource messageSource concode_elem_se... | Optional < T > function ( String arg0 ) { return Optional . ofNullable ( this . model ) . map ( model -> Optional . ofNullable ( ( T ) model . get ( arg0 ) ) ) . orElse ( this . exchange . getAttribute ( arg0 ) ) ; } |
2,771 | allows subclasses to modify the login form url that should be applicable for a given request . concode_field_sep String loginFormUrl concode_elem_sep boolean forceHttps concode_elem_sep boolean useForward concode_elem_sep Log logger concode_elem_sep RedirectStrategy redirectStrategy concode_elem_sep PortMapper portMapp... | String function ( HttpServletRequest arg0 , HttpServletResponse arg1 , AuthenticationException arg2 ) { return getLoginFormUrl ( ) ; } |
2,772 | sets the value of the detail property . concode_field_sep String summary concode_elem_sep short timeStamp concode_elem_sep AlertDetailParameterList detailParameterList concode_elem_sep Integer referenceCount concode_elem_sep BigDecimal id concode_elem_sep String detail concode_elem_sep MessageTransportKey transport con... | void function ( String arg0 ) { this . detail = arg0 ; } |
2,773 | gets the polygon object that represents the time zone on the image map . concode_field_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation concode_elem_sep bool... | Polygon function ( ) { return mapPolygon ; } |
2,774 | merges all field paths in a fieldmask into this tree . 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 void intersectFieldPath concode_elem_sep void ... | FieldMaskTree function ( FieldMask arg0 ) { for ( String loc0 : arg0 . getPathsList ( ) ) { addFieldPath ( loc0 ) ; } return this ; } |
2,775 | set or update the alarm concode_field_sep PlaceHolder placeHolder concode_field_sep void fillIntentWith concode_elem_sep long convertMStoSec concode_elem_sep long convertSecToMs concode_elem_sep CallContainer extractCallContainer | void function ( final Context arg0 , final Class < ? > arg1 , final CallContainer arg2 , final long arg3 ) { Intent loc0 = new Intent ( arg0 , arg1 ) ; fillIntentWith ( arg2 , loc0 ) ; setAlarm ( arg0 , loc0 , arg3 ) ; } |
2,776 | gets the value of the fromoutcome property . concode_field_sep java.lang.String id concode_elem_sep XmlString fromOutcome concode_field_sep void setFromOutcome concode_elem_sep void setId concode_elem_sep java.lang.String getId | XmlString function ( ) { return fromOutcome ; } |
2,777 | create a version from a version string concode_field_sep String _version concode_field_sep String getMinor concode_elem_sep String getMajor concode_elem_sep String toString | HelixVersion function ( String arg0 ) { if ( arg0 == null ) { return null ; } return new HelixVersion ( arg0 ) ; } |
2,778 | a convenient method meant to be invoked when clustering framework detects that a new broker node joined the cluster . concode_field_sep SortedMap<Integer,NetworkPartitionListener> networkPartitionListeners concode_elem_sep boolean isNetworkPartitioned concode_elem_sep HazelcastInstance hazelcastInstance concode_elem_se... | void function ( ) { hazelcastInstance . getCluster ( ) . removeMembershipListener ( membershipListener ) ; hazelcastInstance . getLifecycleService ( ) . removeLifecycleListener ( lifecycleListener ) ; } |
2,779 | always returns null , since serialized size does n't make sense in the context of orc files . concode_field_sep VectorizedOrcSerde vos concode_elem_sep OrcSerdeRow row concode_elem_sep Object realRow concode_elem_sep ObjectInspector inspector concode_elem_sep String COMPRESSION concode_elem_sep ObjectInspector inspecto... | SerDeStats function ( ) { return null ; } |
2,780 | adds the specified package to the installed package cache . concode_field_sep BasePackageMonitor mPackageMonitor concode_elem_sep ClassLoadingManager sInstance concode_elem_sep HashMap<String,HashSet<String>> mNotFoundClassesMap concode_elem_sep HashMap<String,Class<?>> mClassNameToClassMap concode_field_sep boolean ch... | void function ( String arg0 ) { synchronized ( mNotFoundClassesMap ) { mNotFoundClassesMap . remove ( arg0 ) ; } } |
2,781 | simple legal method concode_field_sep int a concode_elem_sep int b concode_elem_sep int c concode_elem_sep int d concode_elem_sep int two concode_elem_sep int one concode_elem_sep int e concode_elem_sep int f concode_elem_sep int g concode_elem_sep int h concode_field_sep void foo concode_elem_sep void doStringBuffer c... | void function ( ) { one = 1 ; two = 2 ; } |
2,782 | add a new highlighter to an editor concode_field_sep Key<List<RangeHighlighter>> HIGHLIGHTERS_KEY concode_field_sep void clearHighlighters concode_elem_sep boolean purgeInvalidHighlighters concode_elem_sep boolean hasHighlighters concode_elem_sep RangeHighlighter highlightNode concode_elem_sep List<RangeHighlighter> ge... | void function ( Editor arg0 , RangeHighlighter arg1 ) { List < RangeHighlighter > loc0 = arg0 . getUserData ( HIGHLIGHTERS_KEY ) ; if ( loc0 == null ) { loc0 = new LinkedList < RangeHighlighter > ( ) ; arg0 . putUserData ( HIGHLIGHTERS_KEY , loc0 ) ; } else { purgeInvalidHighlighters ( arg0 , loc0 ) ; } loc0 . add ( ar... |
2,783 | creates a primary local service . concode_field_sep Provider<Set<ServiceRunner>> runnerProvider concode_elem_sep Predicate<LocalService> IS_PRIMARY concode_elem_sep Map<String,InetSocketAddress> auxiliarySockets concode_elem_sep Set<String> names concode_elem_sep Optional<InetSocketAddress> primarySocket concode_elem_s... | LocalService function ( int arg0 , Command arg1 ) { return new LocalService ( true , ImmutableSet . < String > of ( ) , arg0 , arg1 ) ; } |
2,784 | creates an instance of the actual product reader class . this method should never return null . concode_field_sep AbstractNetCdfReaderPlugIn[] netCdfReaderPlugIns concode_field_sep BeamFileFilter getProductFileFilter concode_elem_sep String[] getFormatNames concode_elem_sep String[] getDefaultFileExtensions concode_ele... | ProductReader function ( ) { return new GenericNetCdfReader ( this ) ; } |
2,785 | set the list of mapping resources . hbm.xml files to be added to the session factory . concode_field_sep List mappingResources concode_elem_sep Properties hibernateProperties concode_elem_sep List configLocations concode_elem_sep List annotatedClasses concode_elem_sep String sessionFactoryBeanName concode_field_sep voi... | void function ( List arg0 ) { this . mappingResources = arg0 ; } |
2,786 | unwraps the given selection concode_field_sep Entry entry concode_field_sep EntryKind getEntryKind concode_elem_sep void selectionChanged concode_elem_sep void run | Entry function ( ISelection arg0 ) { IStructuredSelection loc0 = ( IStructuredSelection ) arg0 ; Object loc1 = loc0 . getFirstElement ( ) ; if ( loc1 == null ) return null ; return ( ( EntryEditPart ) loc1 ) . resolveSemanticElement ( ) ; } |
2,787 | this setter is used by the web-services . concode_field_sep String mimeTypeString concode_elem_sep Map<String,MimeType> fileExtensions concode_elem_sep MimeType PKCS7 concode_elem_sep MimeType ASICS concode_elem_sep MimeType BINARY concode_elem_sep MimeType TEXT concode_elem_sep MimeType PDF concode_elem_sep MimeType A... | void function ( String arg0 ) { this . mimeTypeString = arg0 ; } |
2,788 | sets the exceptionobserver for this service . the observer will receive all exceptions thrown by the underlying nioservice and by queued events . this method is thread-safe . concode_field_sep Thread m_runThread concode_elem_sep NIOService m_service concode_elem_sep Queue<DelayedAction> m_queue concode_field_sep int ge... | void function ( ExceptionObserver arg0 ) { getNIOService ( ) . setExceptionObserver ( arg0 ) ; } |
2,789 | whether the flags specify `` read only '' . concode_field_sep int APPEND concode_elem_sep int EXCL concode_elem_sep int CREAT concode_elem_sep int WRONLY concode_elem_sep int flags concode_elem_sep int RDONLY concode_elem_sep int RDWR concode_elem_sep int TRUNC concode_elem_sep int TEXT concode_elem_sep int BINARY conc... | boolean function ( ) { return ( ( flags & WRONLY ) == 0 ) && ( ( flags & RDWR ) == 0 ) ; } |
2,790 | ensures the truth of an expression involving one or more arguments passed to the calling method . concode_field_sep PlaceHolder placeHolder concode_field_sep String checkNotEmpty concode_elem_sep String checkNotEmpty concode_elem_sep T checkNotNull concode_elem_sep T checkNotNull concode_elem_sep void checkState concod... | void function ( boolean arg0 , Object arg1 ) { if ( ExoPlayerLibraryInfo . ASSERTIONS_ENABLED && ! arg0 ) { throw new IllegalArgumentException ( String . valueOf ( arg1 ) ) ; } } |
2,791 | sets the value of the rval property . concode_field_sep CustomerFeedPage rval concode_field_sep CustomerFeedPage getRval | void function ( CustomerFeedPage arg0 ) { this . rval = arg0 ; } |
2,792 | assert the number of flash attributes . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultMatcher attribute concode_elem_sep ResultMatcher attribute concode_elem_sep ResultMatcher attributeExists | ResultMatcher function ( final int arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { assertEquals ( "srini_string" , arg0 , arg1 . getFlashMap ( ) . size ( ) ) ; } } ; } |
2,793 | performs a scalar division on the instance if the divisor is non-zero concode_field_sep Double x concode_elem_sep Double y concode_elem_sep Double z concode_field_sep Vector3D add concode_elem_sep Vector3D crossProduct concode_elem_sep Vector3D subtract concode_elem_sep Double length concode_elem_sep Vector3D opposite ... | Vector3D function ( Double arg0 ) { if ( arg0 != 0 ) { x /= arg0 ; y /= arg0 ; z /= arg0 ; } return this ; } |
2,794 | retrieve the value of the message slot of this event , containing the acl message that was sent . concode_field_sep AID receiver concode_elem_sep AID sender concode_elem_sep ACLMessage message concode_elem_sep String NAME concode_field_sep String getName concode_elem_sep AID getReceiver concode_elem_sep void setSender ... | ACLMessage function ( ) { return message ; } |
2,795 | create an instance of sourcemodeselectortype concode_field_sep QName _SelectorMaster_QNAME concode_field_sep SelectorVocListData createSelectorVocListData concode_elem_sep ReqKeys createReqKeys concode_elem_sep VocListData createVocListData concode_elem_sep VocListDataElement createVocListDataElement concode_elem_sep S... | SourceModeSelectorType function ( ) { return new SourceModeSelectorType ( ) ; } |
2,796 | returns the grant type which was used to obtain the access token the client is using now during the current request concode_field_sep String tokenIssuer concode_elem_sep String tokenKey concode_elem_sep String[] tokenRequestParts concode_elem_sep String clientId concode_elem_sep String tokenAudience concode_elem_sep Us... | String function ( ) { return tokenGrantType ; } |
2,797 | can explicitly change type class concode_field_sep String exception concode_elem_sep Map<String,Object> meta concode_elem_sep boolean success concode_elem_sep List<T> obj concode_elem_sep Class<T> type concode_field_sep void setSuccess concode_elem_sep String getException concode_elem_sep Class<T> getType concode_elem_... | void function ( Class < T > arg0 ) { this . type = arg0 ; } |
2,798 | sets a string value in the object . concode_field_sep Bundle bundle concode_elem_sep Bundle bundle concode_field_sep E putStringArrayList concode_elem_sep SharePhoto getPhoto concode_elem_sep E putPhotoArrayList concode_elem_sep E putDoubleArray concode_elem_sep double getDouble concode_elem_sep E putDouble concode_ele... | E function ( final String arg0 , @ Nullable final String arg1 ) { this . bundle . putString ( arg0 , arg1 ) ; return ( E ) this ; } |
2,799 | creates a instanceresolver implementation that alwaysreturns the specified singleton instance . concode_field_sep Logger logger concode_field_sep Invoker createInvoker concode_elem_sep T resolve concode_elem_sep T createNewInstance concode_elem_sep void postInvoke concode_elem_sep void start concode_elem_sep void start... | InstanceResolver < T > function ( T arg0 ) { assert arg0 != null ; InstanceResolver loc0 = createFromInstanceResolverAnnotation ( arg0 . getClass ( ) ) ; if ( loc0 == null ) loc0 = new SingletonResolver < T > ( arg0 ) ; return loc0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.