idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
12,500 | helper method - loads a testmodel from the given filename . concode_field_sep String VALIDATION_TESTMODEL_DIR concode_elem_sep IModelSequencer sequencer concode_field_sep ExecutionFlow loadExecutionFlowFromResource concode_elem_sep Statechart loadStatechartFromResource concode_elem_sep String getModelDirectory | Statechart function ( String arg0 ) { return AbstractTestModelsUtil . loadStatechart ( URI . createPlatformPluginURI ( arg0 , true ) ) ; } |
12,501 | returns the current date and time . concode_field_sep long serialVersionUID concode_elem_sep double MILLISECONDS_TO_HOURS_MULTIPLIER concode_elem_sep Time DISABLED_TIME concode_elem_sep double MILLISECONDS_TO_MINUTES_MULTIPLIER concode_field_sep void setMonth concode_elem_sep Integer getMinutesFromTime concode_elem_sep... | Timestamp function ( ) { return new Timestamp ( new Date ( ) . getTime ( ) ) ; } |
12,502 | return a default resourcepatternresolver for the given resourceloader . this might be the resourceloader itself , if it implements the resourcepatternresolver extension , or a pathmatchingresourcepatternresolver built on the given resourceloader . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isUr... | ResourcePatternResolver function ( ResourceLoader arg0 ) { if ( arg0 instanceof ResourcePatternResolver ) { return ( ResourcePatternResolver ) arg0 ; } else if ( arg0 != null ) { return new PathMatchingResourcePatternResolver ( arg0 ) ; } else { return new PathMatchingResourcePatternResolver ( ) ; } } |
12,503 | extend this method to make your transformer modify the instrument . concode_field_sep Pattern returnPattern concode_field_sep void measureEvent concode_elem_sep void controllerEvent concode_elem_sep void channelPressureEvent concode_elem_sep Pattern getReturnPattern concode_elem_sep void keySignatureEvent concode_elem_... | void function ( Instrument arg0 ) { returnPattern . addElement ( arg0 ) ; } |
12,504 | instantiates the supplied classnames using the bundle classloader , and casts to the supplied type . any errors are silently ignored . concode_field_sep PlaceHolder placeHolder concode_field_sep ImmutableSet<String> stringsForResourceInBundle concode_elem_sep Function<String,Class<?>> loadClassIfAssignableFrom concode_... | ImmutableSet < T > function ( Bundle arg0 , Iterable < String > arg1 , Class < T > arg2 ) { checkNotNull ( arg0 , "srini_string" ) ; checkNotNull ( arg1 , "srini_string" ) ; checkNotNull ( arg2 , "srini_string" ) ; return FluentIterable . from ( arg1 ) . transform ( loadClassIfAssignableFrom ( arg0 , arg2 ) ) . filter ... |
12,505 | adds a child element to this element . concode_field_sep LinkedList children concode_elem_sep ObjectId objectId concode_field_sep Iterator iterator concode_elem_sep void initId concode_elem_sep void clear concode_elem_sep boolean isEmpty concode_elem_sep ObjectId getId concode_elem_sep void writeEnd concode_elem_sep vo... | void function ( Element arg0 ) { children . add ( arg0 ) ; } |
12,506 | returns the y-offset for the shadow effect . concode_field_sep Paint shadowPaint concode_elem_sep double shadowXOffset concode_elem_sep double shadowYOffset concode_elem_sep Paint outlinePaint concode_elem_sep Stroke outlineStroke concode_elem_sep Paint backgroundPaint concode_elem_sep long serialVersionUID concode_ele... | double function ( ) { return this . shadowYOffset ; } |
12,507 | returns the current maximum queue size for background revalidations . concode_field_sep int DEFAULT_ASYNCHRONOUS_WORKERS_MAX concode_elem_sep float heuristicCoefficient concode_elem_sep long heuristicDefaultLifetime concode_elem_sep float DEFAULT_HEURISTIC_COEFFICIENT concode_elem_sep int asynchronousWorkersMax concode... | int function ( ) { return revalidationQueueSize ; } |
12,508 | a set of all controller uris . concode_field_sep Map<String,Controller> controllerMap concode_elem_sep String configRoot concode_elem_sep Logger LOGGER concode_field_sep void init concode_elem_sep String getConfigRoot concode_elem_sep Map<String,Controller> loadData concode_elem_sep void parseConfigXml concode_elem_sep... | Set < String > function ( ) { return new TreeSet < String > ( controllerMap . keySet ( ) ) ; } |
12,509 | sets the value for opening the servers view on activity . concode_field_sep byte RESTART_NEVER concode_elem_sep ServerUIPreferences instance concode_elem_sep byte LAUNCH_MODE2_CONTINUE concode_elem_sep String PREF_SHOW_ON_ACTIVITY concode_elem_sep byte ENABLE_BREAKPOINTS_ALWAYS concode_elem_sep byte LAUNCH_MODE2_RESTAR... | void function ( boolean arg0 ) { preferences . setValue ( PREF_SHOW_ON_ACTIVITY , arg0 ) ; ServerUIPlugin . getInstance ( ) . savePluginPreferences ( ) ; } |
12,510 | ensures that the provided arrays fulfills the assumptions . concode_field_sep NaturalRanking naturalRanking concode_field_sep double mannWhitneyU concode_elem_sep double calculateAsymptoticPValue concode_elem_sep double[] concatenateSamples concode_elem_sep double mannWhitneyUTest | void function ( final double [ ] arg0 , final double [ ] arg1 ) { if ( arg0 == null || arg1 == null ) { throw new NullArgumentException ( ) ; } if ( arg0 . length == 0 || arg1 . length == 0 ) { throw new NoDataException ( ) ; } } |
12,511 | append a double value . concode_field_sep char mode concode_elem_sep boolean comma concode_elem_sep int top concode_elem_sep int maxdepth concode_elem_sep Writer writer concode_elem_sep JSONObject stack[] concode_field_sep void pop concode_elem_sep JSONWriter array concode_elem_sep JSONWriter end concode_elem_sep JSONW... | JSONWriter function ( double arg0 ) { return this . value ( new Double ( arg0 ) ) ; } |
12,512 | sends a default chartchangeevent to all registered listeners . this method is for convenience only . concode_field_sep EventListenerList changeListeners concode_field_sep void removeChangeListener concode_elem_sep void notifyListeners concode_elem_sep void addChangeListener | void function ( ) { OverlayChangeEvent loc0 = new OverlayChangeEvent ( this ) ; notifyListeners ( loc0 ) ; } |
12,513 | gets selected time zone display name . concode_field_sep DateFormat selectedFormat concode_elem_sep int[] pacificXCoords concode_elem_sep int[] nfldXCoords concode_elem_sep int[] easternYCoords concode_elem_sep int[] alaskaYCoords concode_elem_sep int[] pacificYCoords concode_elem_sep ArrayList allTimeZoneList concode_... | String function ( ) { return displayNameTokenizer ( selectedTimeZone . getDisplayName ( ) ) ; } |
12,514 | returns serialized message concode_field_sep TopicKey topicKey concode_elem_sep long sequenceNumber concode_elem_sep String serializedMessage concode_field_sep long getSequenceNumber concode_elem_sep TopicKey getTopicKey | String function ( ) { return serializedMessage ; } |
12,515 | determines whether role field values will be converted to upper case when loaded . the default is true . concode_field_sep String passwordAttributeName concode_elem_sep boolean convertToUpperCase concode_elem_sep String[] roleAttributes concode_elem_sep String rolePrefix concode_elem_sep Log logger concode_field_sep vo... | void function ( boolean arg0 ) { this . convertToUpperCase = arg0 ; } |
12,516 | returns purchase information for a given product , or null if there is no purchase . concode_field_sep Map<String,SkuDetails> mSkuMap concode_elem_sep Map<String,Purchase> mPurchaseMap concode_field_sep List<SkuDetails> getAllProducts concode_elem_sep void erasePurchase concode_elem_sep List<String> getAllOwnedSkus con... | Purchase function ( String arg0 ) { return mPurchaseMap . get ( arg0 ) ; } |
12,517 | 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 ; } |
12,518 | adds the specified days to the calendar . concode_field_sep double J2 concode_elem_sep double C2 concode_elem_sep double E concode_elem_sep double JD_ONE_MINUTE_FRACTION concode_elem_sep double MINUTES_PER_DAY concode_elem_sep double J1 concode_elem_sep int CURVE_TIME_INTERVAL concode_elem_sep double H0 concode_elem_se... | Calendar function ( Calendar arg0 , int arg1 ) { Calendar loc0 = ( Calendar ) arg0 . clone ( ) ; loc0 . add ( Calendar . DAY_OF_MONTH , arg1 ) ; return loc0 ; } |
12,519 | reads the setting from the options hash . if no entry is set for this key or if it evaluates to false , returns null ; attempts to coerce the value to rubystring string otherwise . concode_field_sep RubyHash opts concode_elem_sep ThreadContext context concode_elem_sep Ruby runtime concode_elem_sep RuntimeInfo info conc... | ByteList function ( String arg0 ) { RubyString loc0 = getString ( arg0 , null ) ; return loc0 == null ? null : loc0 . getByteList ( ) . dup ( ) ; } |
12,520 | gets the columndata instance from the columnnamekey . concode_field_sep Map<String,ColumnData> columnNameKeyMap concode_elem_sep List<String> allColumnNameKeyList concode_field_sep void add concode_elem_sep int allSize concode_elem_sep void addAll concode_elem_sep ColumnPixelData[] getEnabledColumnPixelDataArray concod... | ColumnData function ( String arg0 ) { return ( ColumnData ) this . columnNameKeyMap . get ( arg0 ) ; } |
12,521 | compose error message by inserting the strings in the add parameters in placeholders within the error message . the message string contains $ $ markers for each context variable . context variables are supplied in the add parameters . concode_field_sep String MESSAGE_TAG concode_elem_sep int SQL_STATE_DIGITS concode_el... | HsqlException function ( Throwable arg0 , int arg1 , int arg2 , final Object [ ] arg3 ) { String loc0 = getMessage ( arg1 , arg2 , arg3 ) ; int loc1 = arg2 < ERROR_CODE_BASE ? arg1 : arg2 ; return new HsqlException ( arg0 , loc0 . substring ( SQL_STATE_DIGITS + 1 ) , loc0 . substring ( 0 , SQL_STATE_DIGITS ) , - loc1 )... |
12,522 | test manual form input . concode_field_sep boolean[] MULTIPLE_INPUT_CHECKBOX concode_elem_sep String[] MULTIPLE_INPUT_TEXT2 concode_elem_sep boolean MANUAL_INPUT_CHECKBOX concode_elem_sep String MANUAL_INPUT_TEXTAREA concode_elem_sep String DONT_CLICK_UNDER_XPATH_ID concode_elem_sep CrawlSession session concode_elem_se... | void function ( ) { for ( StateVertex loc0 : getStateFlowGraph ( ) . getAllStates ( ) ) { if ( loc0 . getDom ( ) . contains ( TITLE_MANUAL_INPUT_RESULT ) ) { assertTrue ( "srini_string" , loc0 . getDom ( ) . contains ( MANUAL_INPUT_RESULT ) ) ; return ; } } fail ( "srini_string" ) ; } |
12,523 | the request leaves , so it needs to be deleted concode_field_sep CleanerTimerTask cleanerTask concode_elem_sep boolean isScheduled concode_elem_sep String elementId concode_elem_sep boolean logMINOR concode_elem_sep Map<String,Boolean> isFirstKeepaliveReceived concode_elem_sep String requestId concode_elem_sep Map<Stri... | boolean function ( String arg0 ) { return deleteRequest ( arg0 ) ; } |
12,524 | clean up method that is invoked after the completion of each benchmark . the default implementation calls system.gc ; subclasses may override this to perform additional cleanup measures . concode_field_sep BenchInfo[] binfo concode_field_sep float parseBenchWeight concode_elem_sep Benchmark parseBenchClass concode_elem... | void function ( ) { System . gc ( ) ; } |
12,525 | print the values in the array in rows and columns concode_field_sep int[][] matrix concode_field_sep int getTotalNested concode_elem_sep void setMatrix concode_elem_sep int getTotal concode_elem_sep void fillPattern1 concode_elem_sep int getColTotal concode_elem_sep void fillCount concode_elem_sep int getCount concode_... | void function ( ) { for ( int loc0 = 0 ; loc0 < matrix . length ; loc0 ++ ) { for ( int loc1 = 0 ; loc1 < matrix [ 0 ] . length ; loc1 ++ ) { System . out . print ( matrix [ loc0 ] [ loc1 ] + "srini_string" ) ; } System . out . println ( ) ; } System . out . println ( ) ; } |
12,526 | gets the value of the comment property . concode_field_sep List<MaintenanceType.ChangeHistory> changeHistory concode_elem_sep MaintUpFreqType maintenanceUpdateFrequency concode_elem_sep String changeScope concode_elem_sep XMLGregorianCalendar changeDate concode_elem_sep TextType description concode_elem_sep String comm... | String function ( ) { return comment ; } |
12,527 | gets the value of the poznamky property . concode_field_sep TJineUdaje jineUdaje concode_elem_sep TUzavreni uzavreni concode_elem_sep TPopis popis concode_elem_sep TIdentifikace identifikace concode_elem_sep TPristupnost pristupnost concode_elem_sep TTrideniSoucasti trideni concode_elem_sep TPuvodSeskupeni puvod concod... | TPoznamky function ( ) { return poznamky ; } |
12,528 | response for rpc call mountinterface.mntproc #mnt concode_field_sep int MNT_OK concode_field_sep XDR writeMountList concode_elem_sep XDR writeExportList | XDR function ( int arg0 , XDR arg1 , int arg2 , byte [ ] arg3 ) { RpcAcceptedReply . getAcceptInstance ( arg2 , new VerifierNone ( ) ) . write ( arg1 ) ; arg1 . writeInt ( arg0 ) ; if ( arg0 == MNT_OK ) { arg1 . writeVariableOpaque ( arg3 ) ; arg1 . writeInt ( 1 ) ; arg1 . writeInt ( AuthFlavor . AUTH_SYS . getValue ( ... |
12,529 | sets the id value for this premiumrate . concode_field_sep com.google.api.ads.dfp.axis.v201502.PricingMethod pricingMethod concode_elem_sep com.google.api.ads.dfp.axis.v201502.PremiumFeature premiumFeature concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc conc... | void function ( java . lang . Long arg0 ) { this . id = arg0 ; } |
12,530 | gets the description for this course . concode_field_sep String courseName concode_elem_sep String description concode_elem_sep long courseId concode_elem_sep Set<Student> students concode_field_sep void setCourseName concode_elem_sep Set getStudents concode_elem_sep void setCourseId concode_elem_sep String clear conco... | String function ( ) { return description ; } |
12,531 | serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testPublicCloneable concode_elem_sep void testGetLegendItemSeriesIndex concode_elem_sep void testEquals | void function ( ) { CategoryStepRenderer loc0 = new CategoryStepRenderer ( ) ; CategoryStepRenderer loc1 = ( CategoryStepRenderer ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; } |
12,532 | returns the number of org labors . concode_field_sep OrgLaborLocalService _orgLaborLocalService concode_field_sep com.liferay.portal.kernel.model.OrgLabor getOrgLabor concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.Act... | int function ( ) { return _orgLaborLocalService . getOrgLaborsCount ( ) ; } |
12,533 | updates a record , replacing its display index and values . concode_field_sep ServiceTracker<DDLRecordService,DDLRecordService> _serviceTracker concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void revertRecord concode_elem_sep com.liferay.dynamic.data.lists.model.DDLRecord deleteRecordLocal... | com . liferay . dynamic . data . lists . model . DDLRecord function ( long arg0 , int arg1 , java . util . Map < java . lang . String , java . io . Serializable > arg2 , boolean arg3 , com . liferay . portal . kernel . service . ServiceContext arg4 ) { return getService ( ) . updateRecord ( arg0 , arg1 , arg2 , arg3 , ... |
12,534 | deletes the browser tracker with the primary key from the database . also notifies the appropriate model listeners . concode_field_sep BrowserTrackerLocalService _browserTrackerLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.p... | com . liferay . portal . kernel . model . BrowserTracker function ( long arg0 ) { return _browserTrackerLocalService . deleteBrowserTracker ( arg0 ) ; } |
12,535 | set if url lookup should always use full path within current servlet context . else , the path within the current servlet mapping is used if applicable i.e. in the case of a '' ... / '' servlet mapping in web.xml . default is `` false '' . concode_field_sep Log logger concode_elem_sep UrlPathHelper urlPathHelper concod... | void function ( boolean arg0 ) { this . urlPathHelper . setAlwaysUseFullPath ( arg0 ) ; } |
12,536 | the default behavior of this method is to call getcontextpath on the wrapped request object . concode_field_sep PortletRequest request concode_field_sep void setRequest concode_elem_sep String getAuthType concode_elem_sep Principal getUserPrincipal concode_elem_sep WindowState getWindowState concode_elem_sep PortletReq... | String function ( ) { return request . getContextPath ( ) ; } |
12,537 | sets the series title . concode_field_sep IndexXYMap<Double,Double> mXY concode_elem_sep double mMinY concode_elem_sep double mMaxY concode_elem_sep int mScaleNumber concode_elem_sep String mTitle concode_elem_sep double mMaxX concode_elem_sep IndexXYMap<Double,Double> mStringXY concode_elem_sep List<String> mAnnotatio... | void function ( String arg0 ) { mTitle = arg0 ; } |
12,538 | builds the jobdetail instance for quartz , which defines the job that needs to be executed when the trigger fires . the resulting jobdetail must be identified by the given jobkey and represent a job that dispatches the given event . this method may be safely overridden to change behavior . defaults to a jobdetail to fi... | JobDetail function ( EventMessage arg0 , JobKey arg1 ) { JobDataMap loc0 = new JobDataMap ( ) ; loc0 . put ( FireEventJob . EVENT_KEY , arg0 ) ; return JobBuilder . newJob ( FireEventJob . class ) . withDescription ( arg0 . getPayloadType ( ) . getName ( ) ) . withIdentity ( arg1 ) . usingJobData ( loc0 ) . build ( ) ;... |
12,539 | test concode_field_sep String[] tensNames concode_elem_sep String[] majorNames concode_elem_sep String[] numNames concode_field_sep void print concode_elem_sep String convertLessThanOneThousand concode_elem_sep String getAmtInWords concode_elem_sep String convert | void function ( String [ ] arg0 ) { AmtInWords_EN loc0 = new AmtInWords_EN ( ) ; loc0 . print ( "srini_string" ) ; loc0 . print ( "srini_string" ) ; loc0 . print ( "srini_string" ) ; loc0 . print ( "srini_string" ) ; loc0 . print ( "srini_string" ) ; loc0 . print ( "srini_string" ) ; loc0 . print ( "srini_string" ) ; l... |
12,540 | returns currently active state . concode_field_sep CheckState nextState concode_elem_sep boolean enabled concode_elem_sep CheckState state concode_field_sep int getIconWidth concode_elem_sep void setEnabled concode_elem_sep void finishTransition concode_elem_sep int getIconHeight concode_elem_sep boolean isTransitionCo... | CheckState function ( ) { return state ; } |
12,541 | returns the result of interpreting the object as an instance of ` software system ' . this implementation returns null ; returning a non-null result will terminate the switch . concode_field_sep SoftwaredeploymentPackage modelPackage concode_field_sep T caseModelElement concode_elem_sep T casePackage concode_elem_sep T... | T function ( SoftwareSystem arg0 ) { return null ; } |
12,542 | adds a time event to the list . concode_field_sep WorldProvider parent concode_elem_sep List<TimerEvent> timerEvents concode_field_sep void fireWorldTimeEvents concode_elem_sep void removeWorldTimeEvent | void function ( TimerEvent arg0 ) { timerEvents . add ( arg0 ) ; } |
12,543 | returns whether the overlay is hidden concode_field_sep Device mDevice concode_elem_sep boolean mHiding concode_field_sep void create concode_elem_sep void paint concode_elem_sep void dispose concode_elem_sep void setHiding concode_elem_sep Device getDevice | boolean function ( ) { return mHiding ; } |
12,544 | 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 ( int arg0 ) { if ( myHost != null && arg0 != previousProgress ) { myHost . updateProgress ( arg0 ) ; } previousProgress = arg0 ; } |
12,545 | the states of the listed reserved instances . returns a reference to this object so that method calls can be chained together . constraints : allowed values : available , sold , cancelled , pending concode_field_sep Integer instanceCount concode_elem_sep String state concode_field_sep String getState concode_elem_sep i... | InstanceCount function ( String arg0 ) { this . state = arg0 ; return this ; } |
12,546 | gets a string summary of the reference objects number and generation number . concode_field_sep int objf concode_elem_sep int genf concode_field_sep int hashCode concode_elem_sep int getGenerationNumber concode_elem_sep boolean equals concode_elem_sep int getObjectNumber | String function ( ) { return objf + "srini_string" + genf + "srini_string" ; } |
12,547 | increment by delta a given counter by name , if not exists then create it and set its value to delta concode_field_sep ConcurrentHashMap<String,AtomicLong> counterMap concode_field_sep Map<String,Long> getCounters concode_elem_sep void resetCounter concode_elem_sep AtomicLong getOrCreateCounter | void function ( String arg0 , long arg1 ) { getOrCreateCounter ( arg0 ) . addAndGet ( arg1 ) ; } |
12,548 | gets zoneddatetime for date . concode_field_sep PlaceHolder placeHolder concode_field_sep Date dateOf concode_elem_sep Date dateOf concode_elem_sep LocalDateTime localDateTimeOf concode_elem_sep Timestamp timestampOf concode_elem_sep Timestamp timestampOf concode_elem_sep DateTime dateTimeOf concode_elem_sep DateTime d... | ZonedDateTime function ( final Date arg0 ) { return zonedDateTimeOf ( arg0 . getTime ( ) ) ; } |
12,549 | create a new point2d that is a translation of this point . concode_field_sep double x concode_elem_sep double y concode_elem_sep PointRegion region concode_field_sep Vector2D minus concode_elem_sep double getX concode_elem_sep double getY concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Re... | Point2D function ( double arg0 , double arg1 ) { return new Point2D ( x + arg0 , y + arg1 ) ; } |
12,550 | this looks from a given node , so the parameter is always > -1 . concode_field_sep int[] hashTable concode_elem_sep boolean fixedSize concode_elem_sep int newNodePointer concode_elem_sep int elementCount concode_elem_sep int[] linkTable concode_elem_sep int reclaimedNodePointer concode_field_sep void resetTables concod... | int function ( int arg0 ) { return linkTable [ arg0 ] ; } |
12,551 | free the mmap associated with this replica . must be called with the cache lock held . concode_field_sep Long evictableTimeNs concode_elem_sep BlockMetadataHeader metaHeader concode_elem_sep Object mmapData concode_elem_sep ShortCircuitCache cache concode_elem_sep Logger LOG concode_elem_sep long creationTimeMs concode... | void function ( ) { MappedByteBuffer loc0 = ( MappedByteBuffer ) mmapData ; NativeIO . POSIX . munmap ( loc0 ) ; mmapData = null ; } |
12,552 | called on a timer to send the live output to the process that started us . we only send whatever is there since we 've last sent output . it was causing some socket problems to send the output immediately upon receiving it . i suspect due to numerous threads adding output . so its now only done periodically and in a mo... | void function ( ) { if ( bufferedLiveOutput . length ( ) == 0 ) { return ; } String loc0 = bufferedLiveOutput . toString ( ) ; bufferedLiveOutput = new StringBuffer ( ) ; client . sendMessage ( ProtocolConstants . LIVE_OUTPUT_TYPE , loc0 ) ; } |
12,553 | method to determine if we should use a preset address or search for an address concode_field_sep String standardAddress concode_elem_sep List points concode_elem_sep boolean showMarkers concode_elem_sep String geoCoderAddress concode_elem_sep boolean locateAddress concode_elem_sep String address concode_elem_sep boolea... | boolean function ( ) { if ( locateAddress ) { locateAddress = false ; return true ; } return false ; } |
12,554 | gets the objecttype used to read and write the trailing block instances . concode_field_sep ObjectType objectType concode_field_sep void setObjectType concode_elem_sep List<Object> readBlocks concode_elem_sep List<Object> writeBlocks | ObjectType function ( ) { return objectType ; } |
12,555 | display the specified error forwards call to displayerror string concode_field_sep Set extensions concode_elem_sep BridgeContext ctx concode_elem_sep Set FEATURES concode_field_sep float getStandardLighterFontWeight concode_elem_sep String getLanguages concode_elem_sep EventDispatcher getEventDispatcher concode_elem_se... | void function ( Exception arg0 ) { displayError ( arg0 . getMessage ( ) ) ; } |
12,556 | returns whether any of the branch unit commands was called . concode_field_sep InstructionOffsetValue traceBranchTargets concode_elem_sep boolean wasCalled concode_field_sep void returnFromMethod concode_elem_sep void branchConditionally concode_elem_sep void setTraceBranchTargets concode_elem_sep void resetCalled conc... | boolean function ( ) { return wasCalled ; } |
12,557 | this implementation depends only on the lock holder and not on the lock expiration time . concode_field_sep long expires concode_elem_sep int hashCode concode_elem_sep String name concode_elem_sep T holder concode_elem_sep Logger log concode_elem_sep ConcurrentHashMap<KeyColumn,AuditRecord<T>> locks concode_field_sep b... | int function ( ) { if ( 0 == hashCode ) hashCode = holder . hashCode ( ) ; return hashCode ; } |
12,558 | sets the create date of this user group . concode_field_sep UserGroup _userGroup concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getName concode_elem_sep boolean isEscapedModel concode_e... | void function ( Date arg0 ) { _userGroup . setCreateDate ( arg0 ) ; } |
12,559 | changes an int into a roman number . concode_field_sep boolean pre concode_elem_sep RomanDigit[] roman concode_elem_sep int value concode_elem_sep char digit concode_field_sep String getUpperCaseString concode_elem_sep void main concode_elem_sep String getLowerCaseString | String function ( int arg0 , boolean arg1 ) { if ( arg1 ) { return getLowerCaseString ( arg0 ) ; } else { return getUpperCaseString ( arg0 ) ; } } |
12,560 | get custom serializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.util.Date temp_login_end concode_elem_sep java.util.Calendar last_login concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String last_name concode_elem_sep int admin concode_elem_sep boole... | 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 ) ; } |
12,561 | time in milliseconds that we will wait in order to perform a retry after an ioexception . only relevant if maxioretries > 0 . concode_field_sep String SPARK_NETWORK_IO_NUMCONNECTIONSPERPEER_KEY concode_elem_sep String SPARK_NETWORK_IO_LAZYFD_KEY concode_elem_sep String SPARK_NETWORK_IO_SERVERTHREADS_KEY concode_elem_se... | int function ( ) { return ( int ) JavaUtils . timeStringAsSec ( conf . get ( SPARK_NETWORK_IO_RETRYWAIT_KEY , "srini_string" ) ) * 1000 ; } |
12,562 | tests condition translation into freemarker concode_field_sep PlaceHolder placeHolder concode_field_sep void testTableWasAnsweredConditionFreemarkerTranslation concode_elem_sep void testVariableTransformationTranslationContainingMap concode_elem_sep void testValueCompareFromTableNumEntriesTransformationFreemarkerTransl... | void function ( ) { testConditionTranslation ( measureAv ( 123 , MEASURE_TYPE_SELECT_ONE_MATRIX ) , "srini_string" , null , "srini_string" ) ; testConditionTranslation ( measureAv ( 123 , MEASURE_TYPE_SELECT_MULTI_MATRIX ) , "srini_string" , null , "srini_string" ) ; } |
12,563 | creates a descriptor extractor by name . the current implementation supports the following types of a descriptor extractor : `` sift '' -- `` sift '' `` surf '' -- `` surf '' `` brief '' -- `` briefdescriptorextractor '' `` brisk '' -- `` brisk '' `` orb '' -- `` orb '' `` freak '' -- `` freak '' a combined format is a... | DescriptorExtractor function ( int arg0 ) { DescriptorExtractor loc0 = new DescriptorExtractor ( create_0 ( arg0 ) ) ; return loc0 ; } |
12,564 | this method is not supported on lucene based queries concode_field_sep int current concode_elem_sep Reference<EntityInfo> einfo concode_elem_sep Log log concode_elem_sep DocumentExtractor documentExtractor concode_elem_sep LoadedObject[] resultsContext concode_elem_sep int max concode_elem_sep int fetchSize concode_ele... | Locale function ( int arg0 ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
12,565 | update the temperature sensor using data from the sensors . concode_field_sep double temperature concode_field_sep void reset concode_elem_sep void setTemperature concode_elem_sep double getTemperature | void function ( FDMData arg0 ) { setTemperature ( arg0 . getAtmosphere ( ) . getTemperature ( ) ) ; } |
12,566 | creates a reverse map name corresponding to an address contained in an array of 4 integers between 0 and 255 for an ipv4 address or 16 integers between 0 and 255 for an ipv6 address . concode_field_sep Name inaddr6 concode_elem_sep Name inaddr4 concode_field_sep placeholderType placeHolder | Name function ( int [ ] arg0 ) { byte [ ] loc0 = new byte [ arg0 . length ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { if ( arg0 [ loc1 ] < 0 || arg0 [ loc1 ] > 0xFF ) throw new IllegalArgumentException ( "srini_string" + "srini_string" + "srini_string" ) ; loc0 [ loc1 ] = ( byte ) arg0 [ loc1 ] ; } retu... |
12,567 | like in libc concode_field_sep int SIZEOF_INT concode_elem_sep int SIZEOF_FLOAT concode_elem_sep byte nullfiller[] concode_field_sep byte[] getIntBytes concode_elem_sep IntBuffer newIntBuffer concode_elem_sep IntBuffer newIntBuffer concode_elem_sep String hex2 concode_elem_sep String vtofsbeaty concode_elem_sep String ... | RandomAccessFile function ( String arg0 , String arg1 ) { try { return new RandomAccessFile ( arg0 , arg1 ) ; } catch ( Exception loc0 ) { Com . DPrintf ( "srini_string" + arg0 ) ; return null ; } } |
12,568 | computes the likelihood of the random draw concode_field_sep Random rand concode_elem_sep DenseMatrix64F A concode_elem_sep DenseMatrix64F r concode_field_sep void next | double function ( ) { double loc0 = 1.0 ; for ( int loc1 = 0 ; loc1 < r . numRows ; loc1 ++ ) { double loc2 = r . get ( loc1 , 0 ) ; loc0 *= Math . exp ( - loc2 * loc2 / 2.0 ) ; } return loc0 ; } |
12,569 | return true if the path and content match the specified path selector and resource selector concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | boolean function ( Path arg0 , T arg1 , PathSelector arg2 , ResourceSelector < T > arg3 ) { return matches ( arg0 , arg1 , arg2 , true , arg3 , true ) ; } |
12,570 | get the bit at the given index . concode_field_sep int ADDRESS_BITS concode_elem_sep int BITS concode_elem_sep int ADDRESS_MASK concode_elem_sep long[] data concode_field_sep int nextClearBit concode_elem_sep long getBitMask concode_elem_sep void setByte concode_elem_sep int getByte concode_elem_sep void set concode_el... | boolean function ( int arg0 ) { int loc0 = getAddress ( arg0 ) ; if ( loc0 >= data . length ) { return false ; } return ( data [ loc0 ] & getBitMask ( arg0 ) ) != 0 ; } |
12,571 | create an instance of structlinktype.smlinkgrp.smarclink concode_field_sep PlaceHolder placeHolder concode_field_sep StructLinkType createStructLinkType concode_elem_sep FileType.FContent createFileTypeFContent concode_elem_sep BehaviorType createBehaviorType concode_elem_sep FileType.FLocat createFileTypeFLocat concod... | StructLinkType . SmLinkGrp . SmArcLink function ( ) { return new StructLinkType . SmLinkGrp . SmArcLink ( ) ; } |
12,572 | returns the current condition as text . concode_field_sep Calendar lastUpdate concode_elem_sep String icon concode_elem_sep String commonId concode_elem_sep String text concode_elem_sep Calendar observationTime concode_elem_sep String id concode_field_sep void setIcon concode_elem_sep void setCommonId concode_elem_sep ... | String function ( ) { return text ; } |
12,573 | initialize help . this must be called before fetching a help manager . concode_field_sep String DEFAULT concode_elem_sep PrintWriter out concode_elem_sep File helpDir concode_elem_sep String FILE_TYPE concode_elem_sep String NOT_FOUND concode_field_sep void setWriter concode_elem_sep boolean displayTopic concode_elem_s... | void function ( File arg0 ) { if ( arg0 . isDirectory ( ) && arg0 . exists ( ) ) HelpManager . arg0 = arg0 ; else throw new HelpException ( "srini_string" + arg0 . getAbsolutePath ( ) , null ) ; } |
12,574 | asserts #isonthread , throwing a assertionexception not an assertionerror if the assertion fails . concode_field_sep Looper mLooper concode_elem_sep MessageQueueThreadHandler mHandler concode_elem_sep boolean mIsFinished concode_elem_sep String mName concode_elem_sep String mAssertionErrorMessage concode_field_sep Mess... | void function ( ) { SoftAssertions . assertCondition ( isOnThread ( ) , mAssertionErrorMessage ) ; } |
12,575 | search index - assumes english language as default language concode_field_sep int INDEX_ERROR concode_elem_sep String DEFAULT_LANG concode_elem_sep DatabaseManager databaseManager concode_elem_sep Logger log concode_elem_sep int DB_ERROR concode_elem_sep IndexManager indexManager concode_elem_sep int QUERY_ERROR concod... | List < Result > function ( long arg0 , String arg1 , String arg2 , boolean arg3 ) { return search ( arg0 , arg1 , arg2 , DEFAULT_LANG , arg3 ) ; } |
12,576 | the xaresource api spec indicates implies that this is only for 2-phase transactions . i guess that one-phase transactions need to call rollback to abort . i think we want this jdbcxaresource instance to be garbage-collectable after a this method is called , and b the tx manager releases its handle to it . concode_fiel... | void function ( Xid arg0 ) { validateXid ( arg0 ) ; if ( state != XA_STATE_PREPARED ) { throw new XAException ( "srini_string" + "srini_string" ) ; } dispose ( ) ; state = XA_STATE_INITIAL ; } |
12,577 | returns the state machine reference of the event . concode_field_sep boolean periodic concode_elem_sep int index concode_elem_sep ITimedStatemachine statemachine concode_field_sep boolean isPeriodic concode_elem_sep int getIndex concode_elem_sep void setStatemachine | ITimedStatemachine function ( ) { return statemachine ; } |
12,578 | checks if is verbose . concode_field_sep Matrix resultMatrix concode_elem_sep boolean verbose concode_field_sep void rotate concode_elem_sep void rotate concode_elem_sep void endTransformList concode_elem_sep Matrix getResultMatrix concode_elem_sep void skewX concode_elem_sep void startTransformList concode_elem_sep vo... | boolean function ( ) { return verbose ; } |
12,579 | gets the value of the value property . concode_field_sep String name concode_elem_sep long serialVersionUID concode_elem_sep String units concode_elem_sep String value concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setValue concode_elem_sep String getUnits concode_elem_sep void set... | String function ( ) { return value ; } |
12,580 | deletes the layout branch from the database . also notifies the appropriate model listeners . concode_field_sep LayoutBranchLocalService _layoutBranchLocalService concode_field_sep com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch concode_elem_sep com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch ... | com . liferay . portal . kernel . model . LayoutBranch function ( com . liferay . portal . kernel . model . LayoutBranch arg0 ) { return _layoutBranchLocalService . deleteLayoutBranch ( arg0 ) ; } |
12,581 | reads the next byte of a multi-byte utf-8 character and returns its contents lower 6 bits . throws a generatorerror if the byte is not a valid tail . concode_field_sep int charStart concode_elem_sep ByteList src concode_elem_sep int pos concode_elem_sep int srcEnd concode_elem_sep int quoteStart concode_elem_sep Thread... | int function ( ) { char loc0 = next ( ) ; if ( ( loc0 & 0xc0 ) != 0x80 ) throw invalidUtf8 ( ) ; return loc0 & 0x3f ; } |
12,582 | gets a string value out of 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... | String function ( final String arg0 ) { return this . bundle . getString ( arg0 ) ; } |
12,583 | returns the paintcontext used to generate the color pattern . concode_field_sep float y1 concode_elem_sep float x1 concode_elem_sep float y2 concode_elem_sep float x2 concode_elem_sep Color c1 concode_elem_sep boolean cyclic concode_elem_sep Color c2 concode_field_sep Color getColor2 concode_elem_sep Color getColor1 co... | PaintContext function ( ColorModel arg0 , Rectangle arg1 , Rectangle2D arg2 , AffineTransform arg3 , RenderingHints arg4 ) { Point2D loc0 = arg3 . transform ( getPoint1 ( ) , null ) ; Point2D loc1 = arg3 . transform ( getPoint2 ( ) , null ) ; return new GradientPaintContext ( ( float ) loc0 . getX ( ) , ( float ) loc0 ... |
12,584 | write a bufferedimage instance using implementation to the provided outputstream . concode_field_sep Logger logger concode_field_sep void setWriterProperties | void function ( BufferedImage arg0 , OutputStream arg1 ) { if ( arg0 != null ) { BufferedOutputStream loc0 = null ; try { loc0 = new BufferedOutputStream ( arg1 ) ; ImageIO . write ( arg0 , "srini_string" , loc0 ) ; } catch ( IOException loc1 ) { logger . error ( loc1 , loc1 ) ; } } } |
12,585 | test method for com.ninesale.valinor.userinfo.api.service.dubbouserservice #cancelpraise com.ninesale.valinor.userinfo.api.model.request.dubbopraiserequest . concode_field_sep DubboUserService dubboUserService concode_field_sep void testGetUserPoints concode_elem_sep void testGetSkuIdByUserId concode_elem_sep void test... | void function ( ) { } |
12,586 | 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 ; } |
12,587 | verifies that the given array starts with the given sequence of values , without any other values between them . similar to #assertcontainssequence assertioninfo , boolean , boolean , but it also verifies that the first element in the sequence is also the first element of the given array . concode_field_sep Arrays arra... | void function ( AssertionInfo arg0 , boolean [ ] arg1 , boolean [ ] arg2 ) { arrays . assertStartsWith ( arg0 , failures , arg1 , arg2 ) ; } |
12,588 | the security group identifier for the directory . if the directory was created before 8/1/2014 , this is the identifier of the directory members security group that was created when the directory was created . if the directory was created after this date , this value is null . concode_field_sep String securityGroupId c... | DirectoryVpcSettingsDescription function ( String arg0 ) { setSecurityGroupId ( arg0 ) ; return this ; } |
12,589 | this method returns the new linkedhashmap sorted with values for passed ascendingorder . if null values exist they will be put in the last for true value of ascendingorder or will be put on top of the returned linkedhashmap for false value of ascendingorder . if there are duplicate values they will come together at the... | LinkedHashMap < K , V > function ( Map < K , V > arg0 , boolean arg1 ) { return sortMapByValue ( arg0 , null , arg1 ) ; } |
12,590 | factory method , create new profile from configuration . concode_field_sep String CONSUMER_PREFIX concode_elem_sep Logger log concode_elem_sep String name concode_elem_sep List<int[]> filters concode_elem_sep Consumer consumer concode_field_sep String getName concode_elem_sep List<int[]> getFilters concode_elem_sep voi... | ConsumerProfile function ( String arg0 ) { ConsumerProfile loc0 = new ConsumerProfile ( arg0 ) ; loc0 . readConfiguration ( ) ; return loc0 ; } |
12,591 | returns all headers emitted since they were last cleared , then clears the emitted headers . concode_field_sep int PREFIX_6_BITS concode_elem_sep int PREFIX_8_BITS concode_elem_sep DataInputStream in concode_elem_sep int PREFIX_5_BITS concode_elem_sep List<HeaderEntry> INITIAL_CLIENT_TO_SERVER_HEADER_TABLE concode_elem... | List < String > function ( ) { List < String > loc0 = new ArrayList < String > ( emittedHeaders ) ; emittedHeaders . clear ( ) ; return loc0 ; } |
12,592 | create an instance of defaultvalidatedexecutabletypestype concode_field_sep QName _ElementTypeAnnotation_QNAME concode_elem_sep QName _ConstraintMappings_QNAME concode_elem_sep QName _ElementTypeValue_QNAME concode_elem_sep QName _ValidationConfig_QNAME concode_field_sep ValidatedByType createValidatedByType concode_el... | DefaultValidatedExecutableTypesType function ( ) { return new DefaultValidatedExecutableTypesType ( ) ; } |
12,593 | returns the maximum time this client will wait when polling an http address , across all retries . concode_field_sep int maxWaitPeriodInSeconds concode_elem_sep int MILLIS_PER_SEC concode_elem_sep DefaultHttpClient httpClient concode_elem_sep int ERROR_NOT_EXPECTED concode_elem_sep Logger LOGGER concode_field_sep void ... | int function ( ) { return maxWaitPeriodInSeconds ; } |
12,594 | sets the stroke style . concode_field_sep boolean mGradientEnabled concode_elem_sep float mChartValuesTextSize concode_elem_sep BasicStroke mStroke concode_elem_sep boolean mDisplayChartValues concode_elem_sep int mGradientStopColor concode_elem_sep int mColor concode_elem_sep double mGradientStartValue concode_elem_se... | void function ( BasicStroke arg0 ) { mStroke = arg0 ; } |
12,595 | write an entry to the cache . an entry consists of one or more keys and a single value . no validation is made regarding whether there are redundant or conflicting entries in the cache ; it is thus the responsibility of the caller to ensure that any redundant entries entries which have the same keys also have the same ... | void function ( List < String > arg0 , String arg1 ) { Preconditions . checkArgument ( ! arg0 . isEmpty ( ) ) ; touchCacheFile ( ) ; FileSystemUtils . appendLinesAs ( cacheFilePath , StandardCharsets . UTF_8 , Joiner . on ( "srini_string" ) . join ( ImmutableList . builder ( ) . addAll ( arg0 ) . add ( arg1 ) . build (... |
12,596 | set whether the provided token will be signed or not . default is true . concode_field_sep boolean signToken concode_elem_sep ConditionsProvider conditionsProvider concode_elem_sep Logger LOG concode_elem_sep List<AttributeStatementProvider> attributeStatementProviders concode_elem_sep SubjectProvider subjectProvider c... | void function ( boolean arg0 ) { this . signToken = arg0 ; } |
12,597 | get the iso 8601 formatted representation of the given java.sql.time , which contains time but no date or timezone information . concode_field_sep DateTimeFormatter FORMATTER concode_elem_sep String SCHEMA_NAME concode_field_sep Schema schema concode_elem_sep SchemaBuilder builder | String function ( java . sql . Time arg0 , ZoneId arg1 ) { LocalTime loc0 = arg0 . toLocalTime ( ) ; ZonedDateTime loc1 = ZonedDateTime . of ( Conversions . EPOCH , loc0 , arg1 ) ; return loc1 . format ( FORMATTER ) ; } |
12,598 | gets the value of the script property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep String type concode_elem_sep String title concode_elem_sep String script concode_elem_sep String altRepGroup concode_elem_sep List<JAXBEleme... | String function ( ) { return script ; } |
12,599 | gets the list of filesgrouprecordbean which will be used by the ice : datatable component . concode_field_sep String CHILD_ROW_STYLE_CLASS concode_elem_sep String GROUP_INDENT_STYLE_CLASS concode_elem_sep String EXPAND_IMAGE concode_elem_sep String GROUP_ROW_STYLE_CLASS concode_elem_sep ArrayList inventoryGroupItemBean... | ArrayList function ( ) { return inventoryGroupItemBeans ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.